feat: 🌐 Update zh-cn and en translation (#2167)

Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
This commit is contained in:
AnnAngela 2022-10-08 01:45:00 +08:00 committed by GitHub
parent 4f6dec41c6
commit 43c1ec640c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 2 deletions

View file

@ -18,7 +18,7 @@
<input id="notificationService" v-model="$parent.notification.notificationService" type="text" :placeholder="$t('default: notify all devices')" class="form-control"> <input id="notificationService" v-model="$parent.notification.notificationService" type="text" :placeholder="$t('default: notify all devices')" class="form-control">
<div class="form-text"> <div class="form-text">
<p>{{ $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.") }}</p> <p>{{ $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.') }}</p>
<p>{{ $t("Automations can optionally be triggered in Home Assistant:") }}</p> <p>{{ $t("Automations can optionally be triggered in Home Assistant:") }}</p>
<p> <p>
{{ $t("Trigger type:") }} <code>Event</code><br /> {{ $t("Trigger type:") }} <code>Event</code><br />

View file

@ -2,7 +2,7 @@
<div class="mb-3"> <div class="mb-3">
<label for="smsmanager-key" class="form-label">API Key</label> <label for="smsmanager-key" class="form-label">API Key</label>
<div class="form-text"> <div class="form-text">
{{ $t("SMSManager API Docs ") }} {{ $t("SMSManager API Docs") }}
<a href="https://smsmanager.cz/api/http#send" target="_blank">{{ $t("here") }}</a> <a href="https://smsmanager.cz/api/http#send" target="_blank">{{ $t("here") }}</a>
</div> </div>
<input id="smsmanager-key" v-model="$parent.notification.smsmanagerApiKey" type="text" class="form-control"> <input id="smsmanager-key" v-model="$parent.notification.smsmanagerApiKey" type="text" class="form-control">

View file

@ -584,4 +584,10 @@ export default {
backupRecommend: "Please backup the volume or the data folder (./data/) directly instead.", backupRecommend: "Please backup the volume or the data folder (./data/) directly instead.",
"Optional": "Optional", "Optional": "Optional",
squadcast: "Squadcast", 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",
}; };

View file

@ -581,4 +581,18 @@ export default {
"Then choose an action, for example switch the scene to where an RGB light is red.": "然后您可以选择关联操作,例如切换到 RGB 灯发出红光的场景", "Then choose an action, for example switch the scene to where an RGB light is red.": "然后您可以选择关联操作,例如切换到 RGB 灯发出红光的场景",
"Frontend Version": "前端版本", "Frontend Version": "前端版本",
"Frontend Version do not match backend 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": "或",
}; };