page.index = false
local page = node("freifunk")
- page.title = "Freifunk"
+ page.title = i18n("Freifunk")
page.target = alias("freifunk", "index")
page.order = 5
page.setuser = "nobody"
local page = node("freifunk", "index")
page.target = template("freifunk/index")
- page.title = "Übersicht"
+ page.title = i18n("Overview")
page.order = 10
page.indexignore = true
local page = node("freifunk", "index", "contact")
page.target = template("freifunk/contact")
- page.title = "Kontakt"
+ page.title = i18n("Contact")
page.order = 10
local page = node("freifunk", "status")
entry({"freifunk", "status", "zeroes"}, call("zeroes"), "Testdownload")
entry({"freifunk", "status", "public_status_json"}, call("public_status_json")).leaf = true
- assign({"freifunk", "olsr"}, {"admin", "status", "olsr"}, "OLSR", 30)
+ assign({"freifunk", "olsr"}, {"admin", "status", "olsr"}, i18n("OLSR"), 30)
if nixio.fs.access("/etc/config/luci_statistics") then
assign({"freifunk", "graph"}, {"admin", "statistics", "graph"}, i18n("Statistics"), 40)
end
-- backend
- assign({"mini", "freifunk"}, {"admin", "freifunk"}, "Freifunk", 5)
- entry({"admin", "freifunk"}, alias("admin", "freifunk", "index"), "Freifunk", 5)
+ assign({"mini", "freifunk"}, {"admin", "freifunk"}, i18n("Freifunk"), 5)
+ entry({"admin", "freifunk"}, alias("admin", "freifunk", "index"), i18n("Freifunk"), 5)
local page = node("admin", "freifunk")
page.target = template("freifunk/adminindex")
- page.title = "Freifunk"
+ page.title = i18n("Freifunk")
page.order = 5
local page = node("admin", "freifunk", "basics")
page.target = cbi("freifunk/basics")
- page.title = "Grundeinstellungen"
+ page.title = i18n("Basic Settings")
page.order = 5
local page = node("admin", "freifunk", "basics", "profile")
page.target = cbi("freifunk/profile")
- page.title = "Profile"
+ page.title = i18n("Profile")
page.order = 10
local page = node("admin", "freifunk", "basics", "profile_expert")
page.target = cbi("freifunk/profile_expert")
- page.title = "Profile (Expert)"
+ page.title = i18n("Profile (Expert)")
page.order = 20
local page = node("admin", "freifunk", "Index-Page")
page.target = cbi("freifunk/user_index")
- page.title = "Index-Page"
+ page.title = i18n("Index Page")
page.order = 50
local page = node("admin", "freifunk", "contact")
page.target = cbi("freifunk/contact")
- page.title = "Kontakt"
+ page.title = i18n("Contact")
page.order = 15
- entry({"freifunk", "map"}, template("freifunk-map/frame"), i18n("Karte"), 50)
+ entry({"freifunk", "map"}, template("freifunk-map/frame"), i18n("Map"), 50)
entry({"freifunk", "map", "content"}, template("freifunk-map/map"), nil, 51)
end