Skip to content

Commit b0e7330

Browse files
Add Chinese translation
1 parent 4373d90 commit b0e7330

File tree

7 files changed

+100
-103
lines changed

7 files changed

+100
-103
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
All notable changes to this project will be documented in this file.
33
"Unreleased" changes are implemented but haven't been released yet.
44

5+
## [2.4.13] - 2020-05-27
6+
- Chinese language interface added
7+
58
## [2.4.12] - 2020-05-26
69
- Add ability to merge cards & subtrees
710
- Add public translation project

app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "gingko-client",
33
"productName": "Gingko",
4-
"version": "2.4.12",
4+
"version": "2.4.13",
55
"description": "Gingko client rewritten in Elm, packaged with Electron.",
66
"repository": {
77
"type": "git",

i18n/zh.po

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -204,38 +204,32 @@ msgstr "编辑/等宽字体"
204204
#:
205205
msgid "Session: %1 word"
206206
msgid_plural "Session: %1 words"
207-
msgstr[0] "本节:%1字\n"
208-
"复数:本节:%1字"
207+
msgstr[0] "本节:%1个字"
209208

210209
#:
211210
msgid "Total : %1 word"
212211
msgid_plural "Total : %1 words"
213-
msgstr[0] "总共:%1字\n"
214-
"复数:总共:%1字"
212+
msgstr[0] "总共:%1个字"
215213

216214
#:
217215
msgid "Card : %1 word"
218216
msgid_plural "Card : %1 words"
219-
msgstr[0] "卡片:%1字\n"
220-
"复数:卡片:%1字"
217+
msgstr[0] "卡片:%1个字"
221218

222219
#:
223220
msgid "Subtree : %1 word"
224221
msgid_plural "Subtree : %1 words"
225-
msgstr[0] "树节点下:%1字\n"
226-
"复数:树节点下:%1字"
222+
msgstr[0] "树节点下:%1个字"
227223

228224
#:
229225
msgid "Group : %1 word"
230226
msgid_plural "Group : %1 words"
231-
msgstr[0] "组:%1字\n"
232-
"复数:组:%1字"
227+
msgstr[0] "组:%1个字"
233228

234229
#:
235230
msgid "Column : %1 word"
236231
msgid_plural "Column : %1 words"
237-
msgstr[0] "列:%1字\n"
238-
"复数:列:%1字"
232+
msgstr[0] "列:%1个字"
239233

240234
#: file
241235
msgid "&File"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "gingko-client",
33
"productName": "Gingko",
4-
"version": "2.4.12",
4+
"version": "2.4.13",
55
"description": "Gingko client rewritten in Elm, packaged with Electron.",
66
"repository": {
77
"type": "git",

src/electron/menu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ function viewMenu(isDocument, lang, handlers) {
257257
, { label : tr.selectLanguage[lang]
258258
, submenu :
259259
[ { label : "English", type: "radio", checked: lang == "en", click : (item, focusedWindow) => { handlers.language("en", focusedWindow);} }
260-
//, { label : "中文", type: "radio", checked: lang == "zh", click : (item, focusedWindow) => { handlers.language("zh", focusedWindow);} }
260+
, { label : "中文", type: "radio", checked: lang == "zh", click : (item, focusedWindow) => { handlers.language("zh", focusedWindow);} }
261261
, { label : "Español", type: "radio", checked: lang == "es", click : (item, focusedWindow) => { handlers.language("es", focusedWindow);} }
262262
//, { label : "Français", type: "radio", checked: lang == "fr", click : (item, focusedWindow) => { handlers.language("fr", focusedWindow);} }
263263
]

0 commit comments

Comments
 (0)