Skip to content

Commit d658b0d

Browse files
committed
Use ISO country code "CN" for China
CH -> CN
1 parent a7cd7a7 commit d658b0d

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/keyboards/virtualkeyboardui-zh_CN.ext.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@
295295
{
296296
"class": "LanguageSwitchKey"
297297
},
298-
"CH",
298+
"CN",
299299
{
300300
"x": 0.5,
301301
"c": "#cccccc",
@@ -582,7 +582,7 @@
582582
{
583583
"class": "LanguageSwitchKey"
584584
},
585-
"CH",
585+
"CN",
586586
{
587587
"x": 0.5,
588588
"c": "#cccccc",
@@ -865,7 +865,7 @@
865865
{
866866
"class": "LanguageSwitchKey"
867867
},
868-
"CH",
868+
"CN",
869869
{
870870
"x": 0.5,
871871
"c": "#cccccc",

src/keyboards/virtualkeyboardui-zh_CN.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@
269269
{
270270
"class": "LanguageSwitchKey"
271271
},
272-
"CH",
272+
"CN",
273273
{
274274
"x": 0.5,
275275
"c": "#cccccc",
@@ -556,7 +556,7 @@
556556
{
557557
"class": "LanguageSwitchKey"
558558
},
559-
"CH",
559+
"CN",
560560
{
561561
"x": 0.5,
562562
"c": "#cccccc",
@@ -839,7 +839,7 @@
839839
{
840840
"class": "LanguageSwitchKey"
841841
},
842-
"CH",
842+
"CN",
843843
{
844844
"x": 0.5,
845845
"c": "#cccccc",

src/virtualkeyboardpinyin.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ enum class PinyinKeyboardMode {
2626
class PinyinKeyboard : public I18nKeyboard {
2727
public:
2828
KeyboardType type() const override { return KeyboardType::Pinyin; };
29-
const char *label() const override { return "CH"; }
29+
const char *label() const override { return "CN"; }
3030
const std::string languageCode() const override { return "zh_CN"; }
3131
void updateKeys() override;
3232
void switchMode();

0 commit comments

Comments
 (0)