Bug 14383: Fix some typos in comments and documentation
authorStefan Weil <sw@weilnetz.de>
Mon, 15 Jun 2015 14:49:47 +0000 (16:49 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 22 Jun 2015 20:34:46 +0000 (17:34 -0300)
Most of them were found and fixed using codespell.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
http://bugs.koha-community.org/show_bug.cgi?id=14383
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/VirtualShelves.t
t/db_dependent/check_sysprefs.t
tools/import_borrowers.pl
tools/inventory.pl
tools/letter.pl
virtualshelves/sendshelf.pl
xt/author/valid-templates.t
xt/permissions.t
xt/tt_valid.t

index dce9b8e..70dbc62 100755 (executable)
@@ -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');
     }
index f7fc914..a53c575 100755 (executable)
@@ -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')
index 49f55fb..15053cc 100755 (executable)
@@ -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;
index 976d956..a4bf639 100755 (executable)
@@ -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 ) {
 
index e9f39d9..ca9f0ce 100755 (executable)
@@ -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---',
index 16e2ff6..2fa77b2 100755 (executable)
@@ -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 );
     }
index bc61264..6ee538f 100644 (file)
@@ -127,7 +127,7 @@ sub create_template_test {
 
 =head1 AUTHOR
 
-Koha Developement Team <http://koha-community.org>
+Koha Development Team <http://koha-community.org>
 
 Chris Cormack <chrisc@catalyst.net.nz>
 
index a39b1ee..97d6ea7 100755 (executable)
@@ -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'),
 #
index 90da343..4e5174b 100755 (executable)
@@ -114,7 +114,7 @@ For the time being, two validations are done:
 
   <li[% IF
 
-This kind of constuction MUST be avoided because it break Koha translation
+This kind of construction MUST be avoided because it breaks Koha translation
 process.
 
 [2] Test tag <body> tags have both attibutes 'id' and 'class'