From e7fb86190ab25d92d28a550460e0ede5966c85aa Mon Sep 17 00:00:00 2001 From: Karl Lee <61072264+KarlLee830@users.noreply.github.com> Date: Thu, 6 Jun 2024 13:12:45 +0800 Subject: [PATCH] added missing i18n keys --- src/lib/components/layout/Overlay/AccountPending.svelte | 7 +++---- src/lib/i18n/locales/zh-CN/translation.json | 7 ++++++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/lib/components/layout/Overlay/AccountPending.svelte b/src/lib/components/layout/Overlay/AccountPending.svelte index 79ab23493..21cb3b5ab 100644 --- a/src/lib/components/layout/Overlay/AccountPending.svelte +++ b/src/lib/components/layout/Overlay/AccountPending.svelte @@ -21,17 +21,16 @@
- Account Activation Pending
Contact Admin for WebUI Access + {$i18n.t('Account Activation Pending')}
{$i18n.t('Contact Admin for WebUI Access')}
- Your account status is currently pending activation.
To access the WebUI, please reach - out to the administrator. Admins can manage user statuses from the Admin Panel. + {$i18n.t('Your account status is currently pending activation.')}
{$i18n.t('To access the WebUI, please reach out to the administrator. Admins can manage user statuses from the Admin Panel.')}
{#if adminDetails}
-
Admin: {adminDetails.name} ({adminDetails.email})
+
{$i18n.t('Admin')}: {adminDetails.name} ({adminDetails.email})
{/if} diff --git a/src/lib/i18n/locales/zh-CN/translation.json b/src/lib/i18n/locales/zh-CN/translation.json index 92cbc2ace..d8fe2eb05 100644 --- a/src/lib/i18n/locales/zh-CN/translation.json +++ b/src/lib/i18n/locales/zh-CN/translation.json @@ -544,5 +544,10 @@ "You're a helpful assistant.": "你是一个有帮助的助手。", "You're now logged in.": "已登录。", "Youtube": "YouTube", - "Youtube Loader Settings": "YouTube 爬取设置" + "Youtube Loader Settings": "YouTube 爬取设置", + "Account Activation Pending": "账号待激活", + "Contact Admin for WebUI Access": "请联系管理员以获取访问权限", + "Your account status is currently pending activation.": "您的账号当前状态为待激活。", + "To access the WebUI, please reach out to the administrator. Admins can manage user statuses from the Admin Panel.": "请联系管理员以访问。管理员可以在后台管理面板中管理用户状态。", + "Admin": "管理员联系方式" }