diff options
author | Eugene Sandulenko | 2007-04-24 06:31:04 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2007-04-24 06:31:04 +0000 |
commit | de9e72bc76d74cfb35d9cc1c90a67330458984c6 (patch) | |
tree | b519d2acb6aa1f7c4c11ee1ed22fcae6b778f8c9 | |
parent | c1d8a1a01c0f5dd7e0ac13022d18d21a15ca055e (diff) | |
download | scummvm-rg350-de9e72bc76d74cfb35d9cc1c90a67330458984c6.tar.gz scummvm-rg350-de9e72bc76d74cfb35d9cc1c90a67330458984c6.tar.bz2 scummvm-rg350-de9e72bc76d74cfb35d9cc1c90a67330458984c6.zip |
Patch #1706179: "GUI: Sort languages list"
svn-id: r26587
-rw-r--r-- | common/util.cpp | 20 | ||||
-rw-r--r-- | common/util.h | 21 |
2 files changed, 20 insertions, 21 deletions
diff --git a/common/util.cpp b/common/util.cpp index 6089681484..b8ccde9917 100644 --- a/common/util.cpp +++ b/common/util.cpp @@ -144,24 +144,24 @@ uint RandomSource::getRandomNumberRng(uint min, uint max) { const LanguageDescription g_languages[] = { + {"zh", "Chinese (Taiwan)", ZH_TWN}, + {"cz", "Czech", CZ_CZE}, + {"nl", "Dutch", NL_NLD}, {"en", "English", EN_ANY}, // Generic English (when only one game version exist) - {"us", "English (US)", EN_USA}, {"gb", "English (GB)", EN_GRB}, - {"de", "German", DE_DEU}, + {"us", "English (US)", EN_USA}, {"fr", "French", FR_FRA}, + {"de", "German", DE_DEU}, + {"hb", "Hebrew", HB_ISR}, {"it", "Italian", IT_ITA}, - {"br", "Portuguese", PT_BRA}, - {"es", "Spanish", ES_ESP}, {"jp", "Japanese", JA_JPN}, - {"zh", "Chinese (Taiwan)", ZH_TWN}, {"kr", "Korean", KO_KOR}, - {"se", "Swedish", SE_SWE}, - {"hb", "Hebrew", HB_ISR}, - {"ru", "Russian", RU_RUS}, - {"cz", "Czech", CZ_CZE}, - {"nl", "Dutch", NL_NLD}, {"nb", "Norwegian Bokm\xE5l", NB_NOR}, {"pl", "Polish", PL_POL}, + {"br", "Portuguese", PT_BRA}, + {"ru", "Russian", RU_RUS}, + {"es", "Spanish", ES_ESP}, + {"se", "Swedish", SE_SWE}, {0, 0, UNK_LANG} }; diff --git a/common/util.h b/common/util.h index da76bd7220..d6cfeca89f 100644 --- a/common/util.h +++ b/common/util.h @@ -89,25 +89,24 @@ public: * List of game language. */ enum Language { + ZH_TWN, + CZ_CZE, + NL_NLD, EN_ANY, // Generic English (when only one game version exist) - EN_USA, EN_GRB, - - DE_DEU, + EN_USA, FR_FRA, + DE_DEU, + HB_ISR, IT_ITA, - PT_BRA, - ES_ESP, JA_JPN, - ZH_TWN, KO_KOR, - SE_SWE, - HB_ISR, - RU_RUS, - CZ_CZE, - NL_NLD, NB_NOR, PL_POL, + PT_BRA, + RU_RUS, + ES_ESP, + SE_SWE, UNK_LANG = -1 // Use default language (i.e. none specified) }; |