diff options
author | Florian Eckert <fe@dev.tdt.de> | 2019-10-14 21:12:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-14 21:12:32 +0200 |
commit | af040702da028f4a349b3d7d50f68e629cabd5eb (patch) | |
tree | 13c374d3a0d2a96f4bde372e566c7e23851565c4 | |
parent | 11e4377a0fba705dd8c542dd11e8b37a7926508e (diff) | |
parent | afc120a6c66df1135b049bb63c08ac530f8d8f99 (diff) |
Merge pull request #3181 from tano-systems/pr/mmproto
luci-proto-modemmanager: add translation for values
-rw-r--r-- | protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js b/protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js index ae68bfd8f..68dfb688c 100644 --- a/protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js +++ b/protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js @@ -68,10 +68,10 @@ return network.registerProtocol('modemmanager', { s.taboption('general', form.Value, 'pincode', _('PIN')); o = s.taboption('general', form.ListValue, 'auth', _('Authentication Type')); - o.value('both', 'PAP/CHAP (both)'); + o.value('both', _('PAP/CHAP (both)')); o.value('pap', 'PAP'); o.value('chap', 'CHAP'); - o.value('none', 'NONE'); + o.value('none', _('None')); o.default = 'none'; o = s.taboption('general', form.Value, 'username', _('PAP/CHAP username')); @@ -86,9 +86,9 @@ return network.registerProtocol('modemmanager', { o.password = true; o = s.taboption('general', form.ListValue, 'iptype', _('IP Type')); - o.value('ipv4v6', 'IPv4 IPv6 (both - defaults to IPv4)') - o.value('ipv4', 'IPv4 only'); - o.value('ipv6', 'IPv6 only'); + o.value('ipv4v6', _('IPv4/IPv6 (both - defaults to IPv4)')) + o.value('ipv4', _('IPv4 only')); + o.value('ipv6', _('IPv6 only')); o.default = 'ipv4v6'; o = s.taboption('advanced', form.Value, 'mtu', _('Override MTU')); |