diff options
Diffstat (limited to 'applications/luci-ushare')
-rw-r--r-- | applications/luci-ushare/luasrc/controller/ushare.lua | 18 |
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 a17c9a41e3..7bbd2ddde1 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 |