From fec0686abdace4ca48e4be50cdd4b0fee44814ec Mon Sep 17 00:00:00 2001 From: Emmanuel Bouthenot Date: Sat, 12 Nov 2022 08:27:17 +0100 Subject: [PATCH 1/2] Fix various typos --- NEWS.md | 2 +- doc/sympa_config.podpl | 2 +- src/cgi/wwsympa.fcgi.in | 2 +- src/lib/Sympa.pm | 2 +- src/lib/Sympa/CLI/show_pending_lists.pm | 2 +- src/lib/Sympa/DataSource.pm | 2 +- src/lib/Sympa/List.pm | 6 +++--- src/lib/Sympa/Message.pm | 2 +- src/lib/Sympa/Message/Plugin.pm | 2 +- src/sbin/sympa.pl.in | 2 +- support/xgettext.pl | 4 ++-- 11 files changed, 14 insertions(+), 14 deletions(-) diff --git a/NEWS.md b/NEWS.md index eb55684cf..55172ad9e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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:** diff --git a/doc/sympa_config.podpl b/doc/sympa_config.podpl index 54db4afce..57f44534f 100644 --- a/doc/sympa_config.podpl +++ b/doc/sympa_config.podpl @@ -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; diff --git a/src/cgi/wwsympa.fcgi.in b/src/cgi/wwsympa.fcgi.in index b8e04c188..2e2906ea1 100644 --- a/src/cgi/wwsympa.fcgi.in +++ b/src/cgi/wwsympa.fcgi.in @@ -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( diff --git a/src/lib/Sympa.pm b/src/lib/Sympa.pm index 9ff6271f4..2c4466625 100644 --- a/src/lib/Sympa.pm +++ b/src/lib/Sympa.pm @@ -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('*'); diff --git a/src/lib/Sympa/CLI/show_pending_lists.pm b/src/lib/Sympa/CLI/show_pending_lists.pm index e4150823a..213ca6035 100644 --- a/src/lib/Sympa/CLI/show_pending_lists.pm +++ b/src/lib/Sympa/CLI/show_pending_lists.pm @@ -70,6 +70,6 @@ C I =head1 DESCRIPTION -Print all pending lists for the robot, with informations. +Print all pending lists for the robot, with information. =cut diff --git a/src/lib/Sympa/DataSource.pm b/src/lib/Sympa/DataSource.pm index bb87745ab..21bdb3f56 100644 --- a/src/lib/Sympa/DataSource.pm +++ b/src/lib/Sympa/DataSource.pm @@ -317,7 +317,7 @@ Parameters: =item $type Type of data source. -This corresponds to impemented subclasses. +This corresponds to implemented subclasses. =item $role diff --git a/src/lib/Sympa/List.pm b/src/lib/Sympa/List.pm index cc0acb043..812808a2a 100644 --- a/src/lib/Sympa/List.pm +++ b/src/lib/Sympa/List.pm @@ -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')); @@ -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. @@ -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. diff --git a/src/lib/Sympa/Message.pm b/src/lib/Sympa/Message.pm index 7fc24d560..1fdeb80a7 100644 --- a/src/lib/Sympa/Message.pm +++ b/src/lib/Sympa/Message.pm @@ -4349,7 +4349,7 @@ DMARC protection. See also L(). Personalizing. -On Sympa 6.2.58 or earlier, there was no distiction between C