diff options
author | Manuel Munz <freifunk@somakoma.de> | 2011-02-11 18:48:40 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2011-02-11 18:48:40 +0000 |
commit | 2815def1321a3b35c87463a2777d3717a46eb9f5 (patch) | |
tree | 4a7d6ad5a0414015ddc5fde4f86b4efd05929cd4 /applications/luci-ffwizard/luasrc/controller/ffwizard.lua | |
parent | 0d478ab9621ad17060646c93532e88bbe0b20769 (diff) |
applications/ffwizard: Fixes for i18n
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"}) |