From 1d76d8a2158ec397322e54da0b6ad3ca4cadb621 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 12 Aug 2011 13:16:27 +0000 Subject: applications, modules: remove i18n handling from controller modules as it moved to the themes now --- modules/admin-mini/luasrc/controller/mini/system.lua | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'modules/admin-mini/luasrc/controller/mini/system.lua') 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() -- cgit v1.2.3