From 1bb272fefcb8b5136659a5fb55b5466e62759660 Mon Sep 17 00:00:00 2001 From: He Ping Date: Tue, 23 Jan 2024 01:11:40 +0800 Subject: [PATCH] luci-app-watchcat: Improve translation Signed-off-by: He Ping --- .../htdocs/luci-static/resources/view/watchcat.js | 2 +- applications/luci-app-watchcat/po/templates/watchcat.pot | 4 ++++ applications/luci-app-watchcat/po/zh_Hans/watchcat.po | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js b/applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js index dc9e0084bc..91623fcb02 100644 --- a/applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js +++ b/applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js @@ -62,7 +62,7 @@ return view.extend({ o.depends({ mode: 'ping_reboot' }); o.depends({ mode: 'restart_iface' }); o.depends({ mode: "run_script" }); - o.value('any'); + o.value('any', _('Any')); o.value('ipv4'); o.value('ipv6'); diff --git a/applications/luci-app-watchcat/po/templates/watchcat.pot b/applications/luci-app-watchcat/po/templates/watchcat.pot index dfb4c9dc9b..dc672645d9 100644 --- a/applications/luci-app-watchcat/po/templates/watchcat.pot +++ b/applications/luci-app-watchcat/po/templates/watchcat.pot @@ -27,6 +27,10 @@ msgid "" "specifying its name." msgstr "" +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:65 +msgid "Any" +msgstr "" + #: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:84 msgid "Big: 248 bytes" msgstr "" diff --git a/applications/luci-app-watchcat/po/zh_Hans/watchcat.po b/applications/luci-app-watchcat/po/zh_Hans/watchcat.po index 67842e240a..ad232c4090 100644 --- a/applications/luci-app-watchcat/po/zh_Hans/watchcat.po +++ b/applications/luci-app-watchcat/po/zh_Hans/watchcat.po @@ -47,6 +47,10 @@ msgstr "" "应用于 Ping 重启 和 重启接口 模式
如果使用 ModemManager,你可以通过" "指定名称让 Watchcat 重新启动你的 ModemManager 接口。" +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:65 +msgid "Any" +msgstr "任何" + #: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:84 msgid "Big: 248 bytes" msgstr "大:248 字节" -- 2.30.2