Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luci-app-upup: Improve translation #6865

Merged
merged 1 commit into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
8 changes: 8 additions & 0 deletions applications/luci-app-upnp/po/templates/upnp.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand Down Expand Up @@ -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 ""
Expand Down
8 changes: 8 additions & 0 deletions applications/luci-app-upnp/po/zh_Hans/upnp.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 "定时清除规则"
Expand Down Expand Up @@ -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 模式"
Expand Down