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:
parent
f7a5c21d4d
commit
92c7366d1c
2 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,7 @@
|
||||||
namespace Common {
|
namespace Common {
|
||||||
|
|
||||||
const LanguageDescription g_languages[] = {
|
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-cn", "zh_CN", "Chinese (China)", ZH_CNA },
|
||||||
{ "zh", "zh_TW", "Chinese (Taiwan)", ZH_TWN },
|
{ "zh", "zh_TW", "Chinese (Taiwan)", ZH_TWN },
|
||||||
{ "hr", "hr_HR", "Croatian", HR_HRV },
|
{ "hr", "hr_HR", "Croatian", HR_HRV },
|
||||||
|
|
|
@ -33,6 +33,7 @@ class String;
|
||||||
* List of game language.
|
* List of game language.
|
||||||
*/
|
*/
|
||||||
enum Language {
|
enum Language {
|
||||||
|
ZH_ANY, // Generic Chinese (when only one game version exist)
|
||||||
ZH_CNA,
|
ZH_CNA,
|
||||||
ZH_TWN,
|
ZH_TWN,
|
||||||
HR_HRV,
|
HR_HRV,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue