$Id$
]]--
-mh = Map("olsrd", "OLSR - HNA Announcements")
+mh = Map("olsrd", translate("OLSR - HNA-Announcements"))
-for i, sect in ipairs({ "Hna4", "Hna6" }) do
- hna = mh:section(TypedSection, sect)
- hna.addremove = true
- hna.anonymous = true
- hna.template = "cbi/tblsection"
- net = hna:option(Value, "NetAddr")
- msk = hna:option(Value, "Prefix")
-end
+hna4 = mh:section(TypedSection, "Hna4", "Hna4")
+hna4.addremove = true
+hna4.anonymous = true
+hna4.template = "cbi/tblsection"
+
+net4 = hna4:option(Value, "netaddr", translate("Network address"))
+msk4 = hna4:option(Value, "netmask", translate("Netmask"))
+
+
+hna6 = mh:section(TypedSection, "Hna6", "Hna6")
+hna6.addremove = true
+hna6.anonymous = true
+hna6.template = "cbi/tblsection"
+
+net6 = hna6:option(Value, "netaddr", translate("Network address"))
+msk6 = hna6:option(Value, "prefix", translate("Prefix"))
+
return mh