diff options
| -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)  }; | 
