From 89859e7d92395e44357f0baf94b6911eecbdabd1 Mon Sep 17 00:00:00 2001
From: "gerv%gerv.net" <>
Date: Mon, 30 Sep 2002 14:22:39 +0000
Subject: Bug 164038 - token.cgi: Cancel token messages should be moved into
the templates. Patch by burnus; r=gerv.
---
template/en/default/global/user-error.html.tmpl | 40 ++++++++++++++++++++++++-
1 file changed, 39 insertions(+), 1 deletion(-)
(limited to 'template/en/default/global/user-error.html.tmpl')
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index 593c8bede..10c50cc9e 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -48,8 +48,17 @@
[% ELSIF error == "account_exists" %]
[% title = "Account Already Exists" %]
- That account already exists.
+ There is already an account with
+ [% IF email %]
+ the login name [% email FILTER html %].
+ [% ELSE %]
+ that login name.
+ [% END %]
+ [% ELSIF error == "account_inexistent" %]
+ [% title = "Account Does Not Exist" %]
+ There is no Bugzilla account with that login name.
+
[% ELSIF error == "alias_has_comma_or_space" %]
[% title = "Invalid Characters In Alias" %]
The alias you entered, [% alias FILTER html %],
@@ -134,6 +143,10 @@
really make sense to mark a bug as a duplicate of itself,
does it?
+ [% ELSIF error == "email_confirmation_failed" %]
+ [% title = "Email Address Email Address Confirmation Failed" %]
+ Email address confirmation failed.
+
[% ELSIF error == "file_not_specified" %]
[% title = "No File Specified" %]
You did not specify a file to attach.
@@ -259,6 +272,10 @@
[% title = "Invalid Username Or Password" %]
The username or password you entered is not valid.
+ [% ELSIF error == "login_needed_for_password_change" %]
+ [% title = "Login Name Required" %]
+ You must enter a login name when requesting to change your password.
+
[% ELSIF error == "milestone_required" %]
[% title = "Milestone Required" %]
You must determine a target milestone for bug [% bug_id %]
@@ -366,6 +383,15 @@
100 users. Enter more of the name to bring the number of matches
down to a reasonable amount.
+ [% ELSIF error == "require_new_password" %]
+ [% title = "New Password Needed" %]
+ You cannot change your password without submitting a new one.
+
+ [% ELSIF error == "token_inexistent" %]
+ [% title = "Token Does Not Exist" %]
+ The token you submitted does not exist, has expired, or has
+ been cancelled.
+
[% ELSIF error == "unknown_keyword" %]
[% title = "Unknown Keyword" %]
[% keyword FILTER html %]
is not a known keyword.
@@ -375,6 +401,18 @@
[% title = "Unknown Tab" %]
[% current_tab_name FILTER html %]
is not a legal tab name.
+ [% ELSIF error == "wrong_token_for_cancelling_email_change" %]
+ [% title = "Wrong Token" %]
+ That token cannot be used to cancel an email address change.
+
+ [% ELSIF error == "wrong_token_for_changing_passwd" %]
+ [% title = "Wrong Token" %]
+ That token cannot be used to change your password.
+
+ [% ELSIF error == "wrong_token_for_confirming_email_change" %]
+ [% title = "Wrong Token" %]
+ That token cannot be used to change your email address.
+
[% ELSIF error == "zero_length_file" %]
[% title = "File Is Empty" %]
The file you are trying to attach is empty!
--
cgit v1.2.3-24-g4f1b