diff options
author | aviloria | 2019-12-05 16:51:09 +0100 |
---|---|---|
committer | Filippos Karapetis | 2019-12-27 01:36:19 +0200 |
commit | 92c7366d1c96d882d95af9cee6af63547709b42e (patch) | |
tree | 7eb1bd67c6d1f8d989090f5d9dd9a84a3f8e4a6c | |
parent | f7a5c21d4de443f861544db17b18c958cea2811f (diff) | |
download | scummvm-rg350-92c7366d1c96d882d95af9cee6af63547709b42e.tar.gz scummvm-rg350-92c7366d1c96d882d95af9cee6af63547709b42e.tar.bz2 scummvm-rg350-92c7366d1c96d882d95af9cee6af63547709b42e.zip |
COMMON: Add ZH_ANY language for generic chinese languages
We have a game that has actual ZH_CNA, ZH_TWN translations and also ships with the same file set that formed ZH_CNA in previous game versions, when there was no separate Traditional/Simplified variants and was only one 'Chinese'
-rw-r--r-- | common/language.cpp | 1 | ||||
-rw-r--r-- | common/language.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/common/language.cpp b/common/language.cpp index 0eb0411b1d..488ec45e80 100644 --- a/common/language.cpp +++ b/common/language.cpp @@ -27,6 +27,7 @@ namespace Common { const LanguageDescription g_languages[] = { + { "nz", "nz", "Chinese", ZH_ANY }, // Generic Chinese (when only one game version exist) { "zh-cn", "zh_CN", "Chinese (China)", ZH_CNA }, { "zh", "zh_TW", "Chinese (Taiwan)", ZH_TWN }, { "hr", "hr_HR", "Croatian", HR_HRV }, diff --git a/common/language.h b/common/language.h index aa2efdd82e..04841d56b3 100644 --- a/common/language.h +++ b/common/language.h @@ -33,6 +33,7 @@ class String; * List of game language. */ enum Language { + ZH_ANY, // Generic Chinese (when only one game version exist) ZH_CNA, ZH_TWN, HR_HRV, |