mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-09 16:04:18 +00:00
i18n: Add getter for the translation visibility threshold
This commit is contained in:
parent
4dd164e0b0
commit
a58dd956cc
@ -140,6 +140,11 @@ language_list get_languages(bool all)
|
||||
return result;
|
||||
}
|
||||
|
||||
int get_min_translation_percent()
|
||||
{
|
||||
return min_translation_percent;
|
||||
}
|
||||
|
||||
void set_min_translation_percent(int percent) {
|
||||
min_translation_percent = percent;
|
||||
}
|
||||
|
@ -120,4 +120,5 @@ bool init_strings(const game_config_view& cfg);
|
||||
|
||||
bool load_language_list();
|
||||
|
||||
int get_min_translation_percent();
|
||||
void set_min_translation_percent(int percent);
|
||||
|
Loading…
x
Reference in New Issue
Block a user