diff options
Diffstat (limited to 'applications/luci-voice-diag')
-rw-r--r-- | applications/luci-voice-diag/luasrc/controller/luci_voice/luci_voice_diag.lua | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/applications/luci-voice-diag/luasrc/controller/luci_voice/luci_voice_diag.lua b/applications/luci-voice-diag/luasrc/controller/luci_voice/luci_voice_diag.lua index e0dccb051c..8fba53b732 100644 --- a/applications/luci-voice-diag/luasrc/controller/luci_voice/luci_voice_diag.lua +++ b/applications/luci-voice-diag/luasrc/controller/luci_voice/luci_voice_diag.lua @@ -11,15 +11,13 @@ You may obtain a copy of the License at ]]-- - module("luci.controller.luci_voice.luci_voice_diag", package.seeall) function index() - require("luci.i18n") - luci.i18n.loadc("voice_diag") + local e - local e = entry({"admin", "voice", "diag"}, template("luci_voice/diag_index") , luci.i18n.translate("l_v_d_admindiag"), 90) - e.index = true - e.i18n = "voice_diag" - e.dependent = true + e = entry({"admin", "voice", "diag"}, template("luci_voice/diag_index"), _("Diagnostics"), 90) + e.index = true + e.i18n = "voice_diag" + e.dependent = true end |