X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=modules%2Ffreifunk%2Fluasrc%2Fmodel%2Fcbi%2Ffreifunk%2Fprofile.lua;h=54e32b685fa6213f2d34f59d0217cc36a3ffe227;hb=77475804e0ae65eb6924b64094c77c31911c7bb3;hp=87ec03c7e7146f36115fa22c5d4a527f7cde5650;hpb=c36fd44de2db30c08848bf326365a1e372b7879c;p=project%2Fluci.git diff --git a/modules/freifunk/luasrc/model/cbi/freifunk/profile.lua b/modules/freifunk/luasrc/model/cbi/freifunk/profile.lua index 87ec03c7e..54e32b685 100644 --- a/modules/freifunk/luasrc/model/cbi/freifunk/profile.lua +++ b/modules/freifunk/luasrc/model/cbi/freifunk/profile.lua @@ -15,16 +15,16 @@ local community = "profile_" .. uci:get("freifunk", "community", "name") --local community = "profile_augsburg" -m = Map(community, translate("Community settings"), translate("These are the settings of your local community")) +m = Map(community, translate("Community settings"), translate("These are the settings of your local community.")) -c = m:section(NamedSection, "profile", "community", "foobar") +c = m:section(NamedSection, "profile", "community") name = c:option(Value, "name", "Name") name.rmempty = false -homepage = c:option(Value, "homepage", "Webseite") +homepage = c:option(Value, "homepage", translate("Homepage")) -cc = c:option(Value, "country", "Countrycode") +cc = c:option(Value, "country", translate("Country code")) function cc.cfgvalue(self, section) return uci:get(community, "wifi_device", "country") end @@ -35,21 +35,21 @@ function cc.write(self, sec, value) end end -ssid = c:option(Value, "ssid", "ESSID") +ssid = c:option(Value, "ssid", translate("ESSID")) ssid.rmempty = false -prefix = c:option(Value, "mesh_network", "Netzprefix") +prefix = c:option(Value, "mesh_network", translate("Mesh prefix")) prefix.rmempty = false -splash_net = c:option(Value, "splash_network", "Netzwerk für Client-DHCP-Adressen") +splash_net = c:option(Value, "splash_network", translate("Network for client DHCP addresses")) splash_net.rmempty = false -splash_prefix = c:option(Value, "splash_prefix", "Netzgröße für Clientnetze") +splash_prefix = c:option(Value, "splash_prefix", translate("Client network size")) splash_prefix.rmempty = false -lat = c:option(Value, "latitude", "Latitude") +lat = c:option(Value, "latitude", translate("Latitude")) lat.rmempty = false -lon = c:option(Value, "longitude", "longitude") +lon = c:option(Value, "longitude", translate("Longitude")) lon.rmempty = false return m