diff --git a/src/languages/en.js b/src/languages/en.js index f25af641..fbba41a5 100644 --- a/src/languages/en.js +++ b/src/languages/en.js @@ -78,7 +78,7 @@ export default { "Accepted Status Codes": "Accepted Status Codes", "Push URL": "Push URL", needPushEvery: "You should call this url every {0} seconds.", - pushOptionalParams: "Optional parameters: {'msg'}, {'ping'}", + pushOptionalParams: "Optional parameters: {0}", Save: "Save", Notifications: "Notifications", "Not available, please setup.": "Not available, please setup.", diff --git a/src/languages/zh-CN.js b/src/languages/zh-CN.js index 2ff83025..a5db2902 100644 --- a/src/languages/zh-CN.js +++ b/src/languages/zh-CN.js @@ -66,7 +66,7 @@ export default { "Accepted Status Codes": "有效状态码", "Push URL": "推送链接", needPushEvery: "你需要每 {0} 秒调用一次。", - pushOptionalParams: "可选参数:{'msg'},{'ping'}", + pushOptionalParams: "可选参数:{0}", Save: "保存", Notifications: "消息通知", "Not available, please setup.": "无可用通道,请先设置", diff --git a/src/pages/EditMonitor.vue b/src/pages/EditMonitor.vue index ff707c2c..78d71662 100644 --- a/src/pages/EditMonitor.vue +++ b/src/pages/EditMonitor.vue @@ -50,7 +50,7 @@
{{ $t("needPushEvery", [monitor.interval]) }}
- {{ $t("pushOptionalParams") }} + {{ $t("pushOptionalParams", ["msg, ping"]) }}