summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-p910nd/luasrc/controller/p910nd.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-p910nd/luasrc/controller/p910nd.lua')
-rw-r--r--applications/luci-p910nd/luasrc/controller/p910nd.lua18
1 files changed, 9 insertions, 9 deletions
diff --git a/applications/luci-p910nd/luasrc/controller/p910nd.lua b/applications/luci-p910nd/luasrc/controller/p910nd.lua
index c2fe3fa51b..bc38c2bb9a 100644
--- a/applications/luci-p910nd/luasrc/controller/p910nd.lua
+++ b/applications/luci-p910nd/luasrc/controller/p910nd.lua
@@ -16,13 +16,13 @@ $Id$
module("luci.controller.p910nd", package.seeall)
function index()
- require("luci.i18n")
- luci.i18n.loadc("p910nd")
- if not nixio.fs.access("/etc/config/p910nd") then
- return
- end
-
- local page = entry({"admin", "services", "p910nd"}, cbi("p910nd"), luci.i18n.translate("p910nd - Printer server"), 60)
- page.i18n = "p910nd"
- page.dependent = true
+ if not nixio.fs.access("/etc/config/p910nd") then
+ return
+ end
+
+ local page
+
+ page = entry({"admin", "services", "p910nd"}, cbi("p910nd"), _("p910nd - Printer server"), 60)
+ page.i18n = "p910nd"
+ page.dependent = true
end