summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini/luasrc/controller/mini/system.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-08-12 13:16:27 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-08-12 13:16:27 +0000
commit1d76d8a2158ec397322e54da0b6ad3ca4cadb621 (patch)
tree4c4044d2ca009fa88c154379e439bb2dc784b3a4 /modules/admin-mini/luasrc/controller/mini/system.lua
parenta8ac3b344f5dee7a79455faa0c699e561464cf4d (diff)
applications, modules: remove i18n handling from controller modules as it moved to the themes now
Diffstat (limited to 'modules/admin-mini/luasrc/controller/mini/system.lua')
-rw-r--r--modules/admin-mini/luasrc/controller/mini/system.lua15
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()