diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/util.cpp | 3 | ||||
-rw-r--r-- | common/util.h | 23 |
2 files changed, 14 insertions, 12 deletions
diff --git a/common/util.cpp b/common/util.cpp index 9649d35ef4..d0ee385be2 100644 --- a/common/util.cpp +++ b/common/util.cpp @@ -110,7 +110,8 @@ uint RandomSource::getRandomNumberRng(uint min, uint max) { const LanguageDescription g_languages[] = { - {"en", "English (US)", EN_USA}, + {"en", "English", EN_ANY}, + {"us", "English (US)", EN_USA}, {"de", "German", DE_DEU}, {"fr", "French", FR_FRA}, {"it", "Italian", IT_ITA}, diff --git a/common/util.h b/common/util.h index 198fcd61ef..f527017f8f 100644 --- a/common/util.h +++ b/common/util.h @@ -91,17 +91,18 @@ public: */ enum Language { UNK_LANG = -1, // Use default language (i.e. none specified) - EN_USA = 0, - DE_DEU = 1, - FR_FRA = 2, - IT_ITA = 3, - PT_BRA = 4, - ES_ESP = 5, - JA_JPN = 6, - ZH_TWN = 7, - KO_KOR = 8, - SE_SWE = 9, - EN_GRB = 10, + EN_ANY = 0, + EN_USA = 1, + DE_DEU = 2, + FR_FRA = 3, + IT_ITA = 4, + PT_BRA = 5, + ES_ESP = 6, + JA_JPN = 7, + ZH_TWN = 8, + KO_KOR = 9, + SE_SWE = 10, + EN_GRB = 11, HB_ISR = 20, RU_RUS = 21, CZ_CZE = 22, |