modules/admin-full: add stp option in interface configuration
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 29 May 2009 22:32:42 +0000 (22:32 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 29 May 2009 22:32:42 +0000 (22:32 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua
po/templates/admin-core.pot

index 986c7e3..3037573 100644 (file)
@@ -51,6 +51,11 @@ br = s:option(Flag, "type", translate("a_n_i_bridge"), translate("a_n_i_bridge1"
 br.enabled = "bridge"
 br.rmempty = true
 
+stp = s:option(Flag, "stp", translate("a_n_i_stp"),
+       translate("a_n_i_stp1", "Enables the Spanning Tree Protocol on this bridge"))
+stp:depends("type", "bridge")
+stp.rmempty = true
+
 ifname = s:option(Value, "ifname", translate("interface"))
 ifname.rmempty = true
 for i,d in ipairs(luci.sys.net.devices()) do
index 1060451..2286e3d 100644 (file)
@@ -1278,6 +1278,14 @@ msgstr ""
 msgid "a_n_i_bridge1"
 msgstr ""
 
+#. Enable <abbr title=\"Spanning Tree Protocol\">STP</abbr>
+msgid "a_n_i_stp"
+msgstr ""
+
+#. Enables the Spanning Tree Protocol on this bridge
+msgid "a_n_i_stp1"
+msgstr ""
+
 #. With <abbr title=\"Dynamic Host Configuration Protocol\">DHCP</abbr> network members can automatically receive their network settings (<abbr title=\"Internet Protocol\">IP</abbr>-address, netmask, <abbr title=\"Domain Name System\">DNS</abbr>-server, ...).
 #: i18n/english/luasrc/i18n/admin-core.en.lua:256
 msgid "dhcp_desc"