Commit 1e249333 authored by timeless%mozdev.org's avatar timeless%mozdev.org

Bug 106386 Correct misspellings in source code

patch by unknown@simplemachines.org r=timeless rs=brendan
parent 320d2aa1
...@@ -330,7 +330,7 @@ This approach has several advantages: ...@@ -330,7 +330,7 @@ This approach has several advantages:
=item * =item *
They're not global variables, so we don't have issues with them staying arround They're not global variables, so we don't have issues with them staying around
with mod_perl with mod_perl
=item * =item *
......
...@@ -183,7 +183,7 @@ sub multipart_start { ...@@ -183,7 +183,7 @@ sub multipart_start {
} }
# The various parts of Bugzilla which create cookies don't want to have to # The various parts of Bugzilla which create cookies don't want to have to
# pass them arround to all of the callers. Instead, store them locally here, # pass them around to all of the callers. Instead, store them locally here,
# and then output as required from |header|. # and then output as required from |header|.
sub send_cookie { sub send_cookie {
my $self = shift; my $self = shift;
......
...@@ -192,8 +192,8 @@ sub SetParam { ...@@ -192,8 +192,8 @@ sub SetParam {
# sanity check the value # sanity check the value
# XXX - This runs the checks. Which would be good, except that # XXX - This runs the checks. Which would be good, except that
# check_shadowdb creates the database as a sideeffect, and so the # check_shadowdb creates the database as a side effect, and so the
# checker fails the second time arround... # checker fails the second time around...
if ($name ne 'shadowdb' && exists $entry->{'checker'}) { if ($name ne 'shadowdb' && exists $entry->{'checker'}) {
my $err = $entry->{'checker'}->($value, $entry); my $err = $entry->{'checker'}->($value, $entry);
die "Param $name is not valid: $err" unless $err eq ''; die "Param $name is not valid: $err" unless $err eq '';
......
...@@ -94,7 +94,7 @@ sub html_quote { ...@@ -94,7 +94,7 @@ sub html_quote {
return $var; return $var;
} }
# This orignally came from CGI.pm, by Lincoln D. Stein # This originally came from CGI.pm, by Lincoln D. Stein
sub url_quote { sub url_quote {
my ($toencode) = (@_); my ($toencode) = (@_);
$toencode =~ s/([^a-zA-Z0-9_\-.])/uc sprintf("%%%02x",ord($1))/eg; $toencode =~ s/([^a-zA-Z0-9_\-.])/uc sprintf("%%%02x",ord($1))/eg;
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
# #
# You need to work with bug_email.pl the MIME::Parser installed. # You need to work with bug_email.pl the MIME::Parser installed.
# #
# $Id: bug_email.pl,v 1.30 2005/11/25 19:47:38 timeless%mozdev.org Exp $ # $Id: bug_email.pl,v 1.31 2005/11/25 21:57:07 timeless%mozdev.org Exp $
############################################################### ###############################################################
# 02/12/2000 (SML) # 02/12/2000 (SML)
...@@ -448,7 +448,7 @@ sub FetchAllSQLData( ) ...@@ -448,7 +448,7 @@ sub FetchAllSQLData( )
# BugMailError takes two arguments: The first one is a flag, how heavy # BugMailError takes two arguments: The first one is a flag, how heavy
# the error is: # the error is:
# #
# 0 - Its an error, but bugzilla can process the bug. The user should # 0 - It's an error, but Bugzilla can process the bug. The user should
# handle that as a warning. # handle that as a warning.
# #
# 1 - It's a real bug. Bugzilla can't store the bug. The mail has to be # 1 - It's a real bug. Bugzilla can't store the bug. The mail has to be
...@@ -457,7 +457,7 @@ sub FetchAllSQLData( ) ...@@ -457,7 +457,7 @@ sub FetchAllSQLData( )
# 2 - Permission error: The user does not have the permission to send # 2 - Permission error: The user does not have the permission to send
# a bug. # a bug.
# #
# The second argument is a Text which describs the bug. # The second argument is a Text which describes the bug.
# #
# #
# # # #
...@@ -747,7 +747,7 @@ my $Sender = $entity->get( 'From' ); ...@@ -747,7 +747,7 @@ my $Sender = $entity->get( 'From' );
$Sender ||= $entity->get( 'Reply-To' ); $Sender ||= $entity->get( 'Reply-To' );
$Message_ID = $entity->get( 'Message-Id' ); $Message_ID = $entity->get( 'Message-Id' );
die (" *** Cant find Sender-adress in sent mail ! ***\n" ) unless defined( $Sender ); die (" *** Can't find Sender-address in sent mail ! ***\n" ) unless defined( $Sender );
chomp( $Sender ); chomp( $Sender );
chomp( $Message_ID ); chomp( $Message_ID );
...@@ -852,7 +852,7 @@ my $Product = $DEFAULT_PRODUCT; ...@@ -852,7 +852,7 @@ my $Product = $DEFAULT_PRODUCT;
$Product = CheckProduct( $Control{'product'} ) if( defined( $Control{ 'product'} )); $Product = CheckProduct( $Control{'product'} ) if( defined( $Control{ 'product'} ));
if ( $Product eq "" ) { if ( $Product eq "" ) {
my $Text = "You didnt send a value for the required key \@product !\n\n"; my $Text = "You didn't send a value for the required key \@product !\n\n";
$Text = "You sent the invalid product \"$Control{'product'}\"!\n\n" $Text = "You sent the invalid product \"$Control{'product'}\"!\n\n"
if( defined( $Control{ 'product'} )); if( defined( $Control{ 'product'} ));
......
...@@ -65,7 +65,7 @@ my $Sender = $entity->get( 'From' ); ...@@ -65,7 +65,7 @@ my $Sender = $entity->get( 'From' );
$Sender ||= $entity->get( 'Reply-To' ); $Sender ||= $entity->get( 'Reply-To' );
my $Message_ID = $entity->get( 'Message-Id' ); my $Message_ID = $entity->get( 'Message-Id' );
die (" *** Cant find Sender-adress in sent mail ! ***\n" ) unless defined( $Sender ); die (" *** Can't find Sender-address in sent mail ! ***\n" ) unless defined( $Sender );
chomp( $Sender ); chomp( $Sender );
chomp( $Message_ID ); chomp( $Message_ID );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment