diff options
Diffstat (limited to 'modules/admin-mini/luasrc/controller/mini')
-rw-r--r-- | modules/admin-mini/luasrc/controller/mini/index.lua | 10 | ||||
-rw-r--r-- | modules/admin-mini/luasrc/controller/mini/network.lua | 6 | ||||
-rw-r--r-- | modules/admin-mini/luasrc/controller/mini/system.lua | 12 |
3 files changed, 14 insertions, 14 deletions
diff --git a/modules/admin-mini/luasrc/controller/mini/index.lua b/modules/admin-mini/luasrc/controller/mini/index.lua index acff55aab..f50858f4d 100644 --- a/modules/admin-mini/luasrc/controller/mini/index.lua +++ b/modules/admin-mini/luasrc/controller/mini/index.lua @@ -27,16 +27,16 @@ function index() entry({"about"}, template("about")).i18n = "admin-core" - local page = entry({"mini"}, alias("mini", "index"), i18n("essentials", "Essentials"), 10) + local page = entry({"mini"}, alias("mini", "index"), i18n("Essentials"), 10) page.i18n = "admin-core" page.sysauth = "root" page.sysauth_authenticator = "htmlauth" page.index = true - entry({"mini", "index"}, alias("mini", "index", "index"), i18n("overview"), 10).index = true - entry({"mini", "index", "index"}, form("mini/index"), i18n("general"), 1).ignoreindex = true - entry({"mini", "index", "luci"}, cbi("mini/luci", {autoapply=true}), i18n("settings"), 10) - entry({"mini", "index", "logout"}, call("action_logout"), i18n("logout")) + entry({"mini", "index"}, alias("mini", "index", "index"), i18n("Overview"), 10).index = true + entry({"mini", "index", "index"}, form("mini/index"), i18n("General"), 1).ignoreindex = true + entry({"mini", "index", "luci"}, cbi("mini/luci", {autoapply=true}), i18n("Settings"), 10) + entry({"mini", "index", "logout"}, call("action_logout"), i18n("Logout")) end function action_logout() diff --git a/modules/admin-mini/luasrc/controller/mini/network.lua b/modules/admin-mini/luasrc/controller/mini/network.lua index ab933ccac..25f29d9db 100644 --- a/modules/admin-mini/luasrc/controller/mini/network.lua +++ b/modules/admin-mini/luasrc/controller/mini/network.lua @@ -19,8 +19,8 @@ function index() luci.i18n.loadc("admin-core") local i18n = luci.i18n.translate - entry({"mini", "network"}, alias("mini", "network", "index"), i18n("network"), 20).index = true - entry({"mini", "network", "index"}, cbi("mini/network", {autoapply=true}), i18n("general"), 1) - entry({"mini", "network", "wifi"}, cbi("mini/wifi", {autoapply=true}), i18n("wifi"), 10).i18n="wifi" + entry({"mini", "network"}, alias("mini", "network", "index"), i18n("Network"), 20).index = true + entry({"mini", "network", "index"}, cbi("mini/network", {autoapply=true}), i18n("General"), 1) + entry({"mini", "network", "wifi"}, cbi("mini/wifi", {autoapply=true}), i18n("Wifi"), 10).i18n="wifi" entry({"mini", "network", "dhcp"}, cbi("mini/dhcp", {autoapply=true}), "DHCP", 20) end
\ No newline at end of file diff --git a/modules/admin-mini/luasrc/controller/mini/system.lua b/modules/admin-mini/luasrc/controller/mini/system.lua index 075f51e91..f21a9ef96 100644 --- a/modules/admin-mini/luasrc/controller/mini/system.lua +++ b/modules/admin-mini/luasrc/controller/mini/system.lua @@ -19,12 +19,12 @@ function index() luci.i18n.loadc("admin-core") 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("a_s_changepw"), 10) - entry({"mini", "system", "backup"}, call("action_backup"), i18n("a_s_backup"), 80) - entry({"mini", "system", "upgrade"}, call("action_upgrade"), i18n("admin_upgrade"), 90) - entry({"mini", "system", "reboot"}, call("action_reboot"), i18n("reboot"), 100) + 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) end function action_backup() |