Skip to content

Commit

Permalink
Bug 14383: Fix some typos in comments and documentation
Browse files Browse the repository at this point in the history
Most of them were found and fixed using codespell.

Signed-off-by: Stefan Weil <[email protected]>

http://bugs.koha-community.org/show_bug.cgi?id=14383
Signed-off-by: Bernardo Gonzalez Kriegel <[email protected]>

Signed-off-by: Jonathan Druart <[email protected]>
Signed-off-by: Tomas Cohen Arazi <[email protected]>
  • Loading branch information
stweil authored and tomascohen committed Jun 22, 2015
1 parent 64925f7 commit 0cac7bc
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion t/db_dependent/VirtualShelves.t
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down
2 changes: 1 addition & 1 deletion t/db_dependent/check_sysprefs.t
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion tools/import_borrowers.pl
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@
}
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;
Expand Down
4 changes: 2 additions & 2 deletions tools/inventory.pl
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@

# 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 ) {
Expand All @@ -292,7 +292,7 @@


# 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 ) {

Expand Down
2 changes: 1 addition & 1 deletion tools/letter.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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---',
Expand Down
2 changes: 1 addition & 1 deletion virtualshelves/sendshelf.pl
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
$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 );
}
Expand Down
2 changes: 1 addition & 1 deletion xt/author/valid-templates.t
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion xt/permissions.t
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
#
Expand Down
2 changes: 1 addition & 1 deletion xt/tt_valid.t
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 0cac7bc

Please sign in to comment.