luci-app-upup: Improve translation
authorHe Ping <pinghejk@gmail.com>
Tue, 23 Jan 2024 14:58:37 +0000 (22:58 +0800)
committerHannu Nyman <hannu.nyman@iki.fi>
Tue, 23 Jan 2024 16:00:24 +0000 (18:00 +0200)
Signed-off-by: He Ping <pinghejk@gmail.com>
applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js
applications/luci-app-upnp/po/templates/upnp.pot
applications/luci-app-upnp/po/zh_Hans/upnp.po

index e0a326d4fcf48bbc8c1555b623b536c2dcff846d..86415f8a91c6eb3493ee6d1fff8f77dd62dd0b8c 100644 (file)
@@ -200,8 +200,8 @@ return view.extend({
                o.placeholder = '0-65535'
 
                o = s.option(form.ListValue, 'action', _('Action'))
-               o.value('allow')
-               o.value('deny')
+               o.value('allow', _('Allow'));
+               o.value('deny', _('Deny'));
 
                return m.render().then(L.bind(function(m, nodes) {
                        poll.add(L.bind(function() {
index 1728a18d1a506de9621a02c937841a42bea1d017..b72809678b92bd07028a80b2102149f490d0e4f8 100644 (file)
@@ -36,6 +36,10 @@ msgstr ""
 msgid "Announced serial number"
 msgstr ""
 
+#: applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js:203
+msgid "Allow"
+msgstr ""
+
 #: applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js:160
 msgid "Clean rules interval"
 msgstr ""
@@ -77,6 +81,10 @@ msgstr ""
 msgid "Downlink"
 msgstr ""
 
+#: applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js:204
+msgid "Deny"
+msgstr ""
+
 #: applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js:130
 msgid "Enable IGDv1 mode"
 msgstr ""
index 6ca4d203ccc78813befdfcbad7f969de8f33dbfd..90b4a65b8c4944aa5778418a888d0d5f2f40d06f 100644 (file)
@@ -52,6 +52,10 @@ msgstr "通告的设备型号"
 msgid "Announced serial number"
 msgstr "通告的设备序列号"
 
+#: applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js:203
+msgid "Allow"
+msgstr "允许"
+
 #: applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js:160
 msgid "Clean rules interval"
 msgstr "定时清除规则"
@@ -93,6 +97,10 @@ msgstr "设备 UUID"
 msgid "Downlink"
 msgstr "下行速率"
 
+#: applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js:204
+msgid "Deny"
+msgstr "拒绝"
+
 #: applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js:130
 msgid "Enable IGDv1 mode"
 msgstr "启用 IGDv1 模式"