summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-upnp/luasrc/controller
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-08-12 13:16:27 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-08-12 13:16:27 +0000
commit1d76d8a2158ec397322e54da0b6ad3ca4cadb621 (patch)
tree4c4044d2ca009fa88c154379e439bb2dc784b3a4 /applications/luci-upnp/luasrc/controller
parenta8ac3b344f5dee7a79455faa0c699e561464cf4d (diff)
applications, modules: remove i18n handling from controller modules as it moved to the themes now
Diffstat (limited to 'applications/luci-upnp/luasrc/controller')
-rw-r--r--applications/luci-upnp/luasrc/controller/upnp.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/applications/luci-upnp/luasrc/controller/upnp.lua b/applications/luci-upnp/luasrc/controller/upnp.lua
index fe9d3d8f5..c40493dab 100644
--- a/applications/luci-upnp/luasrc/controller/upnp.lua
+++ b/applications/luci-upnp/luasrc/controller/upnp.lua
@@ -12,6 +12,7 @@ You may obtain a copy of the License at
$Id$
]]--
+
module("luci.controller.upnp", package.seeall)
function index()
@@ -21,11 +22,11 @@ function index()
local page
- page = entry({"admin", "services", "upnp"}, cbi("upnp/upnp"), "UPNP")
+ page = entry({"admin", "services", "upnp"}, cbi("upnp/upnp"), _("UPNP"))
page.i18n = "upnp"
page.dependent = true
- page = entry({"mini", "network", "upnp"}, cbi("upnp/upnpmini", {autoapply=true}), "UPNP")
+ page = entry({"mini", "network", "upnp"}, cbi("upnp/upnpmini", {autoapply=true}), _("UPNP"))
page.i18n = "upnp"
page.dependent = true