diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-17 01:57:53 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-17 01:57:53 +0000 |
commit | ba226fda1ba8a5e0e12043384bbd05b3f4ed3059 (patch) | |
tree | 112e60e369f78edb19e9d6696fc68a96230ae984 /modules/admin-full | |
parent | 218ca5d73114466f0b48a5ac40c13ce9e9a4db1d (diff) |
modules/admin-full: add missing translations to switch config page
Diffstat (limited to 'modules/admin-full')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_network/vlan.lua | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/vlan.lua b/modules/admin-full/luasrc/model/cbi/admin_network/vlan.lua index c71b9a0f7..866cfe73a 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/vlan.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/vlan.lua @@ -93,13 +93,13 @@ m.uci:foreach("network", "switch", s = m:section(NamedSection, x['.name'], "switch", translatef("Switch %q", switch_name)) s.addremove = false - s:option(Flag, "enable", "Enable this switch") + s:option(Flag, "enable", translate("Enable this switch")) .cfgvalue = function(self, section) return Flag.cfgvalue(self, section) or self.enabled end - s:option(Flag, "enable_vlan", "Enable VLAN functionality") + s:option(Flag, "enable_vlan", translate("Enable VLAN functionality")) .cfgvalue = function(self, section) return Flag.cfgvalue(self, section) or self.enabled end - s:option(Flag, "reset", "Reset switch during setup") + s:option(Flag, "reset", translate("Reset switch during setup")) .cfgvalue = function(self, section) return Flag.cfgvalue(self, section) or self.enabled end @@ -266,8 +266,7 @@ m.uci:foreach("network", "switch", s = m:section(TypedSection, "switch", translatef("Port PVIDs on %q", switch_name), translate("Port <abbr title=\"Primary VLAN IDs\">PVIDs</abbr> specify " .. - "the default VLAN ID added to received untagged frames.<br />" .. - "Leave the ID field empty to disable auto tagging on the associated port.")) + "the default VLAN ID added to received untagged frames.")) s.template = "cbi/tblsection" s.addremove = false |