From eef0d2856605458a57b08d2d50981df10fb6a3a6 Mon Sep 17 00:00:00 2001 From: "kiko%async.com.br" <> Date: Mon, 8 Dec 2003 05:12:41 +0000 Subject: Fix for bug 227213: Chomping murder in token emails and pages. Fix chomping issues, a spurious   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 | 12 ++++++------ template/en/default/account/email/change-old.txt.tmpl | 12 ++++++------ .../en/default/account/password/forgotten-password.txt.tmpl | 10 +++++----- 3 files changed, 17 insertions(+), 17 deletions(-) (limited to 'template/en/default/account') diff --git a/template/en/default/account/email/change-new.txt.tmpl b/template/en/default/account/email/change-new.txt.tmpl index 5568acc0c..8841891f3 100644 --- a/template/en/default/account/email/change-new.txt.tmpl +++ b/template/en/default/account/email/change-new.txt.tmpl @@ -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) %]). diff --git a/template/en/default/account/email/change-old.txt.tmpl b/template/en/default/account/email/change-old.txt.tmpl index e5fa87e7f..323f71373 100644 --- a/template/en/default/account/email/change-old.txt.tmpl +++ b/template/en/default/account/email/change-old.txt.tmpl @@ -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) %]). diff --git a/template/en/default/account/password/forgotten-password.txt.tmpl b/template/en/default/account/password/forgotten-password.txt.tmpl index c6b04b35a..b5e156231 100644 --- a/template/en/default/account/password/forgotten-password.txt.tmpl +++ b/template/en/default/account/password/forgotten-password.txt.tmpl @@ -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 %] - 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. -- cgit v1.2.3-24-g4f1b