Skip to content

Commit

Permalink
Add a Simplified Chinese language file
Browse files Browse the repository at this point in the history
  • Loading branch information
YI-BOYANG authored Dec 5, 2024
1 parent d6b57e3 commit 1cb3db4
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 1cb3db4

Please sign in to comment.