X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Ffreifunk%2Fluasrc%2Fcontroller%2Ffreifunk%2Fremote_update.lua;h=cc8dd142de6cfc2a71560e3f2e25d8fd51fde674;hp=165c2a82c4f5783ccafe394337835c24c62b31fa;hb=1d76d8a2158ec397322e54da0b6ad3ca4cadb621;hpb=a8ac3b344f5dee7a79455faa0c699e561464cf4d diff --git a/modules/freifunk/luasrc/controller/freifunk/remote_update.lua b/modules/freifunk/luasrc/controller/freifunk/remote_update.lua index 165c2a82c..cc8dd142d 100644 --- a/modules/freifunk/luasrc/controller/freifunk/remote_update.lua +++ b/modules/freifunk/luasrc/controller/freifunk/remote_update.lua @@ -14,12 +14,12 @@ You may obtain a copy of the License at module("luci.controller.freifunk.remote_update", package.seeall) function index() - local i18n = luci.i18n.translate if not nixio.fs.access("/usr/sbin/remote-update") then return end + entry({"admin", "system", "remote_update"}, call("act_remote_update"), - i18n("Freifunk Remote Update"), 90) + _("Freifunk Remote Update"), 90) end function act_remote_update()