From 667e33c02749f1b17837d931461abf45a038d37f Mon Sep 17 00:00:00 2001
From: Nriver <6752679+Nriver@users.noreply.github.com>
Date: Tue, 5 Mar 2024 14:10:24 +0800
Subject: [PATCH] update translation for 0.63.3
---
2.trans.py | 11 +++++++++++
translations.py | 10 ++++++++++
translations_cn.py | 10 ++++++++++
3 files changed, 31 insertions(+)
diff --git a/2.trans.py b/2.trans.py
index b4c68ad..179e9c8 100644
--- a/2.trans.py
+++ b/2.trans.py
@@ -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 #hideHighlightWidget
label.}}',
'{{You can hide the highlights widget per-note by adding a #hideHighlightWidget
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)
@@ -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)
@@ -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)
diff --git a/translations.py b/translations.py
index 86e031d..64b17ef 100644
--- a/translations.py
+++ b/translations.py
@@ -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': '',
}
\ No newline at end of file
diff --git a/translations_cn.py b/translations_cn.py
index 0bbb41b..1bd2840 100644
--- a/translations_cn.py
+++ b/translations_cn.py
@@ -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': '全部',
'': '',
}