Bug 14383: Fix some typos in comments and documentation
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>
This commit is contained in:
parent
64925f7522
commit
0cac7bc140
|
|
@ -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');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 ) {
|
||||
|
||||
|
|
|
|||
|
|
@ -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---',
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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'),
|
||||
#
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in New Issue