Skip to content

Commit eee4655

Browse files
committed
补充漏掉的 CKeditor高级列表功能 汉化, 补充漏掉的 切换到移动版 按钮汉化
1 parent 8be68b8 commit eee4655

File tree

3 files changed

+15
-18
lines changed

3 files changed

+15
-18
lines changed

2.trans.py

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1734,6 +1734,7 @@ def replace_in_file(file_path, translation, base_path=BASE_PATH):
17341734
' {{Open Dev Tools}}',
17351735
' {{Open SQL Console}}',
17361736
' {{Show backend log}}',
1737+
' {{Switch to mobile version}}',
17371738
' {{Reload frontend}}',
17381739
'title="{{Reload can help with some visual glitches without restarting the whole app.}}"',
17391740
' {{Zoom}}',
@@ -2134,24 +2135,6 @@ def replace_in_file(file_path, translation, base_path=BASE_PATH):
21342135
]
21352136
replace_in_file(file_path, translation)
21362137

2137-
file_path = 'src/public/app/widgets/global_menu.js'
2138-
translation = [
2139-
' {{Options}}',
2140-
' {{Open new window}}',
2141-
' {{Open Dev Tools}}',
2142-
' {{Open SQL Console}}',
2143-
' {{Show backend log}}',
2144-
' {{Reload frontend}}',
2145-
' {{Toggle Zen mode}}',
2146-
' {{Toggle fullscreen}}',
2147-
' {{Show Help}}',
2148-
' {{About Trilium Notes}}',
2149-
' {{Logout}}',
2150-
'title="{{Menu}}"',
2151-
'title="{{Reload can help with some visual glitches without restarting the whole app.}}"',
2152-
]
2153-
replace_in_file(file_path, translation)
2154-
21552138
file_path = 'src/public/app/widgets/history_navigation.js'
21562139
translation = [
21572140
'title="{{Go to previous note.}}"',
@@ -2911,6 +2894,7 @@ def replace_in_file(file_path, translation, base_path=BASE_PATH):
29112894
'''"Light grey":"{{Light grey}}"''',
29122895
'''Link:"{{Link}}"''',
29132896
'''"Link URL":"{{Link URL}}"''',
2897+
'''"List properties":"{{List properties}}"''',
29142898
'''"Lower-latin":"{{Lower-latin}}"''',
29152899
'''"Lower–roman":"{{Lower–roman}}"''',
29162900
'''"Merge cell down":"{{Merge cell down}}"''',
@@ -2939,6 +2923,8 @@ def replace_in_file(file_path, translation, base_path=BASE_PATH):
29392923
'''"Resize image":"{{Resize image}}"''',
29402924
'''"Resize image to %0":"{{Resize image to %0}}"''',
29412925
'''"Resize image to the original size":"{{Resize image to the original size}}"''',
2926+
'''"Restore default":"{{Restore default}}"''',
2927+
'''"Reversed order":"{{Reversed order}}"''',
29422928
'''"Rich Text Editor":"{{Rich Text Editor}}"''',
29432929
'''"Rich Text Editor %0":"{{Rich Text Editor %0}}"''',
29442930
'''Ridge:"{{Ridge}}"''',
@@ -2955,6 +2941,7 @@ def replace_in_file(file_path, translation, base_path=BASE_PATH):
29552941
'''"Split cell horizontally":"{{Split cell horizontally}}"''',
29562942
'''"Split cell vertically":"{{Split cell vertically}}"''',
29572943
'''Square:"{{Square}}"''',
2944+
'''"Start at":"{{Start at}}"''',
29582945
'''Strikethrough:"{{Strikethrough}}"''',
29592946
'''Style:"{{Style}}"''',
29602947
'''Subscript:"{{Subscript}}"''',

translations.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1502,4 +1502,9 @@
15021502
"erase notes permanently (can't be undone), including all clones. This will force application reload.": '',
15031503
'No note will be deleted (only clones).': '',
15041504
' (to be deleted) is referenced by relation <code>${attr.name}</code> originating from ': '',
1505+
'Switch to mobile version': '',
1506+
'List properties': '',
1507+
'Start at': '',
1508+
'Reversed order': '',
1509+
'Restore default': '',
15051510
}

translations_cn.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1497,5 +1497,10 @@
14971497
'No note will be deleted (only clones).': '没有笔记会被删除(只删除克隆).',
14981498
' (to be deleted) is referenced by relation <code>${attr.name}</code> originating from ': '(将被删除的笔记) 被以下关系 <code>${attr.name}</code> 引用, 来自 ',
14991499
'Erase deleted notes now': '永久删除已删除的笔记(不可恢复)',
1500+
'Switch to mobile version': '切换到移动版',
1501+
'List properties': '列表属性',
1502+
'Start at': '起始数字',
1503+
'Reversed order': '反向',
1504+
'Restore default': '恢复默认',
15001505
'': '',
15011506
}

0 commit comments

Comments
 (0)