Skip to content

Commit

Permalink
update translation for 0.63.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Nriver committed Mar 5, 2024
1 parent e045042 commit 667e33c
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
11 changes: 11 additions & 0 deletions 2.trans.py
Original file line number Diff line number Diff line change
Expand Up @@ -1031,6 +1031,7 @@ def replace_in_file(file_path, translation, base_path=BASE_PATH):
'{{Highlights List visibility}}',
'{{You can hide the hightlights widget per-note by adding a <code>#hideHighlightWidget</code> label.}}',
'{{You can hide the highlights widget per-note by adding a <code>#hideHighlightWidget</code> label.}}',
'{{You can configure a keyboard shortcut for quickly toggling the right pane (including Highlights) in the Options -> Shortcuts (name "toggleRightPane").}}',
]
replace_in_file(file_path, translation)

Expand All @@ -1039,6 +1040,7 @@ def replace_in_file(file_path, translation, base_path=BASE_PATH):
'>{{Table of Contents}}<',
'{{Table of contents will appear in text notes when the note has more than a defined number of headings. You can customize this number:}}',
'>{{You can also use this option to effectively disable TOC by setting a very high number.}}<',
'{{You can configure a keyboard shortcut for quickly toggling the right pane (including TOC) in the Options -> Shortcuts (name "toggleRightPane").}}',
]
replace_in_file(file_path, translation)

Expand Down Expand Up @@ -2850,6 +2852,15 @@ def replace_in_file(file_path, translation, base_path=BASE_PATH):
'"In line":"{{In line}}",',
'"Toggle caption off":"{{Toggle caption off}}"',
'"Toggle caption on":"{{Toggle caption on}}",',
'"Upload image from computer":"{{Upload image from computer}}"',
'"Special characters":"{{Special characters}}"',
'"Character categories":"{{Character categories}}"',
'Currency:"{{Currency}}"',
',Text:"{{Text}}",',
'Mathematical:"{{Mathematical}}",',
'Arrows:"{{Arrows}}"',
'Latin:"{{Latin}}"',
'All:"{{All}}",',
]
replace_in_file(file_path, translation, TARGET_PATH)

Expand Down
10 changes: 10 additions & 0 deletions translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -1645,4 +1645,14 @@
"Converting note '${this.note.title}' failed.": '',
"Note '${newAttachment.title}' has been converted to attachment.": '',
'notes': '',
'You can configure a keyboard shortcut for quickly toggling the right pane (including TOC) in the Options -> Shortcuts (name "toggleRightPane").': '',
'You can configure a keyboard shortcut for quickly toggling the right pane (including Highlights) in the Options -> Shortcuts (name "toggleRightPane").': '',
'Upload image from computer': '',
'Special characters': '',
'Character categories': '',
'Currency': '',
'Mathematical': '',
'Arrows': '',
'Latin': '',
'All': '',
}
10 changes: 10 additions & 0 deletions translations_cn.py
Original file line number Diff line number Diff line change
Expand Up @@ -1619,5 +1619,15 @@
"Converting note '${this.note.title}' failed.": "转换笔记 '${this.note.title}' 失败。",
"Note '${newAttachment.title}' has been converted to attachment.": "笔记 '${newAttachment.title}' 已被转换为附件。",
'notes': '笔记',
'You can configure a keyboard shortcut for quickly toggling the right pane (including TOC) in the Options -> Shortcuts (name "toggleRightPane").': '您可以在"选项"->"快捷键"中为快速切换右侧窗格(包括目录)配置键盘快捷键(名称为 "toggleRightPane")',
'You can configure a keyboard shortcut for quickly toggling the right pane (including Highlights) in the Options -> Shortcuts (name "toggleRightPane").': '您可以在"选项"->"快捷键"中为快速切换右侧窗格(包括高亮显示)配置键盘快捷键(名称为 "toggleRightPane")',
'Upload image from computer': '从计算机上传图像',
'Special characters': '特殊字符',
'Character categories': '字符类别',
'Currency': '货币',
'Mathematical': '数学',
'Arrows': '箭头',
'Latin': '拉丁',
'All': '全部',
'': '',
}

0 comments on commit 667e33c

Please sign in to comment.