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'
This commit is contained in:
aviloria 2019-12-05 16:51:09 +01:00 committed by Filippos Karapetis
parent f7a5c21d4d
commit 92c7366d1c
2 changed files with 2 additions and 0 deletions

View file

@ -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 },