diff options
Diffstat (limited to 'modules/admin-mini/luasrc/controller/mini/system.lua')
-rw-r--r-- | modules/admin-mini/luasrc/controller/mini/system.lua | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/modules/admin-mini/luasrc/controller/mini/system.lua b/modules/admin-mini/luasrc/controller/mini/system.lua index 2559ac16cc..519c15bc63 100644 --- a/modules/admin-mini/luasrc/controller/mini/system.lua +++ b/modules/admin-mini/luasrc/controller/mini/system.lua @@ -16,15 +16,12 @@ $Id$ module("luci.controller.mini.system", package.seeall) function index() - luci.i18n.loadc("base") - local i18n = luci.i18n.translate - - entry({"mini", "system"}, alias("mini", "system", "index"), i18n("System"), 40).index = true - entry({"mini", "system", "index"}, cbi("mini/system", {autoapply=true}), i18n("General"), 1) - entry({"mini", "system", "passwd"}, form("mini/passwd"), i18n("Admin Password"), 10) - entry({"mini", "system", "backup"}, call("action_backup"), i18n("Backup / Restore"), 80) - entry({"mini", "system", "upgrade"}, call("action_upgrade"), i18n("Flash Firmware"), 90) - entry({"mini", "system", "reboot"}, call("action_reboot"), i18n("Reboot"), 100) + entry({"mini", "system"}, alias("mini", "system", "index"), _("System"), 40).index = true + entry({"mini", "system", "index"}, cbi("mini/system", {autoapply=true}), _("General"), 1) + entry({"mini", "system", "passwd"}, form("mini/passwd"), _("Admin Password"), 10) + entry({"mini", "system", "backup"}, call("action_backup"), _("Backup / Restore"), 80) + entry({"mini", "system", "upgrade"}, call("action_upgrade"), _("Flash Firmware"), 90) + entry({"mini", "system", "reboot"}, call("action_reboot"), _("Reboot"), 100) end function action_backup() |