Bugzilla – Attachment 40148 Details for
Bug 14383
Typos in various Koha files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14383: Fix some typos in comments and documentation
0002-Fix-some-typos-in-comments-and-documentation.patch (text/plain), 5.57 KB, created by
Stefan Weil
on 2015-06-15 20:10:02 UTC
(
hide
)
Description:
Bug 14383: Fix some typos in comments and documentation
Filename:
MIME Type:
Creator:
Stefan Weil
Created:
2015-06-15 20:10:02 UTC
Size:
5.57 KB
patch
obsolete
>From 487fab7fb94604cd0a868bbc59811797dea7d524 Mon Sep 17 00:00:00 2001 >From: Stefan Weil <sw@weilnetz.de> >Date: Mon, 15 Jun 2015 16:49:47 +0200 >Subject: [PATCH 2/6] Fix some typos in comments and documentation > >Most of them were found and fixed using codespell. > >Signed-off-by: Stefan Weil <sw@weilnetz.de> >--- > 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 <http://koha-community.org> >+Koha Development Team <http://koha-community.org> > > Chris Cormack <chrisc@catalyst.net.nz> > >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: > > <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' >-- >2.1.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14383
:
40128
|
40129
|
40147
|
40148
|
40149
|
40150
|
40151
|
40152
|
40276
|
40277
|
40278
|
40279
|
40280
|
40281
|
40282
|
40283
|
40296
|
40297
|
40298
|
40299
|
40300
|
40301
|
40302
|
40303
|
40304