aboutsummaryrefslogtreecommitdiffstats
path: root/check_trans.pl
diff options
context:
space:
mode:
authorSebastiano Pistore <SebastianoPistore.info@protonmail.ch>2019-06-10 11:31:07 +0200
committerSebastiano Pistore <SebastianoPistore.info@protonmail.ch>2019-06-10 11:31:07 +0200
commit6b99646644baee856b0f8bc2600186bc0038ae22 (patch)
treef9a4651c0f82f8715b35a3720bfa4bd719e1b752 /check_trans.pl
parent2ee4e7c4360ff88e145af69ce679d92e606c3691 (diff)
Fixed small English syntax errors.
The executable code has NOT been modified.
Diffstat (limited to 'check_trans.pl')
-rwxr-xr-xcheck_trans.pl16
1 files changed, 8 insertions, 8 deletions
diff --git a/check_trans.pl b/check_trans.pl
index 466d592d7d0..7b513b83a60 100755
--- a/check_trans.pl
+++ b/check_trans.pl
@@ -78,7 +78,7 @@
# USAGE:
# If you give the "-g" option, all mails are written to the console. No
# mails are sent out at all. This is useful for debugging.
-# If you specify an email addres with the "-M" options, all mails are sent
+# If you specify an email address with the "-M" options, all mails are sent
# to the specified addressee. No mails are sent to any other addresses. It
# is useful if you want to run it for yourself.
# Without either of these options, real mails will be sent to real
@@ -423,7 +423,7 @@ die("Never reached");
#=================================================
-#== swich two variables around
+#== switch two variables around
#==
sub switch_var(\$\$)
{
@@ -479,7 +479,7 @@ sub send_email
my $subject;
my $mailbody;
- # First handle the case in whcih all mail goes to the -M address
+ # First handle the case in which all mail goes to the -M address
if ( $default_rec )
{
# address was already validated while parsing the command line
@@ -487,7 +487,7 @@ sub send_email
$subject = $DEFAULT_SUBJECT;
$mailbody = $DEFAULT_BODY;
}
- else # handle the case in whcih addresses are fetch from the db
+ else # handle the case in which addresses are fetch from the db
{
# skip unconfigured users
if ( not exists $translators->{$name}
@@ -497,7 +497,7 @@ sub send_email
next;
}
- # check the user's email addres
+ # check the user's email address
if ( not Email::Address->parse( $translators->{$name}{'email'} ) )
{
printf STDERR "Can't parse email address `%s' for %s!\n",
@@ -520,7 +520,7 @@ sub send_email
$mailbody = read_file_enc( $translators->{'default'}{'mailbody'} )
or die("Can't read $translators->{'default'}{'mailbody'}");
{
- # a bit hackish, but I want to keep the curent format of
+ # a bit hackish, but I want to keep the current format of
# the mail body files intact, for now
# so we need to use the same old variable names as the original
# script used
@@ -818,7 +818,7 @@ sub get_diff_txt
# Get translation file
my $transl_txt = read_file( $transl_file )
- or die("Couln't read `$transl_file': $!");
+ or die("Couldn't read `$transl_file': $!");
my @transl_txt = split( "\n", $transl_txt );
# Get diff lines
@@ -956,7 +956,7 @@ sub parse_cmdargs
else
{
die "You specified -m (send mails), but you didn't specify "
- ."either -n or -M, so I don't knwo where to send my mails\n";
+ ."either -n or -M, so I don't know where to send my mails\n";
}
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy