aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2013-12-05 16:26:44 +0100
committerJohannes Schickel2013-12-05 16:26:44 +0100
commita94c66f1e39d724d06dd8ae07faf54a660db2b67 (patch)
tree37334ada1a4fa2f9296f184d2f6db63d0779efdd
parent5931df44262289b30af9aaa091808dc8be1fca3c (diff)
downloadscummvm-rg350-a94c66f1e39d724d06dd8ae07faf54a660db2b67.tar.gz
scummvm-rg350-a94c66f1e39d724d06dd8ae07faf54a660db2b67.tar.bz2
scummvm-rg350-a94c66f1e39d724d06dd8ae07faf54a660db2b67.zip
COMMON: Fix order of languages.
These are sorted according to the alphabetical order of the description. Thus, Croatian should be between Chinese (Taiwan) and Czech.
-rw-r--r--common/language.cpp2
-rw-r--r--common/language.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/language.cpp b/common/language.cpp
index 898adf8d0e..7b5b7f0c8f 100644
--- a/common/language.cpp
+++ b/common/language.cpp
@@ -28,6 +28,7 @@ namespace Common {
const LanguageDescription g_languages[] = {
{ "zh-cn", "zh_CN", "Chinese (China)", ZH_CNA },
{ "zh", "zh_TW", "Chinese (Taiwan)", ZH_TWN },
+ { "hr", "hr_HR", "Croatian", HR_HRV },
{ "cz", "cs_CZ", "Czech", CZ_CZE },
{ "nl", "nl_NL", "Dutch", NL_NLD },
{ "en", "en", "English", EN_ANY }, // Generic English (when only one game version exist)
@@ -38,7 +39,6 @@ const LanguageDescription g_languages[] = {
{ "gr", "el_GR", "Greek", GR_GRE },
{ "he", "he_IL", "Hebrew", HE_ISR },
{ "hb", "he_IL", "Hebrew", HE_ISR }, // Deprecated
- { "hr", "hr_HR", "Croatian", HR_HRV },
{ "hu", "hu_HU", "Hungarian", HU_HUN },
{ "it", "it_IT", "Italian", IT_ITA },
{ "jp", "ja_JP", "Japanese", JA_JPN },
diff --git a/common/language.h b/common/language.h
index 03b9ebaf8e..aacd30d6e9 100644
--- a/common/language.h
+++ b/common/language.h
@@ -34,6 +34,7 @@ class String;
enum Language {
ZH_CNA,
ZH_TWN,
+ HR_HRV,
CZ_CZE,
NL_NLD,
EN_ANY, // Generic English (when only one game version exist)
@@ -43,7 +44,6 @@ enum Language {
DE_DEU,
GR_GRE,
HE_ISR,
- HR_HRV,
HU_HUN,
IT_ITA,
JA_JPN,