diff options
Diffstat (limited to 'applications/luci-lqtapifoss')
-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 08941874a..323f8a7c4 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 |