]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 227213: Chomping murder in token emails and pages. Fix
authorkiko%async.com.br <>
Mon, 8 Dec 2003 05:12:41 +0000 (05:12 +0000)
committerkiko%async.com.br <>
Mon, 8 Dec 2003 05:12:41 +0000 (05:12 +0000)
chomping issues, a spurious &nbsp; in an email template, and minor
rewordings to make the text prettier -- oh, I realize this isn't Chaucer
yet, but who knows? r=jouni, a=justdave.

template/en/default/account/email/change-new.txt.tmpl
template/en/default/account/email/change-old.txt.tmpl
template/en/default/account/password/forgotten-password.txt.tmpl
template/en/default/global/messages.html.tmpl

index 5568acc0ce4be96626aef3ee722b41ed2cb1f009..8841891f3796dbe1e2958a9a8a0e8077cc5f0782 100644 (file)
@@ -26,17 +26,17 @@ From: bugzilla-admin-daemon
 To: [% emailaddress %]
 Subject: [% terms.Bugzilla %] Change Email Address Request
 
-[% terms.Bugzilla %] has received a request to change the email address
-for the [% oldemailaddress %] account to your address.
+[%+ terms.Bugzilla %] has received a request to change the email address
+for the account [% oldemailaddress %] to your address.
 
 To confirm the change, visit the following link:
 
-[% Param('urlbase') %]token.cgi?a=cfmem&t=[% token FILTER url_quote %]
+[%+ Param('urlbase') %]token.cgi?a=cfmem&t=[% token FILTER url_quote %]
 
 If you are not the person who made this request, or you wish to cancel
 this request, visit the following link:
 
-[% Param('urlbase') %]token.cgi?a=cxlem&t=[% token FILTER url_quote %]
+[%+ Param('urlbase') %]token.cgi?a=cxlem&t=[% token FILTER url_quote %]
 
-If you do nothing, the request will lapse after
-[%- max_token_age %] days ([% time2str("%H:%M on the %o of %B, %Y", expiration_ts) %]).
+If you do nothing, the request will lapse after [%+ max_token_age %] days 
+(at precisely [%+ time2str("%H:%M on the %o of %B, %Y", expiration_ts) %]).
index e5fa87e7fe5fdc339ff2f900be103c43d0778c8b..323f71373064e5c608b93427c09185ce891fb060 100644 (file)
@@ -34,14 +34,14 @@ Importance: High
 X-MSMail-Priority: High
 X-Priority: 1
 
-[% terms.Bugzilla %] has received a request to change the email address
-for your account to [% newemailaddress %].
+[%+ terms.Bugzilla %] has received a request to change the email address
+for your account to [%+ newemailaddress %].
 
 If you are not the person who made this request, or you wish to cancel
 this request, visit the following link:
 
-[% Param('urlbase') %]token.cgi?a=cxlem&t=[% token FILTER url_quote %]
+[%+ Param('urlbase') %]token.cgi?a=cxlem&t=[% token FILTER url_quote %]
 
-If you do nothing, and [% newemailaddress %] confirms this request, the
-change will be made permanent after
-[%- max_token_age %] days ([% time2str("%H:%M on the %o of %B, %Y", expiration_ts) %]).
+If you do nothing, and [%+ newemailaddress %] confirms this request, the
+change will be made permanent after [%+ max_token_age %] days (at precisely 
+[%+ time2str("%H:%M on the %o of %B, %Y", expiration_ts) %]).
index c6b04b35a5ed21b9efed888489af9d87656f4677..b5e15623155041d1963f9a02f868bc85e7ff108f 100644 (file)
@@ -26,8 +26,8 @@ From: bugzilla-admin-daemon
 To: [% emailaddress %]
 Subject:  [% terms.Bugzilla %] Change Password Request
 
-You (or someone impersonating you) has requested to change your [% terms.Bugzilla %]
-&nbsp;password.  To change your password, visit the following link:
+You have (or someone impersonating you has) requested to change your 
+[%+ terms.Bugzilla %] password. To complete the change, visit the following link:
 
 [%+ Param('urlbase') %]token.cgi?a=cfmpw&t=[% token FILTER url_quote %]
 
@@ -36,6 +36,6 @@ this request, visit the following link:
 
 [%+ Param('urlbase') %]token.cgi?a=cxlpw&t=[% token FILTER url_quote %]
 
-If you do nothing, the request will lapse after
-[%- max_token_age %] days
-([% time2str("%H:%M on the %o of %B, %Y", expiration_ts) -%]) or when you log in successfully.
+If you do nothing, the request will lapse after [%+ max_token_age +%] days (at 
+precisely [%+ time2str("%H:%M on the %o of %B, %Y", expiration_ts) -%]) or when you 
+log in successfully.
index 57994ebb2fa88bcb9203c9fb1779bd7a3b00b407..2744e7d8b902aa11e46b6c4393110957677cf8c6 100644 (file)
   [% ELSIF message_tag == "emailold_change_cancelled" %]
     [% title = "Cancel Request to Change Email Address" %]
     The request to change the email address for your account to
-    [% new_email FILTER html %] has been cancelled.
+    [%+ new_email FILTER html %] has been cancelled.
 
   [% ELSIF message_tag == "email_change_cancelled" %]
     [% title = "Cancel Request to Change Email Address" %]
     The request to change the email address for the
-    [% old_email FILTER html %] account to
-    [% new_email FILTER html %] has been cancelled.
+    account [%+ old_email FILTER html %] to
+    [%+ new_email FILTER html %] has been cancelled.
 
   [% ELSIF message_tag == "email_change_cancelled_reinstated" %]
     [% title = "Cancel Request to Change Email Address" %]
     The request to change the email address for the
-    [% old_email FILTER html %] account to 
-    [% new_email FILTER html %] has been cancelled.
+    account [%+ old_email FILTER html %] to 
+    [%+ new_email FILTER html %] has been cancelled.
    Your old account settings have been reinstated.
 
   [% ELSIF message_tag == "logged_out" %]
       [%+ series.subcategory FILTER html %] / 
       [%+ series.name FILTER html %]</em>
       has been created. Note that you may need to wait up to 
-      [% series.frequency * 2 %] days before there will be enough data for a
+      [%+ series.frequency * 2 %] days before there will be enough data for a
       chart of this series to be produced.
       <br><br>
       Go back or