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-lqtapifoss/luasrc | |
parent | a8ac3b344f5dee7a79455faa0c699e561464cf4d (diff) |
applications, modules: remove i18n handling from controller modules as it moved to the themes now
Diffstat (limited to 'applications/luci-lqtapifoss/luasrc')
-rw-r--r-- | applications/luci-lqtapifoss/luasrc/controller/lqtapifoss.lua | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/applications/luci-lqtapifoss/luasrc/controller/lqtapifoss.lua b/applications/luci-lqtapifoss/luasrc/controller/lqtapifoss.lua index 08941874a2..323f8a7c41 100644 --- a/applications/luci-lqtapifoss/luasrc/controller/lqtapifoss.lua +++ b/applications/luci-lqtapifoss/luasrc/controller/lqtapifoss.lua @@ -10,6 +10,7 @@ You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ]]-- + module("luci.controller.lqtapifoss", package.seeall) function index() @@ -17,11 +18,13 @@ function index() return end - local e = entry({"admin", "telephony"}, template("luci_lqvoip/index") , luci.i18n.translate("VoIP"), 90) + local e + + e = entry({"admin", "telephony"}, template("luci_lqvoip/index") , _("VoIP"), 90) e.index = true e.i18n = "telephony" - --local e = entry({"admin", "telephony", "config"}, cbi("luci_lqvoip/config") , luci.i18n.translate("Config"), 10) - local e = entry({"admin", "telephony", "account"}, cbi("luci_lqvoip/account") , luci.i18n.translate("Account"), 20) - local e = entry({"admin", "telephony", "contact"}, cbi("luci_lqvoip/contact") , luci.i18n.translate("Contacts"), 30) + --entry({"admin", "telephony", "config"}, cbi("luci_lqvoip/config") , _("Config"), 10) + entry({"admin", "telephony", "account"}, cbi("luci_lqvoip/account") , _("Account"), 20) + entry({"admin", "telephony", "contact"}, cbi("luci_lqvoip/contact") , _("Contacts"), 30) end |