summaryrefslogtreecommitdiff
path: root/src/language.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-08-21 19:21:38 +0000
committerrubidium <rubidium@openttd.org>2011-08-21 19:21:38 +0000
commit525e2c9e73ecab8913d4eafc6685d89e1653d151 (patch)
tree84ca4031ce61c9b040d1aae0a152bb5da5ea35a6 /src/language.h
parentf6b0561cd86f363c93b64817f26e3ed7f5b1b688 (diff)
downloadopenttd-525e2c9e73ecab8913d4eafc6685d89e1653d151.tar.xz
(svn r22806) -Codechange: store the number of untranslated strings in the language file
Diffstat (limited to 'src/language.h')
-rw-r--r--src/language.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/language.h b/src/language.h
index 6ba731ebf..a6797ed2f 100644
--- a/src/language.h
+++ b/src/language.h
@@ -38,6 +38,7 @@ struct LanguagePackHeader {
char digit_group_separator_currency[8];
/** Decimal separator */
char digit_decimal_separator[8];
+ uint16 missing; ///< number of missing strings.
byte plural_form; ///< plural form index
byte text_dir; ///< default direction of the text
/**
@@ -52,7 +53,7 @@ struct LanguagePackHeader {
uint8 newgrflangid; ///< newgrf language id
uint8 num_genders; ///< the number of genders of this language
uint8 num_cases; ///< the number of cases of this language
- byte pad[1]; ///< pad header to be a multiple of 4
+ byte pad[3]; ///< pad header to be a multiple of 4
char genders[MAX_NUM_GENDERS][CASE_GENDER_LEN]; ///< the genders used by this translation
char cases[MAX_NUM_CASES][CASE_GENDER_LEN]; ///< the cases used by this translation