Skip to content

Commit

Permalink
Fix selecting Chinese language
Browse files Browse the repository at this point in the history
GOG has started to use "zh-Hans" as language code for Chinese in some cases
  • Loading branch information
Sude- committed May 22, 2024
1 parent 0067da5 commit 6149003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/globalconstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ namespace GlobalConstants
{ LANGUAGE_FR, "fr", "French", "fr|fra|fre|french|fr[_-]FR" },
{ LANGUAGE_PL, "pl", "Polish", "pl|pol|polish|pl[_-]PL" },
{ LANGUAGE_RU, "ru", "Russian", "ru|rus|russian|ru[_-]RU" },
{ LANGUAGE_CN, "cn", "Chinese", "cn|zh|zho|chi|chinese|zh[_-]CN" },
{ LANGUAGE_CN, "cn", "Chinese", "cn|zh|zho|chi|chinese|zh[_-](CN|Hans)" },
{ LANGUAGE_CZ, "cz", "Czech", "cz|cs|ces|cze|czech|cs[_-]CZ" },
{ LANGUAGE_ES, "es", "Spanish", "es|spa|spanish|es[_-]ES" },
{ LANGUAGE_HU, "hu", "Hungarian", "hu|hun|hungarian|hu[_-]HU" },
Expand Down

0 comments on commit 6149003

Please sign in to comment.