Move param out of the translation file

This commit is contained in:
zsxeee 2021-10-13 15:36:07 +08:00
parent 26841a64f0
commit 33f773fcd0
No known key found for this signature in database
GPG key ID: 895CFFFD8313B3B8
3 changed files with 3 additions and 3 deletions

View file

@ -78,7 +78,7 @@ export default {
"Accepted Status Codes": "Accepted Status Codes", "Accepted Status Codes": "Accepted Status Codes",
"Push URL": "Push URL", "Push URL": "Push URL",
needPushEvery: "You should call this url every {0} seconds.", needPushEvery: "You should call this url every {0} seconds.",
pushOptionalParams: "Optional parameters: {'msg'}, {'ping'}", pushOptionalParams: "Optional parameters: {0}",
Save: "Save", Save: "Save",
Notifications: "Notifications", Notifications: "Notifications",
"Not available, please setup.": "Not available, please setup.", "Not available, please setup.": "Not available, please setup.",

View file

@ -66,7 +66,7 @@ export default {
"Accepted Status Codes": "有效状态码", "Accepted Status Codes": "有效状态码",
"Push URL": "推送链接", "Push URL": "推送链接",
needPushEvery: "你需要每 {0} 秒调用一次。", needPushEvery: "你需要每 {0} 秒调用一次。",
pushOptionalParams: "可选参数:{'msg'}{'ping'}", pushOptionalParams: "可选参数:{0}",
Save: "保存", Save: "保存",
Notifications: "消息通知", Notifications: "消息通知",
"Not available, please setup.": "无可用通道,请先设置", "Not available, please setup.": "无可用通道,请先设置",

View file

@ -50,7 +50,7 @@
<CopyableInput id="push-url" v-model="pushURL" type="url" disabled="disabled" /> <CopyableInput id="push-url" v-model="pushURL" type="url" disabled="disabled" />
<div class="form-text"> <div class="form-text">
{{ $t("needPushEvery", [monitor.interval]) }}<br /> {{ $t("needPushEvery", [monitor.interval]) }}<br />
{{ $t("pushOptionalParams") }} {{ $t("pushOptionalParams", ["msg, ping"]) }}
</div> </div>
</div> </div>