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