modules/freifunk: fix wrong call to translate in controller
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 26 May 2009 18:30:00 +0000 (18:30 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 26 May 2009 18:30:00 +0000 (18:30 +0000)
modules/freifunk/luasrc/controller/freifunk/freifunk.lua

index fd61bb3..9769ea0 100644 (file)
@@ -72,7 +72,7 @@ function index()
        page.title  = "Kontakt"
        page.order  = 40
 
-       entry({"freifunk", "map"}, template("freifunk-map/frame"), translate("freifunk_map", "Karte"), 50)
+       entry({"freifunk", "map"}, template("freifunk-map/frame"), i18n("freifunk_map", "Karte"), 50)
        entry({"freifunk", "map", "content"}, template("freifunk-map/map"), nil, 51)
 end