]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 366466 - "flag notification mail has canceled spelled incorrectly" [p=reed r...
authorreed%reedloden.com <>
Sun, 11 Mar 2007 09:11:16 +0000 (09:11 +0000)
committerreed%reedloden.com <>
Sun, 11 Mar 2007 09:11:16 +0000 (09:11 +0000)
Bugzilla/Token.pm
docs/xml/using.xml
template/en/default/account/cancel-token.txt.tmpl
template/en/default/account/email/confirm-new.html.tmpl
template/en/default/global/messages.html.tmpl
template/en/default/global/user-error.html.tmpl
template/en/default/request/email.txt.tmpl
token.cgi

index 0c2d42fe715bcbc25e38bf1ad981e9482d7fedb8..7db6b91651378a94f70fcae8f0ccd85e7e50a108 100644 (file)
@@ -216,7 +216,7 @@ sub Cancel {
     my $template = Bugzilla->template;
     $vars ||= {};
 
-    # Get information about the token being cancelled.
+    # Get information about the token being canceled.
     trick_taint($token);
     my ($issuedate, $tokentype, $eventdata, $loginname) =
         $dbh->selectrow_array('SELECT ' . $dbh->sql_date_format('issuedate') . ',
@@ -489,8 +489,8 @@ Bugzilla::Token - Provides different routines to manage tokens.
               to the user to inform him about this action.
 
  Params:      $user_id: The user ID of the user account whose password tokens
-                        are cancelled.
-              $reason:  The reason why these tokens are cancelled.
+                        are canceled.
+              $reason:  The reason why these tokens are canceled.
 
  Returns:     Nothing.
 
index 93661f6155af2a1135344f63afda3e36f9d4d35d..dbfed056a8ae09311f480e9ca5c02eac66389a31 100644 (file)
@@ -72,7 +72,7 @@
         <para>
           By default, you have 3 days to confirm your registration. Past this
           timeframe, the token is invalidated and the registration is
-          automatically cancelled. You can also cancel this registration sooner
+          automatically canceled. You can also cancel this registration sooner
           by using the appropriate URL in the email you got.
         </para>
       </listitem>
index 4afada50c3728a696e5e6c0e405afab4aa9551dc..ead400ce880b38673743e509f13141863ac52f24 100644 (file)
@@ -27,7 +27,7 @@ To: [% emailaddress %]
 Subject: [% PROCESS subject %]
 X-Bugzilla-Type: admin
 
-A request was cancelled from [% remoteaddress %].
+A request was canceled from [% remoteaddress %].
 
 If you did not request this, it could be either an honest
 mistake or someone attempting to break into your [% terms.Bugzilla %] account.
@@ -44,13 +44,13 @@ Cancelled Because: [% PROCESS cancelactionmessage %]
 
 [% BLOCK subject %]
   [% IF tokentype == 'new_account' %]
-    User account creation request cancelled
+    User account creation request canceled
   [% ELSIF tokentype == 'password' %]
-    Password change request cancelled
+    Password change request canceled
   [% ELSIF tokentype == 'emailnew' OR tokentype == 'emailold' %]
-    Email change request cancelled
+    Email change request canceled
   [% ELSE %]
-    [% tokentype %] token cancelled
+    [% tokentype %] token canceled
   [% END %]
 [% END %]
 
@@ -58,26 +58,26 @@ Cancelled Because: [% PROCESS cancelactionmessage %]
   [% IF    cancelaction == 'account_exists' %]
     Account [% email %] already exists.
 
-  [% ELSIF cancelaction == 'email_change_cancelled' %]
+  [% ELSIF cancelaction == 'email_change_canceled' %]
     The request to change the email address for
     the [% old_email %] account to [% new_email %] has
-    been cancelled.
+    been canceled.
 
-  [% ELSIF cancelaction == 'email_change_cancelled_reinstated' %]
+  [% ELSIF cancelaction == 'email_change_canceled_reinstated' %]
     The request to change the email address for your account
-    to [% new_email %] has been cancelled. Your old account
+    to [% new_email %] has been canceled. Your old account
     settings have been reinstated.
 
-  [% ELSIF cancelaction == 'emailold_change_cancelled' %]
+  [% ELSIF cancelaction == 'emailold_change_canceled' %]
     The request to change the email address for your account
-    to [% new_email %] has been cancelled.
+    to [% new_email %] has been canceled.
 
-  [% ELSIF cancelaction == 'password_change_cancelled' %]
+  [% ELSIF cancelaction == 'password_change_canceled' %]
     You have requested cancellation.
 
-  [% ELSIF cancelaction == 'account_creation_cancelled' %]
+  [% ELSIF cancelaction == 'account_creation_canceled' %]
     The creation of the user account [% emailaddress %]
-    has been cancelled.
+    has been canceled.
 
   [% ELSIF cancelaction == 'user_logged_in' %]
     You have logged in.
index 6c7bdd05fe0868788388e9a0674a3ccd5cc43232..45c12b8f55f7ca742ec36215727e91e0392095e5 100644 (file)
@@ -31,7 +31,7 @@
   form below. You can also enter your real name, which is optional.<p>
   If you don't fill this form before
   <u>[%+ time2str("%B %o, %Y at %H:%M %Z", expiration_ts) %]</u>,
-  the creation of this account will be automatically cancelled.
+  the creation of this account will be automatically canceled.
 </div>
 
 <form id="confirm_account_form" method="post" action="token.cgi">
index 560ef2b33ea5f32aeadb6337284b4c19af7b2e2c..a8eddac7a09bff8e2a4813ba5b854911fda527ef 100644 (file)
       this [% terms.Bugzilla %] installation.
     [% END %]
 
-  [% ELSIF message_tag == "account_creation_cancelled" %]
+  [% ELSIF message_tag == "account_creation_canceled" %]
     [% title = "User Account Creation Cancelled" %]
     The creation of the user account [% account FILTER html %] has been
-    cancelled.
+    canceled.
 
   [% ELSIF message_tag == "account_updated" %]
     [% IF changed_fields.size
     Properties of the '[% field.name FILTER html %]' field have been
     successfully updated.
 
-  [% ELSIF message_tag == "emailold_change_cancelled" %]
+  [% ELSIF message_tag == "emailold_change_canceled" %]
     [% 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 canceled.
 
-  [% ELSIF message_tag == "email_change_cancelled" %]
+  [% ELSIF message_tag == "email_change_canceled" %]
     [% title = "Cancel Request to Change Email Address" %]
     The request to change the email address for the
     account [%+ old_email FILTER html %] to
-    [%+ new_email FILTER html %] has been cancelled.
+    [%+ new_email FILTER html %] has been canceled.
 
-  [% ELSIF message_tag == "email_change_cancelled_reinstated" %]
+  [% ELSIF message_tag == "email_change_canceled_reinstated" %]
     [% title = "Cancel Request to Change Email Address" %]
     The request to change the email address for the
     account [%+ old_email FILTER html %] to 
-    [%+ new_email FILTER html %] has been cancelled.
+    [%+ new_email FILTER html %] has been canceled.
    Your old account settings have been reinstated.
 
   [% ELSIF message_tag == "flag_creation_failed" %]
       clear the <em>shutdownhtml</em> field.
     [% END%]
 
-  [% ELSIF message_tag == "password_change_cancelled" %]
+  [% ELSIF message_tag == "password_change_canceled" %]
     [% title = "Cancel Request to Change Password" %]
-    Your request has been cancelled.
+    Your request has been canceled.
 
   [% ELSIF message_tag == "password_change_request" %]
     [% title = "Request to Change Password" %]
index 01368f06dc233a3f5b2ded39410895a68c025d20..7452ab8d1a6b256113fd360cdcb264920e893d6b 100644 (file)
   [% ELSIF error == "token_inexistent" %]
     [% title = "Token Does Not Exist" %]
     The token you submitted does not exist, has expired, or has
-    been cancelled.
+    been canceled.
 
   [% ELSIF error == "too_soon_for_new_token" %]
     [% title = "Too Soon For New Token" %]
index 76267e3a0e2c66b8b3ca333caa4ddbcbdc75e606..a5fd17b88317997702233282e83ff3c32aec7801 100644 (file)
@@ -25,7 +25,7 @@
 
 [% bugidsummary = bug.bug_id _ ': ' _ bug.short_desc %]
 [% attidsummary = attachment.id _ ': ' _ attachment.description %]
-[% statuses = { '+' => "granted" , '-' => 'denied' , 'X' => "cancelled" ,
+[% statuses = { '+' => "granted" , '-' => 'denied' , 'X' => "canceled" ,
                 '?' => "asked" } %]
 [% IF flag.status == '?' %]
   [% to_identity = flag.addressee.identity _ " for" %]
index e45f49fba858fdd751d28e40d8bea6fa5802be2e..66ce2c052df41eebf8330d3b72bc473e42c37379 100755 (executable)
--- a/token.cgi
+++ b/token.cgi
@@ -194,7 +194,7 @@ sub confirmChangePassword {
 }
 
 sub cancelChangePassword {    
-    $vars->{'message'} = "password_change_cancelled";
+    $vars->{'message'} = "password_change_canceled";
     Bugzilla::Token::Cancel($::token, $vars->{'message'});
 
     print $cgi->header();
@@ -300,7 +300,7 @@ sub cancelChangeEmail {
     my ($old_email, $new_email) = split(/:/,$eventdata);
 
     if($tokentype eq "emailold") {
-        $vars->{'message'} = "emailold_change_cancelled";
+        $vars->{'message'} = "emailold_change_canceled";
 
         my $actualemail = $dbh->selectrow_array(
                             q{SELECT login_name FROM profiles
@@ -324,11 +324,11 @@ sub cancelChangeEmail {
             my $user = new Bugzilla::User($userid);
             $user->derive_regexp_groups;
 
-            $vars->{'message'} = "email_change_cancelled_reinstated";
+            $vars->{'message'} = "email_change_canceled_reinstated";
         } 
     } 
     else {
-        $vars->{'message'} = 'email_change_cancelled'
+        $vars->{'message'} = 'email_change_canceled'
      }
 
     $vars->{'old_email'} = $old_email;
@@ -394,7 +394,7 @@ sub confirm_create_account {
 sub cancel_create_account {
     my (undef, undef, $login_name) = Bugzilla::Token::GetTokenData($::token);
 
-    $vars->{'message'} = 'account_creation_cancelled';
+    $vars->{'message'} = 'account_creation_canceled';
     $vars->{'account'} = $login_name;
     Bugzilla::Token::Cancel($::token, $vars->{'message'});