From 43c1ec640c41e83b0cb7783b1760f7781fab8f4a Mon Sep 17 00:00:00 2001 From: AnnAngela Date: Sat, 8 Oct 2022 01:45:00 +0800 Subject: [PATCH] feat: :globe_with_meridians: Update zh-cn and en translation (#2167) Co-authored-by: Louis Lam --- src/components/notifications/HomeAssistant.vue | 2 +- src/components/notifications/SMSManager.vue | 2 +- src/languages/en.js | 6 ++++++ src/languages/zh-CN.js | 14 ++++++++++++++ 4 files changed, 22 insertions(+), 2 deletions(-) diff --git a/src/components/notifications/HomeAssistant.vue b/src/components/notifications/HomeAssistant.vue index 67e370a15..de3680959 100644 --- a/src/components/notifications/HomeAssistant.vue +++ b/src/components/notifications/HomeAssistant.vue @@ -18,7 +18,7 @@
-

{{ $t("A list of Notification Services can be found in Home Assistant under \"Developer Tools > Services\" search for \"notification\" to find your device/phone name.") }}

+

{{ $t('A list of Notification Services can be found in Home Assistant under "Developer Tools > Services" search for "notification" to find your device/phone name.') }}

{{ $t("Automations can optionally be triggered in Home Assistant:") }}

{{ $t("Trigger type:") }} Event
diff --git a/src/components/notifications/SMSManager.vue b/src/components/notifications/SMSManager.vue index 25db624fc..1be952ae2 100644 --- a/src/components/notifications/SMSManager.vue +++ b/src/components/notifications/SMSManager.vue @@ -2,7 +2,7 @@

- {{ $t("SMSManager API Docs ") }} + {{ $t("SMSManager API Docs") }} {{ $t("here") }}
diff --git a/src/languages/en.js b/src/languages/en.js index 4bf92e920..e277958be 100644 --- a/src/languages/en.js +++ b/src/languages/en.js @@ -584,4 +584,10 @@ export default { backupRecommend: "Please backup the volume or the data folder (./data/) directly instead.", "Optional": "Optional", squadcast: "Squadcast", + SendKey: "SendKey", + "SMSManager API Docs": "SMSManager API Docs ", + "Gateway Type": "Gateway Type", + SMSManager: "SMSManager", + "You can divide numbers with": "You can divide numbers with", + "or": "or", }; diff --git a/src/languages/zh-CN.js b/src/languages/zh-CN.js index a37d4ae4c..0d21efda4 100644 --- a/src/languages/zh-CN.js +++ b/src/languages/zh-CN.js @@ -581,4 +581,18 @@ export default { "Then choose an action, for example switch the scene to where an RGB light is red.": "然后您可以选择关联操作,例如切换到 RGB 灯发出红光的场景", "Frontend Version": "前端版本", "Frontend Version do not match backend version!": "前端版本与后端版本不符!", + "Base URL": "API 基础地址", + goAlertInfo: "GoAlert 是一个用于呼叫调度、自动汇报和通知(如 SMS 或语音呼叫)的开源应用程序。在正确的时间以正确的方式自动让正确的人参与!{0}", + goAlertIntegrationKeyInfo: "使用形如 aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee 的通用 API 集成密钥,通常是复制来的链接中的 token 参数值。", + goAlert: "GoAlert", + backupOutdatedWarning: "已弃用:由于大量新功能的加入,以及备份功能没有时时维护,现在备份功能已经无法生成完整的备份和恢复完整的设置。", + backupRecommend: "请改为直接备份 docker 卷或者数据文件夹(./data/)。", + Optional: "可选的", + squadcast: "Squadcast", + SendKey: "SendKey", + "SMSManager API Docs": "SMSManager API 文档在", + "Gateway Type": "网关类型", + SMSManager: "SMSManager", + "You can divide numbers with": "可用的分隔符:", + "or": "或", };