Improve translation

This commit is contained in:
AnnAngela-work 2022-04-29 20:26:56 +08:00
parent 45da7c5431
commit 7dd5f5ea0d
3 changed files with 6 additions and 5 deletions

View file

@ -1,10 +1,9 @@
<template> <template>
<div class="mb-3"> <div class="mb-3">
<label for="clicksendsms-login" class="form-label">{{ $t("API Username") }}</label> <label for="clicksendsms-login" class="form-label">{{ $t("API Username") }}</label>
<div class="form-text"> <i18n-t tag="div" class="form-text" keypath="wayToGetClickSendSMSToken">
{{ $t("apiCredentials") }}
<a href="http://dashboard.clicksend.com/account/subaccounts" target="_blank">{{ $t("here") }}</a> <a href="http://dashboard.clicksend.com/account/subaccounts" target="_blank">{{ $t("here") }}</a>
</div> </i18n-t>
<input id="clicksendsms-login" v-model="$parent.notification.clicksendsmsLogin" type="text" class="form-control" required> <input id="clicksendsms-login" v-model="$parent.notification.clicksendsmsLogin" type="text" class="form-control" required>
<label for="clicksendsms-key" class="form-label">{{ $t("API Key") }}</label> <label for="clicksendsms-key" class="form-label">{{ $t("API Key") }}</label>
<HiddenInput id="clicksendsms-key" v-model="$parent.notification.clicksendsmsPassword" :required="true" autocomplete="one-time-code"></HiddenInput> <HiddenInput id="clicksendsms-key" v-model="$parent.notification.clicksendsmsPassword" :required="true" autocomplete="one-time-code"></HiddenInput>
@ -21,7 +20,7 @@
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="clicksendsms-sender-name" class="form-label">{{ $t("From Name/Number") }} - <label for="clicksendsms-sender-name" class="form-label">{{ $t("From Name/Number") }} -
<i18n-t tag="span" keypath="Read more:"><a href="https://help.clicksend.com/article/4kgj7krx00-what-is-a-sender-id-or-sender-number" target="_blank">https://help.clicksend.com/article/4kgj7krx00-what-is-a-sender-id-or-sender-number</a></i18n-t> <a href="https://help.clicksend.com/article/4kgj7krx00-what-is-a-sender-id-or-sender-number" target="_blank">{{ $t("Read more") }}</a>
</label> </label>
<input id="clicksendsms-sender-name" v-model="$parent.notification.clicksendsmsSenderName" type="text" minlength="3" maxlength="11" class="form-control"> <input id="clicksendsms-sender-name" v-model="$parent.notification.clicksendsmsSenderName" type="text" minlength="3" maxlength="11" class="form-control">
<div class="form-text">{{ $t("Leave blank to use a shared sender number.") }}</div> <div class="form-text">{{ $t("Leave blank to use a shared sender number.") }}</div>

View file

@ -514,4 +514,5 @@ export default {
"Retype the address.": "Retype the address.", "Retype the address.": "Retype the address.",
"Go back to the previous page.": "Go back to the previous page.", "Go back to the previous page.": "Go back to the previous page.",
"Coming Soon": "Coming Soon", "Coming Soon": "Coming Soon",
wayToGetClickSendSMSToken: "You can get API Username and API Key from {0} .",
}; };

View file

@ -441,7 +441,7 @@ export default {
"No Proxy": "无代理", "No Proxy": "无代理",
"HTTP Basic Auth": "HTTP 基础身份验证", "HTTP Basic Auth": "HTTP 基础身份验证",
"New Status Page": "新的状态页", "New Status Page": "新的状态页",
"Page Not Found": "状态页未找到", "Page Not Found": "未找到该页面",
"Reverse Proxy": "反向代理", "Reverse Proxy": "反向代理",
"Subject:": "颁发给:", "Subject:": "颁发给:",
"Valid To:": "有效期至:", "Valid To:": "有效期至:",
@ -519,4 +519,5 @@ export default {
"Retype the address.": "重新输入地址;", "Retype the address.": "重新输入地址;",
"Go back to the previous page.": "返回到上一页面。", "Go back to the previous page.": "返回到上一页面。",
"Coming Soon": "即将推出", "Coming Soon": "即将推出",
wayToGetClickSendSMSToken: "您可以从 {0} 获取 API 凭证 Username 和 凭证 Key。",
}; };