From 2815def1321a3b35c87463a2777d3717a46eb9f5 Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Fri, 11 Feb 2011 18:48:40 +0000 Subject: applications/ffwizard: Fixes for i18n --- applications/luci-ffwizard/luasrc/controller/ffwizard.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'applications/luci-ffwizard/luasrc/controller/ffwizard.lua') 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"}) -- cgit v1.2.3