diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-08-12 13:16:27 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-08-12 13:16:27 +0000 |
commit | 1d76d8a2158ec397322e54da0b6ad3ca4cadb621 (patch) | |
tree | 4c4044d2ca009fa88c154379e439bb2dc784b3a4 /applications/luci-p2pblock/luasrc/controller/ff_p2pblock.lua | |
parent | a8ac3b344f5dee7a79455faa0c699e561464cf4d (diff) |
applications, modules: remove i18n handling from controller modules as it moved to the themes now
Diffstat (limited to 'applications/luci-p2pblock/luasrc/controller/ff_p2pblock.lua')
-rw-r--r-- | applications/luci-p2pblock/luasrc/controller/ff_p2pblock.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/applications/luci-p2pblock/luasrc/controller/ff_p2pblock.lua b/applications/luci-p2pblock/luasrc/controller/ff_p2pblock.lua index 651172cd1..50c9e7a1a 100644 --- a/applications/luci-p2pblock/luasrc/controller/ff_p2pblock.lua +++ b/applications/luci-p2pblock/luasrc/controller/ff_p2pblock.lua @@ -15,7 +15,6 @@ $Id$ module("luci.controller.ff_p2pblock", package.seeall) function index() - require("luci.i18n").loadc("p2pblock") entry({"admin", "network", "firewall", "p2pblock"}, cbi("luci_fw/p2pblock"), - luci.i18n.translate("P2P-Block"), 40) + _("P2P-Block"), 40).i18n = "p2pblock" end |