[Scummvm-cvs-logs] SF.net SVN: scummvm: [26587] scummvm/trunk/common

sev at users.sourceforge.net sev at users.sourceforge.net
Tue Apr 24 08:31:06 CEST 2007


Revision: 26587
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26587&view=rev
Author:   sev
Date:     2007-04-23 23:31:04 -0700 (Mon, 23 Apr 2007)

Log Message:
-----------
Patch #1706179: "GUI: Sort languages list"

Modified Paths:
--------------
    scummvm/trunk/common/util.cpp
    scummvm/trunk/common/util.h

Modified: scummvm/trunk/common/util.cpp
===================================================================
--- scummvm/trunk/common/util.cpp	2007-04-23 21:31:03 UTC (rev 26586)
+++ scummvm/trunk/common/util.cpp	2007-04-24 06:31:04 UTC (rev 26587)
@@ -144,24 +144,24 @@
 
 
 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)
+	{"gb", "English (GB)", EN_GRB},
 	{"us", "English (US)", EN_USA},
-	{"gb", "English (GB)", EN_GRB},
+	{"fr", "French", FR_FRA},
 	{"de", "German", DE_DEU},
-	{"fr", "French", FR_FRA},
+	{"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}
 };
 

Modified: scummvm/trunk/common/util.h
===================================================================
--- scummvm/trunk/common/util.h	2007-04-23 21:31:03 UTC (rev 26586)
+++ scummvm/trunk/common/util.h	2007-04-24 06:31:04 UTC (rev 26587)
@@ -89,25 +89,24 @@
  * 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)
 };


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list