From 332de4e67ffa8b1cc4585a5ce375efff6e846faf Mon Sep 17 00:00:00 2001 From: Jin <22962980+JYC333@users.noreply.github.com> Date: Fri, 28 Mar 2025 03:42:59 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20add=20subtree=20translat?= =?UTF-8?q?ion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/services/hidden_subtree.ts | 2 +- translations/cn/server.json | 4 +++- translations/en/server.json | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/services/hidden_subtree.ts b/src/services/hidden_subtree.ts index 63a322740..369b23aea 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 a167c05cc..4080fda97 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 ef7d636b3..ab10985d1 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",