diff options
Diffstat (limited to 'applications/luci-ffwizard/luasrc/controller/ffwizard.lua')
-rw-r--r-- | applications/luci-ffwizard/luasrc/controller/ffwizard.lua | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/applications/luci-ffwizard/luasrc/controller/ffwizard.lua b/applications/luci-ffwizard/luasrc/controller/ffwizard.lua index 5ad48eeab..50753d877 100644 --- a/applications/luci-ffwizard/luasrc/controller/ffwizard.lua +++ b/applications/luci-ffwizard/luasrc/controller/ffwizard.lua @@ -18,8 +18,11 @@ $Id$ module "luci.controller.ffwizard" function index() - entry({"admin", "freifunk", "ffwizard"}, form("freifunk/ffwizard"), "Freifunkassistent", 40) - assign({"mini", "freifunk", "ffwizard"}, {"admin", "freifunk", "ffwizard"}, "Freifunkassistent", 40) + 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_error"}, template("freifunk/ffwizard_error")) assign({"mini", "freifunk", "ffwizard_error"}, {"admin", "freifunk", "ffwizard_error"}) |