Change: treat languages as finished, if translations are 75% completed.

Unfinished translations are not auto-picked from the locale.
In release builds, unfinished translations are not offered in the GUI.
Unfinished translations are available in non-release builds, or by editing openttd.cfg.
This commit is contained in:
frosch
2021-04-11 17:28:47 +02:00
committed by frosch
parent a9740cef82
commit 37222c3fa2
3 changed files with 16 additions and 0 deletions

View File

@@ -58,6 +58,7 @@ struct LanguagePackHeader {
char cases[MAX_NUM_CASES][CASE_GENDER_LEN]; ///< the cases used by this translation
bool IsValid() const;
bool IsReasonablyFinished() const;
/**
* Get the index for the given gender.