From f35caa4adb4ae31c5ff7611194b00ebec5ff66aa Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Sat, 10 Aug 2002 15:06:50 +0000 Subject: Bug 159901 - token.cgi: localize strings send to message.html.tmpl. Patch by burnus; r=gerv. --- template/en/default/account/email/confirm.html.tmpl | 1 + .../account/password/set-forgotten-password.html.tmpl | 1 + template/en/default/global/messages.html.tmpl | 17 +++++++++++++++++ 3 files changed, 19 insertions(+) (limited to 'template') diff --git a/template/en/default/account/email/confirm.html.tmpl b/template/en/default/account/email/confirm.html.tmpl index 0b1ea5334..8cc6e1040 100644 --- a/template/en/default/account/email/confirm.html.tmpl +++ b/template/en/default/account/email/confirm.html.tmpl @@ -23,6 +23,7 @@ # token: string. The token to be used in this address change. #%] +[% title = "Confirm Change Email" %] [% PROCESS global/header.html.tmpl %]
diff --git a/template/en/default/account/password/set-forgotten-password.html.tmpl b/template/en/default/account/password/set-forgotten-password.html.tmpl
index eaabf7dc4..cf4af8bda 100644
--- a/template/en/default/account/password/set-forgotten-password.html.tmpl
+++ b/template/en/default/account/password/set-forgotten-password.html.tmpl
@@ -19,6 +19,7 @@
# Contributor(s): Gervase Markham
diff --git a/template/en/default/global/messages.html.tmpl b/template/en/default/global/messages.html.tmpl
index 2cc25e0c5..6b12111a4 100644
--- a/template/en/default/global/messages.html.tmpl
+++ b/template/en/default/global/messages.html.tmpl
@@ -40,6 +40,23 @@
The cookie that was remembering your login is now gone. You will be
prompted for a login the next time it is required.
+ [% ELSIF message_tag == "login_changed" %]
+ [% title = "Bugzilla Login Changed" %]
+ Your Bugzilla login has been changed.
+
+ [% ELSIF message_tag == "password_changed" %]
+ [% title = "Password Changed" %]
+ Your password has been changed.
+
+ [% ELSIF message_tag == "password_change_canceled"
+ [% title = "Cancel Request to Change Password" %]
+ Your request has been cancelled.
+
+ [% ELSIF message_tag == "password_change_request" %]
+ [% title = "Request to Change Password" %]
+ A token for changing your password has been emailed to you.
+ Follow the instructions in that email to change your password.
+
[% ELSE %]
[%# Cope with legacy calling convention, where "message" was the string
# to print.
--
cgit v1.2.3-24-g4f1b