From e0bc3f351d21edb535072b26d058afbfbd8889b9 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Mon, 15 Jun 2015 16:49:47 +0200 Subject: [PATCH] [SIGNED-OFF] Bug 14383: Fix some typos in comments and documentation Most of them were found and fixed using codespell. Signed-off-by: Stefan Weil http://bugs.koha-community.org/show_bug.cgi?id=14383 Signed-off-by: Bernardo Gonzalez Kriegel --- t/db_dependent/VirtualShelves.t | 2 +- t/db_dependent/check_sysprefs.t | 2 +- tools/import_borrowers.pl | 2 +- tools/inventory.pl | 4 ++-- tools/letter.pl | 2 +- virtualshelves/sendshelf.pl | 2 +- xt/author/valid-templates.t | 2 +- xt/permissions.t | 2 +- xt/tt_valid.t | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/t/db_dependent/VirtualShelves.t b/t/db_dependent/VirtualShelves.t index dce9b8e..70dbc62 100755 --- a/t/db_dependent/VirtualShelves.t +++ b/t/db_dependent/VirtualShelves.t @@ -137,7 +137,7 @@ for my $i (0..9){ } if (defined $status) { - is($countbefore, $countafter - 1, 'added bib to list'); # the bib has been successfuly added. + is($countbefore, $countafter - 1, 'added bib to list'); # the bib has been successfully added. } else { is($countbefore, $countafter, 'did not add duplicate bib to list'); } diff --git a/t/db_dependent/check_sysprefs.t b/t/db_dependent/check_sysprefs.t index f7fc914..a53c575 100755 --- a/t/db_dependent/check_sysprefs.t +++ b/t/db_dependent/check_sysprefs.t @@ -46,7 +46,7 @@ check_db($ref_syspref); # # Get sysprefs from SQL file populating sysprefs table with INSERT statement. # -# Exemple: +# Example: # INSERT INTO `systempreferences` (variable,value,explanation,options,type) # VALUES('AmazonLocale','US','Use to set the Locale of your Amazon.com Web Services', # 'US|CA|DE|FR|JP|UK','Choice') diff --git a/tools/import_borrowers.pl b/tools/import_borrowers.pl index 49f55fb..15053cc 100755 --- a/tools/import_borrowers.pl +++ b/tools/import_borrowers.pl @@ -278,7 +278,7 @@ if ( $uploadborrowers && length($uploadborrowers) > 0 ) { } unless (ModMember(%borrower)) { $invalid++; - # untill we have better error trapping, we have no way of knowing why ModMember errored out... + # until we have better error trapping, we have no way of knowing why ModMember errored out... push @errors, {unknown_error => 1}; $template->param('lastinvalid'=>$borrower{'surname'}.' / '.$borrowernumber); next LINE; diff --git a/tools/inventory.pl b/tools/inventory.pl index 63e1da1..893c14d 100755 --- a/tools/inventory.pl +++ b/tools/inventory.pl @@ -275,7 +275,7 @@ if ( $markseen or $op ) { # If "compare barcodes list to results" has been checked, we want to alert for missing items if ( $compareinv2barcd ) { - # set "missing" flags for all items with a datelastseen (dls) before the choosen datelastseen (cdls) + # set "missing" flags for all items with a datelastseen (dls) before the chosen datelastseen (cdls) my $dls = output_pref( { dt => dt_from_string( $datelastseen ), dateformat => 'iso' } ); foreach my $item ( @$inventorylist ) { @@ -292,7 +292,7 @@ if ( $compareinv2barcd ) { # insert "wrongplace" to all scanned items that are not supposed to be in this range -# note this list is always displayed, whatever the librarian has choosen for comparison +# note this list is always displayed, whatever the librarian has chosen for comparison my $moddatecount = 0; foreach my $item ( @scanned_items ) { diff --git a/tools/letter.pl b/tools/letter.pl index e9f39d9..ca9f0ce 100755 --- a/tools/letter.pl +++ b/tools/letter.pl @@ -401,7 +401,7 @@ sub add_fields { sub get_columns_for { my $table = shift; -# FIXME untranslateable +# FIXME untranslatable my %column_map = ( aqbooksellers => '---BOOKSELLERS---', aqorders => '---ORDERS---', diff --git a/virtualshelves/sendshelf.pl b/virtualshelves/sendshelf.pl index 16e2ff6..2fa77b2 100755 --- a/virtualshelves/sendshelf.pl +++ b/virtualshelves/sendshelf.pl @@ -168,7 +168,7 @@ END_OF_BODY $template->param( SENT => "1" ); } else { - # do something if it doesnt work.... + # do something if it doesn't work.... carp "Error sending mail: $Mail::Sendmail::error \n"; $template->param( error => 1 ); } diff --git a/xt/author/valid-templates.t b/xt/author/valid-templates.t index bc61264..6ee538f 100644 --- a/xt/author/valid-templates.t +++ b/xt/author/valid-templates.t @@ -127,7 +127,7 @@ sub create_template_test { =head1 AUTHOR -Koha Developement Team +Koha Development Team Chris Cormack diff --git a/xt/permissions.t b/xt/permissions.t index a39b1ee..97d6ea7 100755 --- a/xt/permissions.t +++ b/xt/permissions.t @@ -55,7 +55,7 @@ foreach my $file_name ( @trans_perms_files ) { # Get user permissions from SQL file populating permissions table with INSERT # statement. # -# Exemple: +# Example: # INSERT INTO permissions (module_bit, code, description) VALUES # ( 1, 'override_renewals', 'Override blocked renewals'), # diff --git a/xt/tt_valid.t b/xt/tt_valid.t index 90da343..4e5174b 100755 --- a/xt/tt_valid.t +++ b/xt/tt_valid.t @@ -114,7 +114,7 @@ For the time being, two validations are done: tags have both attibutes 'id' and 'class' -- 1.7.9.5