applications, modules: remove i18n handling from controller modules as it moved to...
[project/luci.git] / applications / luci-upnp / luasrc / controller / upnp.lua
index fe9d3d8f5b1b3e5bba79fdc2cb08b94e960fa4ff..c40493dab6c3e06b2b220b1e0e6178040c098b22 100644 (file)
@@ -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