Skip to content

Build your personal knowledge base with Trilium Notes

feat: 🎸 add subtree translation

Jin332de4e67ffa
diff --git a/src/services/hidden_subtree.ts b/src/services/hidden_subtree.ts
index 63a3227408..369b23aeae 100644
--- a/src/services/hidden_subtree.ts
+++ b/src/services/hidden_subtree.ts
@@ -271,7 +271,7 @@ function buildHiddenSubtreeDefinition(helpSubtree: HiddenSubtreeItem[]): HiddenS
{ id: "_optionsImages", title: t("hidden-subtree.images-title"), type: "contentWidget", icon: "bx-image" },
{ id: "_optionsSpellcheck", title: t("hidden-subtree.spellcheck-title"), type: "contentWidget", icon: "bx-check-double" },
{ id: "_optionsPassword", title: t("hidden-subtree.password-title"), type: "contentWidget", icon: "bx-lock" },
- { id: '_optionsMFA', title: 'MFA', type: 'contentWidget', icon: 'bx-lock ' },
+ { id: '_optionsMFA', title: t('hidden-subtree.multi-factor-authentication-title'), type: 'contentWidget', icon: 'bx-lock ' },
{ id: "_optionsEtapi", title: t("hidden-subtree.etapi-title"), type: "contentWidget", icon: "bx-extension" },
{ id: "_optionsBackup", title: t("hidden-subtree.backup-title"), type: "contentWidget", icon: "bx-data" },
{ id: "_optionsSync", title: t("hidden-subtree.sync-title"), type: "contentWidget", icon: "bx-wifi" },
diff --git a/translations/cn/server.json b/translations/cn/server.json
index a167c05cca..4080fda977 100644
--- a/translations/cn/server.json
+++ b/translations/cn/server.json
@@ -240,13 +240,15 @@
"images-title": "图片",
"spellcheck-title": "拼写检查",
"password-title": "密码",
+ "multi-factor-authentication-title": "多因素认证",
"etapi-title": "ETAPI",
"backup-title": "备份",
"sync-title": "同步",
"other": "其他",
"advanced-title": "高级",
"visible-launchers-title": "可见启动器",
- "user-guide": "用户指南"
+ "user-guide": "用户指南",
+ "localization": "语言和区域"
},
"notes": {
"new-note": "新建笔记",
diff --git a/translations/en/server.json b/translations/en/server.json
index ef7d636b30..ab10985d1c 100644
--- a/translations/en/server.json
+++ b/translations/en/server.json
@@ -240,6 +240,7 @@
"images-title": "Images",
"spellcheck-title": "Spellcheck",
"password-title": "Password",
+ "multi-factor-authentication-title": "MFA",
"etapi-title": "ETAPI",
"backup-title": "Backup",
"sync-title": "Sync",