Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix various typos in source comments #1517

Merged
merged 2 commits into from
Nov 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ No changes.

**Changes** (since 6.2.54) **:**

- `http_host` parameter has been deprecated by the new `wwsympa_url_local` parameter [\#916](https://github.com/sympa-community/sympa/pull/916) ([ikedas](https://github.com/ikedas)). If you used `http_host` parameter, you possiblly need removing it (See [note](https://sympa-community.github.io/manual/upgrade/notes.html#from-version-prior-to-6256)).
- `http_host` parameter has been deprecated by the new `wwsympa_url_local` parameter [\#916](https://github.com/sympa-community/sympa/pull/916) ([ikedas](https://github.com/ikedas)). If you used `http_host` parameter, you possibly need removing it (See [note](https://sympa-community.github.io/manual/upgrade/notes.html#from-version-prior-to-6256)).

**Implemented enhancements:**

Expand Down
2 changes: 1 addition & 1 deletion doc/sympa_config.podpl
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ sub _format {
status => 'Status of list.',
listtopic => 'List topic.',
unixtime => 'The time in second from Unix epoch.',
visibility => 'Visibility mode of list memeber.',
visibility => 'Visibility mode of list member.',
}->{$pinfo->{field_type}}
|| $pinfo->{field_type};
$parameters .= sprintf "%s\n\n", $desc;
Expand Down
2 changes: 1 addition & 1 deletion src/cgi/wwsympa.fcgi.in
Original file line number Diff line number Diff line change
Expand Up @@ -2325,7 +2325,7 @@ sub send_html {
}
}

# Main CSS, possiblly customized.
# Main CSS, possibly customized.
my $main_css;
if ($session->{'custom_css'}) {
$main_css = Sympa::WWW::Tools::get_css_url(
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa.pm
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ sub get_listmasters_email {
map { Sympa::Tools::Text::canonic_email($_) }
grep { Sympa::Tools::Text::valid_email($_) } split /\s*,\s*/,
$listmaster;
# If no valid adresses found, use listmaster of site config.
# If no valid addresses found, use listmaster of site config.
unless (@listmasters or (not ref $that and $that eq '*')) {
$log->syslog('notice', 'Warning: No listmasters found for %s', $that);
@listmasters = Sympa::get_listmasters_email('*');
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/CLI/show_pending_lists.pm
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ C<sympa show_pending_lists> I<domain>

=head1 DESCRIPTION

Print all pending lists for the robot, with informations.
Print all pending lists for the robot, with information.

=cut
2 changes: 1 addition & 1 deletion src/lib/Sympa/DataSource.pm
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ Parameters:
=item $type

Type of data source.
This corresponds to impemented subclasses.
This corresponds to implemented subclasses.

=item $role

Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/Family.pm
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ Arguments

=item $list

A List object corresponding to the list to chek.
A List object corresponding to the list to check.

=back

Expand Down
6 changes: 3 additions & 3 deletions src/lib/Sympa/List.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5881,7 +5881,7 @@ sub add_list_header {
}
} elsif ($field eq 'archived_at') {
if ($wwsympa_url and $self->is_web_archived()) {
# Use possiblly anonymized Message-Id: field instead of
# Use possibly anonymized Message-Id: field instead of
# {message_id} attribute.
my $message_id = Sympa::Tools::Text::canonic_message_id(
$message->get_header('Message-Id'));
Expand Down Expand Up @@ -6299,7 +6299,7 @@ Limit result to the user with their e-mail $email.

Returns:

In array context, returns (possiblly empty or single-item) array of users.
In array context, returns (possibly empty or single-item) array of users.
In scalar context, returns reference to it.
In case of database error, returns empty array or undefined value.

Expand Down Expand Up @@ -6424,7 +6424,7 @@ TBD.

Returns:

In array context, returns (possiblly empty or single-item) array of users.
In array context, returns (possibly empty or single-item) array of users.
In scalar context, returns reference to it.
In case of database error, returns empty array or undefined value.

Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/Message.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4349,7 +4349,7 @@ DMARC protection. See also L</dmarc_protect>().

Personalizing.

On Sympa 6.2.58 or earlier, there was no distiction between C<footer> and C<all>.
On Sympa 6.2.58 or earlier, there was no distinction between C<footer> and C<all>.
The C<merge> item in the messages stored into outgoing spool by earlier version
of Sympa will be treated as C<all>.

Expand Down
2 changes: 1 addition & 1 deletion src/lib/Sympa/Message/Plugin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ First, write your hook module:
my $message = shift; # Message object
my %options = @_;

# Processing, possiblly changing $message...
# Processing, possibly changing $message...

# Return suitable result.
# If unrecoverable error occurred, you may return undef or simply die.
Expand Down
10 changes: 5 additions & 5 deletions src/lib/Sympa/Tools/Data.pm
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ XML formed data as stored in database

Returns:

A hashref storing custome attributes.
A hashref storing custom attributes.

=item diff_on_arrays ( $setA, $setB )

Expand Down Expand Up @@ -563,7 +563,7 @@ Options:

=item $hasref

Hashref storing custome attributes.
Hashref storing custom attributes.

=back

Expand Down Expand Up @@ -643,7 +643,7 @@ An arrayref.

=item hash_2_string (...)

Converts a hash into a string formated as var1="value1";var2="value2"; into
Converts a hash into a string formatted as var1="value1";var2="value2"; into
a hash.
TBD.

Expand Down Expand Up @@ -699,7 +699,7 @@ If arguments matched, true value. Otherwise false value.

=item smart_lessthan (...)

Compares two scalars, string/numeric independant.
Compares two scalars, string/numeric independent.
TBD.

=item sort_uniq ( [ \&comp ], @items )
Expand All @@ -725,7 +725,7 @@ This function was added on Sympa 6.2.16.

=item string_2_hash (...)

Converts a string formated as var1="value1";var2="value2"; into a hash.
Converts a string formatted as var1="value1";var2="value2"; into a hash.
Used when extracting from session table some session properties or when
extracting users preference from user table.
Current encoding is NOT compatible with encoding of values with '"'.
Expand Down
2 changes: 1 addition & 1 deletion src/sbin/sympa.pl.in
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ New command line format:

=item C<--show_pending_lists>=I<robot>

Print all pending lists for the robot, with informations.
Print all pending lists for the robot, with information.

New command line format:

Expand Down
4 changes: 2 additions & 2 deletions support/xgettext.pl
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
use constant COMM => 10;

## A hash that will contain the strings to translate and their meta
## informations.
## information.
my %file;
## conatins informations if a string is a date string.
## contains information if a string is a date string.
my %type_of_entries;
## Contains unique occurrences of each string
my %Lexicon;
Expand Down