зеркало из https://github.com/mozilla/gecko-dev.git
Bug 343421: Fix some typos in comments - Patch by timeless <timeless@bemail.org> r=wicked a=myk
This commit is contained in:
Родитель
26bc943dbe
Коммит
de70574428
|
@ -405,7 +405,7 @@ with mod_perl
|
|||
|
||||
=item *
|
||||
|
||||
Everything is in one central place, so its easy to access, modify, and maintain
|
||||
Everything is in one central place, so it's easy to access, modify, and maintain
|
||||
|
||||
=item *
|
||||
|
||||
|
|
|
@ -219,7 +219,7 @@ sub get_format {
|
|||
eval {
|
||||
$self->context->template($template);
|
||||
};
|
||||
# This parsing may seem fragile, but its OK:
|
||||
# This parsing may seem fragile, but it's OK:
|
||||
# http://lists.template-toolkit.org/pipermail/templates/2003-March/004370.html
|
||||
# Even if it is wrong, any sort of error is going to cause a failure
|
||||
# eventually, so the only issue would be an incorrect error message
|
||||
|
@ -253,7 +253,7 @@ sub quoteUrls {
|
|||
# bug refs out, so we have to do replacements.
|
||||
# mailto can't contain space or #, so we don't have to bother for that
|
||||
# Do this by escaping \0 to \1\0, and replacing matches with \0\0$count\0\0
|
||||
# \0 is used because its unlikely to occur in the text, so the cost of
|
||||
# \0 is used because it's unlikely to occur in the text, so the cost of
|
||||
# doing this should be very small
|
||||
# Also, \0 won't appear in the value_quote'd bug title, so we don't have
|
||||
# to worry about bogus substitutions from there
|
||||
|
@ -269,7 +269,7 @@ sub quoteUrls {
|
|||
# if it was substituted as a bug title (since that always involve leading
|
||||
# and trailing text)
|
||||
|
||||
# Because of entities, its easier (and quicker) to do this before escaping
|
||||
# Because of entities, it's easier (and quicker) to do this before escaping
|
||||
|
||||
my @things;
|
||||
my $count = 0;
|
||||
|
|
|
@ -372,7 +372,7 @@ if (((defined $cgi->param('id') && $cgi->param('product') ne $oldproduct)
|
|||
$vars->{'verify_fields'} = 1;
|
||||
my %defaults;
|
||||
# We set the defaults to these fields to the old value,
|
||||
# if its a valid option, otherwise we use the default where
|
||||
# if it's a valid option, otherwise we use the default where
|
||||
# that's appropriate
|
||||
$vars->{'versions'} = \@version_names;
|
||||
if ($vok) {
|
||||
|
@ -664,7 +664,7 @@ sub ChangeStatus {
|
|||
# - leave it as it was
|
||||
|
||||
# This is valid only because 'reopen' is the only thing which moves
|
||||
# from closed to open, and its handled above
|
||||
# from closed to open, and it's handled above
|
||||
# This also relies on the fact that confirming and accepting have
|
||||
# already called DoConfirm before this is called
|
||||
|
||||
|
@ -752,7 +752,7 @@ foreach my $group (@$groups) {
|
|||
# (eg product groups when listing more than one product)
|
||||
# Only consider groups which were present on the form. We can't do this
|
||||
# for single bug changes because non-checked checkboxes aren't present.
|
||||
# All the checkboxes should be shown in that case, though, so its not
|
||||
# All the checkboxes should be shown in that case, though, so it isn't
|
||||
# an issue there
|
||||
if (defined $cgi->param('id') || defined $cgi->param("bit-$b")) {
|
||||
if (!$cgi->param("bit-$b")) {
|
||||
|
@ -1020,7 +1020,7 @@ SWITCH: for ($cgi->param('knob')) {
|
|||
last SWITCH;
|
||||
};
|
||||
/^(resolve|change_resolution)$/ && CheckonComment( "resolve" ) && do {
|
||||
# Check here, because its the only place we require the resolution
|
||||
# Check here, because it's the only place we require the resolution
|
||||
check_field('resolution', scalar $cgi->param('resolution'),
|
||||
Bugzilla::Bug->settable_resolutions);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче