luci-app-upup: Improve translation

Signed-off-by: He Ping <pinghejk@gmail.com>
This commit is contained in:
He Ping 2024-01-23 22:58:37 +08:00 committed by Hannu Nyman
parent 92b3040414
commit 2bdf7c83e3
3 changed files with 18 additions and 2 deletions

View 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() {

View 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 ""

View 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 模式"