From 37222c3fa2f558df5f7ef420ad583ba403ceda62 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 11 Apr 2021 17:28:47 +0200 Subject: 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. --- src/language.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/language.h') diff --git a/src/language.h b/src/language.h index faac59561..9d2499068 100644 --- a/src/language.h +++ b/src/language.h @@ -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. -- cgit v1.2.3-54-g00ecf