Skip to content

Commit df1f397

Browse files
committed
clear duplicated translations
1 parent 95447a8 commit df1f397

File tree

2 files changed

+4
-19
lines changed

2 files changed

+4
-19
lines changed

translations.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -630,12 +630,10 @@
630630
'Rename relation from:': '',
631631
'Set label': '',
632632
'to value': '',
633-
'On all matched notes:': '',
634633
"create given label if note doesn't have one yet": '',
635634
'or change value of the existing label': '',
636635
'You can also call this method without value, in such case label will be assigned to the note without value.': '',
637636
'Set relation': '',
638-
'to': '',
639637
"create given relation if note doesn't have one yet": '',
640638
'or change target note of the existing relation': '',
641639
'Ancestor:': '',
@@ -709,7 +707,6 @@
709707
'Go to previous note.': '',
710708
'Go to next note.': '',
711709
'Revisions': '',
712-
' Link map': '',
713710
' Note info': '',
714711
'Note is not protected, click to make it protected': '',
715712
'Note is protected, click to make it unprotected': '',
@@ -793,7 +790,6 @@
793790
'All known changes have been synced.': '',
794791
'Sync with the server is in progress.': '',
795792
'Sync update in progress': '',
796-
'Note ID:': '',
797793
'Original file name:': '',
798794
'File type:': '',
799795
'File size:': '',
@@ -1178,7 +1174,6 @@
11781174
'Note is always editable, regardless of its length.': '',
11791175
'help and examples': '',
11801176
'Could not find typeWidget for type: ': '',
1181-
'Link Map': '',
11821177
'Tree map': '',
11831178
'Mermaid Diagram': '',
11841179
' Searching ...': '',
@@ -1373,6 +1368,8 @@
13731368
'`Created fully anonymized database in ${resp.anonymizedFilePath}`': '',
13741369
'`Created lightly anonymized database in ${resp.anonymizedFilePath}`': '',
13751370
'Move note': '',
1371+
'to': '',
1372+
'On all matched notes:': '',
13761373
'move note to the new parent if note has only one parent (i.e. the old placement is removed and new placement into the new parent is created)': '',
13771374
"clone note to the new parent if note has multiple clones/placements (it's not clear which placement should be removed)": '',
13781375
'nothing will happen if note cannot be moved to the target note (i.e. this would create a tree cycle)': '',
@@ -1687,7 +1684,7 @@
16871684
'Opening attachment externally is available only from the detail page, please first click on the attachment detail first and repeat the action.': '',
16881685
'Are you sure you want to delete attachment': '',
16891686
"Attachment '${this.attachment.title}' has been deleted.": '',
1690-
"Are you sure you want to convert attachment '${this.attachment.title}' into a separate note?`": '',
1687+
"Are you sure you want to convert attachment '${this.attachment.title}' into a separate note?": '',
16911688
"Attachment '${this.attachment.title}' has been converted to note.": '',
16921689
"Please enter new attachment's name": '',
16931690
'Ribbon widgets': '',

translations_cn.py

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -614,12 +614,10 @@
614614
'Rename relation from:': '重命名关系由:',
615615
'Set label': '设置标签',
616616
'to value': '为',
617-
'On all matched notes:': '在所有匹配的笔记上:',
618617
"create given label if note doesn't have one yet": '如果笔记还没有, 则创建给定标签',
619618
'or change value of the existing label': '或修改现有标签的值',
620619
'You can also call this method without value, in such case label will be assigned to the note without value.': '您也可以不带参数地调用这个方法, 这种情况下, 分配给笔记的标签就没有值.',
621620
'Set relation': '设置关系',
622-
'to': '为',
623621
"create given relation if note doesn't have one yet": '如果笔记还没有关系, 则创建给定的关系',
624622
'or change target note of the existing relation': '或修改现有关系的目标笔记',
625623
'Ancestor:': '祖先:',
@@ -693,7 +691,6 @@
693691
'Go to previous note.': '转到上一个笔记.',
694692
'Go to next note.': '转到下一个笔记.',
695693
'Revisions': '历史',
696-
' Link map': '链接图',
697694
' Note info': '笔记信息',
698695
'Note is not protected, click to make it protected': '笔记不受保护, 点击以使其受保护',
699696
'Note is protected, click to make it unprotected': '笔记已受保护, 点击以使其不受保护',
@@ -771,7 +768,6 @@
771768
'All known changes have been synced.': '所有的修改已经同步.',
772769
'Sync with the server is in progress.': '同步中.',
773770
'Sync update in progress': '同步更新中',
774-
'Note ID:': '笔记ID:',
775771
'Original file name:': '原始文件名:',
776772
'File type:': '文件类型:',
777773
'File size:': '文件大小:',
@@ -1157,7 +1153,6 @@
11571153
'Note is always editable, regardless of its length.': '笔记总是可编辑的, 无论其长度如何.',
11581154
'help and examples': '帮助和示例',
11591155
'Could not find typeWidget for type: ': '找不到类型的 typeWidget:',
1160-
'Link Map': '链接地图',
11611156
'Tree map': '树形图',
11621157
'Mermaid Diagram': '美人鱼图',
11631158
' Searching ...': '正在搜索...',
@@ -1321,8 +1316,6 @@
13211316
'Existing tokens': '已有令牌',
13221317
'There are no tokens yet. Click on the button above to create one.': '暂无令牌. 点击上方按钮来创建令牌.',
13231318
'Token name': '令牌名称',
1324-
'Created': '创建',
1325-
'Actions': '动作',
13261319
'New ETAPI token': '新的 ETAPI 令牌',
13271320
'ETAPI token created': 'ETAPI 令牌已创建',
13281321
'Copy the created token into clipboard. Trilium stores the token hashed and this is the last time you see it.': '复制新令牌到剪贴板. Trilium会保存令牌的哈希值, 请注意这将是你最后一次看到这个令牌.',
@@ -1336,12 +1329,8 @@
13361329
'If you forget your password, then all your protected notes are forever lost.': '如果你忘记了密码, 所有受保护的笔记将永远丢失.',
13371330
'In case you did forget your password': '如果你忘记了密码',
13381331
'click here to reset it': '点击这里来重置它',
1339-
'Old password': '旧密码',
1340-
'New password': '新密码',
13411332
'New password confirmation': '新密码确认',
13421333
'Password has been reset. Please set new password': '密码已重置. 请设置新密码',
1343-
'New passwords are not the same.': '新密码不一致.',
1344-
'Password has been changed. Trilium will be reloaded after you press OK.': '密码已被更改. 点击OK后, Trilium会重新加载.',
13451334
'By resetting the password you will forever lose access to all your existing protected notes. Do you really want to reset the password?': '重置密码会永远丢失所有受保护的笔记. 确定要重置密码吗?',
13461335
'Rename note': '重命名笔记',
13471336
'Only in desktop (electron build)': '仅桌面客户端有效 (electron 编译版)',
@@ -1387,7 +1376,6 @@
13871376
'To be able to protect notes, <a id="open-password-options-button" href="javascript:">\n click here to open the Options dialog</a> and set your password.': '想要保护笔记<a id="open-password-options-button" href="javascript:">点击这里打开设置窗口</a>并设置你的密码.',
13881377
"DB schema does not exist, can't sync.": '数据库不存在, 无法同步.',
13891378
"Sync login credentials are incorrect. It looks like you're trying to sync two different initialized documents which is not possible.": '同步登录凭据不正确. 看起来您正在尝试同步两个不同的已初始化文档, 操作失败.',
1390-
"Given current password doesn't match hash": '输入的密码哈希值不匹配.',
13911379
'Auth request time is out of sync, please check that both client and server have correct time.': '身份验证请求时间不同步, 请检查客户端和服务器的时间是否正确',
13921380
'Non-matching sync versions, local is version ${appInfo.syncVersion}, remote is ${syncVersion}. It is recommended to run same version of Trilium on both sides of sync.': '同步版本不匹配, 本地版本 ${appInfo.syncVersion}, 远程版本 ${syncVersion}. 建议服务端和客户端运行相同版本的 Trilium.',
13931381
'Incorrect password': '密码错误',
@@ -1669,7 +1657,7 @@
16691657
"Opening attachment externally is available only from the detail page, please first click on the attachment detail first and repeat the action.": "用外部程序打开附件仅在详细页面使用, 请先单击附件详情并重复操作",
16701658
"Are you sure you want to delete attachment": "您确定要删除附件吗",
16711659
"Attachment '${this.attachment.title}' has been deleted.": "已删除附件 '${this.attachment.title}'",
1672-
"Are you sure you want to convert attachment '${this.attachment.title}' into a separate note?`": "您确定要将附件 '${this.attachment.title}' 转换为独立的笔记吗?",
1660+
"Are you sure you want to convert attachment '${this.attachment.title}' into a separate note?": "您确定要将附件 '${this.attachment.title}' 转换为独立的笔记吗?",
16731661
"Attachment '${this.attachment.title}' has been converted to note.": "附件 '${this.attachment.title}' 已转换为笔记",
16741662
"Please enter new attachment's name": "请输入新附件的名称",
16751663
'Ribbon widgets': '功能选项组件',

0 commit comments

Comments
 (0)