summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ffwizard
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-ffwizard')
-rw-r--r--applications/luci-ffwizard/luasrc/controller/ffwizard.lua9
1 files changed, 3 insertions, 6 deletions
diff --git a/applications/luci-ffwizard/luasrc/controller/ffwizard.lua b/applications/luci-ffwizard/luasrc/controller/ffwizard.lua
index 53ceb3a545..5ba33a12aa 100644
--- a/applications/luci-ffwizard/luasrc/controller/ffwizard.lua
+++ b/applications/luci-ffwizard/luasrc/controller/ffwizard.lua
@@ -18,13 +18,10 @@ $Id$
module "luci.controller.ffwizard"
function index()
- require("luci.i18n").loadc("ffwizard")
- local i18n = luci.i18n.translate
-
- entry({"admin", "freifunk", "ffwizard"}, form("freifunk/ffwizard"), i18n("Wizard"), 40)
- assign({"mini", "freifunk", "ffwizard"}, {"admin", "freifunk", "ffwizard"}, i18n("Wizard"), 40)
+ entry({"admin", "freifunk", "ffwizard"}, form("freifunk/ffwizard"), _("Wizard"), 40).i18n = "ffwizard"
+ assign({"mini", "freifunk", "ffwizard"}, {"admin", "freifunk", "ffwizard"}, _("Wizard"), 40)
- entry({"admin", "freifunk", "ffwizard_error"}, template("freifunk/ffwizard_error"))
+ entry({"admin", "freifunk", "ffwizard_error"}, template("freifunk/ffwizard_error")).i18n = "ffwizard"
assign({"mini", "freifunk", "ffwizard_error"}, {"admin", "freifunk", "ffwizard_error"})
end