Skip to content

Commit

Permalink
Merge pull request #2272 from YI-BOYANG/Add-Simplified-Chinese-language
Browse files Browse the repository at this point in the history
Add Simplified Chinese language to the configurator
  • Loading branch information
mmosca authored Dec 12, 2024
2 parents 17d0792 + 1cb3db4 commit 87d1adc
Show file tree
Hide file tree
Showing 4 changed files with 6,169 additions and 1 deletion.
2 changes: 1 addition & 1 deletion js/localization.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const i18nextXHRBackend = require('i18next-xhr-backend');
const Store = require('electron-store');
const store = new Store();

const availableLanguages = ['en', 'uk'];
const availableLanguages = ['en', 'uk','zh_CN'];

const i18n = {};

Expand Down
4 changes: 4 additions & 0 deletions locale/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
"message": "українська",
"_comment": "Don't translate!"
},
"language_zh_CN": {
"message": "简体中文",
"_comment": "Don't translate!"
},
"language": {
"message": "Language"
},
Expand Down
4 changes: 4 additions & 0 deletions locale/uk/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
"message": "українська",
"_comment": "Don't translate!"
},
"language_zh_CN": {
"message": "简体中文",
"_comment": "Don't translate!"
},
"language": {
"message": "Мова"
},
Expand Down
Loading

0 comments on commit 87d1adc

Please sign in to comment.