summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/model/cbi/admin_system/passwd.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/admin-full/luasrc/model/cbi/admin_system/passwd.lua')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_system/passwd.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_system/passwd.lua b/modules/admin-full/luasrc/model/cbi/admin_system/passwd.lua
index dff5aeb7b6..6f13bb0fc8 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_system/passwd.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_system/passwd.lua
@@ -12,13 +12,13 @@ You may obtain a copy of the License at
$Id$
]]--
-f = SimpleForm("password", translate("a_s_changepw"), translate("a_s_changepw1"))
+f = SimpleForm("password", translate("Admin Password"), translate("Change the password of the system administrator (User <code>root</code>)"))
-pw1 = f:field(Value, "pw1", translate("password"))
+pw1 = f:field(Value, "pw1", translate("Password"))
pw1.password = true
pw1.rmempty = false
-pw2 = f:field(Value, "pw2", translate("confirmation"))
+pw2 = f:field(Value, "pw2", translate("Confirmation"))
pw2.password = true
pw2.rmempty = false
@@ -31,9 +31,9 @@ function f.handle(self, state, data)
local stat = luci.sys.user.setpasswd("root", data.pw1) == 0
if stat then
- f.message = translate("a_s_changepw_changed")
+ f.message = translate("Password successfully changed")
else
- f.errmessage = translate("unknownerror")
+ f.errmessage = translate("Unknown Error")
end
data.pw1 = nil