luci-app-upup: Improve translation
authorHe Ping <pinghejk@gmail.com>
Tue, 23 Jan 2024 14:58:37 +0000 (22:58 +0800)
committerPaul Donald <newtwen@gmail.com>
Wed, 24 Jan 2024 00:47:24 +0000 (01:47 +0100)
Signed-off-by: He Ping <pinghejk@gmail.com>
(cherry picked from commit 2bdf7c83e3c71f9ad4dfaec259c7fcce87e7d807)

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 f3e0adf3ef7feca20678086de3de0439e4a1cfbb..73fab9dbad4eaefd3a54a57d75b16ab5eca9b0ee 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 模式"