summaryrefslogtreecommitdiff
path: root/src/language.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2021-04-11 17:28:47 +0200
committerfrosch <github@elsenhans.name>2021-04-22 22:16:56 +0200
commit37222c3fa2f558df5f7ef420ad583ba403ceda62 (patch)
treec4f322cd2a726e7dccc9a089959aec07b2a0e9f0 /src/language.h
parenta9740cef82b6969be1087bb0cfa2fcfdc3058845 (diff)
downloadopenttd-37222c3fa2f558df5f7ef420ad583ba403ceda62.tar.xz
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.
Diffstat (limited to 'src/language.h')
-rw-r--r--src/language.h1
1 files changed, 1 insertions, 0 deletions
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.