diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-10-31 15:54:11 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-10-31 15:54:11 +0000 |
commit | 7c765875884d6866c53b63757731b079bace2e9b (patch) | |
tree | db436df0eaff7de048bca26a7e419aedeb4a08a4 /modules/admin-mini/luasrc/model/cbi/mini/passwd.lua | |
parent | dc7138e424dfd454951ed5ed4eeddbf842457e87 (diff) |
all: change most translate statements to new format, some need manual cleanup
Diffstat (limited to 'modules/admin-mini/luasrc/model/cbi/mini/passwd.lua')
-rw-r--r-- | modules/admin-mini/luasrc/model/cbi/mini/passwd.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/admin-mini/luasrc/model/cbi/mini/passwd.lua b/modules/admin-mini/luasrc/model/cbi/mini/passwd.lua index dff5aeb7b6..6f13bb0fc8 100644 --- a/modules/admin-mini/luasrc/model/cbi/mini/passwd.lua +++ b/modules/admin-mini/luasrc/model/cbi/mini/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 |