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 some typos #1433

Merged
merged 1 commit into from
Jul 3, 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 cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ feature 'soap', 'Required if you want to run the Sympa SOAP server that provides
requires 'SOAP::Lite', '>= 0.712';
};

feature 'safe-unicode', 'Sanitises inputs with Unicode text.' => sub {
feature 'safe-unicode', 'Sanitizes inputs with Unicode text.' => sub {
# Note: Perl 5.8.1 bundles version 0.23.
# Note: Perl 5.10.1 bundles 1.03 (per Unicode 5.1.0).
requires 'Unicode::Normalize', '>= 1.03';
Expand Down
2 changes: 1 addition & 1 deletion default/web_tt2/compose_mail.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<br />
<ul>
<li> <b>[&#37; listname &#37;]</b>[%|loc%]: the list name; always available.[%END%]</li>
<li> <b>[&#37; robot &#37;]</b>[%|loc%]: the name of the host the list is intalled on; always available.[%END%]</li>
<li> <b>[&#37; robot &#37;]</b>[%|loc%]: the name of the host the list is installed on; always available.[%END%]</li>
<li> <b>[&#37; user.email &#37;]</b>[%|loc%]: the user email; always available.[%END%]</li>
<li> <b>[&#37; user.gecos &#37;]</b>[%|loc%]: the user name associated to her email; always available.[%END%]</li>
<li> <b>[&#37; user.friendly_date &#37;]</b>[%|loc%]: the - human readable - user's subscription date; always available.[%END%]</li>
Expand Down
2 changes: 1 addition & 1 deletion default/web_tt2/ls_templates.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</li>
</ul>
<p>
[%|loc%]First, you may list a category of templates. The list should include a default template and may include any templates designated for a particular list. You will then have an oportunity to copy and edit templates for the current robot or the named list.[%END%]
[%|loc%]First, you may list a category of templates. The list should include a default template and may include any templates designated for a particular list. You will then have an opportunity to copy and edit templates for the current robot or the named list.[%END%]
</p>

<form action="[% 'ls_templates' | url_rel %]" method="post">
Expand Down
4 changes: 2 additions & 2 deletions default/web_tt2/review.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@
[% SET thosesubscribers = members %]
[% PROCESS subscriber_table.tt2 %]
[% IF action == 'search' %]
[% IF similar_subscribers_occurence != 0 %]
<h2> [%|loc(similar_subscribers_occurence)%] Other similar subscriber's email(s) (%1)[%END%]</h2>
[% IF similar_subscribers_occurrence != 0 %]
<h2> [%|loc(similar_subscribers_occurrence)%] Other similar subscriber's email(s) (%1)[%END%]</h2>
[% SET thosesubscribers = similar_subscribers %]
[% PROCESS subscriber_table.tt2 %]
[% END %]
Expand Down
2 changes: 1 addition & 1 deletion default/web_tt2/skinsedit.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</p>
<p>
[%|loc%]Be careful: the CSS file is overwritten using css.tt2 template, usually this file is coming from Sympa distribution so your CSS customization may be erased when doing this.[% END %]
[%|loc%]So if you want to preserve some site customizations from being overwriten when upgrading to a new sympa version, css_path and css_url should not point to the same directory.[%END%]
[%|loc%]So if you want to preserve some site customizations from being overwritten when upgrading to a new sympa version, css_path and css_url should not point to the same directory.[%END%]
</p>
</div>

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 @@ -5041,7 +5041,7 @@ sub do_search {
$#{$param->{'similar_subscribers'}} + 1;
}
# for misspelling in 6.2a or earlier.
$param->{'similar_subscribers_occurence'} =
$param->{'similar_subscribers_occurrence'} =
$param->{'similar_subscribers_occurrence'};

$param->{'occurrence'} = $record;
Expand Down
4 changes: 2 additions & 2 deletions src/lib/Sympa/Config/Schema.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4476,7 +4476,7 @@ our %pinfo = (
gettext_id =>
'DKIM "i=" tag, you should probably leave this parameter empty',
gettext_comment =>
'DKIM "i=" tag, you should probably not use this parameter, as recommended by RFC 4871, default for list brodcasted messages is i=<listname>-request@<domain>',
'DKIM "i=" tag, you should probably not use this parameter, as recommended by RFC 4871, default for list broadcasted messages is i=<listname>-request@<domain>',
format => '\S+',
occurrence => '0-1'
},
Expand Down Expand Up @@ -5867,7 +5867,7 @@ our %pinfo = (
order => 190.71,
group => 'www_other',
gettext_id =>
'Prevent people to subscribe to a list with adresses using these domains',
'Prevent people to subscribe to a list with addresses using these domains',
gettext_comment => 'This parameter is a comma-separated list.',
sample => 'example.org,spammer.com',
split_char => ',',
Expand Down
2 changes: 1 addition & 1 deletion support/xgettext.pl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
my %file;
## conatins informations if a string is a date string.
my %type_of_entries;
## Contains unique occurences of each string
## Contains unique occurrences of each string
my %Lexicon;
## All the strings, in the order they were found while parsing the files
my @ordered_strings = ();
Expand Down