From 3fe771336941f49e77e4328bd2bb0a9b91032c9e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 20 Mar 2025 10:26:41 +0100 Subject: [PATCH] Bug 39325: Automatic fix Signed-off-by: Owen Leonard --- C4/Accounts.pm | 2 +- C4/Acquisition.pm | 12 +++---- C4/Auth.pm | 18 +++++----- C4/Auth_with_cas.pm | 2 +- C4/Auth_with_ldap.pm | 4 +-- C4/Biblio.pm | 16 ++++----- C4/Budgets.pm | 4 +-- C4/Charset.pm | 6 ++-- C4/Circulation.pm | 14 ++++---- C4/ClassSplitRoutine/Dewey.pm | 2 +- C4/Context.pm | 2 +- C4/Contract.pm | 2 +- C4/Creators/Batch.pm | 2 +- C4/Creators/Layout.pm | 2 +- C4/Creators/Lib.pm | 6 ++-- C4/Creators/Profile.pm | 2 +- C4/Creators/Template.pm | 4 +-- C4/Form/MessagingPreferences.pm | 2 +- C4/HoldsQueue.pm | 2 +- C4/ILSDI/Services.pm | 4 +-- C4/ImportExportFramework.pm | 8 ++--- C4/InstallAuth.pm | 8 ++--- C4/Installer.pm | 4 +-- C4/Items.pm | 2 +- C4/Labels/Label.pm | 4 +-- C4/Languages.pm | 8 ++--- C4/Letters.pm | 12 +++---- C4/Log.pm | 2 +- C4/Matcher.pm | 6 ++-- C4/Members/Messaging.pm | 2 +- C4/Record.pm | 2 +- C4/Reports/Guided.pm | 8 ++--- C4/Reserves.pm | 18 +++++----- C4/RotatingCollections.pm | 2 +- C4/SIP/ILS.pm | 2 +- C4/SIP/SIPServer.pm | 12 +++---- C4/SMS.pm | 2 +- C4/Scheduler.pm | 2 +- C4/Search.pm | 4 +-- C4/Serials.pm | 6 ++-- C4/Suggestions.pm | 8 ++--- C4/TTParser.pm | 2 +- C4/UsageStats.pm | 6 ++-- Koha/Biblio.pm | 6 ++-- Koha/Cash/Register/Cashup.pm | 2 +- Koha/ClassSplitRule.pm | 2 +- Koha/Club/Template/EnrollmentFields.pm | 2 +- Koha/EDI.pm | 6 ++-- Koha/Edifact.pm | 2 +- Koha/Edifact/Line.pm | 4 +-- Koha/Edifact/Order.pm | 10 +++--- Koha/Filter/MARC/ViewPolicy.pm | 2 +- Koha/FrameworkPlugin.pm | 2 +- Koha/ILL/Backend.pm | 2 +- Koha/Item.pm | 2 +- Koha/Misc/Files.pm | 6 ++-- Koha/OAI/Server/Repository.pm | 2 +- Koha/Patron/Password/Recovery.pm | 2 +- Koha/Patrons/Import.pm | 4 +-- Koha/Plugins/Base.pm | 6 ++-- Koha/REST/Plugin/Exceptions.pm | 2 +- Koha/REST/V1/Static.pm | 4 +-- Koha/RecordProcessor.pm | 2 +- Koha/RecordProcessor/Base.pm | 4 +-- Koha/Schema/Result/Borrower.pm | 6 ++-- Koha/Schema/Result/ClubHold.pm | 2 +- Koha/Schema/Result/Deletedbiblio.pm | 2 +- Koha/Schema/Result/Deletedborrower.pm | 6 ++-- Koha/Schema/Result/Deleteditem.pm | 2 +- Koha/Schema/Result/HouseboundProfile.pm | 2 +- Koha/Schema/Result/Item.pm | 2 +- Koha/Schema/Result/LibraryGroup.pm | 2 +- Koha/Schema/Result/Stockrotationstage.pm | 2 +- Koha/Schema/Result/Virtualshelfshare.pm | 2 +- Koha/SearchEngine/Elasticsearch.pm | 2 +- Koha/SearchEngine/Elasticsearch/Indexer.pm | 2 +- Koha/SuggestionEngine.pm | 2 +- Koha/SuggestionEngine/Base.pm | 4 +-- Koha/Template/Plugin/Asset.pm | 2 +- Koha/Template/Plugin/TablesSettings.pm | 2 +- Koha/pdfformat/layout2pages.pm | 4 +-- Koha/pdfformat/layout2pagesde.pm | 4 +-- Koha/pdfformat/layout3pages.pm | 4 +-- Koha/pdfformat/layout3pagesfr.pm | 4 +-- Makefile.PL | 2 +- acqui/basket.pl | 2 +- acqui/basketgroup.pl | 2 +- acqui/booksellers.pl | 2 +- acqui/check_budget_total.pl | 2 +- acqui/invoice.pl | 2 +- acqui/neworderempty.pl | 2 +- acqui/updatesupplier.pl | 2 +- admin/aqbudgets.pl | 2 +- admin/check_budget_parent.pl | 2 +- admin/check_parent_total.pl | 2 +- admin/edi_accounts.pl | 4 +-- admin/systempreferences.pl | 2 +- authorities/authorities.pl | 2 +- catalogue/MARCdetail.pl | 2 +- catalogue/search.pl | 2 +- catalogue/stockrotation.pl | 2 +- cataloguing/addbooks.pl | 2 +- cataloguing/value_builder/callnumber.pl | 4 +-- cataloguing/value_builder/stocknumberAV.pl | 2 +- cataloguing/value_builder/stocknumberam123.pl | 6 ++-- circ/returns.pl | 4 +-- circ/set-library.pl | 4 +-- circ/transferstoreceive.pl | 2 +- docs/CAS/CASProxy/examples/proxy_cas_data.pl | 2 +- fix-perl-path.PL | 2 +- installer/data/mysql/db_revs/210600018.pl | 2 +- installer/data/mysql/db_revs/210600020.pl | 2 +- installer/data/mysql/db_revs/220600059.pl | 2 +- installer/data/mysql/db_revs/221200003.pl | 2 +- installer/data/mysql/db_revs/231200023.pl | 2 +- ...fix_unclosed_nonaccruing_fines_bug17135.pl | 2 +- installer/data/mysql/labels_upgrade.pl | 2 +- installer/data/mysql/patroncards_upgrade.pl | 2 +- .../prog/en/includes/search_indexes.inc | 2 +- .../prog/en/includes/subtype_limits.inc | 4 +-- .../intranet-tmpl/prog/en/modules/about.tt | 10 +++--- .../prog/en/modules/acqui/addorderiso2709.tt | 2 +- .../prog/en/modules/acqui/duplicate_orders.tt | 2 +- .../prog/en/modules/acqui/neworderempty.tt | 2 +- .../modules/admin/marc_subfields_structure.tt | 4 +-- .../prog/en/modules/admin/usage_statistics.tt | 2 +- .../intranet-tmpl/prog/en/modules/auth.tt | 2 +- .../authorities/searchresultlist-auth.tt | 30 ++++++++-------- .../modules/authorities/searchresultlist.tt | 36 +++++++++---------- .../prog/en/modules/cataloguing/additem.tt | 2 +- .../value_builder/marc21_linking_section.tt | 28 +++++++-------- .../value_builder/unimarc_field_120.tt | 8 ++--- .../value_builder/unimarc_field_210c.tt | 12 +++---- .../value_builder/unimarc_field_4XX.tt | 32 ++++++++--------- .../prog/en/modules/circ/circulation.tt | 2 +- .../en/modules/circ/transferstoreceive.tt | 2 +- .../prog/en/modules/members/memberentrygen.tt | 2 +- .../prog/en/modules/members/paycollect.tt | 2 +- .../en/modules/patroncards/image-manage.tt | 8 ++--- .../en/modules/reports/acquisitions_stats.tt | 12 +++---- .../modules/reports/guided_reports_start.tt | 2 +- .../en/modules/reports/issues_avg_stats.tt | 16 ++++----- .../prog/en/modules/suggestion/suggestion.tt | 2 +- .../prog/en/modules/tools/quotes-upload.tt | 2 +- koha-tmpl/intranet-tmpl/prog/js/acq.js | 2 +- koha-tmpl/intranet-tmpl/prog/js/cataloging.js | 4 +-- koha-tmpl/intranet-tmpl/prog/js/datatables.js | 2 +- .../intranet-tmpl/prog/js/ill-batch-modal.js | 16 ++++----- koha-tmpl/intranet-tmpl/prog/js/ill-batch.js | 6 ++-- .../intranet-tmpl/prog/js/localcovers.js | 2 +- .../prog/js/marc_subfields_structure.js | 2 +- .../prog/js/modals/place_booking.js | 2 +- .../ERM/EHoldingsLocalTitlesFormAdd.vue | 2 +- .../bootstrap/en/includes/js-date-format.inc | 2 +- .../en/includes/subtypes_unimarc.inc | 2 +- .../bootstrap/en/modules/opac-advsearch.tt | 2 +- .../opac-authoritiessearchresultlist.tt | 16 ++++----- .../bootstrap/en/modules/opac-reserve.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/js/autofill.js | 4 +-- .../opac-tmpl/bootstrap/js/datatables.js | 2 +- .../opac-tmpl/bootstrap/js/google-jackets.js | 2 +- .../opac-tmpl/bootstrap/js/localcovers.js | 2 +- .../opac-tmpl/bootstrap/js/openlibrary.js | 2 +- members/statistics.pl | 2 +- misc/batchDeleteUnusedSubfields.pl | 2 +- misc/bin/connexion_import_daemon.pl | 8 ++--- misc/cronjobs/advance_notices.pl | 2 +- misc/cronjobs/cart_to_shelf.pl | 2 +- misc/cronjobs/cloud-kw.pl | 6 ++-- misc/cronjobs/create_koc_db.pl | 2 +- misc/cronjobs/fines.pl | 4 +-- misc/cronjobs/import_webservice_batch.pl | 2 +- misc/cronjobs/membership_expiry.pl | 2 +- misc/cronjobs/overdue_notices.pl | 2 +- misc/cronjobs/update_patrons_category.pl | 4 +-- misc/devel/codespell.pl | 2 +- misc/devel/get_prepared_letter.pl | 6 ++-- misc/export_borrowers.pl | 4 +-- ...MARC_sync_date_created_with_marc_biblio.pl | 8 ++--- .../22_to_30/move_marc_to_authheader.pl | 2 +- misc/migration_tools/build_oai_sets.pl | 10 +++--- .../migration_tools/checkNonIndexedBiblios.pl | 2 +- misc/migration_tools/rebuild_zebra.pl | 2 +- misc/sip_cli_emulator.pl | 2 +- misc/stage_file.pl | 2 +- misc/translator/LangInstaller.pm | 4 +-- misc/translator/TmplTokenizer.pm | 2 +- misc/translator/tmpl_process3.pl | 2 +- opac/ilsdi.pl | 2 +- opac/opac-MARCdetail.pl | 2 +- opac/opac-password-recovery.pl | 2 +- opac/opac-search.pl | 2 +- opac/opac-suggestions.pl | 2 +- opac/opac-tags.pl | 2 +- opac/svc/auth/googleopenidconnect | 2 +- reports/acquisitions_stats.pl | 6 ++-- reports/cat_issues_top.pl | 6 ++-- reports/catalogue_stats.pl | 4 +-- reports/guided_reports.pl | 4 +-- reports/issues_avg_stats.pl | 6 ++-- reports/orders_by_fund.pl | 2 +- reserve/request.pl | 6 ++-- suggestion/suggestion.pl | 8 ++--- svc/barcode | 2 +- svc/holds | 2 +- t/ClassSortRoutine_LCC.t | 2 +- t/Creators.t | 4 +-- t/Number/Price.t | 6 ++-- t/Output_JSONStream.t | 2 +- t/cypress/support/e2e.js | 4 +-- t/db_dependent/Accounts.t | 12 +++---- t/db_dependent/Acquisition.t | 2 +- t/db_dependent/Acquisition/TransferOrder.t | 2 +- t/db_dependent/Auth.t | 2 +- t/db_dependent/Auth_with_ldap.t | 2 +- t/db_dependent/Biblio.t | 2 +- t/db_dependent/Biblio/MarcOverlayRules.t | 2 +- t/db_dependent/Biblio_holdsqueue.t | 2 +- t/db_dependent/Breeding.t | 2 +- t/db_dependent/Budgets.t | 2 +- t/db_dependent/Circulation.t | 14 ++++---- t/db_dependent/Circulation/CalcDateDue.t | 2 +- t/db_dependent/Circulation/OfflineOperation.t | 2 +- t/db_dependent/Circulation/TooMany.t | 6 ++-- t/db_dependent/Circulation/transferbook.t | 2 +- t/db_dependent/CourseReserves.t | 2 +- t/db_dependent/FrameworkPlugin.t | 2 +- t/db_dependent/Holds/HoldFulfillmentPolicy.t | 2 +- t/db_dependent/Holds/HoldItemtypeLimit.t | 2 +- t/db_dependent/HoldsQueue.t | 4 +-- t/db_dependent/ILSDI_Services.t | 2 +- t/db_dependent/ImportBatch.t | 4 +-- t/db_dependent/Installer.t | 2 +- t/db_dependent/Koha/Account.t | 2 +- t/db_dependent/Koha/Acquisition/Basket.t | 2 +- t/db_dependent/Koha/Charges/Fees.t | 2 +- t/db_dependent/Koha/Objects.t | 16 ++++----- .../Koha/Objects/Mixin/AdditionalFields.t | 2 +- t/db_dependent/Koha/Patrons.t | 4 +-- t/db_dependent/Koha/Patrons/Import.t | 2 +- t/db_dependent/Koha/REST/Plugin/Objects.t | 2 +- t/db_dependent/Koha/Reviews.t | 2 +- .../Koha/Subscription/Routinglists.t | 2 +- t/db_dependent/Koha/Template/Plugin/Koha.t | 2 +- t/db_dependent/LDAP/test_ldap_add.pl | 2 +- t/db_dependent/Languages.t | 2 +- t/db_dependent/Letters.t | 2 +- t/db_dependent/MarcModificationTemplates.t | 8 ++--- t/db_dependent/Matcher.t | 2 +- t/db_dependent/Patron/Borrower_PrevCheckout.t | 2 +- t/db_dependent/Prices.t | 4 +-- t/db_dependent/Reports.t | 2 +- t/db_dependent/Reserves.t | 2 +- t/db_dependent/RotatingCollections.t | 6 ++-- t/db_dependent/SIP/SIPServer.t | 2 +- t/db_dependent/Search.t | 4 +-- t/db_dependent/Serials.t | 6 ++-- t/db_dependent/Serials/ReNewSubscription.t | 2 +- t/db_dependent/Sitemapper.t | 4 +-- t/db_dependent/TestBuilder.t | 2 +- .../Utils/Datatables_Virtualshelves.t | 4 +-- t/db_dependent/selenium/basic_workflow.t | 2 +- .../intranet-tmpl/prog/en/modules/about.tt | 10 +++--- .../intranet-tmpl/prog/fr-CA/modules/about.tt | 10 +++--- tools/import_borrowers.pl | 2 +- tools/modborrowers.pl | 4 +-- tools/picture-upload.pl | 4 +-- tools/upload-cover-image.pl | 2 +- xt/author/Text_CSV_Various.t | 2 +- xt/author/podcorrectness.t | 2 +- 270 files changed, 562 insertions(+), 562 deletions(-) diff --git a/C4/Accounts.pm b/C4/Accounts.pm index 7e5973b0fd6..15bac2ad363 100644 --- a/C4/Accounts.pm +++ b/C4/Accounts.pm @@ -146,7 +146,7 @@ B<$days> -- Zero balance fees older than B<$days> days old will be deleted. B Because fines and payments are not linked in accountlines, it is possible for a fine to be deleted without the accompanying payment, -or vise versa. This won't affect the account balance, but might be +or vice versa. This won't affect the account balance, but might be confusing to staff. =cut diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index 70921abfd13..3b5d444d458 100644 --- a/C4/Acquisition.pm +++ b/C4/Acquisition.pm @@ -142,9 +142,9 @@ sub GetOrderFromItemnumber { $aqbasket = &GetBasket($basketnumber); -get all basket informations in aqbasket for a given basket +get all basket information in aqbasket for a given basket -B informations for a given basket returned as a hashref. +B information for a given basket returned as a hashref. =cut @@ -2022,7 +2022,7 @@ sub get_rounded_price { \@order_loop = GetHistory( %params ); -Retreives some acquisition history information +Retrieves some acquisition history information params: title @@ -2547,7 +2547,7 @@ sub GetInvoices { my $invoice = GetInvoice($invoiceid); -Get informations about invoice with given $invoiceid +Get information about invoice with given $invoiceid Return a hash filled with aqinvoices.* fields @@ -2576,9 +2576,9 @@ sub GetInvoice { my $invoice = GetInvoiceDetails($invoiceid) -Return informations about an invoice + the list of related order lines +Return information about an invoice + the list of related order lines -Orders informations are in $invoice->{orders} (array ref) +Orders information are in $invoice->{orders} (array ref) =cut diff --git a/C4/Auth.pm b/C4/Auth.pm index 3881f4271dc..3f8b7fce6e3 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -113,7 +113,7 @@ C4::Auth - Authenticates Koha users =head1 DESCRIPTION The main function of this module is to provide -authentification. However the get_template_and_user function has +authentication. However the get_template_and_user function has been provided so that a users login information is passed along automatically. This gets loaded into the template. @@ -173,7 +173,7 @@ BEGIN { ); This call passes the C, C and C -to C<&checkauth> (in this module) to perform authentification. +to C<&checkauth> (in this module) to perform authentication. See C<&checkauth> for an explanation of these parameters. The C is then used to find the correct template for @@ -766,7 +766,7 @@ user has authenticated, C<&checkauth> restarts the original script The login page is provided using a HTML::Template, which is set in the systempreferences table or at the top of this file. The variable C<$type> selects which template to use, either the opac or the intranet -authentification template. +authentication template. C<&checkauth> returns a user ID, a cookie, and a session ID. The cookie should be sent back to the browser; it verifies that the user @@ -1032,7 +1032,7 @@ sub checkauth { if ($logout) { # voluntary logout the user - # check wether the user was using their shibboleth session or a local one + # check FIXME CODESPELL (wether ==> weather, whether) the user was using their shibboleth session or a local one my $shibSuccess = C4::Context->userenv ? C4::Context->userenv->{'shibboleth'} : undef; if ($session) { $session->delete(); @@ -1413,7 +1413,7 @@ sub checkauth { } } - # finished authentification, now respond + # finished authentication, now respond if ( $auth_state eq 'completed' || $authnotrequired ) { # successful login @@ -1691,7 +1691,7 @@ sub check_api_auth { if ( C4::Context->preference('Version') < $kohaversion ) { # database in need of version update; assume that - # no API should be called while databsae is in + # no API should be called while database is in # this condition. return ( "maintenance", undef, undef ); } @@ -1737,7 +1737,7 @@ sub check_api_auth { # User / password auth unless ( $userid and $password ) { - # caller did something wrong, fail the authenticateion + # caller did something wrong, fail the authentication return ( "failed", undef, undef ); } my $newuserid; @@ -1858,7 +1858,7 @@ sub check_api_auth { Given a CGISESSID cookie set during a previous login to Koha, determine if the user has the privileges specified by C<$userflags>. C<$userflags> is passed unaltered into C and as such accepts all options -avaiable to that routine with the one caveat that C will +available to that routine with the one caveat that C will also allow 'undef' to be passed and in such a case the permissions check will be skipped altogether. @@ -1906,7 +1906,7 @@ sub check_cookie_auth { if ( C4::Context->preference('Version') < $kohaversion ) { # database in need of version update; assume that - # no API should be called while databsae is in + # no API should be called while database is in # this condition. return ( "maintenance", undef ); } diff --git a/C4/Auth_with_cas.pm b/C4/Auth_with_cas.pm index 7a564fed8a2..8f4848a87a2 100644 --- a/C4/Auth_with_cas.pm +++ b/C4/Auth_with_cas.pm @@ -290,7 +290,7 @@ sub _url_with_get_params { sub logout_if_required { my ($query) = @_; - # Check we havent been hit by a logout call + # Check we haven't been hit by a logout call my $xml = $query->param('logoutRequest'); return 0 unless $xml; diff --git a/C4/Auth_with_ldap.pm b/C4/Auth_with_ldap.pm index 7f0d9f7f5d0..8002a285311 100644 --- a/C4/Auth_with_ldap.pm +++ b/C4/Auth_with_ldap.pm @@ -123,7 +123,7 @@ sub checkpw_ldap { my @hosts = split( ',', $prefhost ); my $db = Net::LDAP->new( \@hosts ); unless ($db) { - warn "LDAP connexion failed"; + warn "LDAP connection failed"; return 0; } @@ -456,7 +456,7 @@ C4::Auth - Authenticates Koha users =head1 LDAP Configuration - This module is specific to LDAP authentification. It requires Net::LDAP package and one or more + This module is specific to LDAP authentication. It requires Net::LDAP package and one or more working LDAP servers. To use it : * Modify ldapserver element in KOHA_CONF diff --git a/C4/Biblio.pm b/C4/Biblio.pm index 21cb96741a2..a04aa28fd27 100644 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -371,7 +371,7 @@ task to rebuild the holds queue for the biblio if I is enabl =item C -Used when the indexing schedulling will be handled by the caller +Used when the indexing scheduling will be handled by the caller =item C @@ -528,7 +528,7 @@ I<$params> is a hashref containing extra parameters. Valid keys are: =item B: used when the holds queue update will be handled by the caller -=item B: used when the indexing schedulling will be handled by the caller +=item B: used when the indexing scheduling will be handled by the caller =back =cut @@ -939,11 +939,11 @@ sub GetISBDView { my $tagslib = GetMarcStructure( 1, $itemtype, { unsafe => 1 } ); my $ISBD = C4::Context->preference($sysprefname); - my $bloc = $ISBD; + my $block = $ISBD; my $res; my $blocres; - foreach my $isbdfield ( split( /#/, $bloc ) ) { + foreach my $isbdfield ( split( /#/, $block ) ) { # $isbdfield= /(.?.?.?)/; $isbdfield =~ /(\d\d\d)([^\|])?\|(.*)\|(.*)\|(.*)/; @@ -982,7 +982,7 @@ sub GetISBDView { $calculated =~ s#/cgi-bin/koha/[^/]+/([^.]*.pl\?.*)$#opac-$1#g; } - # field builded, store the result + # field built, store the result if ( $calculated && !$hasputtextbefore ) { # put textbefore if not done $blocres .= $textbefore; $hasputtextbefore = 1; @@ -1027,7 +1027,7 @@ sub GetISBDView { } } - # field builded, store the result + # field built, store the result if ( $calculated && !$hasputtextbefore ) { # put textbefore if not done $blocres .= $textbefore; $hasputtextbefore = 1; @@ -1199,7 +1199,7 @@ The following options are supported: Pass { unsafe => 1 } do disable cached object cloning, and instead get a shared reference, resulting in better -performance (but care must be taken so that retured object +performance (but care must be taken so that returned object is never modified). Note: If you call GetMarcSubfieldStructure with unsafe => 1, do not modify or @@ -2303,7 +2303,7 @@ sub TransformHtmlToMarc { $newfield = 0; my $j = $i + 2; - if ( $tag < 10 ) { # no code for theses fields + if ( $tag < 10 ) { # no code for FIXME CODESPELL (theses ==> these, thesis) fields # in MARC editor, 000 contains the leader. next if $tag == $biblionumbertagfield; my $fval = $cgi->param( $params[ $j + 1 ] ); diff --git a/C4/Budgets.pm b/C4/Budgets.pm index c34ea421db2..49b9f3222cb 100644 --- a/C4/Budgets.pm +++ b/C4/Budgets.pm @@ -819,7 +819,7 @@ sub _recursiveAdd { } } -# Recursive method to add a budget and its chidren to an array +# Recursive method to add a budget and its children to an array sub _add_budget_children { my $res = shift; my $budget = shift; @@ -1054,7 +1054,7 @@ sub GetBudgetsByActivity { Get all but cancelled orders for all funds. -If the optionnal activity parameter is passed, returns orders for active/inactive budgets only. +If the optional activity parameter is passed, returns orders for active/inactive budgets only. active = 1 inactive = 0 diff --git a/C4/Charset.pm b/C4/Charset.pm index f506509d74a..b2fab915ad7 100644 --- a/C4/Charset.pm +++ b/C4/Charset.pm @@ -368,7 +368,7 @@ removed. This function exists to work around a problem that can occur with badly-encoded MARC records. Specifically, if a UTF-8 MARC record also -has excape (\x1b) characters, MARC::File::XML +has escape (\x1b) characters, MARC::File::XML will let the escape characters pass through when as_xml() or as_xml_record() is called. The problem is that the escape character is not @@ -707,7 +707,7 @@ sub _marc_to_utf8_via_text_iconv { my $decoder; eval { $decoder = Text::Iconv->new( $source_encoding, 'utf8' ); }; if ($@) { - push @errors, "Could not initialze $source_encoding => utf8 converter: $@"; + push @errors, "Could not initialize $source_encoding => utf8 converter: $@"; return @errors; } @@ -1043,7 +1043,7 @@ $chars{0xc777} = 0x1e87; # small w with dot above $chars{0xc778} = 0x1e8b; # small x with dot above $chars{0xc779} = 0x1e8f; # small y with dot above $chars{0xc77a} = 0x017c; # small z with dot above - # 4/8 trema, diaresis + # 4/8 trema, diaeresis $chars{0xc820} = 0x00a8; # diaeresis $chars{0xc841} = 0x00c4; # capital a with diaeresis $chars{0xc845} = 0x00cb; # capital e with diaeresis diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 60dc4dc765e..3b824a3730d 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -751,7 +751,7 @@ item withdrawn. item is restricted (set by ??) C<$needsconfirmation> a reference to a hash. It contains reasons why the loan -could be prevented, but ones that can be overriden by the operator. +could be prevented, but ones that can be overridden by the operator. Possible values are : @@ -1574,8 +1574,8 @@ AddIssue does the following things : - fill recall if recall to this patron - cancel recall or not - revert recall's waiting status or not - * TRANSFERT PENDING ? - - complete the transfert + * FIXME CODESPELL (TRANSFERT ==> TRANSFER, TRANSFERRED) PENDING ? + - complete the FIXME CODESPELL (transfert ==> transfer, transferred) * ISSUE THE BOOK =back @@ -1704,7 +1704,7 @@ sub AddIssue { C4::Reserves::MoveReserve( $item_object->itemnumber, $patron->borrowernumber, $cancelreserve ); - # Starting process for transfer job (checking transfert and validate it if we have one) + # Starting process for transfer job (checking FIXME CODESPELL (transfert ==> transfer, transferred) and validate it if we have one) if ( my $transfer = $item_object->get_transfer ) { # updating line of branchtranfert to finish it, and changing the to branch value, implement a comment for visibility of this case (maybe for stats ....) @@ -2010,7 +2010,7 @@ category only default branch and category If no rule has been found in the database, it will default to -the buillt in rule: +the built in rule: patron_maxissueqty - undef patron_maxonsiteissueqty - undef @@ -2699,7 +2699,7 @@ Ideally, this function would be internal to C, not exported, but it is currently used in misc/cronjobs/longoverdue.pl and offline_circ/process_koc.pl. -The last optional parameter allos passing skip_record_index to the item store call. +The last optional parameter allows passing skip_record_index to the item store call. =cut @@ -4140,7 +4140,7 @@ sub CalcDateDue { # if the calculated due date is after the 'before' Hard Due Date (ceiling), override # if the calculated date is before the 'after' Hard Due Date (floor), override - # if the hard due date is set to 'exactly', overrride + # if the hard due date is set to 'exactly', override if ( $hardduedatecompare == 0 || $hardduedatecompare == $cmp ) { $datedue = $hardduedate->clone; } diff --git a/C4/ClassSplitRoutine/Dewey.pm b/C4/ClassSplitRoutine/Dewey.pm index cdf0d2d6158..cc4147fdb35 100644 --- a/C4/ClassSplitRoutine/Dewey.pm +++ b/C4/ClassSplitRoutine/Dewey.pm @@ -56,7 +56,7 @@ sub split_callnumber { } if ( $lines[0] =~ /^([-a-zA-Z]+)\s?($possible_decimal)$/ ) { - shift @lines; # pull off the mathching first element, like example 1 + shift @lines; # pull off the matching first element, like example 1 unshift @lines, $1, $2; # replace it with the two pieces } diff --git a/C4/Context.pm b/C4/Context.pm index 647019be9fe..6296a216f56 100644 --- a/C4/Context.pm +++ b/C4/Context.pm @@ -107,7 +107,7 @@ sub import { # Create the default context ($C4::Context::Context) # the first time the module is called - # (a config file can be optionaly passed) + # (a config file can be optionally passed) # default context already exists? return if $context; diff --git a/C4/Contract.pm b/C4/Contract.pm index 4be5687a3b8..0da5071634d 100644 --- a/C4/Contract.pm +++ b/C4/Contract.pm @@ -46,7 +46,7 @@ use C4::Contract; =head1 DESCRIPTION The functions in this module deal with contracts. They allow to -add a new contract, to modify it or to get some informations around +add a new contract, to modify it or to get some information around a contract. =cut diff --git a/C4/Creators/Batch.pm b/C4/Creators/Batch.pm index 011507b94dc..81db07d97b1 100644 --- a/C4/Creators/Batch.pm +++ b/C4/Creators/Batch.pm @@ -286,7 +286,7 @@ This module provides methods for creating, and otherwise manipulating batch obje =head2 delete() Invoking the delete method attempts to delete the template from the database. The method returns -1 upon failure. Errors are logged to the Apache log. - NOTE: This method may also be called as a function and passed a key/value pair simply deleteing that batch from the database. See the example below. + NOTE: This method may also be called as a function and passed a key/value pair simply deleting that batch from the database. See the example below. examples: my $exitstat = $batch->delete(); # to delete the record behind the $batch object diff --git a/C4/Creators/Layout.pm b/C4/Creators/Layout.pm index 9a43a130dae..456cf7bb4ce 100644 --- a/C4/Creators/Layout.pm +++ b/C4/Creators/Layout.pm @@ -378,7 +378,7 @@ R = Right =head2 delete() Invoking the delete method attempts to delete the layout from the database. The method returns 0 upon success and -1 upon failure. Errors are logged to the Apache log. - NOTE: This method may also be called as a function and passed a key/value pair simply deleteing that template from the database. See the example below. + NOTE: This method may also be called as a function and passed a key/value pair simply deleting that template from the database. See the example below. examples: Cdelete(); # to delete the record behind the $layout object> diff --git a/C4/Creators/Lib.pm b/C4/Creators/Lib.pm index 74a83745c34..4e762de0dcb 100644 --- a/C4/Creators/Lib.pm +++ b/C4/Creators/Lib.pm @@ -271,7 +271,7 @@ ADD_LAYOUTS: my $profiles = get_all_profiles({ fields => [@fields], filters => { filters => [$value1, $value2] } }); This function returns an arrayref whose elements are hashes containing all profiles upon success and 1 upon failure. Errors are logged -to the Apache log. Two parameters are accepted. The first limits the field(s) returned. This parameter should be string of comma separted +to the Apache log. Two parameters are accepted. The first limits the field(s) returned. This parameter should be string of comma separated fields. ie. "field_1, field_2, ...field_n" The second limits the records returned based on a string containing a valud SQL 'WHERE' filter. NOTE: Do not pass in the keyword 'WHERE.' @@ -382,7 +382,7 @@ sub get_label_summary { $record->{'author'} =~ s/[^\.|\w]$// if $record->{'author'}; # strip off ugly trailing chars... but not periods or word chars $record->{'title'} =~ s/\W*$//; # strip off ugly trailing chars - # FIXME contructing staff interface URLs should be done *much* higher up the stack - for the most part, C4 module code + # FIXME constructing staff interface URLs should be done *much* higher up the stack - for the most part, C4 module code # should not know that it's part of a web app $label_summary->{'_summary'} = { title => $record->{title}, author => $record->{author}, biblionumber => $record->{biblionumber} }; @@ -527,7 +527,7 @@ sub get_table_names { =head2 C4::Creators::Lib::html_table() -This function returns an arrayref of an array of hashes contianing the supplied data formatted suitably to +This function returns an arrayref of an array of hashes containing the supplied data formatted suitably to be passed off as a template parameter and used to build an html table. my $table = html_table(header_fields, array_of_row_data); diff --git a/C4/Creators/Profile.pm b/C4/Creators/Profile.pm index 37270286a0d..45070f25677 100644 --- a/C4/Creators/Profile.pm +++ b/C4/Creators/Profile.pm @@ -265,7 +265,7 @@ CM = SI Centimeters (28.3464567 points per) =head2 delete() Invoking the delete method attempts to delete the profile from the database. The method returns -1 upon failure. Errors are logged to the Apache log. - NOTE: This method may also be called as a function and passed a key/value pair simply deleteing that profile from the database. See the example below. + NOTE: This method may also be called as a function and passed a key/value pair simply deleting that profile from the database. See the example below. examples: Cdelete(); # to delete the record behind the $profile object> diff --git a/C4/Creators/Template.pm b/C4/Creators/Template.pm index 4457cbc67b9..ecacb39cb3b 100644 --- a/C4/Creators/Template.pm +++ b/C4/Creators/Template.pm @@ -309,7 +309,7 @@ This module provides methods for creating, retrieving, and otherwise manipulatin Invoking the I method constructs a new template object containing the default values for a template. The following parameters are optionally accepted as key => value pairs: - C A valid profile id to be assciated with this template. NOTE: The profile must exist in the database and B be assigned to another template. + C A valid profile id to be associated with this template. NOTE: The profile must exist in the database and B be assigned to another template. C A template code. ie. 'Avery 5160 | 1 x 2-5/8' C A readable description of the template. ie. '3 columns, 10 rows of labels' C The width of the page measured in the units supplied by the units parameter in this template. @@ -373,7 +373,7 @@ CM = SI Centimeters (28.3464567 points per) =head2 delete() Invoking the delete method attempts to delete the template from the database. The method returns -1 upon failure. Errors are logged to the Apache log. - NOTE: This method may also be called as a function and passed a key/value pair simply deleteing that template from the database. See the example below. + NOTE: This method may also be called as a function and passed a key/value pair simply deleting that template from the database. See the example below. examples: Cdelete(); # to delete the record behind the $template object> diff --git a/C4/Form/MessagingPreferences.pm b/C4/Form/MessagingPreferences.pm index bf1a89c3b41..6c1aecc578a 100644 --- a/C4/Form/MessagingPreferences.pm +++ b/C4/Form/MessagingPreferences.pm @@ -156,7 +156,7 @@ PREF: foreach my $option (@$messaging_options) { =item Handle when form input is invalid -=item Generalize into a system of form handler clases +=item Generalize into a system of form handler FIXME CODESPELL (clases ==> classes, clashes, cases) =back diff --git a/C4/HoldsQueue.pm b/C4/HoldsQueue.pm index 1a4b2ae58a5..e3a8bc9e8e8 100644 --- a/C4/HoldsQueue.pm +++ b/C4/HoldsQueue.pm @@ -711,7 +711,7 @@ RETRY: sub MapItemsToHoldRequests { my ( $hold_requests, $available_items, $branches_to_use, $transport_cost_matrix ) = @_; - # handle trival cases + # handle trivial cases return unless scalar(@$hold_requests) > 0; return unless scalar(@$available_items) > 0; diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm index 4f80c8e6b8e..4aa7a3d9324 100644 --- a/C4/ILSDI/Services.pm +++ b/C4/ILSDI/Services.pm @@ -253,7 +253,7 @@ sub GetRecords { foreach my $item (@items) { my %item = %{ $item->unblessed }; - # This hides additionnal XML subfields, we don't need these info + # This hides additional XML subfields, we don't need these info delete $item{'more_subfields_xml'}; # Display branch names instead of branch codes @@ -493,7 +493,7 @@ sub GetPatronInfo { my ( $item, $biblio, $biblioitem ) = ( {}, {}, {} ); - # Get additional informations + # Get additional information if ( $hold->itemnumber ) { # item level holds $item = Koha::Items->find( $hold->itemnumber ); $biblio = $item->biblio; diff --git a/C4/ImportExportFramework.pm b/C4/ImportExportFramework.pm index f6a7628bc78..72685a69a92 100644 --- a/C4/ImportExportFramework.pm +++ b/C4/ImportExportFramework.pm @@ -177,7 +177,7 @@ C4::ImportExportFramework - Import/Export Framework to Excel-xml/ODS Module Func Module to Import/Export Framework to Excel-xml/ODS on intranet administration - MARC Frameworks section Module to Import/Export Framework to Excel-xml/ODS on intranet administration - MARC Frameworks section -exporting the tables marc_tag_structure, marc_subfield_structure to excel-xml/ods or viceversa +exporting the tables marc_tag_structure, marc_subfield_structure to excel-xml/ods or vice-versa Functions for handling import/export. @@ -191,7 +191,7 @@ Functions for handling import/export. Export all information of a bibliographic or authority MARC framework to an Excel "xml" file, comma separated values "csv" or OpenDocument SpreadSheet "ods". return : -succes +success =cut @@ -746,7 +746,7 @@ sub ImportFramework { } unlink($filename) if ($deleteFilename); # remove temporary file } else { - Koha::Logger->get->warn("Error ImportFramework no conex to database or not readeable $filename"); + Koha::Logger->get->warn("Error ImportFramework no conex to database or not readable $filename"); } if ( $deleteFilename && $tempdir && -d $tempdir && -w $tempdir ) { eval { @@ -1009,7 +1009,7 @@ sub _import_table_csv { while ( my $row = $csv->getline($dom) ) { my @fields = @$row; @arrData = @fields; - next if scalar @arrData == grep { $_ eq '' } @arrData; # Emtpy lines + next if scalar @arrData == grep { $_ eq '' } @arrData; # Empty lines #$arrData[0] = substr($arrData[0], 1) if ($arrData[0] =~ /^"/); #$arrData[$#arrData] =~ s/[\r\n]+$//; #chop $arrData[$#arrData] if ($arrData[$#arrData] =~ /"$/); diff --git a/C4/InstallAuth.pm b/C4/InstallAuth.pm index 8e968e28030..18d97fb86d0 100644 --- a/C4/InstallAuth.pm +++ b/C4/InstallAuth.pm @@ -65,7 +65,7 @@ InstallAuth - Authenticates Koha users for Install process =head1 DESCRIPTION The main function of this module is to provide -authentification. However the get_template_and_user function has +authentication. However the get_template_and_user function has been provided so that a users login information is passed along automatically. This gets loaded into the template. This package is different from C4::Auth in so far as @@ -87,7 +87,7 @@ As in C4::Auth, Authentication is based on cookies. ); This call passes the C, C and C -to C<&checkauth> (in this module) to perform authentification. +to C<&checkauth> (in this module) to perform authentication. See C<&checkauth> for an explanation of these parameters. The C is then used to find the correct template for @@ -222,7 +222,7 @@ user has authenticated, C<&checkauth> restarts the original script The login page is provided using a HTML::Template, which is set in the systempreferences table or at the top of this file. The variable C<$type> selects which template to use, either the opac or the intranet -authentification template. +authentication template. C<&checkauth> returns a user ID, a cookie, and a session ID. The cookie should be sent back to the browser; it verifies that the user @@ -341,7 +341,7 @@ sub checkauth { } } - # finished authentification, now respond + # finished authentication, now respond if ($loggedin) { # successful login diff --git a/C4/Installer.pm b/C4/Installer.pm index 68b40b0d0f8..f3937a86510 100644 --- a/C4/Installer.pm +++ b/C4/Installer.pm @@ -407,7 +407,7 @@ sub load_sql_in_order { unless ( index( $systempreference, $file[ scalar(@file) - 1 ] ) >= 0 ); } - #Bulding here a hierarchy to display files by level. + #Building here a hierarchy to display files by level. push @{ $hashlevel{$level} }, { "fwkname" => $file[ scalar(@file) - 1 ], "error" => $error }; } @@ -628,7 +628,7 @@ sub load_sql { my $filename = $installer->get_file_path_from_name('script_name'); searches through the set of known SQL scripts and finds the fully -qualified path name for the script that mathches the input. +qualified path name for the script that matches the input. returns undef if no match was found. diff --git a/C4/Items.pm b/C4/Items.pm index b131cc24827..7f9f3fccdc2 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -571,7 +571,7 @@ seen. It is ordered by callnumber then title. The required minlocation & maxlocation parameters are used to specify a range of item callnumbers the datelastseen can be used to specify that you want to see items not seen since a past date only. -offset & size can be used to retrieve only a part of the whole listing (defaut behaviour) +offset & size can be used to retrieve only a part of the whole listing (default behaviour) $statushash requires a hashref that has the authorized values fieldname (intems.notforloan, etc...) as keys, and an arrayref of statuscodes we are searching for as values. $iTotalRecords is the number of rows that would have been returned without the $offset, $size limit clause diff --git a/C4/Labels/Label.pm b/C4/Labels/Label.pm index e69ec3633bc..842cfb051a5 100644 --- a/C4/Labels/Label.pm +++ b/C4/Labels/Label.pm @@ -632,7 +632,7 @@ This module provides methods for creating, and otherwise manipulating single lab =head2 new() Invoking the I method constructs a new label object containing the supplied values. Depending on the final output format of the label data - the minimal required parameters change. (See the implimentation of this object type in labels/label-create-pdf.pl and labels/label-create-csv.pl + the minimal required parameters change. (See the implementation of this object type in labels/label-create-pdf.pl and labels/label-create-csv.pl and labels/label-create-xml.pl for examples.) The following parameters are optionally accepted as key => value pairs: C Batch id with which this label is associated @@ -765,7 +765,7 @@ R = Right =head2 create_label() - Invoking the I method generates the text for that label and returns it as an arrayref of an array contianing the formatted text as well as creating the barcode + Invoking the I method generates the text for that label and returns it as an arrayref of an array containing the formatted text as well as creating the barcode and writing it directly to the pdf stream. The handling of the barcode is not quite good OO form due to the linear format of PDF::Reuse::Barcode. Be aware that the instantiating code is responsible to properly format the text for insertion into the pdf stream as well as the actual insertion. diff --git a/C4/Languages.pm b/C4/Languages.pm index 7d86a970dd2..554422c86d5 100644 --- a/C4/Languages.pm +++ b/C4/Languages.pm @@ -423,12 +423,12 @@ sub _build_languages_arrayref { my @ordered_keys = sort { my $aa = ''; my $bb = ''; - my $acount = @{ $language_groups->{$a} }; + my $account = @{ $language_groups->{$a} }; my $bcount = @{ $language_groups->{$b} }; if ( $language_groups->{$a}->[0]->{enabled} ) { $aa = $language_groups->{$a}->[0]->{rfc4646_subtag}; - } elsif ( $acount > 1 ) { - for ( my $i = 1 ; $i < $acount ; $i++ ) { + } elsif ( $account > 1 ) { + for ( my $i = 1 ; $i < $account ; $i++ ) { if ( $language_groups->{$a}->[$i]->{enabled} ) { $aa = $language_groups->{$a}->[$i]->{rfc4646_subtag}; last; @@ -623,7 +623,7 @@ sub accept_language { my @languages = (); if ($clientPreferences) { - # There should be no whitespace anways, but a cleanliness/sanity check + # There should be no whitespace anyway, but a cleanliness/sanity check $clientPreferences =~ s/\s//g; # Prepare the list of client-acceptable languages diff --git a/C4/Letters.pm b/C4/Letters.pm index 7ddb89b5c02..9a4a0ee104c 100644 --- a/C4/Letters.pm +++ b/C4/Letters.pm @@ -80,7 +80,7 @@ C4::Letters - Give functions for Letters management =head1 DESCRIPTION - "Letters" is the tool used in Koha to manage informations sent to the patrons and/or the library. This include some cron jobs like + "Letters" is the tool used in Koha to manage information sent to the patrons and/or the library. This include some cron jobs like late issues, as well as other tasks like sending a mail to users that have subscribed to a "serial issue alert" (= being warned every time a new issue has arrived at the library) Letters are managed through "alerts" sent by Koha on some events. All "alert" related functions are in this module too. @@ -88,7 +88,7 @@ C4::Letters - Give functions for Letters management =head2 GetLetters([$module]) $letters = &GetLetters($module); - returns informations about letters. + returns information about letters. if needed, $module filters for letters given module DEPRECATED - You must use Koha::Notice::Templates instead @@ -236,7 +236,7 @@ sub GetLettersAvailableForALibrary { ); Delete the letter. The mtt parameter is facultative. - If not given, all templates mathing the other parameters will be removed. + If not given, all templates matching the other parameters will be removed. =cut @@ -1597,7 +1597,7 @@ sub _send_message_by_email { } # if initial message address was empty, coming here means that a to address was found and - # queue should be updated; same if to address was overriden by Koha::Email->create + # queue should be updated; same if to address was overridden by Koha::Email->create _update_message_to_address( $message->{'message_id'}, $email->email->header('To') ) if !$message->{to_address} || $message->{to_address} ne $email->email->header('To'); @@ -1975,7 +1975,7 @@ sub _get_tt_params { }, problem_reports => { module => 'Koha::ProblemReports', - singluar => 'problemreport', + singular => 'problemreport', plural => 'problemreports', pk => 'reportid' }, @@ -2040,7 +2040,7 @@ sub _get_tt_params { my $object; if ( @{ $tables->{$table} } == 1 ) { # Param is a single key $object = $module->search( { $pk => $tables->{$table} } )->last(); - } else { # Params are mutliple foreign keys + } else { # Params are multiple foreign keys croak "Multiple foreign keys (table $table) should be passed using an hashref"; } $params->{ $config->{$table}->{singular} } = $object; diff --git a/C4/Log.pm b/C4/Log.pm index 1feb5f4d5c5..b15774e6c94 100644 --- a/C4/Log.pm +++ b/C4/Log.pm @@ -181,7 +181,7 @@ sub logaction { &cronlogaction($infos); Convenience routine to add a record into action_logs table from a cron job. -Logs the path and name of the calling script plus the information privided by param $infos. +Logs the path and name of the calling script plus the information provided by param $infos. =cut diff --git a/C4/Matcher.pm b/C4/Matcher.pm index 0b1e7754de9..1e6d78da82e 100644 --- a/C4/Matcher.pm +++ b/C4/Matcher.pm @@ -487,7 +487,7 @@ parameter identifies the index that will be searched, while $score is the weight that will be added if a match is found. $matchcomponents should be a reference to an array of matchpoint -compoents, each of which should be a hash containing the following +components, each of which should be a hash containing the following keys: tag subfields @@ -524,7 +524,7 @@ sub add_matchpoint { Adds a simple matchpoint rule -- after composing a key based on the source tag and subfields, -normalized per the normalization fuction, search the index. All records retrieved +normalized per the normalization function, search the index. All records retrieved will receive the assigned score. =cut @@ -865,7 +865,7 @@ sub _get_match_keys { # matchpoint includes both 003 and 001), any repeats # of the first component's tag are identified; repeats # of the subsequent components' tags are appended to - # each parallel key dervied from the first component, + # each parallel key derived from the first component, # up to the number of repeats of the first component's tag. # # For example, if the record has one 003 and two 001s, only diff --git a/C4/Members/Messaging.pm b/C4/Members/Messaging.pm index a92801f1089..81e1e2c6c3f 100644 --- a/C4/Members/Messaging.pm +++ b/C4/Members/Messaging.pm @@ -43,7 +43,7 @@ This module lets you modify a patron's messaging preferences. my $preferences = C4::Members::Messaging::GetMessagingPreferences( { categorycode => 'LIBRARY', message_name => 'Item_Due ' } ); -returns: a hashref of messaging preferences for a borrower or patron category for a particlar message_name +returns: a hashref of messaging preferences for a borrower or patron category for a particular message_name Requires either a borrowernumber or a categorycode key, but not both. diff --git a/C4/Record.pm b/C4/Record.pm index ab1bc60bd00..33931358702 100644 --- a/C4/Record.pm +++ b/C4/Record.pm @@ -264,7 +264,7 @@ sub marc2dcxml { my ( $marcxml, $record, $output ); # set the default path for intranet xslts - # differents xslts to process (OAIDC, SRWDC and RDFDC) + # FIXME CODESPELL (differents ==> different, difference) xslts to process (OAIDC, SRWDC and RDFDC) my $xsl = C4::Context->config('intrahtdocs') . '/prog/en/xslt/' diff --git a/C4/Reports/Guided.pm b/C4/Reports/Guided.pm index e1a5fe3a12f..869d95b1b4b 100644 --- a/C4/Reports/Guided.pm +++ b/C4/Reports/Guided.pm @@ -305,7 +305,7 @@ sub _build_query { my @definitions = split( ',', $definition ); my $deftext; foreach my $def (@definitions) { - my $defin = get_from_dictionary( '', $def ); + my $define = get_from_dictionary( '', $def ); $deftext .= " " . $defin->[0]->{'saved_sql'}; } if ( $query =~ /WHERE/i ) { @@ -345,7 +345,7 @@ sub get_criteria { my ( $area, $cgi ) = @_; my $dbh = C4::Context->dbh(); - # have to do someting here to know if its dropdown, free text, date etc + # have to do something here to know if its dropdown, free text, date etc my %criteria = ( CIRC => [ 'statistics.type', 'borrowers.categorycode', 'statistics.branch', @@ -913,7 +913,7 @@ sub get_column_type { =head2 get_distinct_values($column) -Given a column name, return an arrary ref of hashrefs suitable for use as a tmpl_loop +Given a column name, return an array ref of hashrefs suitable for use as a tmpl_loop with the distinct values of the column =cut @@ -1032,7 +1032,7 @@ sub get_results { my %reserved_authorised_values = GetReservedAuthorisedValues(); -Returns a hash containig all reserved words +Returns a hash containing all reserved words =cut diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 432ae461dc5..a6c0a10c6c9 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -59,12 +59,12 @@ C4::Reserves - Koha functions for dealing with reservation. =head1 DESCRIPTION -This modules provides somes functions to deal with reservations. +This modules provides FIXME CODESPELL (somes ==> some, sums) functions to deal with reservations. Reserves are stored in reserves table. The following columns contains important values : - priority >0 : then the reserve is at 1st stage, and not yet affected to any item. - =0 : then the reserve is being dealed + =0 : then the reserve is being dealt - found : NULL : means the patron requested the 1st available, and we haven't chosen the item T(ransit) : the reserve is linked to an item but is in transit to the pickup branch W(aiting) : the reserve is linked to an item, is at the pickup branch, and is waiting on the hold shelf @@ -162,7 +162,7 @@ BEGIN { Adds reserve and generates HOLDPLACED message and HOLDPLACED_PATRON message. -The following tables are available witin the HOLDPLACED message: +The following tables are available within the HOLDPLACED message: branches borrowers @@ -230,7 +230,7 @@ sub AddReserve { my $waitingdate; - # If the reserv had the waiting status, we had the value of the resdate + # If the reserve had the waiting status, we had the value of the resdate if ( $found && $found eq 'W' ) { $waitingdate = $resdate; } @@ -891,9 +891,9 @@ sub CheckReserves { if ( $res->{'found'} && $res->{'found'} eq 'W' ) { return ( "Waiting", $res, \@reserves ); # Found it, it is waiting } elsif ( $res->{'found'} && $res->{'found'} eq 'P' ) { - return ( "Processing", $res, \@reserves ); # Found determinated hold, e. g. the transferred one + return ( "Processing", $res, \@reserves ); # Found determined hold, e. g. the transferred one } elsif ( $res->{'found'} && $res->{'found'} eq 'T' ) { - return ( "Transferred", $res, \@reserves ); # Found determinated hold, e. g. the transferred one + return ( "Transferred", $res, \@reserves ); # Found determined hold, e. g. the transferred one } else { my $patron; my $local_hold_match; @@ -1308,7 +1308,7 @@ Reduce the values of queued list sub ModReserveMinusPriority { my ( $itemnumber, $reserve_id ) = @_; - #first step update the value of the first person on reserv + #first step update the value of the first person on reserve my $dbh = C4::Context->dbh; my $query = " UPDATE reserves @@ -1627,7 +1627,7 @@ sub _FixPriority { } my @priority; - # get whats left + # get what's left my $query = " SELECT reserve_id, borrowernumber, reservedate FROM reserves @@ -1802,7 +1802,7 @@ The letter code for this notice may be found using the following query: This will probably sipmly be 'HOLD', but because it is defined in the database, it is subject to addition or change. -The following tables are availalbe witin the notice: +The following tables are available within the notice: branches borrowers diff --git a/C4/RotatingCollections.pm b/C4/RotatingCollections.pm index 44ebc02e2f9..85fd9646191 100644 --- a/C4/RotatingCollections.pm +++ b/C4/RotatingCollections.pm @@ -2,7 +2,7 @@ package C4::RotatingCollections; # $Id: RotatingCollections.pm,v 0.1 2007/04/20 kylemhall -# This package is inteded to keep track of what library +# This package is intended to keep track of what library # Items of a certain collection should be at. # Copyright 2007 Kyle Hall diff --git a/C4/SIP/ILS.pm b/C4/SIP/ILS.pm index 85219584cf3..9c853dc87de 100644 --- a/C4/SIP/ILS.pm +++ b/C4/SIP/ILS.pm @@ -131,7 +131,7 @@ sub offline_ok { # Checkout(patron_id, item_id, sc_renew): # patron_id & item_id are the identifiers send by the terminal # sc_renew is the renewal policy configured on the terminal -# returns a status opject that can be queried for the various bits +# returns a status object that can be queried for the various bits # of information that the protocol (SIP or NCIP) needs to generate # the response. diff --git a/C4/SIP/SIPServer.pm b/C4/SIP/SIPServer.pm index 8ddb01e20d2..bb9b4bbd5e1 100644 --- a/C4/SIP/SIPServer.pm +++ b/C4/SIP/SIPServer.pm @@ -55,13 +55,13 @@ my %transports = ( # Read configuration # my $config = C4::SIP::Sip::Configuration->new( $ARGV[0] ); -my @parms; +my @FIXME CODESPELL (parms ==> params, prams); # # Ports to bind # foreach my $svc ( keys %{ $config->{listeners} } ) { - push @parms, "port=" . $svc; + push @FIXME CODESPELL (parms ==> params, prams), "port=" . $svc; } # @@ -81,17 +81,17 @@ foreach my $svc ( keys %{ $config->{listeners} } ) { # if ( defined( $config->{'server-params'} ) ) { while ( my ( $key, $val ) = each %{ $config->{'server-params'} } ) { - push @parms, $key . '=' . $val; + push @FIXME CODESPELL (parms ==> params, prams), $key . '=' . $val; } } # Add user and group to prevent warn from Net::Server. -push @parms, 'user=' . $>; -push @parms, 'group=' . $>; +push @FIXME CODESPELL (parms ==> params, prams), 'user=' . $>; +push @FIXME CODESPELL (parms ==> params, prams), 'group=' . $>; # # This is the main event. -__PACKAGE__->run(@parms); +__PACKAGE__->run(@FIXME CODESPELL (parms ==> params, prams)); # # Server diff --git a/C4/SMS.pm b/C4/SMS.pm index 54ecf530401..8c2a6ae4c4e 100644 --- a/C4/SMS.pm +++ b/C4/SMS.pm @@ -64,7 +64,7 @@ use File::Spec; =cut -# The previous implmentation used username and password. +# The previous implementation used username and password. # our $user = C4::Context->config('smsuser'); # our $pwd = C4::Context->config('smspass'); diff --git a/C4/Scheduler.pm b/C4/Scheduler.pm index 7c70c7ebb0f..dfae1b8a465 100644 --- a/C4/Scheduler.pm +++ b/C4/Scheduler.pm @@ -108,7 +108,7 @@ sub add_at_job { # not check all error conditions - in particular, it does # not check the return value of the "at" run; it basically # complains only if it can't find at. - # 3. Similary, Schedule::At::add() does not do something more useful, + # 3. Similarly, Schedule::At::add() does not do something more useful, # such as returning the job ID. To be fair, it is possible # that 'at' does not allow this in any portable way. # 4. Although unlikely, it is possible that a job could be added diff --git a/C4/Search.pm b/C4/Search.pm index 13f35813689..08903e7fc57 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -191,7 +191,7 @@ for my $r ( @{$marcresults} ) { my $marcrecord = MARC::File::USMARC::decode($r); my $biblio = TransformMarcToKoha({ record => $marcrecord }); - #build the iarray of hashs for the template. + #build the iarray of hashes for the template. push @results, { title => $biblio->{'title'}, subtitle => $biblio->{'subtitle'}, @@ -307,7 +307,7 @@ sub getRecords { my @results; my $results_hashref = (); - # TODO simplify this structure ( { branchcode => $branchname } is enought) and remove this parameter + # TODO simplify this structure ( { branchcode => $branchname } is enough) and remove this parameter $branches ||= { map { $_->branchcode => { branchname => $_->branchname } } Koha::Libraries->search->as_list }; # Initialize variables for the faceted results objects diff --git a/C4/Serials.pm b/C4/Serials.pm index 39853a878bb..d9bb117db10 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -1719,7 +1719,7 @@ sub NewIssue { 1 or 0 = HasSubscriptionStrictlyExpired($subscriptionid) -the subscription has stricly expired when today > the end subscription date +the subscription has strictly expired when today > the end subscription date return : 1 if true, 0 if false, -1 if the expiration date is not set. @@ -1744,7 +1744,7 @@ sub HasSubscriptionStrictlyExpired { # Getting today's date my ( $nowyear, $nowmonth, $nowday ) = Today(); - # if today's date > expiration date, then the subscription has stricly expired + # if today's date > expiration date, then the subscription has strictly expired if ( Delta_Days( $nowyear, $nowmonth, $nowday, $endyear, $endmonth, $endday ) < 0 ) { return 1; } else { @@ -2486,7 +2486,7 @@ this function it takes the publisheddate and will return the next issue's date and will skip dates if there exists an irregularity. $publisheddate has to be an ISO date $subscription is a hashref containing at least 'firstacquidate', 'irregularity', and 'countissuesperunit' -$frequency is a hashref containing frequency informations +$frequency is a hashref containing frequency information $updatecount is a boolean value which, when set to true, update the 'countissuesperunit' in database - eg if periodicity is monthly and $publisheddate is 2007-02-10 but if March and April is to be skipped then the returned date will be 2007-05-10 diff --git a/C4/Suggestions.pm b/C4/Suggestions.pm index e563b9d99fd..a07c30131a2 100644 --- a/C4/Suggestions.pm +++ b/C4/Suggestions.pm @@ -122,10 +122,10 @@ sub GetSuggestionFromBiblionumber { =head2 GetSuggestionInfoFromBiblionumber -Get a suggestion and borrower's informations from it's biblionumber. +Get a suggestion and borrower's information from it's biblionumber. return : -all informations (suggestion and borrower) of the suggestion which is related to the biblionumber given. +all information (suggestion and borrower) of the suggestion which is related to the biblionumber given. =cut @@ -149,10 +149,10 @@ sub GetSuggestionInfoFromBiblionumber { =head2 GetSuggestionInfo -Get a suggestion and borrower's informations from it's suggestionid +Get a suggestion and borrower's information from it's suggestionid return : -all informations (suggestion and borrower) of the suggestion which is related to the suggestionid given. +all information (suggestion and borrower) of the suggestion which is related to the suggestionid given. =cut diff --git a/C4/TTParser.pm b/C4/TTParser.pm index 9d8900f1446..2743419031c 100644 --- a/C4/TTParser.pm +++ b/C4/TTParser.pm @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License # along with Koha; if not, see . -#simple parser for HTML with Template Toolkit directives. Tokens are put into @tokens and are accesible via next_token and peep_token +#simple parser for HTML with Template Toolkit directives. Tokens are put into @tokens and are accessible via next_token and peep_token package C4::TTParser; use base qw(HTML::Parser); use C4::TmplToken; diff --git a/C4/UsageStats.pm b/C4/UsageStats.pm index 226ec900ec5..4022741ac0f 100644 --- a/C4/UsageStats.pm +++ b/C4/UsageStats.pm @@ -32,8 +32,8 @@ C4::UsageStats =head1 DESCRIPTION This package contains what is needed to report Koha statistics to hea -hea.koha-community.org is the server that centralize Koha setups informations -Koha libraries are encouraged to provide informations about their collections, +hea.koha-community.org is the server that centralize Koha setups information +Koha libraries are encouraged to provide information about their collections, their structure,... =cut @@ -85,7 +85,7 @@ sub BuildReport { ReportToCommunity; -Send to hea.koha-community.org database informations +Send to hea.koha-community.org database information =cut diff --git a/Koha/Biblio.pm b/Koha/Biblio.pm index e3971b1cb55..c0b61daa7db 100644 --- a/Koha/Biblio.pm +++ b/Koha/Biblio.pm @@ -520,7 +520,7 @@ sub pickup_locations { my $bool = $biblio->hidden_in_opac({ [ rules => $rules ] }) -Returns true if the biblio matches the hidding criteria defined in $rules. +Returns true if the biblio matches the FIXME CODESPELL (hidding ==> hiding, hidden) criteria defined in $rules. Returns false otherwise. It involves the I and I system preferences. @@ -1261,7 +1261,7 @@ sub get_coins { [ 'rft.issn', $issn ], ); - # If it's a subscription, these informations have no meaning. + # If it's a subscription, these information have no meaning. if ( $genre ne 'journal' ) { push @params, ( [ 'rft.aulast', $aulast ], @@ -1332,7 +1332,7 @@ sub is_serial { my $image_url = $biblio->custom_cover_image_url Return the specific url of the cover image for this bibliographic record. -It is built regaring the value of the system preference CustomCoverImagesURL +It is built regarding the value of the system preference CustomCoverImagesURL =cut diff --git a/Koha/Cash/Register/Cashup.pm b/Koha/Cash/Register/Cashup.pm index b9b0e07afe5..fa534286166 100644 --- a/Koha/Cash/Register/Cashup.pm +++ b/Koha/Cash/Register/Cashup.pm @@ -189,7 +189,7 @@ sub summary { =head3 to_api_mapping -This method returns the mapping for representing a Koha::Cash::Regiser::Cashup object +This method returns the mapping for representing a Koha::Cash::Register::Cashup object on the API. =cut diff --git a/Koha/ClassSplitRule.pm b/Koha/ClassSplitRule.pm index 451bd8af57c..54abd51ddbe 100644 --- a/Koha/ClassSplitRule.pm +++ b/Koha/ClassSplitRule.pm @@ -25,7 +25,7 @@ use base qw(Koha::Object); =head1 NAME -Koha::ClassSplitRule Koha Classfication Spliting Rule Object class +Koha::ClassSplitRule Koha Classfication Splitting Rule Object class =head1 API diff --git a/Koha/Club/Template/EnrollmentFields.pm b/Koha/Club/Template/EnrollmentFields.pm index 506a209adb4..f458ae259ec 100644 --- a/Koha/Club/Template/EnrollmentFields.pm +++ b/Koha/Club/Template/EnrollmentFields.pm @@ -29,7 +29,7 @@ use base qw(Koha::Objects); Koha::Club::Template::EnrollemntFields -Represents a colleciton of club fields that are only set at the time a patron is enrolled +Represents a collection of club fields that are only set at the time a patron is enrolled =head1 API diff --git a/Koha/EDI.pm b/Koha/EDI.pm index 9cf50bd70d1..6b485bf864c 100644 --- a/Koha/EDI.pm +++ b/Koha/EDI.pm @@ -1197,7 +1197,7 @@ sub _get_budget { } ); - # db does not ensure budget code is unque + # db does not ensure budget code is unique return $schema->resultset('Aqbudget')->single( { budget_code => $budget_code, @@ -1340,7 +1340,7 @@ Koha::EDI passed a message object for an invoice, add the contained invoices and update the orderlines referred to in the invoice - As an Edifact invoice is in effect a despatch note this receipts the + As an Edifact invoice is in effect a dispatch note this receipts the appropriate quantities in the orders no meaningful return value @@ -1409,7 +1409,7 @@ Koha::EDI classmark = title_level_class(edi_item) - Trys to return a title level classmark from a quote message line + Tries to return a title level classmark from a quote message line Will return a dewey or lcc classmark if one exists according to the value in DefaultClassificationSource syspref diff --git a/Koha/Edifact.pm b/Koha/Edifact.pm index d472201c467..d4b8e5b3ef1 100644 --- a/Koha/Edifact.pm +++ b/Koha/Edifact.pm @@ -280,7 +280,7 @@ Edifact - Edifact message handler =head2 get_transmission - This method is useful in debugg:ing. Call on an Edifact object + This method is useful in debug:ing. Call on an Edifact object it returns the object's transmission member =head2 message_type diff --git a/Koha/Edifact/Line.pm b/Koha/Edifact/Line.pm index 571b9e67b75..cc34ad6eae2 100644 --- a/Koha/Edifact/Line.pm +++ b/Koha/Edifact/Line.pm @@ -438,7 +438,7 @@ sub coded_substitute_text { } # This will take a standard code as returned -# by (orderline|substitue)-free_text (FTX seg LIN) +# by (orderline|substitute)-free_text (FTX seg LIN) # and expand it using EditEUR code list 8B sub translate_8B { @@ -778,7 +778,7 @@ sub pri_price { return; } -# unit price that will be chaged excl tax +# unit price that will be FIXME CODESPELL (chaged ==> changed, charged) excl tax sub price_net { my $self = shift; diff --git a/Koha/Edifact/Order.pm b/Koha/Edifact/Order.pm index d21de7cc690..8df91a6132d 100644 --- a/Koha/Edifact/Order.pm +++ b/Koha/Edifact/Order.pm @@ -226,7 +226,7 @@ sub message_reference { my ( $self, $function ) = @_; if ( $function eq 'new' || !$self->{message_reference_no} ) { - # unique 14 char mesage ref + # unique 14 char message ref $self->{message_reference_no} = sprintf 'ME%012d', int rand($NINES_12); } return $self->{message_reference_no}; @@ -776,7 +776,7 @@ Make handling of GIR segments more customizable pass the string 'new'. In practice we encode 1 message per transmission so there is only one message referenced. were we to encode multiple messages a new reference would be - neaded for each + FIXME CODESPELL (neaded ==> needed, kneaded, headed) for each =head2 message_header @@ -784,7 +784,7 @@ Make handling of GIR segments more customizable =head2 interchange_trailer - returns the UNZ segment which ends the tranmission encoding the + returns the UNZ segment which ends the transmission encoding the message count and control reference for the interchange =head2 order_msg_header @@ -801,7 +801,7 @@ Make handling of GIR segments more customizable Id Agency - Returns a NAD segment containg the id and agency for for the Function + Returns a NAD segment containing the id and agency for for the Function value. Handles the fact that NAD segments encode the value for 'EAN' differently to elsewhere. @@ -854,7 +854,7 @@ Make handling of GIR segments more customizable =head2 _interchange_sr_identifier - Format sender and receipient identifiers for use in the interchange header + Format sender and recipient identifiers for use in the interchange header =head2 encode_text diff --git a/Koha/Filter/MARC/ViewPolicy.pm b/Koha/Filter/MARC/ViewPolicy.pm index 389046497e5..f53a8e2c2d7 100644 --- a/Koha/Filter/MARC/ViewPolicy.pm +++ b/Koha/Filter/MARC/ViewPolicy.pm @@ -232,7 +232,7 @@ nothing is passed. Valid values include 'opac' or 'intranet'. =cut sub should_hide_marc { - my ( $self, $parms ) = @_; + my ( $self, $FIXME CODESPELL (parms ==> params, prams) ) = @_; my $frameworkcode = $parms->{frameworkcode} // q{}; my $interface = $parms->{interface} // 'opac'; my $hide = _should_hide_on_interface(); diff --git a/Koha/FrameworkPlugin.pm b/Koha/FrameworkPlugin.pm index ba1521211a5..d3876c606de 100644 --- a/Koha/FrameworkPlugin.pm +++ b/Koha/FrameworkPlugin.pm @@ -182,7 +182,7 @@ sub build { =head2 launch Launches the popup for this plugin by calling its launcher sub - Old style plugins still expect to receive a CGI oject, new style + Old style plugins still expect to receive a CGI object, new style plugins expect a params hashref. Returns undef on failure, otherwise launcher return value (if any). diff --git a/Koha/ILL/Backend.pm b/Koha/ILL/Backend.pm index a8fa635b8be..4c3df260a17 100644 --- a/Koha/ILL/Backend.pm +++ b/Koha/ILL/Backend.pm @@ -54,7 +54,7 @@ sub existing_statuses { # We need the 'status' field for obvious reasons, the 'backend' field is required to not # throw 'Koha::Exceptions::Ill::InvalidBackendId' when we're converting to a Koha object. # Finally, to get around 'ONLY_FULL_GROUP_BY', we have to be explicit about which - # 'request_id' we want to return, hense the 'MAX' call. + # 'request_id' we want to return, hence the 'MAX' call. my $ill_requests = Koha::ILL::Requests->search( { backend => $backend_id }, { diff --git a/Koha/Item.pm b/Koha/Item.pm index e9501183363..b576a1a92f2 100644 --- a/Koha/Item.pm +++ b/Koha/Item.pm @@ -935,7 +935,7 @@ sub can_article_request { my $bool = $item->hidden_in_opac({ [ rules => $rules ] }) -Returns true if item fields match the hidding criteria defined in $rules. +Returns true if item fields match the FIXME CODESPELL (hidding ==> hiding, hidden) criteria defined in $rules. Returns false otherwise. Takes HASHref that can have the following parameters: diff --git a/Koha/Misc/Files.pm b/Koha/Misc/Files.pm index 673688f4400..2bbd0702af9 100644 --- a/Koha/Misc/Files.pm +++ b/Koha/Misc/Files.pm @@ -52,7 +52,7 @@ from this table. However, this method does accept an arbitrary string as 'tabletag', and an arbitrary integer as 'recordid'. Particular Koha::Misc::Files object can have one or more file records -(actuall file contents + various file metadata) associated with it. +(FIXME CODESPELL (actuall ==> actually, actual) file contents + various file metadata) associated with it. In case of an error (wrong parameter format) it returns undef. @@ -150,7 +150,7 @@ my $file = $mf->GetFile( id => $file_id ); For an individual, specific file ID this method returns a hashref containing all metadata (file_id, table_tag, record_id, file_name, file_type, file_description, file_content, date_uploaded), plus -an actuall contents of a file (in 'file_content'). In typical usage +an FIXME CODESPELL (actuall ==> actually, actual) contents of a file (in 'file_content'). In typical usage scenarios, for a given $mf object, specific file IDs have to be obtained first by GetFilesInfo() call. @@ -218,7 +218,7 @@ sub DelAllFiles { $mf->MergeFileRecIds(@ids_to_be_merged); -This method re-associates all individuall file records associated with +This method re-associates all FIXME CODESPELL (individuall ==> individually, individual) file records associated with some "parent" records IDs (provided in @ids_to_be_merged) with the given single $mf object (which would be treated as a "parent" destination). diff --git a/Koha/OAI/Server/Repository.pm b/Koha/OAI/Server/Repository.pm index 527b44c66a4..0f745e10a6b 100644 --- a/Koha/OAI/Server/Repository.pm +++ b/Koha/OAI/Server/Repository.pm @@ -65,7 +65,7 @@ preferences (OAI-PMH:archiveID and OAI-PMH:MaxCount) and the server returns records in marcxml or dublin core format. Dublin core records are created from koha marcxml records transformed with XSLT. Used XSL file is located in koha- tmpl/intranet-tmpl/prog/en/xslt directory and chosen based on marcflavour, -respecively MARC21slim2OAIDC.xsl for MARC21 and MARC21slim2OAIDC.xsl for +respectively MARC21slim2OAIDC.xsl for MARC21 and MARC21slim2OAIDC.xsl for UNIMARC. In extended mode, it's possible to parameter other format than marcxml or diff --git a/Koha/Patron/Password/Recovery.pm b/Koha/Patron/Password/Recovery.pm index 9de3a67c934..36f577ce398 100644 --- a/Koha/Patron/Password/Recovery.pm +++ b/Koha/Patron/Password/Recovery.pm @@ -52,7 +52,7 @@ use Koha::Patron::Password::Recovery; =head2 ValidateBorrowernumber -$alread = ValidateBorrowernumber( $borrower_number ); +$already = ValidateBorrowernumber( $borrower_number ); Check if the system already start recovery diff --git a/Koha/Patrons/Import.pm b/Koha/Patrons/Import.pm index eb707c9eea8..b2baa90d626 100644 --- a/Koha/Patrons/Import.pm +++ b/Koha/Patrons/Import.pm @@ -768,9 +768,9 @@ sub format_dates { my ( $self, $params ) = @_; foreach my $date_type (qw(dateofbirth dateenrolled dateexpiry date_renewed)) { - my $tempdate = $params->{borrower}->{$date_type} or next(); + my $template = $params->{borrower}->{$date_type} or next(); my $formatted_date = - eval { output_pref( { dt => dt_from_string($tempdate), dateonly => 1, dateformat => 'iso' } ); }; + eval { output_pref( { dt => dt_from_string($template), dateonly => 1, dateformat => 'iso' } ); }; if ($formatted_date) { $params->{borrower}->{$date_type} = $formatted_date; diff --git a/Koha/Plugins/Base.pm b/Koha/Plugins/Base.pm index d5a1844b773..3fed733e643 100644 --- a/Koha/Plugins/Base.pm +++ b/Koha/Plugins/Base.pm @@ -156,7 +156,7 @@ Then name of the plugin method used. For example 'tool' or 'report'. =item B The URL path to the plugin. It can be used in templates in order to localize -ressources like images in html tags, or other templates. +resources like images in html tags, or other templates. =item B @@ -344,7 +344,7 @@ sub _version_compare { push( @v1, 0 ) unless defined( $v1[$i] ); push( @v2, 0 ) unless defined( $v2[$i] ); - # Strip letters before comparing, supresses 'Argument "v1" isn't numeric in int' warning + # Strip letters before comparing, suppresses 'Argument "v1" isn't numeric in int' warning $v1[$i] =~ s/^v//g; $v2[$i] =~ s/^v//g; @@ -359,7 +359,7 @@ sub _version_compare { =head2 is_enabled -Method that returns wether the plugin is enabled or not +Method that returns FIXME CODESPELL (wether ==> weather, whether) the plugin is enabled or not $plugin->enable diff --git a/Koha/REST/Plugin/Exceptions.pm b/Koha/REST/Plugin/Exceptions.pm index 56b89034299..29433b6064f 100644 --- a/Koha/REST/Plugin/Exceptions.pm +++ b/Koha/REST/Plugin/Exceptions.pm @@ -43,7 +43,7 @@ Koha::REST::Plugin::Exceptions } Provides a generic and reusable way to throw unhandled exceptions. This way we -can centralize the behaviour control (e.g. production vs. development environmet) +can centralize the behaviour control (e.g. production vs. development environment) =cut diff --git a/Koha/REST/V1/Static.pm b/Koha/REST/V1/Static.pm index b34e0671a5b..c462a5792f5 100644 --- a/Koha/REST/V1/Static.pm +++ b/Koha/REST/V1/Static.pm @@ -38,14 +38,14 @@ sub get { if ( C4::Context->config("enable_plugins") ) { my $path = $c->req->url->path->leading_slash(1); - return $c->render( status => 400, openapi => { error => 'Endpoint inteded for plugin static files' } ) + return $c->render( status => 400, openapi => { error => 'Endpoint intended for plugin static files' } ) unless "$path" =~ /^\/api\/v1\/contrib/; my $namespace = $path->[3]; my $checkpath = '/api/v1/contrib/' . $namespace . '/static'; - return $c->render( status => 400, openapi => { error => 'Endpoint inteded for plugin static files' } ) + return $c->render( status => 400, openapi => { error => 'Endpoint intended for plugin static files' } ) unless "$path" =~ /\Q$checkpath/; my @plugins = Koha::Plugins->new()->GetPlugins( diff --git a/Koha/RecordProcessor.pm b/Koha/RecordProcessor.pm index 2aa7e4aa9b9..b5caad63932 100644 --- a/Koha/RecordProcessor.pm +++ b/Koha/RecordProcessor.pm @@ -37,7 +37,7 @@ B - apply the filter and return the result. $record may be either a scalar or an arrayref, and the return result will be the same type. -These methods may be overriden: +These methods may be overridden: B - initialize the filter diff --git a/Koha/RecordProcessor/Base.pm b/Koha/RecordProcessor/Base.pm index 1272b9d6c2e..0d4146a088a 100644 --- a/Koha/RecordProcessor/Base.pm +++ b/Koha/RecordProcessor/Base.pm @@ -38,7 +38,7 @@ The following variables must be defined in each filter: our $NAME ='Filter'; our $VERSION = '1.0'; -These methods may be overriden: +These methods may be overridden: B - initialize the filter @@ -87,7 +87,7 @@ sub new { =head2 initialize - $filter->initalize(%params); + $filter->initialize(%params); Initialize a filter using the specified parameters. diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index 5621f628c9d..4c2ef52bfcd 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -184,7 +184,7 @@ the fax number for your patron/borrower's primary address data_type: 'mediumtext' is_nullable: 1 -the secondary email addres for your patron/borrower's primary address +the secondary email address for your patron/borrower's primary addresss =head2 phonepro @@ -368,7 +368,7 @@ comment on the stop of the patron data_type: 'longtext' is_nullable: 1 -used for children and profesionals to include surname or last name of guarantor or organization name +used for children and professionals to include surname or last name of guarantor or organization name =head2 contactfirstname @@ -621,7 +621,7 @@ lang to use to send notices to this patron default_value: 0 is_nullable: 0 -number of failed login attemps +number of failed login attempts =head2 overdrive_auth_token diff --git a/Koha/Schema/Result/ClubHold.pm b/Koha/Schema/Result/ClubHold.pm index b00b5aa60f1..02fd5109dbe 100644 --- a/Koha/Schema/Result/ClubHold.pm +++ b/Koha/Schema/Result/ClubHold.pm @@ -51,7 +51,7 @@ id for the bibliographic record the hold has been placed against is_foreign_key: 1 is_nullable: 1 -If item-level, the id for the item the hold has been placed agains +If item-level, the id for the item the hold has been placed FIXME CODESPELL (agains ==> against, again) =head2 date_created diff --git a/Koha/Schema/Result/Deletedbiblio.pm b/Koha/Schema/Result/Deletedbiblio.pm index 7ab33b518bc..9295b583ebe 100644 --- a/Koha/Schema/Result/Deletedbiblio.pm +++ b/Koha/Schema/Result/Deletedbiblio.pm @@ -38,7 +38,7 @@ unique identifier assigned to each bibliographic record is_nullable: 0 size: 4 -foriegn key from the biblio_framework table to identify which framework was used in cataloging this record +foreign key from the biblio_framework table to identify which framework was used in cataloging this record =head2 author diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index da7ebe21653..398805d6846 100644 --- a/Koha/Schema/Result/Deletedborrower.pm +++ b/Koha/Schema/Result/Deletedborrower.pm @@ -184,7 +184,7 @@ the fax number for your patron/borrower's primary address data_type: 'mediumtext' is_nullable: 1 -the secondary email addres for your patron/borrower's primary address +the secondary email address for your patron/borrower's primary addresss =head2 phonepro @@ -366,7 +366,7 @@ comment on the stop of patron data_type: 'longtext' is_nullable: 1 -used for children and profesionals to include surname or last name of guarantor or organization name +used for children and professionals to include surname or last name of guarantor or organization name =head2 contactfirstname @@ -618,7 +618,7 @@ lang to use to send notices to this patron default_value: 0 is_nullable: 0 -number of failed login attemps +number of failed login attempts =head2 overdrive_auth_token diff --git a/Koha/Schema/Result/Deleteditem.pm b/Koha/Schema/Result/Deleteditem.pm index efa3827125d..2d73b6b079d 100644 --- a/Koha/Schema/Result/Deleteditem.pm +++ b/Koha/Schema/Result/Deleteditem.pm @@ -383,7 +383,7 @@ inventory number (MARC21 952$i) is_nullable: 1 size: 32 -'new' value, you can put whatever free-text information. This field is intented to be managed by the automatic_item_modification_by_age cronjob. +'new' value, you can put whatever free-text information. This field is FIXME CODESPELL (intented ==> intended, indented) to be managed by the automatic_item_modification_by_age cronjob. =head2 exclude_from_local_holds_priority diff --git a/Koha/Schema/Result/HouseboundProfile.pm b/Koha/Schema/Result/HouseboundProfile.pm index 016ff30db31..ae528982ae8 100644 --- a/Koha/Schema/Result/HouseboundProfile.pm +++ b/Koha/Schema/Result/HouseboundProfile.pm @@ -43,7 +43,7 @@ The preferred day of the week for delivery. data_type: 'mediumtext' is_nullable: 0 -The Authorised_Value definining the pattern for delivery. +The Authorised_Value defining the pattern for delivery. =head2 fav_itemtypes diff --git a/Koha/Schema/Result/Item.pm b/Koha/Schema/Result/Item.pm index f01490260e1..eef952b7ce9 100644 --- a/Koha/Schema/Result/Item.pm +++ b/Koha/Schema/Result/Item.pm @@ -387,7 +387,7 @@ inventory number (MARC21 952$i) is_nullable: 1 size: 32 -'new' value, you can put whatever free-text information. This field is intented to be managed by the automatic_item_modification_by_age cronjob. +'new' value, you can put whatever free-text information. This field is FIXME CODESPELL (intented ==> intended, indented) to be managed by the automatic_item_modification_by_age cronjob. =head2 exclude_from_local_holds_priority diff --git a/Koha/Schema/Result/LibraryGroup.pm b/Koha/Schema/Result/LibraryGroup.pm index 8c4167477f4..316064e8c09 100644 --- a/Koha/Schema/Result/LibraryGroup.pm +++ b/Koha/Schema/Result/LibraryGroup.pm @@ -54,7 +54,7 @@ The branchcode of a branch belonging to the parent group is_nullable: 1 size: 100 -Short description of the goup +Short description of the group =head2 description diff --git a/Koha/Schema/Result/Stockrotationstage.pm b/Koha/Schema/Result/Stockrotationstage.pm index be4273f8071..d6c9782cc18 100644 --- a/Koha/Schema/Result/Stockrotationstage.pm +++ b/Koha/Schema/Result/Stockrotationstage.pm @@ -61,7 +61,7 @@ Branch this stage relates to default_value: 4 is_nullable: 0 -The number of days items shoud occupy this stage +The number of days items should occupy this stage =cut diff --git a/Koha/Schema/Result/Virtualshelfshare.pm b/Koha/Schema/Result/Virtualshelfshare.pm index 4c1be76d2ab..599456d4380 100644 --- a/Koha/Schema/Result/Virtualshelfshare.pm +++ b/Koha/Schema/Result/Virtualshelfshare.pm @@ -53,7 +53,7 @@ borrower that accepted access to this list is_nullable: 1 size: 10 -temporary string used in accepting the invitation to access thist list; not-empty means that the invitation has not been accepted yet +temporary string used in accepting the invitation to access this list; not-empty means that the invitation has not been accepted yet =head2 sharedate diff --git a/Koha/SearchEngine/Elasticsearch.pm b/Koha/SearchEngine/Elasticsearch.pm index fc4f8b6683e..1a62a6e4ce2 100644 --- a/Koha/SearchEngine/Elasticsearch.pm +++ b/Koha/SearchEngine/Elasticsearch.pm @@ -1209,7 +1209,7 @@ each call to C->field) we create an optimized structure of mapping rules keyed by MARC field tags holding all the mapping rules for that particular tag. We can then iterate through all MARC fields for each record and apply all relevant -rules once per fields instead of retreiving fields multiple times for each mapping rule +rules once per fields instead of retrieving fields multiple times for each mapping rule which is terribly slow. =cut diff --git a/Koha/SearchEngine/Elasticsearch/Indexer.pm b/Koha/SearchEngine/Elasticsearch/Indexer.pm index 4488db1d48b..f5c42deca1b 100644 --- a/Koha/SearchEngine/Elasticsearch/Indexer.pm +++ b/Koha/SearchEngine/Elasticsearch/Indexer.pm @@ -255,7 +255,7 @@ sub index_status { Generate Elasticsearch mappings from mappings stored in database and perform a request to update Elasticsearch index mappings. Will throw an error and set index status to C if update -failes. +fails. =cut diff --git a/Koha/SuggestionEngine.pm b/Koha/SuggestionEngine.pm index 9431889b29f..c54a63e6439 100644 --- a/Koha/SuggestionEngine.pm +++ b/Koha/SuggestionEngine.pm @@ -36,7 +36,7 @@ namespace, and provide the following methods: B - get suggestions from the plugin for the specified search. -These methods may be overriden: +These methods may be overridden: B - initialize the plugin diff --git a/Koha/SuggestionEngine/Base.pm b/Koha/SuggestionEngine/Base.pm index 8f5d9926ea1..f87f00b77a3 100644 --- a/Koha/SuggestionEngine/Base.pm +++ b/Koha/SuggestionEngine/Base.pm @@ -38,7 +38,7 @@ B - return a string with the name of the plugin. B - return a string with the version of the plugin. -These methods may be overriden: +These methods may be overridden: B - initialize the plugin @@ -81,7 +81,7 @@ sub new { =head2 initialize - $plugin->initalize(%params); + $plugin->initialize(%params); Initialize a filter using the specified parameters. diff --git a/Koha/Template/Plugin/Asset.pm b/Koha/Template/Plugin/Asset.pm index 6adf5d1f503..230582c7c21 100644 --- a/Koha/Template/Plugin/Asset.pm +++ b/Koha/Template/Plugin/Asset.pm @@ -25,7 +25,7 @@ Koha::Template::Plugin::Asset The Asset plugin is a helper that generates HTML tags for JS and CSS files -=head1 SYNOPSYS +=head1 SYNOPSIS [% USE Asset %] diff --git a/Koha/Template/Plugin/TablesSettings.pm b/Koha/Template/Plugin/TablesSettings.pm index 3cf0222ea3c..8f8bf01abfb 100644 --- a/Koha/Template/Plugin/TablesSettings.pm +++ b/Koha/Template/Plugin/TablesSettings.pm @@ -21,7 +21,7 @@ package Koha::Template::Plugin::TablesSettings; Koha::Template::Plugin::TablesSettings -=head2 SYNOPSYS +=head2 SYNOPSIS [% USE TablesSettings %] diff --git a/Koha/pdfformat/layout2pages.pm b/Koha/pdfformat/layout2pages.pm index 0e869a0f360..ef790ecfc4f 100644 --- a/Koha/pdfformat/layout2pages.pm +++ b/Koha/pdfformat/layout2pages.pm @@ -36,8 +36,8 @@ BEGIN { @EXPORT = qw(printpdf); } -#be careful, all the sizes (height, width, etc...) are in mm, not PostScript points (the default measurment of PDF::API2). -#The constants exported transform that into PostScript points (/mm for milimeter, /in for inch, pt is postscript point, and as so is there only to show what is happening. +#be careful, all the sizes (height, width, etc...) are in mm, not PostScript points (the default measurement of PDF::API2). +#The constants exported transform that into PostScript points (/mm for millimeter, /in for inch, pt is postscript point, and as so is there only to show what is happening. use constant mm => 25.4 / 72; use constant in => 1 / 72; use constant pt => 1; diff --git a/Koha/pdfformat/layout2pagesde.pm b/Koha/pdfformat/layout2pagesde.pm index 66fd1db5b6e..3368446dd11 100644 --- a/Koha/pdfformat/layout2pagesde.pm +++ b/Koha/pdfformat/layout2pagesde.pm @@ -36,8 +36,8 @@ BEGIN { @EXPORT_OK = qw(printpdf); } -#be careful, all the sizes (height, width, etc...) are in mm, not PostScript points (the default measurment of PDF::API2). -#The constants exported transform that into PostScript points (/mm for milimeter, /in for inch, pt is postscript point, and as so is there only to show what is happening. +#be careful, all the sizes (height, width, etc...) are in mm, not PostScript points (the default measurement of PDF::API2). +#The constants exported transform that into PostScript points (/mm for millimeter, /in for inch, pt is postscript point, and as so is there only to show what is happening. use constant mm => 25.4 / 72; use constant in => 1 / 72; use constant pt => 1; diff --git a/Koha/pdfformat/layout3pages.pm b/Koha/pdfformat/layout3pages.pm index f90bd45e291..4721d1a4df2 100644 --- a/Koha/pdfformat/layout3pages.pm +++ b/Koha/pdfformat/layout3pages.pm @@ -38,8 +38,8 @@ BEGIN { @EXPORT = qw(printpdf); } -#be careful, all the sizes (height, width, etc...) are in mm, not PostScript points (the default measurment of PDF::API2). -#The constants exported transform that into PostScript points (/mm for milimeter, /in for inch, pt is postscript point, and as so is there only to show what is happening. +#be careful, all the sizes (height, width, etc...) are in mm, not PostScript points (the default measurement of PDF::API2). +#The constants exported transform that into PostScript points (/mm for millimeter, /in for inch, pt is postscript point, and as so is there only to show what is happening. use constant mm => 25.4 / 72; use constant in => 1 / 72; use constant pt => 1; diff --git a/Koha/pdfformat/layout3pagesfr.pm b/Koha/pdfformat/layout3pagesfr.pm index f95d518a011..cd6652ce159 100644 --- a/Koha/pdfformat/layout3pagesfr.pm +++ b/Koha/pdfformat/layout3pagesfr.pm @@ -39,8 +39,8 @@ BEGIN { @EXPORT = qw(printpdf); } -#be careful, all the sizes (height, width, etc...) are in mm, not PostScript points (the default measurment of PDF::API2). -#The constants exported transform that into PostScript points (/mm for milimeter, /in for inch, pt is postscript point, and as so is there only to show what is happening. +#be careful, all the sizes (height, width, etc...) are in mm, not PostScript points (the default measurement of PDF::API2). +#The constants exported transform that into PostScript points (/mm for millimeter, /in for inch, pt is postscript point, and as so is there only to show what is happening. use constant mm => 25.4 / 72; use constant in => 1 / 72; use constant pt => 1; diff --git a/Makefile.PL b/Makefile.PL index f5e0525d443..99d242638cd 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -450,7 +450,7 @@ Name of DBMS user account for Koha's database. =item DB_PASS -Pasword of DMBS user account for Koha's database. +Password of DMBS user account for Koha's database. =item ZEBRA_MARC_FORMAT diff --git a/acqui/basket.pl b/acqui/basket.pl index ab194704835..791acd32504 100755 --- a/acqui/basket.pl +++ b/acqui/basket.pl @@ -50,7 +50,7 @@ basket.pl =head1 DESCRIPTION - This script display all informations about basket for the supplier given + This script display all information about basket for the supplier given on input arg. Moreover, it allows us to add a new order for this supplier from an existing record, a suggestion or a new record. diff --git a/acqui/basketgroup.pl b/acqui/basketgroup.pl index 30550337973..2a3d55b6f15 100755 --- a/acqui/basketgroup.pl +++ b/acqui/basketgroup.pl @@ -281,7 +281,7 @@ if ( $op eq "add_form" ) { selectedbaskets => $selecteds ); - # Get general informations about the basket group to prefill the form + # Get general information about the basket group to prefill the form my $basketgroup = GetBasketgroup($basketgroupid); $template->param( name => $basketgroup->{name}, diff --git a/acqui/booksellers.pl b/acqui/booksellers.pl index fed8060a726..999489253b5 100755 --- a/acqui/booksellers.pl +++ b/acqui/booksellers.pl @@ -28,7 +28,7 @@ booksellers.pl =head1 DESCRIPTION this script displays the list of suppliers & baskets like C<$supplier> given on input arg. -thus, this page brings differents features like to display supplier's details, +thus, this page brings FIXME CODESPELL (differents ==> different, difference) features like to display supplier's details, to add an order for a specific supplier or to just add a new supplier. =head1 CGI PARAMETERS diff --git a/acqui/check_budget_total.pl b/acqui/check_budget_total.pl index 81583c0e4be..20aabbe4459 100755 --- a/acqui/check_budget_total.pl +++ b/acqui/check_budget_total.pl @@ -26,7 +26,7 @@ use C4::Budgets qw( GetBudget ); =head1 DESCRIPTION -fetches the budget amount fron the DB +fetches the budget amount FIXME CODESPELL (fron ==> from, front) the DB =cut diff --git a/acqui/invoice.pl b/acqui/invoice.pl index 29216d5a226..d38a83d217b 100755 --- a/acqui/invoice.pl +++ b/acqui/invoice.pl @@ -345,7 +345,7 @@ $template->param( defined($invoice_files) && $template->param( files => $invoice_files->GetFilesInfo() ); # FIXME -# Fonction dupplicated from basket.pl +# Function duplicated from basket.pl # Code must to be exported. Where ?? sub get_infos { my $order = shift; diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl index 4228db940f0..b68ace84742 100755 --- a/acqui/neworderempty.pl +++ b/acqui/neworderempty.pl @@ -448,7 +448,7 @@ $template->param( $template->param( existing => $biblionumber, - # basket informations + # basket information basketname => $basket->{'basketname'}, basketnote => $basket->{'note'}, booksellerid => $basket->{'booksellerid'}, diff --git a/acqui/updatesupplier.pl b/acqui/updatesupplier.pl index 556e1bc12d5..1d6e7578b40 100755 --- a/acqui/updatesupplier.pl +++ b/acqui/updatesupplier.pl @@ -32,7 +32,7 @@ a supplier. This script is called from acqui/supplier.pl. =head1 CGI PARAMETERS -All informations regarding this supplier are listed on input parameter. +All information regarding this supplier are listed on input parameter. Here is the list : supplier, id, company, company_postal, physical, company_phone, diff --git a/admin/aqbudgets.pl b/admin/aqbudgets.pl index f6901a352de..83023afa466 100755 --- a/admin/aqbudgets.pl +++ b/admin/aqbudgets.pl @@ -254,7 +254,7 @@ if ( $op eq 'list' ) { my $period_total = 0; my ( $period_alloc_total, $spent_total, $ordered_total, $available_total ) = ( 0, 0, 0, 0 ); - #This Looks WEIRD to me : should budgets be filtered in such a way ppl who donot own it would not see the amount spent on the budget by others ? + #This Looks WEIRD to me : should budgets be filtered in such a way ppl who FIXME CODESPELL (donot ==> do not, donut) own it would not see the amount spent on the budget by others ? my @budgets_to_display; foreach my $budget (@budgets) { diff --git a/admin/check_budget_parent.pl b/admin/check_budget_parent.pl index 4e2edb8ed0e..4ab893673a9 100755 --- a/admin/check_budget_parent.pl +++ b/admin/check_budget_parent.pl @@ -26,7 +26,7 @@ use C4::Budgets qw( CheckBudgetParent GetBudget ); =head1 DESCRIPTION -fetches the budget amount fron the DB, +fetches the budget amount FIXME CODESPELL (fron ==> from, front) the DB, called by aqbudgets.pl and neworderempty.pl =cut diff --git a/admin/check_parent_total.pl b/admin/check_parent_total.pl index 94770eca5cd..e380b74382c 100755 --- a/admin/check_parent_total.pl +++ b/admin/check_parent_total.pl @@ -54,7 +54,7 @@ $period = GetBudgetPeriod($period_id) if $period_id; $parent = GetBudget($parent_id) if defined $parent_id; $budget = GetBudget($budget_id) if defined $budget_id; -# CHECK THE PARENT BUDGET FOR ENOUGHT AMOUNT UNALLOCATED, IF NOT THEN RETURN 1 +# CHECK THE PARENT BUDGET FOR ENOUGH AMOUNT UNALLOCATED, IF NOT THEN RETURN 1 my ( $sub_unalloc, $period_sum, $budget_period_unalloc ); if ($parent) { diff --git a/admin/edi_accounts.pl b/admin/edi_accounts.pl index c5dda416d8e..4e58de294bd 100755 --- a/admin/edi_accounts.pl +++ b/admin/edi_accounts.pl @@ -110,8 +110,8 @@ if ( $op eq 'acct_form' ) { $schema->resultset('VendorEdiAccount')->search( { id => scalar $input->param('id'), } )->delete_all; } - # we do a default dispaly after deletes and saves - # as well as when thats all you want + # we do a default display after deletes and saves + # as well as when that's all you want $template->param( display => 1 ); my @ediaccounts = $schema->resultset('VendorEdiAccount')->search( {}, diff --git a/admin/systempreferences.pl b/admin/systempreferences.pl index eadda9030af..d5fe985a81f 100755 --- a/admin/systempreferences.pl +++ b/admin/systempreferences.pl @@ -422,7 +422,7 @@ sub get_prefs_from_files { return @names; } -# Return an array containg all preferences defined in DB +# Return an array containing all preferences defined in DB sub get_prefs_from_db { my $dbh = C4::Context->dbh; diff --git a/authorities/authorities.pl b/authorities/authorities.pl index 3385a260fa7..e94d8ae5374 100755 --- a/authorities/authorities.pl +++ b/authorities/authorities.pl @@ -437,7 +437,7 @@ sub build_tabs { fixedfield => ( $tag < 10 ) ? (1) : (0), random => CreateKey, ); - if ( $tag >= 10 ) { # no indicator for theses tag + if ( $tag >= 10 ) { # no indicator for FIXME CODESPELL (theses ==> these, thesis) tag $tag_data{indicator1} = format_indicator( $field->indicator(1) ), $tag_data{indicator2} = format_indicator( $field->indicator(2) ),; } diff --git a/catalogue/MARCdetail.pl b/catalogue/MARCdetail.pl index bb599382b08..2f08086341f 100755 --- a/catalogue/MARCdetail.pl +++ b/catalogue/MARCdetail.pl @@ -251,7 +251,7 @@ for ( my $tabloop = 0 ; $tabloop <= 10 ; $tabloop++ ) { # now, build item tab ! # the main difference is that datas are in lines and not in columns : thus, we build the first, then the values... # loop through each tag -# warning : we may have differents number of columns in each row. Thus, we first build a hash, complete it if necessary +# warning : we may have FIXME CODESPELL (differents ==> different, difference) number of columns in each row. Thus, we first build a hash, complete it if necessary # then construct template. my @fields = $record->fields(); my %witness; #---- stores the list of subfields used at least once, with the "meaning" of the code diff --git a/catalogue/search.pl b/catalogue/search.pl index b64f0551b05..a22b9da42c8 100755 --- a/catalogue/search.pl +++ b/catalogue/search.pl @@ -411,7 +411,7 @@ if ( $params->{'limit-yr'} ) { } push @limits, $limit_yr; - #FIXME: Should return a error to the user, incorect date format specified + #FIXME: Should return a error to the user, incorrect date format specified } # convert indexes and operands to corresponding parameter names for the z3950 search diff --git a/catalogue/stockrotation.pl b/catalogue/stockrotation.pl index f9bc43e4903..6321ee091c2 100755 --- a/catalogue/stockrotation.pl +++ b/catalogue/stockrotation.pl @@ -20,7 +20,7 @@ =head1 stockrotation.pl Script to manage item assignments to stock rotation rotas. Including their - assiciated stages + associated stages =cut diff --git a/cataloguing/addbooks.pl b/cataloguing/addbooks.pl index 398192e17aa..b252645a095 100755 --- a/cataloguing/addbooks.pl +++ b/cataloguing/addbooks.pl @@ -83,7 +83,7 @@ if ($query) { } # format output - # SimpleSearch() give the results per page we want, so 0 offet here + # SimpleSearch() give the results per page we want, so 0 FIXME CODESPELL (offet ==> offset, offer) here my $total = @{$marcresults}; my @newresults = searchResults( { 'interface' => 'intranet' }, $query, $total, $results_per_page, 0, 0, $marcresults ); diff --git a/cataloguing/value_builder/callnumber.pl b/cataloguing/value_builder/callnumber.pl index 3f62c82e997..4e0f78b9e38 100755 --- a/cataloguing/value_builder/callnumber.pl +++ b/cataloguing/value_builder/callnumber.pl @@ -31,9 +31,9 @@ use C4::Output qw( output_html_with_http_headers ); Is used for callnumber computation. If the user send an empty string, we return a simple incremented callnumber. -If a prefix is submited, we look for the highest callnumber with this prefix, and return it incremented. +If a prefix is submitted, we look for the highest callnumber with this prefix, and return it incremented. In this case, a callnumber has this form : "PREFIX 0009678570". - - PREFIX is an upercase word + - PREFIX is an uppercase word - a space separator - 10 digits, with leading 0s if needed diff --git a/cataloguing/value_builder/stocknumberAV.pl b/cataloguing/value_builder/stocknumberAV.pl index 7b2852590fb..0a4b5ad11c7 100755 --- a/cataloguing/value_builder/stocknumberAV.pl +++ b/cataloguing/value_builder/stocknumberAV.pl @@ -86,7 +86,7 @@ my $launcher = sub { } ); - # If a prefix is submited, we look for the highest stocknumber with this prefix, and return it incremented + # If a prefix is submitted, we look for the highest stocknumber with this prefix, and return it incremented $code =~ s/ *$//g; if ( $code =~ m/^[a-zA-Z]+$/ ) { my $av = Koha::AuthorisedValues->find( diff --git a/cataloguing/value_builder/stocknumberam123.pl b/cataloguing/value_builder/stocknumberam123.pl index 1629c0b29d0..42366922bd7 100755 --- a/cataloguing/value_builder/stocknumberam123.pl +++ b/cataloguing/value_builder/stocknumberam123.pl @@ -32,9 +32,9 @@ This plugin is specific to AM123 but could be used as a base for similar operati It is used for stocknumber computation. If the user send an empty string, we return a simple incremented stocknumber. -If a prefix is submited, we look for the highest stocknumber with this prefix, and return it incremented. +If a prefix is submitted, we look for the highest stocknumber with this prefix, and return it incremented. In this case, a stocknumber has this form : "PREFIX 0009678570". - - PREFIX is an upercase word + - PREFIX is an uppercase word - a space separator - 10 digits, with leading 0s if needed @@ -87,7 +87,7 @@ my $launcher = sub { ); } - # If a prefix is submited, we look for the highest stocknumber with this prefix, and return it incremented + # If a prefix is submitted, we look for the highest stocknumber with this prefix, and return it incremented } elsif ( $code =~ m/^[a-zA-Z]+$/ ) { my $sth = $dbh->prepare( "SELECT MAX(CAST(SUBSTRING_INDEX(stocknumber,' ',-1) AS SIGNED)) FROM items WHERE stocknumber LIKE ?"); diff --git a/circ/returns.pl b/circ/returns.pl index c9c89593a82..4b46ab29744 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -205,7 +205,7 @@ my $return_date_override = $query->param('return_date_override') || q{}; if ($return_date_override) { if ( C4::Context->preference('SpecifyReturnDate') ) { - # note that we've overriden the return date + # note that we've overridden the return date $template->param( return_date_was_overriden => 1 ); my $return_date_override_remember = $query->param('return_date_override_remember'); @@ -534,7 +534,7 @@ if ( $messages->{'Wrongbranch'} ) { ); } -# case of wrong transfert, if the document wasn't transferred to the right library (according to branchtransfer (tobranch) BDD) +# case of wrong FIXME CODESPELL (transfert ==> transfer, transferred), if the document wasn't transferred to the right library (according to branchtransfer (tobranch) BDD) if ( $messages->{'WrongTransfer'} and not $messages->{'WasTransfered'} ) { diff --git a/circ/set-library.pl b/circ/set-library.pl index d5d6bd0a8e0..c2c98d4d83b 100755 --- a/circ/set-library.pl +++ b/circ/set-library.pl @@ -63,8 +63,8 @@ if ( { if ( !$userenv_branch or $userenv_branch ne $branch ) { my $branchname = $library->branchname; - $session->param( 'branchname', $branchname ); # update sesssion in DB - $session->param( 'branch', $branch ); # update sesssion in DB + $session->param( 'branchname', $branchname ); # update session in DB + $session->param( 'branch', $branch ); # update session in DB $updated = 1; } } else { diff --git a/circ/transferstoreceive.pl b/circ/transferstoreceive.pl index 78b2db67848..f3cd824dadb 100755 --- a/circ/transferstoreceive.pl +++ b/circ/transferstoreceive.pl @@ -103,7 +103,7 @@ while ( my $library = $libraries->next ) { itemcallnumber => $item->itemcallnumber, ); - # we check if we have a reserv for this transfer + # we check if we have a reserve for this transfer my $holds = $item->current_holds; if ( my $first_hold = $holds->next ) { $getransf{patron} = Koha::Patrons->find( $first_hold->borrowernumber ); diff --git a/docs/CAS/CASProxy/examples/proxy_cas_data.pl b/docs/CAS/CASProxy/examples/proxy_cas_data.pl index c680aab2d48..4697edb69e3 100755 --- a/docs/CAS/CASProxy/examples/proxy_cas_data.pl +++ b/docs/CAS/CASProxy/examples/proxy_cas_data.pl @@ -26,7 +26,7 @@ =head2 PGTIOU The Proxy Granting Ticket IOU the CAS Server returned to us when we gave him the Service Ticket -This PGTIOU will allow us to retrive the matching PGTID +This PGTIOU will allow us to retrieve the matching PGTID =cut diff --git a/fix-perl-path.PL b/fix-perl-path.PL index 9a04a689879..839b4390b29 100644 --- a/fix-perl-path.PL +++ b/fix-perl-path.PL @@ -29,7 +29,7 @@ $bindir =~ s!\\!/!g; # make all directory separators uniform since Win32 does my $shebang = "#!$bindir\/perl"; warn "Perl binary located in $bindir on this system.\n" if $DEBUG; -warn "The shebang line for this sytems should be $shebang\n\n" if $DEBUG; +warn "The shebang line for this systems should be $shebang\n\n" if $DEBUG; die if $basedir eq 'test'; diff --git a/installer/data/mysql/db_revs/210600018.pl b/installer/data/mysql/db_revs/210600018.pl index 268068826b9..8668ac49f7a 100755 --- a/installer/data/mysql/db_revs/210600018.pl +++ b/installer/data/mysql/db_revs/210600018.pl @@ -2,7 +2,7 @@ use Modern::Perl; return { bug_number => "22690", - description => "Add contraints to the linktracker table", + description => "Add constraints to the linktracker table", up => sub { my ($args) = @_; my ( $dbh, $out ) = @$args{qw(dbh out)}; diff --git a/installer/data/mysql/db_revs/210600020.pl b/installer/data/mysql/db_revs/210600020.pl index d1bfcfd4f3e..e17d23fd6c3 100755 --- a/installer/data/mysql/db_revs/210600020.pl +++ b/installer/data/mysql/db_revs/210600020.pl @@ -9,7 +9,7 @@ return { $dbh->do( q{ INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES - ('PassItemMarcToXSLT','0',NULL,'If enabled, item fields in the MARC record will be made avaiable to XSLT sheets. Otherwise they will be removed.','YesNo'); + ('PassItemMarcToXSLT','0',NULL,'If enabled, item fields in the MARC record will be made available to XSLT sheets. Otherwise they will be removed.','YesNo'); } ); foreach my $pref ( diff --git a/installer/data/mysql/db_revs/220600059.pl b/installer/data/mysql/db_revs/220600059.pl index d19a20c62fa..8acbdbf8115 100755 --- a/installer/data/mysql/db_revs/220600059.pl +++ b/installer/data/mysql/db_revs/220600059.pl @@ -11,7 +11,7 @@ return { $dbh->do( q{ INSERT IGNORE INTO letter (module, code, name, title, content, message_transport_type) VALUES ('members', 'PASSWORD_CHANGE', 'Notification of password change', 'Library account password change notification', - "Dear [% borrower.firstname %] [% borrower.surname %],\r\n\r\nWe want to notify you that your password has been changed. If you did not change it yourself (or requested that change), please contact library staff.\r\n\r\nYour library.", 'email'); + "Dear [% borrower.firstname %] [% borrower.surname %],\r\n\r\new want to notify you that your password has been changed. If you did not change it yourself (or requested that change), please contact library staff.\r\n\r\nYour library.", 'email'); } ); diff --git a/installer/data/mysql/db_revs/221200003.pl b/installer/data/mysql/db_revs/221200003.pl index c936c46efc4..8256c3884c4 100755 --- a/installer/data/mysql/db_revs/221200003.pl +++ b/installer/data/mysql/db_revs/221200003.pl @@ -9,7 +9,7 @@ return { my $permission_added = $dbh->do( q{ - INSERT IGNORE INTO permissions (module_bit, code, description) VALUES ( 9, 'edit_any_item', 'Edit any item reguardless of home library'); + INSERT IGNORE INTO permissions (module_bit, code, description) VALUES ( 9, 'edit_any_item', 'Edit any item regardless of home library'); } ); diff --git a/installer/data/mysql/db_revs/231200023.pl b/installer/data/mysql/db_revs/231200023.pl index 2d25669e70a..a38bf2b7e56 100755 --- a/installer/data/mysql/db_revs/231200023.pl +++ b/installer/data/mysql/db_revs/231200023.pl @@ -41,6 +41,6 @@ return { $dbh->do( q{ALTER TABLE aqbudgets ADD CONSTRAINT `aqbudgetperiods_ibfk_1` FOREIGN KEY (`budget_period_id`) REFERENCES aqbudgetperiods(`budget_period_id`) ON DELETE CASCADE ON UPDATE CASCADE} ); - say $out "Readded foreign key aqbudgetperiods_ibfk_1"; + say $out "Read foreign key aqbudgetperiods_ibfk_1"; }, }; diff --git a/installer/data/mysql/fix_unclosed_nonaccruing_fines_bug17135.pl b/installer/data/mysql/fix_unclosed_nonaccruing_fines_bug17135.pl index 52d00a57dbe..ef49ed008b5 100755 --- a/installer/data/mysql/fix_unclosed_nonaccruing_fines_bug17135.pl +++ b/installer/data/mysql/fix_unclosed_nonaccruing_fines_bug17135.pl @@ -167,7 +167,7 @@ sub Bug_17135_fix { ## If we are here: item is due again, but fine is not accruing ## yet (overdue may be in the grace period, 1st charging period - ## is not over yet, all days beetwen due date and today are + ## is not over yet, all days between due date and today are ## holidays etc.). Old fine record needs to be closed $is_not_accruing = 1; } diff --git a/installer/data/mysql/labels_upgrade.pl b/installer/data/mysql/labels_upgrade.pl index 573307cd2eb..13fe29ad6c4 100755 --- a/installer/data/mysql/labels_upgrade.pl +++ b/installer/data/mysql/labels_upgrade.pl @@ -189,7 +189,7 @@ $sth->do("DROP TABLE IF EXISTS labels_profile;") or die "DB ERROR: " . $sth->e $sth->do("DROP TABLE IF EXISTS labels_templates;") or die "DB ERROR: " . $sth->errstr . "\n"; $sth->do("DROP TABLE IF EXISTS printers_profile;") or die "DB ERROR: " . $sth->errstr . "\n"; -# Rename temporary tables to permenant names... +# Rename temporary tables to permanent names... $sth->do("ALTER TABLE labels_batches_tmp RENAME TO labels_batches;") or die "DB ERROR: " . $sth->errstr . "\n"; $sth->do("ALTER TABLE labels_layouts_tmp RENAME TO labels_layouts;") or die "DB ERROR: " . $sth->errstr . "\n"; diff --git a/installer/data/mysql/patroncards_upgrade.pl b/installer/data/mysql/patroncards_upgrade.pl index 013b4ea78cf..c5f160fd9cb 100755 --- a/installer/data/mysql/patroncards_upgrade.pl +++ b/installer/data/mysql/patroncards_upgrade.pl @@ -149,7 +149,7 @@ $sth->do("DROP TABLE IF EXISTS labels_batches;") or die "DB ERROR: " . $sth->e $sth->do("DROP TABLE IF EXISTS labels_layouts;") or die "DB ERROR: " . $sth->errstr . "\n"; $sth->do("DROP TABLE IF EXISTS labels_templates;") or die "DB ERROR: " . $sth->errstr . "\n"; -# Rename temporary tables to permenant names... +# Rename temporary tables to permanent names... $sth->do("ALTER TABLE creator_batches_tmp RENAME TO creator_batches;") or die "DB ERROR: " . $sth->errstr . "\n"; $sth->do("ALTER TABLE creator_layouts_tmp RENAME TO creator_layouts;") or die "DB ERROR: " . $sth->errstr . "\n"; diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc index 69a7ae3fb83..8c01af0f492 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc @@ -62,7 +62,7 @@ [% END %] [% IF ms_se %] - + [% ELSE %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/subtype_limits.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/subtype_limits.inc index 01712ec06c7..5990689c3c3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/subtype_limits.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/subtype_limits.inc @@ -197,9 +197,9 @@ [% END %] [% IF (limits.ctype.0 == 'm' ) %] - + [% ELSE %] - + [% END %] [% IF (limits.ctype.0 == 'n' ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt index 79478b30b6b..6810c043ba5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt @@ -272,9 +272,9 @@ [% WRAPPER tab_panel tabname= "perl" bt_active = 1 %] - [% FOREACH tabl IN table %] + [% FOREACH table IN tablee %] - [% FOREACH ro IN tabl.row %] + [% FOREACH ro IN table.row %] [% IF ( ro.require ) %] [% SET th_font_weight = "bold" %] [% ELSE %] @@ -313,7 +313,7 @@ [% END %] [% END # /FOREACH ro %] - [% END # /FOREACH tabl %] + [% END # /FOREACH table %]
Perl modules
[% END # tab=perl %] [% END %] @@ -1246,9 +1246,9 @@ Description - [% FOREACH tabl IN table2 %] + [% FOREACH table IN tablee2 %] - [% FOREACH ro IN tabl.row2 %] + [% FOREACH ro IN table.row2 %] [% ro.date | html %] [% ro.desc | html %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt index 96a0ae9d82b..17bb8a23692 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt @@ -577,7 +577,7 @@ Accounting details
  1. - +
  2. [% IF ( close ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicate_orders.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicate_orders.tt index 9ce4becaa52..37df52cf1e4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicate_orders.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicate_orders.tt @@ -266,7 +266,7 @@ [% END %] - + Cancel diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt index e1f9353b549..e9967da8af3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt @@ -570,7 +570,7 @@ [% END %] [% END %] Required - + [% IF subscription %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt index a14cc5fc2dc..eb2fe59e266 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt @@ -132,7 +132,7 @@ [% outputsubfield = PROCESS outputsubfield subfieldanchor = loo.subfieldcode %] [% WRAPPER tab_panel tabname=outputsubfield %] -
    +
    Basic constraints
      @@ -211,7 +211,7 @@
    -
    +
    Advanced constraints
      diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt index 6f6eef11a8d..a4720ea0194 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt @@ -199,7 +199,7 @@ />
    1. - + - + @@ -133,7 +133,7 @@ > [% END %]
    2. - MARC preview + MARC preview
    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt index 90fe28057ea..974d08a41e5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt @@ -141,7 +141,7 @@ DelinkUnlink [% ELSE %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_linking_section.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_linking_section.tt index 5826e4ca220..647f0cbe5ab 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_linking_section.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_linking_section.tt @@ -84,33 +84,33 @@ Concise description   - [% FOREACH resul IN result %] - [% IF ( resul.title ) %] + [% FOREACH result IN resultt %] + [% IF ( result.title ) %] [% SET td_class = '' %] - [% IF ( resul.even ) %] + [% IF ( result.even ) %] [% td_class = 'hilighted' %] [% END %] - [% IF ( resul.MARC_ON ) %] - [% resul.title | html %] + [% IF ( result.MARC_ON ) %] + [% resultt.title | html %] [% ELSE %] - [% resul.title | html %] + [% resultt.title | html %] [% END %]

    [% resul.author | html %] - [% IF ( resul.publishercode ) %]- [% resul.publishercode | html %][% END %] - [% IF ( resul.place ) %]; [% resul.place | html %][% END %] - [% IF ( resul.pages ) %]- [% resul.pages | html %][% END %] - [% IF ( resul.notes ) %]: [% resul.notes | html %][% END %] - [% IF ( resul.size ) %]; [% resul.size | html %][% END %] + >[% result.author | html %] + [% IF ( resultt.publishercode ) %]- [% resultt.publishercode | html %][% END %] + [% IF ( resultt.place ) %]; [% resultt.place | html %][% END %] + [% IF ( resultt.pages ) %]- [% resultt.pages | html %][% END %] + [% IF ( resultt.notes ) %]: [% resultt.notes | html %][% END %] + [% IF ( resultt.size ) %]; [% resultt.size | html %][% END %]

    - [% IF ( resul.biblionumber ) %] + [% IF ( result.biblionumber ) %] Choose [% ELSE %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_120.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_120.tt index 465c27ffe05..4139b30790b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_120.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_120.tt @@ -715,9 +715,9 @@ [% END %] [% IF ( f9aj ) %] - + [% ELSE %] - + [% END %] [% IF ( f9ak ) %] @@ -950,9 +950,9 @@ [% END %] [% IF ( f10aj ) %] - + [% ELSE %] - + [% END %] [% IF ( f10ak ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c.tt index 38159288f37..cf9629c080b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c.tt @@ -68,15 +68,15 @@ Used Get it! - [% FOREACH resul IN result %] + [% FOREACH result IN resultt %] - [% PROCESS authresult summary=resul.summary authid=resul.authid %] - [% resul.summary.label | html %] - [% resul.used | html %] times + [% PROCESS authresulttt summary=resultt.summary authid=resultt.authid %] + [% result.summary.label | html %] + [% result.used | html %] times - [% IF ( resul.to_report ) %] + [% IF ( result.to_report ) %] - + [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_4XX.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_4XX.tt index ef9b9d969ae..a759bce1e7f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_4XX.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_4XX.tt @@ -89,36 +89,36 @@ Location   - [% FOREACH resul IN result %] - [% IF ( resul.title ) %] + [% FOREACH result IN resultt %] + [% IF ( result.title ) %] [% SET td_class = '' %] - [% IF ( resul.even ) %] + [% IF ( result.even ) %] [% td_class = 'hilighted' %] [% END %] - [% IF ( resul.MARC_ON ) %] - [% resul.title | html %] + [% IF ( result.MARC_ON ) %] + [% resultt.title | html %] [% ELSE %] - [% resul.fulltitle | html %] + [% resultt.fulltitle | html %] [% END %]

    [% resul.author | html %] - [% IF ( resul.publishercode ) %]- [% resul.publishercode | html %][% END %] - [% IF ( resul.place ) %]; [% resul.place | html %][% END %] - [% IF ( resul.pages ) %]- [% resul.pages | html %][% END %] - [% IF ( resul.notes ) %]: [% resul.notes | html %][% END %] - [% IF ( resul.item('size') ) %]; [% resul.item('size') | html %][% END %] + >[% result.author | html %] + [% IF ( resultt.publishercode ) %]- [% resultt.publishercode | html %][% END %] + [% IF ( resultt.place ) %]; [% resultt.place | html %][% END %] + [% IF ( resultt.pages ) %]- [% resultt.pages | html %][% END %] + [% IF ( resultt.notes ) %]: [% resultt.notes | html %][% END %] + [% IF ( resultt.item('size') ) %]; [% resultt.item('size') | html %][% END %]

    - [% resul.totitem | html %] - [% resul.CN | html %] + [% result.totitem | html %] + [% result.CN | html %] - [% IF ( resul.biblionumber ) %] + [% IF ( result.biblionumber ) %] Choose [% ELSE %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index d81f3522f6e..bf951ab17ad 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -81,7 +81,7 @@

    Check out

    - + [% IF ( was_renewed ) %]
    Patron's account has been renewed until [% expiry | $KohaDates %]
    [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt index d656d9eef02..caf73902ec6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt @@ -54,7 +54,7 @@ [% FOREACH reser IN branchesloo.reserv %] + >[% FOREACH reser IN branchesloo.reserve %] [% SET tr_class = '' %] [% IF ( reser.messcompa ) %] [% tr_class = 'problem' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index f94d479da5e..bfb3fa35921 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -284,7 +284,7 @@ [% ELSE %] [% IF step == 4 || step == 5 || step == 6 || step == 2 || step == 1 || step == 7 %] - [%# Only put the card number if we arent showing it in the form later %] + [%# Only put the card number if we aren't showing it in the form later %] [% IF borrower_data.cardnumber %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt index f74c459ed21..98a05310f0d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt @@ -515,7 +515,7 @@ let amount_outstanding = parseFloat( $('#amountoutstanding').attr('value') ); let amount_writeoff = parseFloat( $('#amountwrittenoff').attr('value') ); if ( amount_writeoff > amount_outstanding ) { - alert(_("You are attemping to writeoff more than the value of the fee.")); + alert(_("You are attempting to writeoff more than the value of the fee.")); $('#woindivfine').beenSubmitted = false; } else { prevent_default = 0; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt index 9c8fff43f17..8160aaf7737 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt @@ -82,11 +82,11 @@
    Select one or more images to delete.
    - [% FOREACH TABL IN TABLE %] + [% FOREACH TABLE IN TABLEE %] - [% IF ( TABL.header_fields ) %] + [% IF ( TABLE.header_fields ) %] - [% FOREACH header_field IN TABL.header_fields %] + [% FOREACH header_field IN TABLE.header_fields %] [% SWITCH header_field.field_label -%] [% CASE "ID" %] @@ -101,7 +101,7 @@ [% ELSE %] - [% FOREACH text_field IN TABL.text_fields %] + [% FOREACH text_field IN TABLE.text_fields %] [% IF ( text_field.select_field ) %] - + [% FOREACH loopcel IN loopro.loopcell %] - + @@ -139,7 +139,7 @@ [% INCLUDE 'date-format.inc' %] - + - + @@ -254,7 +254,7 @@ [% IF ( hassort1 ) %] - + @@ -269,7 +269,7 @@ [% END %] [% IF ( hassort2 ) %] - + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt index 55afc39ff05..f18c5de66a7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -2076,7 +2076,7 @@ } }); - // Remove coresponding cells. + // Remove corresponding cells. var kept_results = []; $.each(results, function(index, value) { var line = {}; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt index 180f63cde44..bdcd4b6de3c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt @@ -60,9 +60,9 @@ [% FOREACH loopro IN mainloo.looprow %] - + [% FOREACH loopcel IN loopro.loopcell %] - + [% END %] @@ -92,7 +92,7 @@ - + @@ -105,7 +105,7 @@ [% INCLUDE 'date-format.inc' %] - + - + @@ -170,7 +170,7 @@ - + @@ -182,7 +182,7 @@ [% IF ( hassort1 ) %] - + @@ -197,7 +197,7 @@ [% END %] [% IF ( hassort2 ) %] - + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt index c50da2d860a..ee953c3f76d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -668,7 +668,7 @@
    - + [% IF ( suggestionid ) %] [% IF ( need_confirm ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt index 687a4f6923f..3897dfef959 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt @@ -151,7 +151,7 @@ function fnCSVToArray(strData, strDelimiter) { // This will parse a delimited string into an array of // arrays. The default delimiter is the comma, but this - // can be overriden in the second argument. + // can be overridden in the second argument. // Check to see if the delimiter is defined. If not, // then default to comma. diff --git a/koha-tmpl/intranet-tmpl/prog/js/acq.js b/koha-tmpl/intranet-tmpl/prog/js/acq.js index c69703da4a2..4259edeeaec 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/acq.js +++ b/koha-tmpl/intranet-tmpl/prog/js/acq.js @@ -366,7 +366,7 @@ function checkBudgetParent(budgetId, newBudgetParent) { if (result == "1") { return "- " + __("New budget-parent is beneath budget") + "\n"; // } else if (result == '2') { - // return "- New budget-parent has insufficent funds\n"; + // return "- New budget-parent has insufficient funds\n"; // } else { // return false; } diff --git a/koha-tmpl/intranet-tmpl/prog/js/cataloging.js b/koha-tmpl/intranet-tmpl/prog/js/cataloging.js index 241b6737e05..f35750951a1 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/cataloging.js +++ b/koha-tmpl/intranet-tmpl/prog/js/cataloging.js @@ -579,7 +579,7 @@ function UnCloneField(index) { if ($(original).hasClass("tag")) { // unclone a field, check if there will remain one field var fieldCode = getFieldCode(index); - // tag divs with id begining with original field code + // tag divs with id beginning with original field code var cloneFields = $('.tag[id^="tag_' + fieldCode + '"]'); if (cloneFields.length > 1) { canUnclone = true; @@ -587,7 +587,7 @@ function UnCloneField(index) { } else { // unclone a subfield, check if there will remain one subfield var subfieldCode = getFieldAndSubfieldCode(index); - // subfield divs of same field with id begining with original field and subfield field code + // subfield divs of same field with id beginning with original field and subfield field code var cloneSubfields = $(original) .parent() .children('.subfield_line[id^="subfield' + subfieldCode + '"]'); diff --git a/koha-tmpl/intranet-tmpl/prog/js/datatables.js b/koha-tmpl/intranet-tmpl/prog/js/datatables.js index ec0bb6f0ba1..160c47c4af6 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/datatables.js +++ b/koha-tmpl/intranet-tmpl/prog/js/datatables.js @@ -1282,7 +1282,7 @@ function update_search_description( * allows setting the 'comparison operator' used in searches * Supports `contains`, `starts_with`, `ends_with` and `exact` match * @param {string} [options.columns.*.type Data type the field is stored in so we may impose some additional - * manipulation to search strings. Supported types are currenlty 'date' + * manipulation to search strings. Supported types are currently 'date' * @param {Object} table_settings The arrayref as returned by TableSettings.GetTableSettings function * available from the columns_settings template toolkit include * @param {Boolean} add_filters Add a filters row as the top row of the table diff --git a/koha-tmpl/intranet-tmpl/prog/js/ill-batch-modal.js b/koha-tmpl/intranet-tmpl/prog/js/ill-batch-modal.js index 1bbfc869161..4ebfc08f3f3 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/ill-batch-modal.js +++ b/koha-tmpl/intranet-tmpl/prog/js/ill-batch-modal.js @@ -140,7 +140,7 @@ // The element that potentially holds the ID of the batch // we're working with - var idEl = document.getElementById("ill-batch-details"); + var idle = document.getElementById("ill-batch-details"); var batchId = null; var backend = null; @@ -157,8 +157,8 @@ $("#ill-batch-modal").on("hidden.bs.modal", function () { // Reset our state when we close the modal // TODO: need to also reset progress bar and already processed identifiers - delete idEl.dataset.batchId; - delete idEl.dataset.backend; + delete idle.dataset.batchId; + delete idle.dataset.backend; batchId = null; tableEl.style.display = "none"; tableContent.data = []; @@ -176,8 +176,8 @@ } function init() { - batchId = idEl.dataset.batchId; - backend = idEl.dataset.backend; + batchId = idle.dataset.batchId; + backend = idle.dataset.backend; emptyBatch.backend = backend; progressTotals.data = { total: 0, @@ -714,9 +714,9 @@ var tabIdentifiers = tableContent.data.map(function (tabId) { return tabId.value; }); - var notInTable = deduped.filter(function (ded) { - if (!tabIdentifiers.includes(ded.value)) { - return ded; + var notInTable = deaduped.filter(function (dead) { + if (!tabIdentifiers.includes(dead.value)) { + return dead; } }); if (notInTable.length > 0) { diff --git a/koha-tmpl/intranet-tmpl/prog/js/ill-batch.js b/koha-tmpl/intranet-tmpl/prog/js/ill-batch.js index f9e6b0cc517..7abdfc1728e 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/ill-batch.js +++ b/koha-tmpl/intranet-tmpl/prog/js/ill-batch.js @@ -3,10 +3,10 @@ // If we're working with an existing batch, set the ID so the // modal can access it window.openBatchModal = function (id, backend) { - var idEl = document.getElementById("ill-batch-details"); - idEl.dataset.backend = backend; + var idle = document.getElementById("ill-batch-details"); + idle.dataset.backend = backend; if (id) { - idEl.dataset.batchId = id; + idle.dataset.batchId = id; } $("#ill-batch-modal").modal("show"); }; diff --git a/koha-tmpl/intranet-tmpl/prog/js/localcovers.js b/koha-tmpl/intranet-tmpl/prog/js/localcovers.js index 47ba1fa89e3..73cfe4b6b82 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/localcovers.js +++ b/koha-tmpl/intranet-tmpl/prog/js/localcovers.js @@ -14,7 +14,7 @@ KOHA.LocalCover = { * or *
    * and run a search with all collected isbns to Open Library Book Search. - * The result is asynchronously returned by OpenLibrary and catched by + * The result is asynchronously returned by OpenLibrary and caught by * olCallBack(). */ GetCoverFromBibnumber: function (uselink) { diff --git a/koha-tmpl/intranet-tmpl/prog/js/marc_subfields_structure.js b/koha-tmpl/intranet-tmpl/prog/js/marc_subfields_structure.js index f1b4cf8c5c6..46e761f3dcc 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/marc_subfields_structure.js +++ b/koha-tmpl/intranet-tmpl/prog/js/marc_subfields_structure.js @@ -187,7 +187,7 @@ function populateHiddenCheckboxes(tab) { // read the serialized value var hidden_value = $("#hidden-" + tab).val(); var hidden_protected = $("#hidden-" + tab).attr("data-koha-protected"); - // deafult to false + // default to false var opac_checked = false; var intranet_checked = false; var editor_checked = false; diff --git a/koha-tmpl/intranet-tmpl/prog/js/modals/place_booking.js b/koha-tmpl/intranet-tmpl/prog/js/modals/place_booking.js index 84330c3960b..4109581dbab 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/modals/place_booking.js +++ b/koha-tmpl/intranet-tmpl/prog/js/modals/place_booking.js @@ -139,7 +139,7 @@ $("#placeBookingModal").on("show.bs.modal", function (e) { // Note: For now, we apply the pickup library rules for issuelength, renewalsallowed and renewalperiod. // This effectively makes these circulation rules hard coded to CircControl: ItemHomeLibrary + HomeOrHolding: holdingbranch // Whilst it would be beneficial to make this follow those rules more closely, this would require some significant thinking - // around how to best display this in the calender component for the 'Any item' case. + // around how to best display this in the calendar component for the 'Any item' case. function getCirculationRules() { let rules_url = "/api/v1/circulation_rules"; if (booking_patron && pickup_library_id && booking_itemtype_id) { diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalTitlesFormAdd.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalTitlesFormAdd.vue index 97ac105cefb..9303a85495b 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalTitlesFormAdd.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalTitlesFormAdd.vue @@ -515,7 +515,7 @@ export default { delete title.title_id; delete title.biblio_id; - // Cannot use the map/keepAttrs because of the reserved keywork 'package' + // Cannot use the map/keepAttrs because of the reserved keyword 'package' title.resources.forEach(function (e) { delete e.package; delete e.resource_id; diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/js-date-format.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/js-date-format.inc index d36dbbd6786..703bb2d5491 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/js-date-format.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/js-date-format.inc @@ -31,7 +31,7 @@ }; /* - * A JS equivilent of the KohaDates TT Plugin. Passed an rfc3339 formatted date string, + * A JS equivalent of the KohaDates TT Plugin. Passed an rfc3339 formatted date string, * or JS Date, the function will return a date string formatted as per the koha instance config. * Optionally accepts a dateformat parameter to allow override of the configured output format * as well as a 'withtime' boolean denoting whether to include time or not in the output string. diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/subtypes_unimarc.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/subtypes_unimarc.inc index 427477e8596..93c52185e9f 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/subtypes_unimarc.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/subtypes_unimarc.inc @@ -26,7 +26,7 @@ - + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt index 71f4b91c742..48aeb54d713 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt @@ -454,7 +454,7 @@ - + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt index 8075aaa4236..4ac5f9e52de 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt @@ -76,20 +76,20 @@
    - [% FOREACH resul IN result %] + [% FOREACH result IN resultt %] - - [% UNLESS ( resul.isEDITORS ) %] + + [% UNLESS ( result.isEDITORS ) %] - [% FOREACH tabl IN table2 %] + [% FOREACH table IN tablee2 %] - [% FOREACH ro IN tabl.row2 %] + [% FOREACH ro IN table.row2 %] [% END %] diff --git a/t/mock_templates/intranet-tmpl/prog/fr-CA/modules/about.tt b/t/mock_templates/intranet-tmpl/prog/fr-CA/modules/about.tt index ef18afbe057..330aa318d95 100644 --- a/t/mock_templates/intranet-tmpl/prog/fr-CA/modules/about.tt +++ b/t/mock_templates/intranet-tmpl/prog/fr-CA/modules/about.tt @@ -252,9 +252,9 @@ [% WRAPPER tab_panel tabname= "perl" bt_active = 1 %]
    Image ID
    [% FOREACH loopro IN mainloo.looprow %]
    [% loopro.rowtitle | html %] [% loopro.rowtitle | html %] [% IF ( loopcel.value ) %] @@ -128,7 +128,7 @@
    Placed on
      group by @@ -176,7 +176,7 @@  
    Vendor
    Sort1
    Sort2
    [% loopro.rowtitle | html %] [% loopro.rowtitle | html %] [% IF ( loopcel.value ) %][% loopcel.value | html %][% END %] [% IF ( loopcel.value ) %][% loopcel.value | html %][% END %] [% loopro.totalrow | html %]
    Checkout date
      by @@ -144,7 +144,7 @@
    Patron category
    Library
    Sort1
    Sort2
    - [% IF resul.html %] - [% resul.html | $raw %] + [% IF result.html %] + [% result.html | $raw %] [% ELSE %] - [% PROCESS authresult summary=resul.summary authid=resul.authid %] + [% PROCESS authresulttt summary=resultt.summary authid=resultt.authid %] [% END %] Details [% resul.authtype | html %]Details [% resultt.authtype | html %] - [% IF resul.used > 0 %] - [% resul.used | html %] [% tn('record', 'records', resul.used ) | html %] + [% IF result.used > 0 %] + [% resulttt.used | html %] [% tn('record', 'records', resulttt.used ) | html %] [% ELSE %] 0 records [% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt index b8c9b85aa06..59e57049507 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt @@ -662,7 +662,7 @@ $("#reqspecific_" + id).attr("disabled", "disabled"); $("#reqany_" + id).attr("disabled", "disabled"); } - // expand or collaspe the items block + // expand or collapse the items block toggle_copiesrow(id); }); diff --git a/koha-tmpl/opac-tmpl/bootstrap/js/autofill.js b/koha-tmpl/opac-tmpl/bootstrap/js/autofill.js index 8f679846750..e4d5eda86d4 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/js/autofill.js +++ b/koha-tmpl/opac-tmpl/bootstrap/js/autofill.js @@ -199,7 +199,7 @@ }; /* - * @fields object: Google Books API item propreties map for + * @fields object: Google Books API item properties map for * mapping against a target element. Expected * type: * { @@ -210,7 +210,7 @@ * } * * "target" is optional and if specified alone (i.e no - * handle proprety) autofill will automaticly fill this + * handle property) autofill will automatically fill this * target element with returned data. * * "handle" is optional and will be called when ajax request diff --git a/koha-tmpl/opac-tmpl/bootstrap/js/datatables.js b/koha-tmpl/opac-tmpl/bootstrap/js/datatables.js index fca006ef645..b225598383b 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/js/datatables.js +++ b/koha-tmpl/opac-tmpl/bootstrap/js/datatables.js @@ -275,7 +275,7 @@ function _dt_visibility(table_settings, table_dt) { * allows setting the 'comparison operator' used in searches * Supports `contains`, `starts_with`, `ends_with` and `exact` match * @param {string} [options.columns.*.type Data type the field is stored in so we may impose some additional - * manipulation to search strings. Supported types are currenlty 'date' + * manipulation to search strings. Supported types are currently 'date' * @param {Object} table_settings The arrayref as returned by TableSettings.GetTableSettings function * available from the columns_settings template toolkit include * @return {Object} The dataTables instance diff --git a/koha-tmpl/opac-tmpl/bootstrap/js/google-jackets.js b/koha-tmpl/opac-tmpl/bootstrap/js/google-jackets.js index afd957037c8..921a428b920 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/js/google-jackets.js +++ b/koha-tmpl/opac-tmpl/bootstrap/js/google-jackets.js @@ -13,7 +13,7 @@ KOHA.Google = { * or *
    * and run a search with all collected isbns to Google Book Search. - * The result is asynchronously returned by Google and catched by + * The result is asynchronously returned by Google and caught by * gbsCallBack(). */ GetCoverFromIsbn: function (newWindow) { diff --git a/koha-tmpl/opac-tmpl/bootstrap/js/localcovers.js b/koha-tmpl/opac-tmpl/bootstrap/js/localcovers.js index a743d9f0395..d371e515112 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/js/localcovers.js +++ b/koha-tmpl/opac-tmpl/bootstrap/js/localcovers.js @@ -13,7 +13,7 @@ KOHA.LocalCover = { * or *
    * and run a search with all collected isbns to Open Library Book Search. - * The result is asynchronously returned by OpenLibrary and catched by + * The result is asynchronously returned by OpenLibrary and caught by * olCallBack(). */ GetCoverFromBibnumber: function () { diff --git a/koha-tmpl/opac-tmpl/bootstrap/js/openlibrary.js b/koha-tmpl/opac-tmpl/bootstrap/js/openlibrary.js index 2051bd14e19..b00dc1e8471 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/js/openlibrary.js +++ b/koha-tmpl/opac-tmpl/bootstrap/js/openlibrary.js @@ -13,7 +13,7 @@ KOHA.OpenLibrary = new (function () { * or *
    * and run a search with all collected isbns to Open Library Book Search. - * The result is asynchronously returned by OpenLibrary and catched by + * The result is asynchronously returned by OpenLibrary and caught by * olCallBack(). */ this.GetCoverFromIsbn = function () { diff --git a/members/statistics.pl b/members/statistics.pl index 263c08e7957..3c5d4d174c7 100755 --- a/members/statistics.pl +++ b/members/statistics.pl @@ -115,7 +115,7 @@ sub add_actual_state { =head2 build_array Build a new array containing values of hashes. - It used by template whitch display silly values. + It used by template which display silly values. ex: $array = [ { diff --git a/misc/batchDeleteUnusedSubfields.pl b/misc/batchDeleteUnusedSubfields.pl index 917bc355112..d23f2eb1961 100755 --- a/misc/batchDeleteUnusedSubfields.pl +++ b/misc/batchDeleteUnusedSubfields.pl @@ -50,7 +50,7 @@ foreach my $tag ( sort keys( %{$tags} ) ) { next if $subfield eq "tab"; # DO NOT drop biblionumber, biblioitemnumber and itemnumber. - # they are stored internally, and are mapped to tab -1. This script must keep them or it will completly break Koha DB !!! + # they are stored internally, and are mapped to tab -1. This script must keep them or it will completely break Koha DB !!! next if ( $tags->{$tag}->{$subfield}->{kohafield} eq "biblio.biblionumber" ); next if ( $tags->{$tag}->{$subfield}->{kohafield} eq "biblioitems.biblioitemnumber" ); next if ( $tags->{$tag}->{$subfield}->{kohafield} eq "items.itemnumber" ); diff --git a/misc/bin/connexion_import_daemon.pl b/misc/bin/connexion_import_daemon.pl index 47bd4493466..2c0e53eaf91 100755 --- a/misc/bin/connexion_import_daemon.pl +++ b/misc/bin/connexion_import_daemon.pl @@ -62,11 +62,11 @@ Config file format: add_only_for_matches, add_only_for_new or ignore import_mode - stage or direct framework - to be used if import_mode is direct, if blank, will use default - connexion_user - User sent from connexion client - connexion_password - Password sent from connexion client + connection_user - User sent from connection client + connection_password - Password sent from connection client - Note: If connexion parameters are not defined request authentication will not be checked - You should specify a different user for connexion to protect the Koha credentials + Note: If connection parameters are not defined request authentication will not be checked + You should specify a different user for connection to protect the Koha credentials All process related parameters (all but ip and port) have default values as per Koha import process. diff --git a/misc/cronjobs/advance_notices.pl b/misc/cronjobs/advance_notices.pl index cff9378ea09..007e017937d 100755 --- a/misc/cronjobs/advance_notices.pl +++ b/misc/cronjobs/advance_notices.pl @@ -141,7 +141,7 @@ program. They may be redirected to a file if desired. =head2 Templates Templates can contain variables enclosed in double angle brackets like -EEthisEE. Those variables will be replaced with values +EEFIXME CODESPELL (thisE ==> these, this)E. Those variables will be replaced with values specific to the overdue items or relevant patron. Available variables are: diff --git a/misc/cronjobs/cart_to_shelf.pl b/misc/cronjobs/cart_to_shelf.pl index 9b4f505efd3..098c64e4f7e 100755 --- a/misc/cronjobs/cart_to_shelf.pl +++ b/misc/cronjobs/cart_to_shelf.pl @@ -44,7 +44,7 @@ GetOptions( 'h|hours=s' => \$hours, ); my $usage = << 'ENDUSAGE'; cart_to_shelf.pl: This cron script will set any item of the location CART ( Shelving Cart ) to it's original shelving location - after the given numer of hours has passed. + after the given number of hours has passed. This script takes the following parameters : diff --git a/misc/cronjobs/cloud-kw.pl b/misc/cronjobs/cloud-kw.pl index 364b5618058..45f96d4e6da 100755 --- a/misc/cronjobs/cloud-kw.pl +++ b/misc/cronjobs/cloud-kw.pl @@ -311,7 +311,7 @@ cloud-kw.pl - Creates HTML keywords clouds from Koha Zebra Indexes =item cloud-kw.pl [--verbose|--help] --conf=F -Creates multiple HTML files containing kewords cloud with top terms sorted +Creates multiple HTML files containing keywords cloud with top terms sorted by their logarithmic weight. F is a YAML configuration file driving cloud generation process. @@ -346,7 +346,7 @@ Configuration file looks like that: KohaConf: /home/koha/mylibray/etc/koha-conf.xml # Zebra index to scan ZebraIndex: Author - # Koha index used to link found kewords with an opac search URL + # Koha index used to link found keywords with an opac search URL KohaIndex: au # Number of top keyword to use for the cloud Count: 50 @@ -366,7 +366,7 @@ Configuration file looks like that: =head1 IMPROVEMENTS -Generated top terms have more informations than those outputted from +Generated top terms have more information than those outputted from the time being. Some parameters could be easily added to improve this script: diff --git a/misc/cronjobs/create_koc_db.pl b/misc/cronjobs/create_koc_db.pl index a749b2b67bd..9eab96c735e 100755 --- a/misc/cronjobs/create_koc_db.pl +++ b/misc/cronjobs/create_koc_db.pl @@ -188,7 +188,7 @@ pass in the filename that we're considering using for the SQLite db. returns true if we can use it. -returns false if we can't. For example, if it alredy exists and we +returns false if we can't. For example, if it already exists and we don't have --force or don't have permissions to unlink it. =cut diff --git a/misc/cronjobs/fines.pl b/misc/cronjobs/fines.pl index 684b4a18414..c184ec5bb31 100755 --- a/misc/cronjobs/fines.pl +++ b/misc/cronjobs/fines.pl @@ -3,7 +3,7 @@ # This script loops through each overdue item, determines the fine, # and updates the total amount of fines due by each user. It relies on # the existence of /tmp/fines, which is created by ??? -# Doesn't really rely on it, it relys on being able to write to /tmp/ +# Doesn't really rely on it, it relies on being able to write to /tmp/ # It creates the fines file # # This script is meant to be run nightly out of cron. @@ -71,7 +71,7 @@ or not calculated ("Don't calculate"). This script has the following parameters : -h --help: this message -l --log: log the output to a file (optional if the -o parameter is given) - -o --out: ouput directory for logs (defaults to env or /tmp if !exist) + -o --out: output directory for logs (defaults to env or /tmp if !exist) -v --verbose -m --maxdays: how many days back of overdues to process -i --verifyissue: verify the issue before updating the fine in case the diff --git a/misc/cronjobs/import_webservice_batch.pl b/misc/cronjobs/import_webservice_batch.pl index e65bcc136da..61d8fc409cf 100755 --- a/misc/cronjobs/import_webservice_batch.pl +++ b/misc/cronjobs/import_webservice_batch.pl @@ -61,7 +61,7 @@ Specify frameworkcode when overlaying records. Current framework is preserved i =head1 DESCRIPTION -This script is designed to import batches staged by webservices (e.g. connexion). +This script is designed to import batches staged by webservices (e.g. connection). =head1 USAGE EXAMPLES diff --git a/misc/cronjobs/membership_expiry.pl b/misc/cronjobs/membership_expiry.pl index cc4c7661e83..ff34becb5fb 100755 --- a/misc/cronjobs/membership_expiry.pl +++ b/misc/cronjobs/membership_expiry.pl @@ -142,7 +142,7 @@ not the borrower has an email address. This can be useful for libraries that prefer to deal with print notices. Notices can contain variables enclosed in double angle brackets like -EEthisEE. Those variables will be replaced with values +EEFIXME CODESPELL (thisE ==> these, this)E. Those variables will be replaced with values specific to the soon expiring members. Available variables are: diff --git a/misc/cronjobs/overdue_notices.pl b/misc/cronjobs/overdue_notices.pl index 7d3fd8796d5..7f57d6faf3a 100755 --- a/misc/cronjobs/overdue_notices.pl +++ b/misc/cronjobs/overdue_notices.pl @@ -227,7 +227,7 @@ program. They may be redirected to a file if desired. =head2 Templates Templates can contain variables enclosed in double angle brackets like -EEthisEE. Those variables will be replaced with values +EEFIXME CODESPELL (thisE ==> these, this)E. Those variables will be replaced with values specific to the overdue items or relevant patron. Available variables are: diff --git a/misc/cronjobs/update_patrons_category.pl b/misc/cronjobs/update_patrons_category.pl index ed29265072b..14372a28976 100755 --- a/misc/cronjobs/update_patrons_category.pl +++ b/misc/cronjobs/update_patrons_category.pl @@ -109,11 +109,11 @@ Supply a number and only account with fines under this number will be updated. =item B<--regbefore=date | -rb=date> -Enter a date in ISO format YYYY-MM-DD and only patrons registered before this date wil be updated. +Enter a date in ISO format YYYY-MM-DD and only patrons registered before this date FIXME CODESPELL (wil ==> will, well) be updated. =item B<--regafter=date | -ra=date> -Enter a date in ISO format YYYY-MM-DD and only patrons registered after this date wil be updated. +Enter a date in ISO format YYYY-MM-DD and only patrons registered after this date FIXME CODESPELL (wil ==> will, well) be updated. =item B<--field column=value | -d column=value> diff --git a/misc/devel/codespell.pl b/misc/devel/codespell.pl index 1296c64e195..57ec6673bda 100755 --- a/misc/devel/codespell.pl +++ b/misc/devel/codespell.pl @@ -35,7 +35,7 @@ while ( my ( $i, $file ) = each @files ) { my @lines = split "\n", $output; for my $line (@lines) { - # C4/Auth.pm:144: authentification ==> authentication + # C4/Auth.pm:144: authentication ==> authentication if ( $line =~ m{(?[^:]*):(?\d+): (?\w+) ==> (?.*)} ) { my $line_number = $+{line} - 1; my $pattern = $+{pattern}; diff --git a/misc/devel/get_prepared_letter.pl b/misc/devel/get_prepared_letter.pl index c972a9fc861..93dee4b6185 100755 --- a/misc/devel/get_prepared_letter.pl +++ b/misc/devel/get_prepared_letter.pl @@ -51,17 +51,17 @@ The letter language (es-ES, fr-FR, ...) =item B<--repeat REPEAT> A JSON formatted string that will be used as repeat parameter. See -documentation of GetPreparedLetter for more informations. +documentation of GetPreparedLetter for more information. =item B<--tables TABLES> A JSON formatted string that will be used as tables parameter. See -documentation of GetPreparedLetter for more informations. +documentation of GetPreparedLetter for more information. =item B<--loops LOOPS> A JSON formatted string that will be used as loops parameter. See -documentation of GetPreparedLetter for more informations. +documentation of GetPreparedLetter for more information. =back diff --git a/misc/export_borrowers.pl b/misc/export_borrowers.pl index 5c316d62c98..1b3a00c9e6b 100755 --- a/misc/export_borrowers.pl +++ b/misc/export_borrowers.pl @@ -34,7 +34,7 @@ sub print_usage { print <new( { sep_char => $separator, binary => 1, formula => 'empty' } ); # If the user did not specify any field to export, we assume they want them all -# We retrieve the first borrower informations to get field names +# We retrieve the first borrower information to get field names my ($borrowernumber) = $sth->fetchrow_array or die "No borrower to export"; my $patron = Koha::Patrons->find($borrowernumber); # FIXME Now is_expired is no longer available # We will have to use Koha::Patron and allow method calls diff --git a/misc/maintenance/UNIMARC_sync_date_created_with_marc_biblio.pl b/misc/maintenance/UNIMARC_sync_date_created_with_marc_biblio.pl index d9700a687c9..b7f19e3ed9c 100755 --- a/misc/maintenance/UNIMARC_sync_date_created_with_marc_biblio.pl +++ b/misc/maintenance/UNIMARC_sync_date_created_with_marc_biblio.pl @@ -48,7 +48,7 @@ $verbose and print "================================\n"; $date_created_marc = '099c' unless $date_created_marc; my ( $c_field, $c_subfield ) = _read_marc_code($date_created_marc); die "date-created-marc '$date_created_marc' is not correct." unless $c_field; -die "date-created-marc field is greated that 009, it should have a subfield." +die "date-created-marc field is FIXME CODESPELL (greated ==> greater, grated, graded) that 009, it should have a subfield." if ( $c_field > 9 && !defined $c_subfield ); die "date-created-marc field is lower that 010, it should not have a subfield." if ( $c_field < 10 && defined $c_subfield ); @@ -62,7 +62,7 @@ if ($verbose) { $date_modified_marc = '099d' unless $date_modified_marc; my ( $m_field, $m_subfield ) = _read_marc_code($date_modified_marc); die "date-modified-marc '$date_modified_marc' is not correct." unless $m_field; -die "date-modified-marc field is greated that 009, it should have a subfield." +die "date-modified-marc field is FIXME CODESPELL (greated ==> greater, grated, graded) that 009, it should have a subfield." if ( $m_field > 9 && !defined $m_subfield ); die "date-modified-marc field is lower that 010, it should not have a subfield." if ( $m_field < 10 && defined $m_subfield ); @@ -175,7 +175,7 @@ sub updateMarc { } } - # apply to databse + # apply to database if ( &ModBiblio( $biblio, $id, $frameworkcode ) ) { return 1; } @@ -216,7 +216,7 @@ sub process { if ( lc( C4::Context->preference('marcflavour') ) eq "unimarc" ) { $verbose and !$run - and print "*** Not in run mode, modifications will not be applyed ***\n"; + and print "*** Not in run mode, modifications will not be applied ***\n"; $verbose and print "================================\n"; process(); diff --git a/misc/migration_tools/22_to_30/move_marc_to_authheader.pl b/misc/migration_tools/22_to_30/move_marc_to_authheader.pl index 477c6e0f6b3..2c0b7a41a61 100755 --- a/misc/migration_tools/22_to_30/move_marc_to_authheader.pl +++ b/misc/migration_tools/22_to_30/move_marc_to_authheader.pl @@ -51,7 +51,7 @@ while ( my ( $authid, $authtypecode ) = $sth->fetchrow ) { $record->insert_fields_ordered( MARC::Field->new( '001', $authid ) ); } - #Force UTF-8 in record leaded + #Force UTF-8 in record FIXME CODESPELL (leaded ==> led, lead) $record->encoding('UTF-8'); # warn "REC : ".$record->as_formatted; diff --git a/misc/migration_tools/build_oai_sets.pl b/misc/migration_tools/build_oai_sets.pl index ff9769cc8b8..9a38c4b3e29 100755 --- a/misc/migration_tools/build_oai_sets.pl +++ b/misc/migration_tools/build_oai_sets.pl @@ -20,8 +20,8 @@ =head1 DESCRIPTION This script build OAI-PMH sets (to be used by opac/oai.pl) according to sets -and mappings defined in Koha. It reads informations from oai_sets and -oai_sets_mappings, and then fill table oai_sets_biblios with builded infos. +and mappings defined in Koha. It reads information from oai_sets and +oai_sets_mappings, and then fill table oai_sets_biblios with built infos. =head1 USAGE @@ -29,7 +29,7 @@ oai_sets_mappings, and then fill table oai_sets_biblios with builded infos. -h Print help message; -v Be verbose -r Truncate table oai_sets_biblios before inserting new rows - -i Embed items informations, mandatory if you defined mappings + -i Embed items information, mandatory if you defined mappings on item fields -l LENGTH Process LENGTH biblios -o OFFSET If LENGTH is defined, start processing from OFFSET @@ -180,8 +180,8 @@ sub print_usage { print "build_oai_sets.pl: Build OAI-PMH sets, according to mappings defined in Koha\n"; print "Usage: build_oai_sets.pl [-h] [-v] [-i] [-l LENGTH [-o OFFSET]]\n\n"; print "\t-h\t\tPrint this help and exit\n"; - print "\t-v\t\tBe verbose\n"; - print "\t-i\t\tEmbed items informations, mandatory if you defined mappings on item fields\n"; + print "\t-v\t\the verbose\n"; + print "\t-i\t\tEmbed items information, mandatory if you defined mappings on item fields\n"; print "\t-l LENGTH\tProcess LENGTH biblios\n"; print "\t-o OFFSET\tIf LENGTH is defined, start processing from OFFSET\n\n"; } diff --git a/misc/migration_tools/checkNonIndexedBiblios.pl b/misc/migration_tools/checkNonIndexedBiblios.pl index 004465cce76..b8f4dc12a3f 100755 --- a/misc/migration_tools/checkNonIndexedBiblios.pl +++ b/misc/migration_tools/checkNonIndexedBiblios.pl @@ -19,7 +19,7 @@ # Small script that checks if each biblio in the DB is properly indexed # if it is not and if you use -z the not-indexed biblios are inserted in zebraqueue -# To test just ommit the -z option you will have the biblionumber of non-indexed biblios and the total +# To test just omit the -z option you will have the biblionumber of non-indexed biblios and the total use strict; diff --git a/misc/migration_tools/rebuild_zebra.pl b/misc/migration_tools/rebuild_zebra.pl index e710778b888..91a98e96e2c 100755 --- a/misc/migration_tools/rebuild_zebra.pl +++ b/misc/migration_tools/rebuild_zebra.pl @@ -1030,7 +1030,7 @@ Parameters: --where let you specify a WHERE query, like itemtype='BOOK' or something like that - --run-as-root explicitily allow script to run as 'root' user + --run-as-root explicitly allow script to run as 'root' user --wait-for-lock when not running in daemon mode, the default behavior is to abort a rebuild if the rebuild diff --git a/misc/sip_cli_emulator.pl b/misc/sip_cli_emulator.pl index 38b6f7c96b9..a09ed952c65 100755 --- a/misc/sip_cli_emulator.pl +++ b/misc/sip_cli_emulator.pl @@ -322,7 +322,7 @@ if ( $data =~ '^941' ) { ## we are logged in sub build_command_message { my ($message) = @_; - ##FIXME It would be much better to use exception handling so we aren't priting from subs + ##FIXME It would be much better to use exception handling so we aren't printing from subs unless ( $handlers->{$message} ) { say "$message is an unsupported command!"; return; diff --git a/misc/stage_file.pl b/misc/stage_file.pl index 8d820003998..fd3f6f2e43e 100755 --- a/misc/stage_file.pl +++ b/misc/stage_file.pl @@ -238,7 +238,7 @@ Parameters: --add-items use this option to specify that item data is embedded in the MARC bibs and should be parsed. - --item-action action to take if --add-items is specifed; + --item-action action to take if --add-items is specified; choices are 'always_add', 'add_only_for_matches', 'add_only_for_new', 'ignore', or 'replace' diff --git a/misc/translator/LangInstaller.pm b/misc/translator/LangInstaller.pm index 849c2869d7b..cada7871950 100644 --- a/misc/translator/LangInstaller.pm +++ b/misc/translator/LangInstaller.pm @@ -538,7 +538,7 @@ sub get_all_langs { LangInstaller.pm - Handle templates and preferences translation -=head1 SYNOPSYS +=head1 SYNOPSIS my $installer = LangInstaller->new( 'fr-FR' ); $installer->create(); @@ -566,7 +566,7 @@ For the current language, update .po files. =head2 install -For the current langage C<$self->{lang}, use .po files to translate the english +For the current language C<$self->{lang}, use .po files to translate the english version of templates and preferences files and copy those files in the appropriate directory. diff --git a/misc/translator/TmplTokenizer.pm b/misc/translator/TmplTokenizer.pm index ab2f5a5eef8..5ae1a517349 100644 --- a/misc/translator/TmplTokenizer.pm +++ b/misc/translator/TmplTokenizer.pm @@ -311,7 +311,7 @@ sub _parametrize_internal { # } my $s = join( "", map { _formalize $_ } @parts ); - # should both the string and form be $s? maybe only the later? posibly the former.... + # should both the string and form be $s? maybe only the later? possibly the former.... # used line number from first token, should suffice my $t = C4::TmplToken->new( $s, C4::TmplTokenType::TEXT_PARAMETRIZED, $parts[0]->line_number, $this->filename ); $t->set_children(@parts); diff --git a/misc/translator/tmpl_process3.pl b/misc/translator/tmpl_process3.pl index 83d5f4c29a5..2d463d24125 100755 --- a/misc/translator/tmpl_process3.pl +++ b/misc/translator/tmpl_process3.pl @@ -335,7 +335,7 @@ if ( defined $href ) { || $msg->{msgstr} eq '""' || $msg->{obsolete} || grep { /fuzzy/ } @{ $msg->{_flags} }; - warn_normal( "unconsistent %s count: ($id_count/$str_count):\n" + warn_normal( "inconsistent %s count: ($id_count/$str_count):\n" . " line: " . $msg->{loaded_line_number} . "\n" . " msgid: " diff --git a/opac/ilsdi.pl b/opac/ilsdi.pl index 280b7ab83ca..f659fcbafbf 100755 --- a/opac/ilsdi.pl +++ b/opac/ilsdi.pl @@ -38,7 +38,7 @@ outputs the returned hashref as XML. =cut -# Instanciate the CGI request +# Instantiate the CGI request my $cgi = CGI->new; # List of available services, sorted by level diff --git a/opac/opac-MARCdetail.pl b/opac/opac-MARCdetail.pl index f4a4198459e..b2f2fbc913b 100755 --- a/opac/opac-MARCdetail.pl +++ b/opac/opac-MARCdetail.pl @@ -297,7 +297,7 @@ for ( my $tabloop = 0 ; $tabloop <= 9 ; $tabloop++ ) { # now, build item tab ! # the main difference is that datas are in lines and not in columns : thus, we build the
    first, then the values... # loop through each tag -# warning : we may have differents number of columns in each row. Thus, we first build a hash, complete it if necessary +# warning : we may have FIXME CODESPELL (differents ==> different, difference) number of columns in each row. Thus, we first build a hash, complete it if necessary # then construct template. # $record has already had all the item fields filtered above. my @fields = $record->fields(); diff --git a/opac/opac-password-recovery.pl b/opac/opac-password-recovery.pl index 85ed8b405c5..85841e93a24 100755 --- a/opac/opac-password-recovery.pl +++ b/opac/opac-password-recovery.pl @@ -79,7 +79,7 @@ if ( $op eq 'cud-sendEmail' || $op eq 'cud-resendEmail' ) { } elsif ( $username && $search_results->count > 1 ) { # Multiple accounts for username $hasError = 1; $errNoBorrowerFound = 1; - } elsif ( $email && $search_results->count > 1 ) { # Muliple accounts for E-Mail + } elsif ( $email && $search_results->count > 1 ) { # Multiple accounts for E-Mail $hasError = 1; $errMultipleAccountsForEmail = 1; } elsif ( $borrower = $search_results->next() ) { # One matching borrower diff --git a/opac/opac-search.pl b/opac/opac-search.pl index 9f906784c95..ece6ba64b8f 100755 --- a/opac/opac-search.pl +++ b/opac/opac-search.pl @@ -480,7 +480,7 @@ if ( $params->{'limit-yr'} ) { push @limits, "yr,st-numeric=$params->{'limit-yr'}"; } else { - #FIXME: Should return a error to the user, incorect date format specified + #FIXME: Should return a error to the user, incorrect date format specified } } diff --git a/opac/opac-suggestions.pl b/opac/opac-suggestions.pl index 775affbe8c2..e1101fa667c 100755 --- a/opac/opac-suggestions.pl +++ b/opac/opac-suggestions.pl @@ -186,7 +186,7 @@ if ( $op eq "cud-add_confirm" ) { push @messages, { type => 'error', code => 'too_many' }; } elsif ( $suggestions->count >= 1 ) { - #some suggestion are answering the request Donot Add + #some suggestion are answering the request FIXME CODESPELL (Donot ==> Do not, Donut) Add while ( my $suggestion = $suggestions->next ) { push @messages, { diff --git a/opac/opac-tags.pl b/opac/opac-tags.pl index 7a65538c1b5..165376410bd 100755 --- a/opac/opac-tags.pl +++ b/opac/opac-tags.pl @@ -342,7 +342,7 @@ if ($add_op) { # Bug 36785: Do not pass biblionumber: get_approval_rows does not 'recognize' biblionumber $results = get_approval_rows($arghash); - stratify_tags( 10, $results ); # work out the differents sizes for things + stratify_tags( 10, $results ); # work out the FIXME CODESPELL (differents ==> different, difference) sizes for things my $count = scalar @$results; $template->param( TAGLOOP_COUNT => $count, mine => $mine ); } diff --git a/opac/svc/auth/googleopenidconnect b/opac/svc/auth/googleopenidconnect index 14de503e1d8..8d231f289f6 100755 --- a/opac/svc/auth/googleopenidconnect +++ b/opac/svc/auth/googleopenidconnect @@ -241,7 +241,7 @@ if ( defined $query->param('error') ) { } else { loginfailed( $query, - 'Unexpectedly, no email seems to be associated with that acccount.' + 'Unexpectedly, no email seems to be associated with that account.' ); } } else { diff --git a/reports/acquisitions_stats.pl b/reports/acquisitions_stats.pl index 3837e770d47..6dd73cfad66 100755 --- a/reports/acquisitions_stats.pl +++ b/reports/acquisitions_stats.pl @@ -380,7 +380,7 @@ sub calculate { } my $i = 0; - my $hilighted = -1; + my $highlighted = -1; #Initialization of cell values..... my %table; @@ -480,12 +480,12 @@ sub calculate { my $r = { rowtitle => ( $row eq "zzEMPTY" ) ? "NULL" : $row, loopcell => \@loopcell, - hilighted => ( $hilighted > 0 ), + highlighted => ( $highlighted > 0 ), totalrow => $table{$row}->{totalrow} }; $r->{totalrow} = sprintf( "%.2f", $r->{totalrow} ) if ( $r->{totalrow} and grep /$process/, ( 3, 4, 5 ) ); push @looprow, $r; - $hilighted = -$hilighted; + $highlighted = -$highlighted; } foreach my $col (@loopcol) { diff --git a/reports/cat_issues_top.pl b/reports/cat_issues_top.pl index fe799ba917c..35ff98e975b 100755 --- a/reports/cat_issues_top.pl +++ b/reports/cat_issues_top.pl @@ -288,7 +288,7 @@ sub calculate { my $i = 0; # my @totalcol; - my $hilighted = -1; + my $highlighted = -1; #Initialization of cell values..... my @table; @@ -408,9 +408,9 @@ sub calculate { push @looprow, { 'rowtitle' => $i, 'loopcell' => \@loopcell, - 'hilighted' => ( $hilighted > 0 ), + 'highlighted' => ( $highlighted > 0 ), }; - $hilighted = -$hilighted; + $highlighted = -$highlighted; } # diff --git a/reports/catalogue_stats.pl b/reports/catalogue_stats.pl index aa19964766e..facc0d782d5 100755 --- a/reports/catalogue_stats.pl +++ b/reports/catalogue_stats.pl @@ -402,7 +402,7 @@ sub calculate { } my $i = 0; - my $hilighted = -1; + my $highlighted = -1; #Initialization of cell values..... my %table; @@ -543,7 +543,7 @@ sub calculate { 'rowtitle' => $row->{rowtitle}, 'value' => $row->{value}, 'loopcell' => \@loopcell, - 'hilighted' => ( $hilighted *= -1 > 0 ), + 'highlighted' => ( $highlighted *= -1 > 0 ), 'totalrow' => $table{ $row->{value} }->{totalrow} }; } diff --git a/reports/guided_reports.pl b/reports/guided_reports.pl index 70196334d9f..a356a4dd26f 100755 --- a/reports/guided_reports.pl +++ b/reports/guided_reports.pl @@ -395,7 +395,7 @@ if ( !$op ) { my @columns = split( ',', $column ); my @total_by; - # build structue for use by tmpl_loop to choose columns to order by + # build structure for use by tmpl_loop to choose columns to order by # need to do something about the order of the order :) # we also want to use the %columns hash to get the plain english names foreach my $col (@columns) { @@ -436,7 +436,7 @@ if ( !$op ) { my @columns = split( ',', $column ); my @order_by; - # build structue for use by tmpl_loop to choose columns to order by + # build structure for use by tmpl_loop to choose columns to order by # need to do something about the order of the order :) foreach my $col (@columns) { my %order = ( name => $col ); diff --git a/reports/issues_avg_stats.pl b/reports/issues_avg_stats.pl index be0e665628f..f4db4986f2b 100755 --- a/reports/issues_avg_stats.pl +++ b/reports/issues_avg_stats.pl @@ -387,7 +387,7 @@ sub calculate { # warn "fin des titres colonnes"; my $i = 0; - my $hilighted = -1; + my $highlighted = -1; #Initialization of cell values..... my %table; @@ -517,10 +517,10 @@ sub calculate { { 'rowtitle' => ( $row eq "zzEMPTY" ) ? "NULL" : $row, 'loopcell' => \@loopcell, - 'hilighted' => ( $hilighted > 0 ), + 'highlighted' => ( $highlighted > 0 ), 'totalrow' => ($total) ? sprintf( "%.2f", $total ) : 0 }; - $hilighted = -$hilighted; + $highlighted = -$highlighted; } # # # warn "footer processing"; diff --git a/reports/orders_by_fund.pl b/reports/orders_by_fund.pl index cc9e1b5343a..dcf833758e4 100755 --- a/reports/orders_by_fund.pl +++ b/reports/orders_by_fund.pl @@ -89,7 +89,7 @@ if ($get_orders) { } } - # Format the order's informations + # Format the order's information foreach my $order (@orders) { # Get the title of the ordered item diff --git a/reserve/request.pl b/reserve/request.pl index c5e354aa7d2..5908ab692b7 100755 --- a/reserve/request.pl +++ b/reserve/request.pl @@ -212,7 +212,7 @@ if ( $borrowernumber_hold && !$op ) { ); } - # check if the borrower make the reserv in a different branch + # check if the borrower make the reserve in a different branch if ( $patron->branchcode ne C4::Context->userenv->{'branch'} ) { $diffbranch = 1; } @@ -468,7 +468,7 @@ if ( ( $findborrower && $borrowernumber_hold || $findclub && $club_hold ) $item->{notforloan} ||= 0; # if independent branches is on we need to check if the person can reserve - # for branches they arent logged in to + # for branches they aren't logged in to if ( C4::Context->preference("IndependentBranches") ) { if ( !C4::Context->preference("canreservefromotherbranches") ) { @@ -584,7 +584,7 @@ if ( ( $findborrower && $borrowernumber_hold || $findclub && $club_hold ) $biblioloopiter{biblioitem} = $biblio->biblioitem; - # While we can't override an alreay held item, we should be able to override the others + # While we can't override an already held item, we should be able to override the others # Unless all items are already held if ( $num_override > 0 && ( $num_override + $num_alreadyheld ) == scalar( @{ $biblioloopiter{itemloop} } ) ) { diff --git a/suggestion/suggestion.pl b/suggestion/suggestion.pl index 362cac0a0e3..18b7ad64a8e 100755 --- a/suggestion/suggestion.pl +++ b/suggestion/suggestion.pl @@ -257,14 +257,14 @@ if ( $op =~ /cud-save/ ) { my $suggestions = Koha::Suggestions->search_limited($suggestion_only); if ( $suggestions->count ) { - #some suggestion are answering the request Donot Add + #some suggestion are answering the request FIXME CODESPELL (Donot ==> Do not, Donut) Add my @messages; while ( my $suggestion = $suggestions->next ) { push @messages, { type => 'error', code => 'already_exists', id => $suggestion->suggestionid }; } $template->param( messages => \@messages ); } else { - ## Adding some informations related to suggestion + ## Adding some information related to suggestion if ( $librarian->has_permission( { 'suggestions' => 'suggestions_create' } ) ) { Koha::Suggestion->new($suggestion_only)->store(); } else { @@ -305,7 +305,7 @@ if ( $op =~ /cud-save/ ) { } elsif ( $op eq "cud-update_status" ) { my $suggestion; - # set accepted/rejected/managed informations if applicable + # set accepted/rejected/managed information if applicable # ie= if the librarian has chosen some action on the suggestions my $STATUS = $input->param('STATUS'); my $accepted_by = $input->param('acceptedby'); @@ -506,7 +506,7 @@ $template->param( "op" => $op, ); -if ( defined($returnsuggested) and $returnsuggested ne "noone" ) { +if ( defined($returnsuggested) and $returnsuggested ne "no one" ) { print $input->redirect( "/cgi-bin/koha/members/moremember.pl?borrowernumber=" . $returnsuggested . "#suggestions" ); } diff --git a/svc/barcode b/svc/barcode index 5914dc2b680..59fef5a71f0 100755 --- a/svc/barcode +++ b/svc/barcode @@ -56,7 +56,7 @@ EAN8 EAN13 COOP2of5 -If ommited,it defaults to Code39. +If omitted,it defaults to Code39. =item I diff --git a/svc/holds b/svc/holds index 898abbf5886..93f0ddd33e3 100755 --- a/svc/holds +++ b/svc/holds @@ -124,7 +124,7 @@ while ( my $h = $holds_rs->next() ) { : q{}, }; - $hold->{transfered} = 0; + $hold->{transferred} = 0; $hold->{not_transfered} = 0; if ($item) { diff --git a/t/ClassSortRoutine_LCC.t b/t/ClassSortRoutine_LCC.t index bf37aeb6a33..b98a6e2136b 100755 --- a/t/ClassSortRoutine_LCC.t +++ b/t/ClassSortRoutine_LCC.t @@ -17,7 +17,7 @@ BEGIN { is( C4::ClassSortRoutine::LCC::get_class_sort_key(), "", "No arguments returns an empty string" ); is( C4::ClassSortRoutine::LCC::get_class_sort_key( 'a', 'b' ), "A B", "Arguments 'a','b' return 'A B'" ); -#spaces in arguements +#spaces in arguments is( C4::ClassSortRoutine::LCC::get_class_sort_key( ' ', 'b' ), "B", "Arguments ' ','b' return 'B'" ); is( C4::ClassSortRoutine::LCC::get_class_sort_key( 'a', ' ' ), "A", "Arguments 'a',' ' return 'A'" ); is( C4::ClassSortRoutine::LCC::get_class_sort_key( ' ', ' ' ), "", "Arguments ' ',' ' return ''" ); diff --git a/t/Creators.t b/t/Creators.t index ca60077712e..683627f908c 100755 --- a/t/Creators.t +++ b/t/Creators.t @@ -1,8 +1,8 @@ #!/usr/bin/perl # -# This module will excercise pdf creation routines +# This module will exercise pdf creation routines # -# When run with KEEP_PDF enviroment variable it will keep +# When run with KEEP_PDF environment variable it will keep # test.pdf for manual inspection. This can be used to verify # that ttf font configuration is complete like: # diff --git a/t/Number/Price.t b/t/Number/Price.t index cc72bc6f76e..631c96ec3e7 100755 --- a/t/Number/Price.t +++ b/t/Number/Price.t @@ -6,7 +6,7 @@ use Test::More tests => 38; use Test::MockModule; use t::lib::Mocks; -# Number formating depends by default on system environement +# Number formatting depends by default on system environment # See http://search.cpan.org/~wrw/Number-Format/Format.pm use POSIX qw(setlocale LC_NUMERIC); @@ -74,7 +74,7 @@ is( ); SKIP: { - # Bug 18900 - Check params are not from system environement + # Bug 18900 - Check params are not from system environment setlocale( LC_NUMERIC, "fr_FR.UTF-8" ); my $current_locale = setlocale(LC_NUMERIC); @@ -102,7 +102,7 @@ $currency = Koha::Acquisition::Currency->new( } ); -# Actually,the price formating for France is 3,00€ +# Actually,the price formatting for France is 3,00€ # How put the symbol at the end with Number::Format? is( Koha::Number::Price->new->format($format), '0,00', 'FR: format 0' ); is( Koha::Number::Price->new(3)->format($format), '3,00', 'FR: format 3' ); diff --git a/t/Output_JSONStream.t b/t/Output_JSONStream.t index 91512a32b5e..2083fff8cb9 100755 --- a/t/Output_JSONStream.t +++ b/t/Output_JSONStream.t @@ -22,7 +22,7 @@ like( $json->output, '/"stuff":\["realia"\]/', "Making sure JSON output has adde like( $json->output, '/"issues":\["yes!","please","no"\]/', "Making sure existing elements remain in JSON output" ); $json->param( stuff => [ 'fun', 'love' ] ); like( $json->output, '/"stuff":\["fun","love"\]/', "Making sure JSON output can overwrite params." ); -like( $json->output, '/"issues":\["yes!","please","no"\]/', "Making non overwitten elements remain in JSON output" ); +like( $json->output, '/"issues":\["yes!","please","no"\]/', "Making non overwritten elements remain in JSON output" ); eval { $json->param(die) }; ok( $@, 'Dies' ); diff --git a/t/cypress/support/e2e.js b/t/cypress/support/e2e.js index 37dc1c750fa..81750333fbd 100644 --- a/t/cypress/support/e2e.js +++ b/t/cypress/support/e2e.js @@ -1298,7 +1298,7 @@ cy.get_title = () => { num_last_vol_online: "num last vol", online_identifier: "online identifier", parent_publication_title_id: "parent id", - preceding_publication_title_id: "preceeding id", + preceding_publication_title_id: "FIXME CODESPELL (preceeding ==> preceding, proceeding) id", print_identifier: "print identifier", publication_title: "publication title", publication_type: "journal", @@ -1364,7 +1364,7 @@ cy.get_counter_file = () => { date_uploaded: "2023-06-19T09:13:39+00:00", erm_counter_files_id: 1, file_content: - 'Report_Name,"Journal Requests (Excluding OA_Gold)"\r\nReport_ID,TR_J1\r\nRelease,5\r\nInstitution_Name,"University Of West London"\r\nInstitution_ID,"Proprietary:Wiley:EAL00000122866; ISNI:0000000121857124"\r\nMetric_Types,"Total_Item_Requests; Unique_Item_Requests"\r\nReport_Filters,"Metric_Type:Total_Item_Requests|Unique_Item_Requests; Access_Type:Controlled; End_Date:2023-06-01; Begin_Date:2022-01-01; Data_Type:Journal; Access_Method:Regular"\r\nReport_Attributes,\r\nExceptions,"3031: Usage Not Ready for Requested Dates (Requested data between 2023-06-01 and 2023-06-01. However only data between 2018-11-01 and 2023-05-31 exists.)"\r\nReporting_Period,"Begin_Date=2022-01-01; End_Date=2023-06-01"\r\nCreated,2023-06-19T02:13:31Z\r\nCreated_By,"Atypon Systems LLC."\r\n\r\nTitle,Publisher,Publisher_ID,Platform,DOI,Proprietary_ID,Print_ISSN,Online_ISSN,URI,Metric_Type,Reporting_Period_Total,"Jan 2022","Feb 2022","Mar 2022","Apr 2022","May 2022","Jun 2022","Jul 2022","Aug 2022","Sep 2022","Oct 2022","Nov 2022","Dez 2022","Jan 2023","Feb 2023","Mar 2023","Apr 2023","May 2023","Jun 2023"\r\n"AEM Education and Training",Wiley,0000000403801313,"Wiley Online Library",10.1002/(ISSN)2472-5390,Wiley:AET2,2472-5390,2472-5390,,Total_Item_Requests,16,1,3,0,1,3,1,0,2,1,0,0,1,0,3,0,0,0,0\r\n"AEM Education and Training",Wiley,0000000403801313,"Wiley Online Library",10.1002/(ISSN)2472-5390,Wiley:AET2,2472-5390,2472-5390,,Unique_Item_Requests,10,1,2,0,1,1,1,0,1,1,0,0,1,0,1,0,0,0,0\r\n"AIChE Journal",Wiley,0000000403801313,"Wiley Online Library",10.1002/(ISSN)1547-5905,Wiley:AIC,0001-1541,1547-5905,,Total_Item_Requests,4,1,0,0,0,0,1,0,0,0,0,1,1,0,0,0,0,0,0\r\n"AIChE Journal",Wiley,0000000403801313,"Wiley Online Library",10.1002/(ISSN)1547-5905,Wiley:AIC,0001-1541,1547-5905,,Unique_Item_Requests,4,1,0,0,0,0,1,0,0,0,0,1,1,0,0,0,0,0,0\r\n"ANZ Journal of Surgery",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1445-2197,Wiley:ANS,1445-1433,1445-2197,,Total_Item_Requests,103,11,2,20,14,8,2,9,1,0,5,6,0,2,4,6,5,8,0\r\n"ANZ Journal of Surgery",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1445-2197,Wiley:ANS,1445-1433,1445-2197,,Unique_Item_Requests,77,9,2,16,8,6,1,9,1,0,3,4,0,1,4,4,2,7,0\r\n"AORN Journal",Wiley,0000000403801313,"Wiley Online Library",10.1002/(ISSN)1878-0369,Wiley:AORN,0001-2092,1878-0369,,Total_Item_Requests,634,71,45,59,20,43,47,45,11,14,15,31,22,29,18,28,39,97,0\r\n"AORN Journal",Wiley,0000000403801313,"Wiley Online Library",10.1002/(ISSN)1878-0369,Wiley:AORN,0001-2092,1878-0369,,Unique_Item_Requests,436,53,27,27,15,34,30,30,6,11,13,22,17,23,16,26,26,60,0\r\nAPMIS,Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1600-0463,Wiley:APM,0903-4641,1600-0463,,Total_Item_Requests,6,0,0,0,1,0,0,0,2,0,0,0,2,0,1,0,0,0,0\r\nAPMIS,Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1600-0463,Wiley:APM,0903-4641,1600-0463,,Unique_Item_Requests,4,0,0,0,1,0,0,0,1,0,0,0,1,0,1,0,0,0,0\r\n"AWWA Water Science",Wiley,0000000403801313,"Wiley Online Library",10.1002/(ISSN)2577-8161,Wiley:AWS2,,2577-8161,,Total_Item_Requests,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0\r\n"AWWA Water Science",Wiley,0000000403801313,"Wiley Online Library",10.1002/(ISSN)2577-8161,Wiley:AWS2,,2577-8161,,Unique_Item_Requests,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0\r\nAbacus,Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1467-6281,Wiley:ABAC,0001-3072,1467-6281,,Total_Item_Requests,51,3,0,7,0,2,0,1,0,0,0,11,6,0,3,17,1,0,0\r\nAbacus,Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1467-6281,Wiley:ABAC,0001-3072,1467-6281,,Unique_Item_Requests,36,2,0,6,0,2,0,1,0,0,0,7,2,0,2,13,1,0,0\r\n"Academic Emergency Medicine",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1553-2712,Wiley:ACEM,1069-6563,1553-2712,,Total_Item_Requests,213,18,16,11,13,21,20,28,16,6,11,2,4,18,17,1,7,4,0\r\n"Academic Emergency Medicine",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1553-2712,Wiley:ACEM,1069-6563,1553-2712,,Unique_Item_Requests,159,15,11,10,10,15,13,23,12,6,7,2,2,10,12,1,7,3,0\r\n"Accounting & Finance",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1467-629X,Wiley:ACFI,0810-5391,1467-629X,,Total_Item_Requests,67,2,4,4,13,8,1,0,2,2,1,9,6,2,0,2,4,7,0\r\n"Accounting & Finance",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1467-629X,Wiley:ACFI,0810-5391,1467-629X,,Unique_Item_Requests,53,1,4,4,11,7,1,0,2,1,1,7,3,1,0,2,4,4,0\r\n"Accounting Perspectives",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1911-3838,Wiley:APR,1911-382X,1911-3838,,Total_Item_Requests,19,0,0,2,1,3,0,1,0,0,0,0,0,3,1,0,4,4,0\r\n"Accounting Perspectives",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1911-3838,Wiley:APR,1911-382X,1911-3838,,Unique_Item_Requests,14,0,0,1,1,1,0,1,0,0,0,0,0,2,1,0,4,3,0\r\n"Acta Anaesthesiologica Scandinavica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1399-6576,Wiley:AAS,0001-5172,1399-6576,,Total_Item_Requests,181,29,20,19,5,15,4,19,6,5,6,4,0,3,29,1,12,4,0\r\n"Acta Anaesthesiologica Scandinavica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1399-6576,Wiley:AAS,0001-5172,1399-6576,,Unique_Item_Requests,117,21,12,11,4,10,4,14,3,5,4,4,0,2,14,1,4,4,0\r\n"Acta Neurologica Scandinavica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1600-0404,Wiley:ANE,0001-6314,1600-0404,,Total_Item_Requests,23,0,0,2,0,5,0,1,1,0,2,2,0,2,1,5,2,0,0\r\n"Acta Neurologica Scandinavica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1600-0404,Wiley:ANE,0001-6314,1600-0404,,Unique_Item_Requests,21,0,0,2,0,4,0,1,1,0,1,2,0,2,1,5,2,0,0\r\n"Acta Obstetricia et Gynecologica Scandinavica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1600-0412,Wiley:AOGS,0001-6349,1600-0412,,Total_Item_Requests,22,1,0,0,0,0,0,0,0,0,0,0,0,0,0,15,4,2,0\r\n"Acta Obstetricia et Gynecologica Scandinavica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1600-0412,Wiley:AOGS,0001-6349,1600-0412,,Unique_Item_Requests,11,1,0,0,0,0,0,0,0,0,0,0,0,0,0,7,2,1,0\r\n"Acta Ophthalmologica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1755-3768,Wiley:AOS,1755-375X,1755-3768,,Total_Item_Requests,2,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0\r\n"Acta Ophthalmologica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1755-3768,Wiley:AOS,1755-375X,1755-3768,,Unique_Item_Requests,2,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0\r\n"Acta Paediatrica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1651-2227,Wiley:APA,0803-5253,1651-2227,,Total_Item_Requests,229,23,26,14,12,8,45,22,6,10,8,3,9,7,8,11,9,8,0\r\n"Acta Paediatrica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1651-2227,Wiley:APA,0803-5253,1651-2227,,Unique_Item_Requests,165,16,19,8,8,8,37,11,6,7,6,3,8,6,7,7,3,5,0\r\n"Acta Physiologica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1748-1716,Wiley:APHA,1748-1708,1748-1716,,Total_Item_Requests,13,2,0,0,1,1,8,0,0,0,0,0,0,0,1,0,0,0,0\r\n"Acta Physiologica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1748-1716,Wiley:APHA,1748-1708,1748-1716,,Unique_Item_Requests,12,2,0,0,1,1,7,0,0,0,0,0,0,0,1,0,0,0,0\r\n"Acta Psychiatrica Scandinavica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1600-0447,Wiley:ACPS,0001-690X,1600-0447,,Total_Item_Requests,226,5,9,28,28,15,18,4,1,2,4,13,14,24,8,20,21,12,0\r\n"Acta Psychiatrica Scandinavica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1600-0447,Wiley:ACPS,0001-690X,1600-0447,,Unique_Item_Requests,178,4,5,19,23,10,17,3,1,1,4,13,10,19,6,18,14,11,0\r\n', + 'Report_Name,"Journal Requests (Excluding OA_Gold)"\r\nReport_ID,TR_J1\r\nRelease,5\r\nInstitution_Name,"University Of West London"\r\nInstitution_ID,"Proprietary:Wiley:EAL00000122866; ISNI:0000000121857124"\r\nMetric_Types,"Total_Item_Requests; Unique_Item_Requests"\r\nReport_Filters,"Metric_Type:Total_Item_Requests|Unique_Item_Requests; Access_Type:Controlled; End_Date:2023-06-01; Begin_Date:2022-01-01; Data_Type:Journal; Access_Method:Regular"\r\nReport_Attributes,\r\nExceptions,"3031: Usage Not Ready for Requested Dates (Requested data between 2023-06-01 and 2023-06-01. However only data between 2018-11-01 and 2023-05-31 exists.)"\r\nReporting_Period,"Begin_Date=2022-01-01; End_Date=2023-06-01"\r\nCreated,2023-06-19T02:13:31Z\r\nCreated_By,"Atypon Systems LLC."\r\n\r\nTitle,Publisher,Publisher_ID,Platform,DOI,Proprietary_ID,Print_ISSN,Online_ISSN,URI,Metric_Type,Reporting_Period_Total,"Jan 2022","Feb 2022","Mar 2022","Apr 2022","May 2022","Jun 2022","Jul 2022","Aug 2022","Sep 2022","Oct 2022","Nov 2022","Dez 2022","Jan 2023","Feb 2023","Mar 2023","Apr 2023","May 2023","Jun 2023"\r\n"AEM Education and Training",Wiley,0000000403801313,"Wiley Online Library",10.1002/(ISSN)2472-5390,Wiley:AET2,2472-5390,2472-5390,,Total_Item_Requests,16,1,3,0,1,3,1,0,2,1,0,0,1,0,3,0,0,0,0\r\n"AEM Education and Training",Wiley,0000000403801313,"Wiley Online Library",10.1002/(ISSN)2472-5390,Wiley:AET2,2472-5390,2472-5390,,Unique_Item_Requests,10,1,2,0,1,1,1,0,1,1,0,0,1,0,1,0,0,0,0\r\n"AIChE Journal",Wiley,0000000403801313,"Wiley Online Library",10.1002/(ISSN)1547-5905,Wiley:AIC,0001-1541,1547-5905,,Total_Item_Requests,4,1,0,0,0,0,1,0,0,0,0,1,1,0,0,0,0,0,0\r\n"AIChE Journal",Wiley,0000000403801313,"Wiley Online Library",10.1002/(ISSN)1547-5905,Wiley:AIC,0001-1541,1547-5905,,Unique_Item_Requests,4,1,0,0,0,0,1,0,0,0,0,1,1,0,0,0,0,0,0\r\n"ANZ Journal of Surgery",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1445-2197,Wiley:AND,1445-1433,1445-2197,,Total_Item_Requests,103,11,2,20,14,8,2,9,1,0,5,6,0,2,4,6,5,8,0\r\n"ANZ Journal of Surgery",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1445-2197,Wiley:AND,1445-1433,1445-2197,,Unique_Item_Requests,77,9,2,16,8,6,1,9,1,0,3,4,0,1,4,4,2,7,0\r\n"AORN Journal",Wiley,0000000403801313,"Wiley Online Library",10.1002/(ISSN)1878-0369,Wiley:AORN,0001-2092,1878-0369,,Total_Item_Requests,634,71,45,59,20,43,47,45,11,14,15,31,22,29,18,28,39,97,0\r\n"AORN Journal",Wiley,0000000403801313,"Wiley Online Library",10.1002/(ISSN)1878-0369,Wiley:AORN,0001-2092,1878-0369,,Unique_Item_Requests,436,53,27,27,15,34,30,30,6,11,13,22,17,23,16,26,26,60,0\r\nAPMIS,Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1600-0463,Wiley:APM,0903-4641,1600-0463,,Total_Item_Requests,6,0,0,0,1,0,0,0,2,0,0,0,2,0,1,0,0,0,0\r\nAPMIS,Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1600-0463,Wiley:APM,0903-4641,1600-0463,,Unique_Item_Requests,4,0,0,0,1,0,0,0,1,0,0,0,1,0,1,0,0,0,0\r\n"AWWA Water Science",Wiley,0000000403801313,"Wiley Online Library",10.1002/(ISSN)2577-8161,Wiley:AWS2,,2577-8161,,Total_Item_Requests,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0\r\n"AWWA Water Science",Wiley,0000000403801313,"Wiley Online Library",10.1002/(ISSN)2577-8161,Wiley:AWS2,,2577-8161,,Unique_Item_Requests,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0\r\nAbacus,Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1467-6281,Wiley:ABAC,0001-3072,1467-6281,,Total_Item_Requests,51,3,0,7,0,2,0,1,0,0,0,11,6,0,3,17,1,0,0\r\nAbacus,Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1467-6281,Wiley:ABAC,0001-3072,1467-6281,,Unique_Item_Requests,36,2,0,6,0,2,0,1,0,0,0,7,2,0,2,13,1,0,0\r\n"Academic Emergency Medicine",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1553-2712,Wiley:ACEM,1069-6563,1553-2712,,Total_Item_Requests,213,18,16,11,13,21,20,28,16,6,11,2,4,18,17,1,7,4,0\r\n"Academic Emergency Medicine",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1553-2712,Wiley:ACEM,1069-6563,1553-2712,,Unique_Item_Requests,159,15,11,10,10,15,13,23,12,6,7,2,2,10,12,1,7,3,0\r\n"Accounting & Finance",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1467-629X,Wiley:ACFI,0810-5391,1467-629X,,Total_Item_Requests,67,2,4,4,13,8,1,0,2,2,1,9,6,2,0,2,4,7,0\r\n"Accounting & Finance",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1467-629X,Wiley:ACFI,0810-5391,1467-629X,,Unique_Item_Requests,53,1,4,4,11,7,1,0,2,1,1,7,3,1,0,2,4,4,0\r\n"Accounting Perspectives",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1911-3838,Wiley:APR,1911-382X,1911-3838,,Total_Item_Requests,19,0,0,2,1,3,0,1,0,0,0,0,0,3,1,0,4,4,0\r\n"Accounting Perspectives",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1911-3838,Wiley:APR,1911-382X,1911-3838,,Unique_Item_Requests,14,0,0,1,1,1,0,1,0,0,0,0,0,2,1,0,4,3,0\r\n"Acta Anaesthesiologica Scandinavica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1399-6576,Wiley:AAS,0001-5172,1399-6576,,Total_Item_Requests,181,29,20,19,5,15,4,19,6,5,6,4,0,3,29,1,12,4,0\r\n"Acta Anaesthesiologica Scandinavica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1399-6576,Wiley:AAS,0001-5172,1399-6576,,Unique_Item_Requests,117,21,12,11,4,10,4,14,3,5,4,4,0,2,14,1,4,4,0\r\n"Acta Neurologica Scandinavica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1600-0404,Wiley:AND,0001-6314,1600-0404,,Total_Item_Requests,23,0,0,2,0,5,0,1,1,0,2,2,0,2,1,5,2,0,0\r\n"Acta Neurologica Scandinavica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1600-0404,Wiley:AND,0001-6314,1600-0404,,Unique_Item_Requests,21,0,0,2,0,4,0,1,1,0,1,2,0,2,1,5,2,0,0\r\n"Acta Obstetricia et Gynecologica Scandinavica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1600-0412,Wiley:AOGS,0001-6349,1600-0412,,Total_Item_Requests,22,1,0,0,0,0,0,0,0,0,0,0,0,0,0,15,4,2,0\r\n"Acta Obstetricia et Gynecologica Scandinavica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1600-0412,Wiley:AOGS,0001-6349,1600-0412,,Unique_Item_Requests,11,1,0,0,0,0,0,0,0,0,0,0,0,0,0,7,2,1,0\r\n"Acta Ophthalmologica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1755-3768,Wiley:AOS,1755-375X,1755-3768,,Total_Item_Requests,2,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0\r\n"Acta Ophthalmologica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1755-3768,Wiley:AOS,1755-375X,1755-3768,,Unique_Item_Requests,2,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0\r\n"Acta Paediatrica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1651-2227,Wiley:APA,0803-5253,1651-2227,,Total_Item_Requests,229,23,26,14,12,8,45,22,6,10,8,3,9,7,8,11,9,8,0\r\n"Acta Paediatrica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1651-2227,Wiley:APA,0803-5253,1651-2227,,Unique_Item_Requests,165,16,19,8,8,8,37,11,6,7,6,3,8,6,7,7,3,5,0\r\n"Acta Physiologica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1748-1716,Wiley:APHA,1748-1708,1748-1716,,Total_Item_Requests,13,2,0,0,1,1,8,0,0,0,0,0,0,0,1,0,0,0,0\r\n"Acta Physiologica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1748-1716,Wiley:APHA,1748-1708,1748-1716,,Unique_Item_Requests,12,2,0,0,1,1,7,0,0,0,0,0,0,0,1,0,0,0,0\r\n"Acta Psychiatrica Scandinavica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1600-0447,Wiley:ACPS,0001-690X,1600-0447,,Total_Item_Requests,226,5,9,28,28,15,18,4,1,2,4,13,14,24,8,20,21,12,0\r\n"Acta Psychiatrica Scandinavica",Wiley,0000000403801313,"Wiley Online Library",10.1111/(ISSN)1600-0447,Wiley:ACPS,0001-690X,1600-0447,,Unique_Item_Requests,178,4,5,19,23,10,17,3,1,1,4,13,10,19,6,18,14,11,0\r\n', filename: "PTFS Journals_TR_J1", type: "TR_J1", usage_data_provider_id: 1, diff --git a/t/db_dependent/Accounts.t b/t/db_dependent/Accounts.t index 069feffe569..29e949730dc 100755 --- a/t/db_dependent/Accounts.t +++ b/t/db_dependent/Accounts.t @@ -124,32 +124,32 @@ my @test_data = ( }, { amount => 5, days_ago => $days - 1, - description => 'purge_zero_balance_fees should not delete fees with positive amout owed before threshold day', + description => 'purge_zero_balance_fees should not delete fees with positive amount owed before threshold day', delete => 0, credit_type => undef, debit_type => 'OVERDUE' }, { amount => 5, days_ago => $days, - description => 'purge_zero_balance_fees should not delete fees with positive amout owed on threshold day', + description => 'purge_zero_balance_fees should not delete fees with positive amount owed on threshold day', delete => 0, credit_type => undef, debit_type => 'OVERDUE' }, { amount => 5, days_ago => $days + 1, - description => 'purge_zero_balance_fees should not delete fees with positive amout owed after threshold day', + description => 'purge_zero_balance_fees should not delete fees with positive amount owed after threshold day', delete => 0, credit_type => undef, debit_type => 'OVERDUE' }, { amount => -5, days_ago => $days - 1, - description => 'purge_zero_balance_fees should not delete fees with negative amout owed before threshold day', + description => 'purge_zero_balance_fees should not delete fees with negative amount owed before threshold day', delete => 0, credit_type => 'PAYMENT', debit_type => undef }, { amount => -5, days_ago => $days, - description => 'purge_zero_balance_fees should not delete fees with negative amout owed on threshold day', + description => 'purge_zero_balance_fees should not delete fees with negative amount owed on threshold day', delete => 0, credit_type => 'PAYMENT', debit_type => undef }, { amount => -5, days_ago => $days + 1, - description => 'purge_zero_balance_fees should not delete fees with negative amout owed after threshold day', + description => 'purge_zero_balance_fees should not delete fees with negative amount owed after threshold day', delete => 0, credit_type => 'PAYMENT', debit_type => undef } ); diff --git a/t/db_dependent/Acquisition.t b/t/db_dependent/Acquisition.t index 7552a2d3458..92aa601d87c 100755 --- a/t/db_dependent/Acquisition.t +++ b/t/db_dependent/Acquisition.t @@ -181,7 +181,7 @@ my ( $biblionumber3, $biblioitemnumber3 ) = AddBiblio( MARC::Record->new, '' ); my ( $biblionumber4, $biblioitemnumber4 ) = AddBiblio( MARC::Record->new, '' ); my ( $biblionumber5, $biblioitemnumber5 ) = AddBiblio( MARC::Record->new, '' ); -# Prepare 6 orders, and make distinction beween fields to be tested with eq and with == +# Prepare 6 orders, and make distinction between fields to be tested with eq and with == # Ex : a price of 50.1 will be stored internally as 5.100000 my @order_content = ( diff --git a/t/db_dependent/Acquisition/TransferOrder.t b/t/db_dependent/Acquisition/TransferOrder.t index d5fdfff5ec1..8fb96c05007 100755 --- a/t/db_dependent/Acquisition/TransferOrder.t +++ b/t/db_dependent/Acquisition/TransferOrder.t @@ -85,7 +85,7 @@ $order = Koha::Acquisition::Orders->find( $order->{ordernumber} ); is( $order->items->count, 1, "1 item in basket1's order" ); is( scalar GetOrders($basketno2), 0, "0 order in basket2" ); -# Transfering order to basket2 +# Transferring order to basket2 my $newordernumber = TransferOrder( $ordernumber, $basketno2 ); is( scalar GetOrders($basketno1), 0, "0 order in basket1" ); is( scalar GetOrders($basketno2), 1, "1 order in basket2" ); diff --git a/t/db_dependent/Auth.t b/t/db_dependent/Auth.t index 9005d7ca41c..868d70f7cac 100755 --- a/t/db_dependent/Auth.t +++ b/t/db_dependent/Auth.t @@ -82,7 +82,7 @@ subtest 'checkauth() tests' => sub { my $is_allowed = C4::Auth::haspermission( $db_user_id, { can_do => 'everything' } ); - # FIXME This belongs to t/db_dependent/Auth/haspermission.t but we do not want to c/p the pervious mock statements + # FIXME This belongs to t/db_dependent/Auth/haspermission.t but we do not want to c/p the previous mock statements ok( !$is_allowed, 'DB user should not have any permissions' ); subtest 'Prevent authentication when sending credential via GET' => sub { diff --git a/t/db_dependent/Auth_with_ldap.t b/t/db_dependent/Auth_with_ldap.t index 4806cac3e1d..a5864e4af72 100755 --- a/t/db_dependent/Auth_with_ldap.t +++ b/t/db_dependent/Auth_with_ldap.t @@ -146,7 +146,7 @@ subtest 'checkpw_ldap tests' => sub { warning_is { $ret = C4::Auth_with_ldap::checkpw_ldap( 'hola', password => 'hey' ); } - 'LDAP connexion failed', + 'LDAP connection failed', 'checkpw_ldap prints correct warning if LDAP conexion fails'; is( $ret, 0, 'checkpw_ldap returns 0 if LDAP conexion fails' ); diff --git a/t/db_dependent/Biblio.t b/t/db_dependent/Biblio.t index 79109d708af..1f08417b932 100755 --- a/t/db_dependent/Biblio.t +++ b/t/db_dependent/Biblio.t @@ -397,7 +397,7 @@ sub run_tests { my $data = GetBiblioData($biblionumber); is( $data->{isbn}, $isbn, - '(GetBiblioData) ISBN correctly retireved.' + '(GetBiblioData) ISBN correctly retrieved.' ); is( $data->{title}, undef, diff --git a/t/db_dependent/Biblio/MarcOverlayRules.t b/t/db_dependent/Biblio/MarcOverlayRules.t index 3fdf7412ef7..1f863e7d167 100755 --- a/t/db_dependent/Biblio/MarcOverlayRules.t +++ b/t/db_dependent/Biblio/MarcOverlayRules.t @@ -1088,7 +1088,7 @@ subtest 'context option in ModBiblio is handled correctly' => sub { DelBiblio($biblionumber); }; -# Explicityly delete rule to trigger clearing of cache +# Explicitly delete rule to trigger clearing of cache $rule->delete(); $schema->storage->txn_rollback; diff --git a/t/db_dependent/Biblio_holdsqueue.t b/t/db_dependent/Biblio_holdsqueue.t index 6fcb685d532..4170baa8d9d 100755 --- a/t/db_dependent/Biblio_holdsqueue.t +++ b/t/db_dependent/Biblio_holdsqueue.t @@ -83,7 +83,7 @@ subtest 'ModBiblio() + holds_queue update tests' => sub { $biblio->frameworkcode, { skip_holds_queue => 0 } ); - # this call shoul not trigger the mocked 'enqueue' + # this call FIXME CODESPELL (shoul ==> should, shoal, shawl) not trigger the mocked 'enqueue' C4::Biblio::ModBiblio( $biblio->metadata->record, $biblio->id, $biblio->frameworkcode, { skip_holds_queue => 1 } diff --git a/t/db_dependent/Breeding.t b/t/db_dependent/Breeding.t index e042446b05c..237ef8c98c0 100755 --- a/t/db_dependent/Breeding.t +++ b/t/db_dependent/Breeding.t @@ -139,7 +139,7 @@ sub test_build_translate_query { #Another try with fallback to any $server = { sru_fields => 'srchany=overal' }; $squery = C4::Breeding::_translate_query( $server, $queries[1] ); - is( $squery =~ /overal/, 1, 'SRU query fallback to translated any' ); + is( $squery =~ /overall/, 1, 'SRU query fallback to translated any' ); #Another try even without any $server = { sru_fields => 'this,is,bad,input' }; diff --git a/t/db_dependent/Budgets.t b/t/db_dependent/Budgets.t index b68fc164969..309c949ddf3 100755 --- a/t/db_dependent/Budgets.t +++ b/t/db_dependent/Budgets.t @@ -130,7 +130,7 @@ is( ); is( $budgetperiod->{budget_period_active}, $my_budgetperiod->{budget_period_active}, - 'ModBudgetPeriod upates active correctly' + 'ModBudgetPeriod updates active correctly' ); $budgetperiods = GetBudgetPeriods(); diff --git a/t/db_dependent/Circulation.t b/t/db_dependent/Circulation.t index 4406b55a5ab..38b8b454e1e 100755 --- a/t/db_dependent/Circulation.t +++ b/t/db_dependent/Circulation.t @@ -2007,10 +2007,10 @@ subtest "GetUpcomingDueIssues" => sub { is( scalar(@$upcoming_dues), 1, "1 item is due today, none tomorrow" ); $upcoming_dues = C4::Circulation::GetUpcomingDueIssues( { days_in_advance => 2 } ); - is( scalar(@$upcoming_dues), 2, "2 items are due withing 2 days" ); + is( scalar(@$upcoming_dues), 2, "2 items are due within 2 days" ); $upcoming_dues = C4::Circulation::GetUpcomingDueIssues( { days_in_advance => 3 } ); - is( scalar(@$upcoming_dues), 2, "2 items are due withing 2 days" ); + is( scalar(@$upcoming_dues), 2, "2 items are due within 2 days" ); $upcoming_dues = C4::Circulation::GetUpcomingDueIssues(); is( scalar(@$upcoming_dues), 2, "days_in_advance is 7 in GetUpcomingDueIssues if not provided" ); @@ -5709,7 +5709,7 @@ subtest 'Incremented fee tests' => sub { } ); - is( $itemtype->rentalcharge_daily + 0, 1, 'Daily rental charge stored and retreived correctly' ); + is( $itemtype->rentalcharge_daily + 0, 1, 'Daily rental charge stored and retrieved correctly' ); is( $item->effective_itemtype, $itemtype->id, "Itemtype set correctly for item" ); my $now = dt_from_string; @@ -5774,7 +5774,7 @@ subtest 'Incremented fee tests' => sub { my $calendar = C4::Calendar->new( branchcode => $library->id ); - # DateTime 1..7 (Mon..Sun), C4::Calender 0..6 (Sun..Sat) + # DateTime 1..7 (Mon..Sun), C4::Calendar 0..6 (Sun..Sat) my $closed_day = ( $dt_from->day_of_week == 6 ) ? 0 : ( $dt_from->day_of_week == 7 ) ? 1 @@ -5812,7 +5812,7 @@ subtest 'Incremented fee tests' => sub { $issue->delete(); $itemtype->rentalcharge(2)->store; - is( $itemtype->rentalcharge + 0, 2, 'Rental charge updated and retreived correctly' ); + is( $itemtype->rentalcharge + 0, 2, 'Rental charge updated and retrieved correctly' ); $issue = AddIssue( $patron, $item->barcode, $dt_to, undef, $dt_from ); my $accountlines = Koha::Account::Lines->search( { itemnumber => $item->id } ); is( $accountlines->count, '2', "Fixed charge and accrued charge recorded distinctly" ); @@ -5831,7 +5831,7 @@ subtest 'Incremented fee tests' => sub { $accountlines->delete(); $issue->delete(); $itemtype->rentalcharge(0)->store; - is( $itemtype->rentalcharge + 0, 0, 'Rental charge reset and retreived correctly' ); + is( $itemtype->rentalcharge + 0, 0, 'Rental charge reset and retrieved correctly' ); # Hourly Koha::CirculationRules->set_rule( @@ -5845,7 +5845,7 @@ subtest 'Incremented fee tests' => sub { ); $itemtype->rentalcharge_hourly('0.25')->store(); - is( $itemtype->rentalcharge_hourly, '0.25', 'Hourly rental charge stored and retreived correctly' ); + is( $itemtype->rentalcharge_hourly, '0.25', 'Hourly rental charge stored and retrieved correctly' ); $dt_to = $now->clone->add( hours => 168 ); $dt_to_renew = $now->clone->add( hours => 312 ); diff --git a/t/db_dependent/Circulation/CalcDateDue.t b/t/db_dependent/Circulation/CalcDateDue.t index e4a1ea8bd97..00e3c99a2ca 100755 --- a/t/db_dependent/Circulation/CalcDateDue.t +++ b/t/db_dependent/Circulation/CalcDateDue.t @@ -113,7 +113,7 @@ $date = C4::Circulation::CalcDateDue( $start_date, $itemtype, $branchcode, $borr is( $date, '2013-02-' . ( 9 + $renewalperiod ) . 'T23:59:00', "date expiry ( 9 + $renewalperiod )" ); # Now we want to test the Dayweek useDaysMode option -# For this we need a loan period that is a mutiple of 7 days +# For this we need a loan period that is a multiple of 7 days # But, since we currently don't have that, let's test it does the # right thing in that case, it should act as though useDaysMode is set to # Datedue diff --git a/t/db_dependent/Circulation/OfflineOperation.t b/t/db_dependent/Circulation/OfflineOperation.t index 5aab62db717..b69e06565e3 100755 --- a/t/db_dependent/Circulation/OfflineOperation.t +++ b/t/db_dependent/Circulation/OfflineOperation.t @@ -84,7 +84,7 @@ is_deeply( cardnumber => 'Cardnumber1', amount => '10.000000' }, - "GetOffline returns offlineoperation's informations" + "GetOffline returns offlineoperation's information" ); is( GetOfflineOperation(), undef, diff --git a/t/db_dependent/Circulation/TooMany.t b/t/db_dependent/Circulation/TooMany.t index cc44f751f76..700ca24f09f 100755 --- a/t/db_dependent/Circulation/TooMany.t +++ b/t/db_dependent/Circulation/TooMany.t @@ -422,8 +422,8 @@ subtest '1 Issuingrule exist: 1 CO allowed, 1 OSCO allowed, Do a OSCO' => sub { subtest '1 BranchBorrowerCircRule exist: 1 CO allowed, 1 OSCO allowed' => sub { - # Note: the same test coul be done for - # DefaultBorrowerCircRule, DefaultBranchCircRule, DefaultBranchItemRule ans DefaultCircRule.pm + # Note: the same test could be done for + # DefaultBorrowerCircRule, DefaultBranchCircRule, DefaultBranchItemRule and DefaultCircRule.pm plan tests => 18; Koha::CirculationRules->set_rules( @@ -734,7 +734,7 @@ subtest 'General vs specific rules limit quantity correctly' => sub { 'We are only allowed one from that branch, and have one' ); - # Now we make anothe from a different branch + # Now we make another from a different branch my $item_2 = $builder->build_sample_item( { itype => $itemtype->{itemtype}, diff --git a/t/db_dependent/Circulation/transferbook.t b/t/db_dependent/Circulation/transferbook.t index 72564761135..7edfd5b2518 100755 --- a/t/db_dependent/Circulation/transferbook.t +++ b/t/db_dependent/Circulation/transferbook.t @@ -37,7 +37,7 @@ subtest 'transfer a non-existant item' => sub { my $library = $builder->build( { source => 'Branch' } ); - #Transfert on unknown barcode + #FIXME CODESPELL (Transfert ==> Transfer, Transferred) on unknown barcode my $item = $builder->build_sample_item(); my $badbc = $item->barcode; $item->delete; diff --git a/t/db_dependent/CourseReserves.t b/t/db_dependent/CourseReserves.t index 972b302d60b..22d674a9491 100755 --- a/t/db_dependent/CourseReserves.t +++ b/t/db_dependent/CourseReserves.t @@ -76,7 +76,7 @@ $course_id = ModCourse( my $course = GetCourse($course_id); ok( $course->{'course_name'} eq "Test Course", "GetCourse returned correct course" ); -ok( $course->{'staff_note'} eq "Test staff note 2", "ModCourse updated course succesfully" ); +ok( $course->{'staff_note'} eq "Test staff note 2", "ModCourse updated course successfully" ); is( $course->{'enabled'}, 'no', "Test Course is disabled" ); my $courses = GetCourses(); diff --git a/t/db_dependent/FrameworkPlugin.t b/t/db_dependent/FrameworkPlugin.t index a692834e2e6..ab112bfc85b 100755 --- a/t/db_dependent/FrameworkPlugin.t +++ b/t/db_dependent/FrameworkPlugin.t @@ -187,7 +187,7 @@ sub test05 { foreach my $f (@$plugins) { $objs->{$f} = Koha::FrameworkPlugin->new($f); my $pars = { dbh => $dbh, id => $f }; - is( $objs->{$f}->build($pars), 1, "Builded " . $objs->{$f}->name ); + is( $objs->{$f}->build($pars), 1, "Built " . $objs->{$f}->name ); } # test launching them (but we cannot verify returned results here) diff --git a/t/db_dependent/Holds/HoldFulfillmentPolicy.t b/t/db_dependent/Holds/HoldFulfillmentPolicy.t index 0ada9ef32eb..a092a12505d 100755 --- a/t/db_dependent/Holds/HoldFulfillmentPolicy.t +++ b/t/db_dependent/Holds/HoldFulfillmentPolicy.t @@ -184,7 +184,7 @@ $reserve_id = AddReserve( is( $status, q{}, "Hold where pickup ne home, pickup ne holding not targeted" ); Koha::Holds->find($reserve_id)->cancel; -# With hold_fulfillment_policy = any, hold should be pikcup up reguardless of matching home or holding branch +# With hold_fulfillment_policy = any, hold should be pikcup up regardless of matching home or holding branch $dbh->do("DELETE FROM circulation_rules"); Koha::CirculationRules->set_rules( { diff --git a/t/db_dependent/Holds/HoldItemtypeLimit.t b/t/db_dependent/Holds/HoldItemtypeLimit.t index 692a3d778b2..862fba14623 100755 --- a/t/db_dependent/Holds/HoldItemtypeLimit.t +++ b/t/db_dependent/Holds/HoldItemtypeLimit.t @@ -112,7 +112,7 @@ my $reserve_id = AddReserve( } ); my ($status) = CheckReserves($item); -is( $status, 'Reserved', "Hold where itemtype matches item's itemtype targed" ); +is( $status, 'Reserved', "Hold where itemtype matches item's itemtype target" ); Koha::Holds->find($reserve_id)->cancel; # Itemtypes don't match diff --git a/t/db_dependent/HoldsQueue.t b/t/db_dependent/HoldsQueue.t index 66df3e083e5..3234c42d5a7 100755 --- a/t/db_dependent/HoldsQueue.t +++ b/t/db_dependent/HoldsQueue.t @@ -400,7 +400,7 @@ C4::Calendar->new( branchcode => $branchcodes[0] )->insert_single_holiday( description => "$today", ); -# If the test below is removed, aother tests using the holiday will fail. For some reason if we call is_holiday now +# If the test below is removed, FIXME CODESPELL (aother ==> another, other, mother) tests using the holiday will fail. For some reason if we call is_holiday now # the holiday will get set in cache correctly, but not if we let C4::HoldsQueue call is_holiday instead. is( Koha::Calendar->new( branchcode => $branchcodes[0] )->is_holiday($today), 1, @@ -861,7 +861,7 @@ $holds_queue = $dbh->selectall_arrayref( "SELECT * FROM tmp_holdsqueue", { Slice is( @$holds_queue, 0, "Hold where pickup ne home, pickup ne holding not targeted" ); Koha::Holds->find($reserve_id)->cancel; -# With hold_fulfillment_policy = any, hold should be pikcup up reguardless of matching home or holding branch +# With hold_fulfillment_policy = any, hold should be pikcup up regardless of matching home or holding branch $dbh->do("DELETE FROM circulation_rules"); Koha::CirculationRules->set_rules( { diff --git a/t/db_dependent/ILSDI_Services.t b/t/db_dependent/ILSDI_Services.t index 8cccec08287..e439df02baa 100755 --- a/t/db_dependent/ILSDI_Services.t +++ b/t/db_dependent/ILSDI_Services.t @@ -866,7 +866,7 @@ subtest 'GetRecords' => sub { 'GetRecords returns transfer informations' ); - # Check informations exposed + # Check information exposed my $reply_issue = $reply->{record}->[0]->{issues}->{issue}->[0]; is( $reply_issue->{itemnumber}, $item->itemnumber, 'GetRecords has an issue tag' ); is( $reply_issue->{borrowernumber}, undef, 'GetRecords does not expose borrowernumber in issue tag' ); diff --git a/t/db_dependent/ImportBatch.t b/t/db_dependent/ImportBatch.t index 2e51162bf35..85ad8f00e8e 100755 --- a/t/db_dependent/ImportBatch.t +++ b/t/db_dependent/ImportBatch.t @@ -79,7 +79,7 @@ delete $importbatch2->{profile}; is_deeply( $importbatch2, $sample_import_batch2, - "GetImportBatch returns the right informations about $sample_import_batch2" + "GetImportBatch returns the right information about $sample_import_batch2" ); my $importbatch1 = C4::ImportBatch::GetImportBatch($id_import_batch1); @@ -92,7 +92,7 @@ delete $importbatch1->{profile}; is_deeply( $importbatch1, $sample_import_batch1, - "GetImportBatch returns the right informations about $sample_import_batch1" + "GetImportBatch returns the right information about $sample_import_batch1" ); my $record = MARC::Record->new; diff --git a/t/db_dependent/Installer.t b/t/db_dependent/Installer.t index fc053c694c0..4f4c68b11c2 100755 --- a/t/db_dependent/Installer.t +++ b/t/db_dependent/Installer.t @@ -68,7 +68,7 @@ ok( !column_exists( 'borrowers', 'xxx' ), 'Column xxx does not exist' ); } my @constraint_names = $source->unique_constraint_names(); my $constraint_name = $constraint_names[0]; -ok( index_exists( 'borrowers', $constraint_name ), 'Known contraint does exist' ); +ok( index_exists( 'borrowers', $constraint_name ), 'Known constraint does exist' ); ok( !index_exists( 'borrowers', 'xxx' ), 'Constraint xxx does not exist' ); ok( foreign_key_exists( 'borrowers', 'borrowers_ibfk_1' ), 'FK borrowers_ibfk_1 exists' ); diff --git a/t/db_dependent/Koha/Account.t b/t/db_dependent/Koha/Account.t index db7719f588f..8795ae7bdf9 100755 --- a/t/db_dependent/Koha/Account.t +++ b/t/db_dependent/Koha/Account.t @@ -1262,7 +1262,7 @@ subtest 'Koha::Account::pay() generates credit number (Koha::Account::Line->stor $accountlines_id = $account->pay( { type => 'WRITEOFF', amount => '1.00', library_id => $library->id } )->{payment_id}; $accountline = Koha::Account::Lines->find($accountlines_id); - is( $accountline->credit_number, undef, "Annual format credit number not aded for writeoff" ); + is( $accountline->credit_number, undef, "Annual format credit number not added for writeoff" ); t::lib::Mocks::mock_preference( 'AutoCreditNumber', 'branchyyyymmincr' ); for my $i ( 1 .. 11 ) { diff --git a/t/db_dependent/Koha/Acquisition/Basket.t b/t/db_dependent/Koha/Acquisition/Basket.t index 9d629c543a9..71a392be9d3 100755 --- a/t/db_dependent/Koha/Acquisition/Basket.t +++ b/t/db_dependent/Koha/Acquisition/Basket.t @@ -225,7 +225,7 @@ subtest 'estimated_delivery_date' => sub { $bookseller->deliverytime(2)->store; # 2 delivery days is( $basket->estimated_delivery_date, - undef, 'return undef if closedate is not defined (basket stil open)' + undef, 'return undef if closedate is not defined (basket still open)' ); $bookseller->deliverytime(2)->store; # 2 delivery days diff --git a/t/db_dependent/Koha/Charges/Fees.t b/t/db_dependent/Koha/Charges/Fees.t index f9f065eac70..b32b915f4db 100755 --- a/t/db_dependent/Koha/Charges/Fees.t +++ b/t/db_dependent/Koha/Charges/Fees.t @@ -365,7 +365,7 @@ subtest 'accumulate_rentalcharge tests' => sub { my $calendar = C4::Calendar->new( branchcode => $library->id ); - # DateTime 1..7 (Mon..Sun), C4::Calender 0..6 (Sun..Sat) + # DateTime 1..7 (Mon..Sun), C4::Calendar 0..6 (Sun..Sat) my $closed_day = ( $dt_from->day_of_week == 6 ) ? 0 : ( $dt_from->day_of_week == 7 ) ? 1 diff --git a/t/db_dependent/Koha/Objects.t b/t/db_dependent/Koha/Objects.t index 51ee06c7d9d..6570153b40f 100755 --- a/t/db_dependent/Koha/Objects.t +++ b/t/db_dependent/Koha/Objects.t @@ -193,7 +193,7 @@ subtest 'search_related' => sub { ->search_related('branchcode'); is( ref($libraries), 'Koha::Libraries', - 'Koha::Objects->search_related should return an instanciated Koha::Objects-based object' + 'Koha::Objects->search_related should return an instantiated Koha::Objects-based object' ); is( $libraries->count, 2, @@ -518,7 +518,7 @@ subtest 'Return same values as DBIx::Class' => sub { !defined $e_us && !defined $e_them, 'Successful delete should not raise an exception' ); - is( ref($r_us), 'Koha::City', 'Successful delete should return our Koha::Obect based object' ); + is( ref($r_us), 'Koha::City', 'Successful delete should return our Koha::Object based object' ); # CASE 2 - Delete an object that is not in storage try { $r_us = $r_us->delete; } catch { $e_us = $_ }; @@ -528,7 +528,7 @@ subtest 'Return same values as DBIx::Class' => sub { 'Delete an object that is not in storage should raise an exception' ); is( ref($e_us), 'DBIx::Class::Exception' ) - ; # FIXME This needs adjustement, we want to throw a Koha::Exception + ; # FIXME This needs adjustment, we want to throw a Koha::Exception }; @@ -647,7 +647,7 @@ subtest 'Return same values as DBIx::Class' => sub { ); is( ref($r_us), 'Koha::Patron', - 'Successful delete should return our Koha::Obect based object' + 'Successful delete should return our Koha::Object based object' ); # CASE 2 - Delete a patron that is not in storage @@ -658,7 +658,7 @@ subtest 'Return same values as DBIx::Class' => sub { 'Delete a patron that is not in storage should raise an exception' ); is( ref($e_us), 'DBIx::Class::Exception' ) - ; # FIXME This needs adjustement, we want to throw a Koha::Exception + ; # FIXME This needs adjustment, we want to throw a Koha::Exception # CASE 3 - Delete a patron that cannot be deleted (as a checkout) $patron = Koha::Patron->new($patron_data)->store; @@ -676,7 +676,7 @@ subtest 'Return same values as DBIx::Class' => sub { 'Delete a patron that cannot be deleted should raise an exception' ); is( ref($e_us), 'DBIx::Class::Exception' ) - ; # FIXME This needs adjustement, we want to throw a Koha::Exception + ; # FIXME This needs adjustment, we want to throw a Koha::Exception }; subtest 'Koha::Objects->delete' => sub { @@ -871,7 +871,7 @@ subtest 'Return same values as DBIx::Class' => sub { !defined $e_us && !defined $e_them, 'Successful update should not raise an exception' ); - is( ref($r_us), 'Koha::City', 'Successful update should return our Koha::Obect based object' ); + is( ref($r_us), 'Koha::City', 'Successful update should return our Koha::Object based object' ); # CASE 2 - Update an object that is not in storage $c_us->delete; @@ -1008,7 +1008,7 @@ subtest 'Return same values as DBIx::Class' => sub { ); is( ref($r_us), 'Koha::Patron', - 'Successful update should return our Koha::Obect based object' + 'Successful update should return our Koha::Object based object' ); # CASE 2 - Update a patron that is not in storage diff --git a/t/db_dependent/Koha/Objects/Mixin/AdditionalFields.t b/t/db_dependent/Koha/Objects/Mixin/AdditionalFields.t index b02c733a8fb..c42cab33073 100755 --- a/t/db_dependent/Koha/Objects/Mixin/AdditionalFields.t +++ b/t/db_dependent/Koha/Objects/Mixin/AdditionalFields.t @@ -76,7 +76,7 @@ is_deeply( [ map { { - # We are bascially removing the 'id' field here + # We are basically removing the 'id' field here field_id => $_->{field_id}, record_id => $_->{record_id}, value => $_->{value}, diff --git a/t/db_dependent/Koha/Patrons.t b/t/db_dependent/Koha/Patrons.t index 1cb7d7563c6..3fee9fc2dfd 100755 --- a/t/db_dependent/Koha/Patrons.t +++ b/t/db_dependent/Koha/Patrons.t @@ -2399,7 +2399,7 @@ subtest '->set_password' => sub { # Refresh patron from DB, just to make sure $patron->discard_changes; - is( $patron->login_attempts, 3, 'Previous tests kept login attemps count' ); + is( $patron->login_attempts, 3, 'Previous tests kept login attempts count' ); $patron->set_password( { password => 'abcD12 34' } ); $patron->discard_changes; @@ -2418,7 +2418,7 @@ subtest '->set_password' => sub { isnt( $patron->password, $old_digest, 'Password has been updated' ); ok( checkpw_hash( 'abcd a', $patron->password ), 'Password hash is correct' ); - is( $patron->login_attempts, 0, 'Login attemps have been reset' ); + is( $patron->login_attempts, 0, 'Login attempts have been reset' ); my $number_of_logs = $schema->resultset('ActionLog') ->search( { module => 'MEMBERS', action => 'CHANGE PASS', object => $patron->borrowernumber } )->count; diff --git a/t/db_dependent/Koha/Patrons/Import.t b/t/db_dependent/Koha/Patrons/Import.t index 8949574a797..f67eba5a4de 100755 --- a/t/db_dependent/Koha/Patrons/Import.t +++ b/t/db_dependent/Koha/Patrons/Import.t @@ -682,7 +682,7 @@ is( $result_6->{overwritten}, 0, 'Got the expected 0 overwritten result from imp # Given ... 2 new inputs. One without dateofbirth, dateenrolled and dateexpiry values. my $input_complete = - '1009,Christina,Harris,Dr,Philip,CH,99,Street,Grayhawk,Baton Rouge,Dallas,Louisiana,70810,United States,pharris9@hp.com,9-(317)603-5513,7-(005)062-7593,8-(349)134-1627,06/19/1969,IPT,PT,04/09/2015,07/01/2015,pharris9,NcAhcvvnB'; + '1009,Christina,Harris,Dr,Philip,CH,99,Street,Grayhawk,Baton Rogue,Dallas,Louisiana,70810,United States,pharris9@hp.com,9-(317)603-5513,7-(005)062-7593,8-(349)134-1627,06/19/1969,IPT,PT,04/09/2015,07/01/2015,pharris9,NcAhcvvnB'; my $input_no_date = '1010,Ralph,Warren,Ms,Linda,RW,6,Way,Barby,Orlando,Albany,Florida,32803,United States,lwarrena@multiply.com,7-(579)753-7752,6-(847)086-7566,9-(122)729-8226,26/01/2001,LPL,T,25/01/2001,24/01/2001,lwarrena,tJ56RD4uV'; diff --git a/t/db_dependent/Koha/REST/Plugin/Objects.t b/t/db_dependent/Koha/REST/Plugin/Objects.t index 36b28942221..bf5bbf0edb3 100755 --- a/t/db_dependent/Koha/REST/Plugin/Objects.t +++ b/t/db_dependent/Koha/REST/Plugin/Objects.t @@ -263,7 +263,7 @@ subtest 'objects.search helper, sorting on mapped column' => sub { ->json_is( '/2/country' => 'Belarus' )->json_is( '/3/name' => 'C' )->json_is( '/3/country' => 'Argentina' ) ->json_hasnt('/4'); - # Multi-param: PHP Style, Passes validation as above, subsequntly explodes + # Multi-param: PHP Style, Passes validation as above, subsequently explodes $t->get_ok('/cities?_order_by[]=%2Bname&_order_by[]=-country')->status_is(200)->json_has('/0')->json_has('/1') ->json_is( '/0/name' => 'A' )->json_is( '/1/name' => 'B' )->json_is( '/2/name' => 'C' ) ->json_is( '/2/country' => 'Belarus' )->json_is( '/3/name' => 'C' )->json_is( '/3/country' => 'Argentina' ) diff --git a/t/db_dependent/Koha/Reviews.t b/t/db_dependent/Koha/Reviews.t index 4e801981e32..b3d3f32ace0 100755 --- a/t/db_dependent/Koha/Reviews.t +++ b/t/db_dependent/Koha/Reviews.t @@ -59,7 +59,7 @@ my $new_review_2_1 = Koha::Review->new( { borrowernumber => $patron_2->borrowernumber, biblionumber => $biblio_1->biblionumber, - review => 'just anoter review', + review => 'just another review', } )->store; diff --git a/t/db_dependent/Koha/Subscription/Routinglists.t b/t/db_dependent/Koha/Subscription/Routinglists.t index c5eaf607a19..c897c716710 100755 --- a/t/db_dependent/Koha/Subscription/Routinglists.t +++ b/t/db_dependent/Koha/Subscription/Routinglists.t @@ -8,7 +8,7 @@ # (at your option) any later version. # # Koha is distributed in the hope that it will be useful, but -# WIT HOUT ANY WARRANTY; without even the implied warranty of +# WITH HOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # diff --git a/t/db_dependent/Koha/Template/Plugin/Koha.t b/t/db_dependent/Koha/Template/Plugin/Koha.t index ff50b3580e0..4cb1de7e8a3 100755 --- a/t/db_dependent/Koha/Template/Plugin/Koha.t +++ b/t/db_dependent/Koha/Template/Plugin/Koha.t @@ -49,7 +49,7 @@ subtest 'GenerateCSRF() tests' => sub { $schema->storage->txn_rollback; }; -subtest 'GenerateCSRF - New CSRF token generated everytime we need one' => sub { +subtest 'GenerateCSRF - New CSRF token generated every time we need one' => sub { plan tests => 2; $schema->storage->txn_begin; diff --git a/t/db_dependent/LDAP/test_ldap_add.pl b/t/db_dependent/LDAP/test_ldap_add.pl index 1d762c1d6b3..e8768faf2d6 100755 --- a/t/db_dependent/LDAP/test_ldap_add.pl +++ b/t/db_dependent/LDAP/test_ldap_add.pl @@ -66,7 +66,7 @@ sub ldap_search { $query->code and die sprintf 'error (code:%s) - %s', $query->code, $query->error; my $size = scalar( $query->entries ); my $i = 5; - print "\nNumber of records returned from search: $size.\n"; + print "\number of records returned from search: $size.\n"; ( $size > $i ) and print "Displaying the last $i records.\n\n"; foreach ( $query->entries ) { ( $size-- > $i ) and next; diff --git a/t/db_dependent/Languages.t b/t/db_dependent/Languages.t index 6f061d415e3..71a8454c42f 100755 --- a/t/db_dependent/Languages.t +++ b/t/db_dependent/Languages.t @@ -27,7 +27,7 @@ my $schema = Koha::Database->new->schema; $schema->storage->txn_begin; my $dbh = C4::Context->dbh; -isnt( C4::Languages::_get_themes(), undef, 'testing _get_themes doesnt return undef' ); +isnt( C4::Languages::_get_themes(), undef, 'testing _get_themes FIXME CODESPELL (doesnt ==> doesn't, does not) return undef' ); ok( C4::Languages::_get_language_dirs(), 'test getting _get_language_dirs' ); diff --git a/t/db_dependent/Letters.t b/t/db_dependent/Letters.t index 70dfaf5145f..957902cc2e5 100755 --- a/t/db_dependent/Letters.t +++ b/t/db_dependent/Letters.t @@ -224,7 +224,7 @@ isnt( $messages->[0]->{updated_on}, $messages->[0]->{time_queued}, 'Time status changed differs from time queued when status changes' ); -is( dt_from_string( $messages->[0]->{time_queued} ), $yesterday, 'Time queued remaines inmutable' ); +is( dt_from_string( $messages->[0]->{time_queued} ), $yesterday, 'Time queued FIXME CODESPELL (remaines ==> remains, remained) inmutable' ); # ResendMessage my $resent = C4::Letters::ResendMessage( $messages->[0]->{message_id} ); diff --git a/t/db_dependent/MarcModificationTemplates.t b/t/db_dependent/MarcModificationTemplates.t index 5a5befce890..f4465f09fd4 100755 --- a/t/db_dependent/MarcModificationTemplates.t +++ b/t/db_dependent/MarcModificationTemplates.t @@ -440,10 +440,10 @@ is( '245', '', '', '', '', '', '', '', 'if', '245', 'a', 'equals', '^Bad title', '1', - 'Delete first 245$a mathing ^Bad title' + 'Delete first 245$a matching ^Bad title' ), 1, - 'Delete first 245$a mathing ^Bad title' + 'Delete first 245$a matching ^Bad title' ); $record = new_record(); @@ -471,10 +471,10 @@ is( '245', '', '', '', '', '', '', '', 'if', '245', 'a', 'equals', 'updated$', '1', - 'Delete first 245$a mathing updated$' + 'Delete first 245$a matching updated$' ), 1, - 'Delete first 245$a mathing updated$' + 'Delete first 245$a matching updated$' ); $record = new_record(); diff --git a/t/db_dependent/Matcher.t b/t/db_dependent/Matcher.t index 4fcef88b76f..45b3b9654f8 100755 --- a/t/db_dependent/Matcher.t +++ b/t/db_dependent/Matcher.t @@ -60,7 +60,7 @@ subtest 'GetMatcherList' => sub { ok( $testmatcher = C4::Matcher->new( 'blue', 0 ), 'testing matcher new' ); $testmatcher->threshold(1000); - is( $testmatcher->threshold(), 1000, 'testing threshhold accessor method' ); + is( $testmatcher->threshold(), 1000, 'testing threshold accessor method' ); $testmatcher->_id(53); is( $testmatcher->_id(), 53, 'testing _id accessor' ); diff --git a/t/db_dependent/Patron/Borrower_PrevCheckout.t b/t/db_dependent/Patron/Borrower_PrevCheckout.t index cb5480d5e74..ec3523d38e7 100755 --- a/t/db_dependent/Patron/Borrower_PrevCheckout.t +++ b/t/db_dependent/Patron/Borrower_PrevCheckout.t @@ -362,7 +362,7 @@ test_it( $cpvPmappings, "PostReturn" ); # We have already tested ->wants_check_for_previous_checkout and # ->do_check_for_previous_checkout, so all that remains to be tested is # whetherthe different combinational outcomes of the above return values in -# CanBookBeIssued result in the approriate $needsconfirmation. +# CanBookBeIssued result in the appropriate $needsconfirmation. # We want to test: # - DESCRIPTION [RETURNVALUE (0/1)] diff --git a/t/db_dependent/Prices.t b/t/db_dependent/Prices.t index 1420b8406d8..1301e98064a 100755 --- a/t/db_dependent/Prices.t +++ b/t/db_dependent/Prices.t @@ -511,11 +511,11 @@ subtest 'Tests from t' => sub { t::lib::Mocks::mock_preference( 'CurrencyFormat', $currency_format ); is( Koha::Number::Price->new(1234567)->format_for_editing, '1234567.00', - 'format_for_editing should return unformated integer part with 2 decimals' + 'format_for_editing should return unformatted integer part with 2 decimals' ); is( Koha::Number::Price->new(1234567.89)->format_for_editing, '1234567.89', - 'format_for_editing should return unformated integer part with 2 decimals' + 'format_for_editing should return unformatted integer part with 2 decimals' ); } }; diff --git a/t/db_dependent/Reports.t b/t/db_dependent/Reports.t index d81a4f97593..7ac69182d1c 100755 --- a/t/db_dependent/Reports.t +++ b/t/db_dependent/Reports.t @@ -13,5 +13,5 @@ BEGIN { use_ok( 'C4::Reports', qw( GetDelimiterChoices ) ); } -ok( GetDelimiterChoices(), "Testing getting delimeter choices" ) +ok( GetDelimiterChoices(), "Testing getting delimiter choices" ) ; #Not testing the value of the output just that it returns something. diff --git a/t/db_dependent/Reserves.t b/t/db_dependent/Reserves.t index 93ab654c183..f87013cf5b2 100755 --- a/t/db_dependent/Reserves.t +++ b/t/db_dependent/Reserves.t @@ -228,7 +228,7 @@ $itemnum_fpl = $builder->build_sample_item( } )->itemnumber; -# Ensure that priorities are numbered correcly when a hold is moved to waiting +# Ensure that priorities are numbered correctly when a hold is moved to waiting # (bug 11947) $dbh->do( "DELETE FROM reserves WHERE biblionumber=?", undef, ($bibnum2) ); AddReserve( diff --git a/t/db_dependent/RotatingCollections.t b/t/db_dependent/RotatingCollections.t index 23528de050b..35cde21bced 100755 --- a/t/db_dependent/RotatingCollections.t +++ b/t/db_dependent/RotatingCollections.t @@ -164,13 +164,13 @@ my @collection1 = GetCollection($collection_id1); is_deeply( \@collection1, [ $collection_id1, 'Collection1', 'Description1', undef ], - "Collection1's informations" + "Collection1's information" ); my @collection2 = GetCollection($collection_id2); is_deeply( \@collection2, [ $collection_id2, 'Collection2 modified', 'Description2 modified', undef ], - "Collection2's informations" + "Collection2's information" ); my @undef_collection = GetCollection(); is_deeply( @@ -207,7 +207,7 @@ Koha::Library->new($samplebranch)->store; my ( $transferred, $messages ) = TransferCollection( $collection_id1, $samplebranch->{branchcode} ); is( $transferred, - 1, "Collection1 has been transfered in the branch SAB" + 1, "Collection1 has been transferred in the branch SAB" ); @collection1 = GetCollection($collection_id1); is_deeply( diff --git a/t/db_dependent/SIP/SIPServer.t b/t/db_dependent/SIP/SIPServer.t index e1e7e40f71e..ece1164499a 100755 --- a/t/db_dependent/SIP/SIPServer.t +++ b/t/db_dependent/SIP/SIPServer.t @@ -1,7 +1,7 @@ #!/usr/bin/perl # This test is db dependent: SIPServer needs MsgType which needs Auth. -# And Auth needs config vars and prefences in its BEGIN block. +# And Auth needs config vars and preferences in its BEGIN block. # This file is part of Koha. # diff --git a/t/db_dependent/Search.t b/t/db_dependent/Search.t index 5fa7ec17d61..6c9c7d0bde0 100755 --- a/t/db_dependent/Search.t +++ b/t/db_dependent/Search.t @@ -1156,12 +1156,12 @@ sub run_unimarc_search_tests { ['mainentry'], ['and'], [''], ['contains'], ['wil'], 0, 10, '', '', 1 ); - is( $count, 11, 'UNIMARC authorities: hits on mainentry contains "wil"' ); + is( $count, 11, 'UNIMARC authorities: hits on mainentry contains "FIXME CODESPELL (wil ==> will, well)"' ); ( $auths, $count ) = SearchAuthorities( ['match'], ['and'], [''], ['contains'], ['wil'], 0, 10, '', '', 1 ); - is( $count, 11, 'UNIMARC authorities: hits on match contains "wil"' ); + is( $count, 11, 'UNIMARC authorities: hits on match contains "FIXME CODESPELL (wil ==> will, well)"' ); ( $auths, $count ) = SearchAuthorities( ['mainentry'], ['and'], [''], ['contains'], ['michel'], 0, 20, '', '', 1 diff --git a/t/db_dependent/Serials.t b/t/db_dependent/Serials.t index 9ddc4719dda..3e3e3d18774 100755 --- a/t/db_dependent/Serials.t +++ b/t/db_dependent/Serials.t @@ -404,7 +404,7 @@ subtest 'GetSubscriptionsFromBiblionumber' => sub { is( C4::Serials::GetSerials(), undef, 'test getting serials when you enter nothing' ); is( C4::Serials::GetSerials2(), undef, 'test getting serials when you enter nothing' ); -is( C4::Serials::GetLatestSerials(), undef, 'test getting lastest serials' ); +is( C4::Serials::GetLatestSerials(), undef, 'test getting FIXME CODESPELL (lastest ==> latest, last) serials' ); is( C4::Serials::GetNextSeq(), undef, 'test getting next seq when you enter nothing' ); @@ -618,7 +618,7 @@ subtest "Do not generate an expected if one already exists" => sub { $publisheddate, $publisheddate, '1', 'an useless note' ); @serialsByStatus = C4::Serials::findSerialsByStatus( 1, $subscriptionid ); - is( @serialsByStatus, 1, "ModSerialStatus delete corectly serial expected and create another if not exist" ); + is( @serialsByStatus, 1, "ModSerialStatus delete correctly serial expected and create another if not exist" ); # add 1 serial with status=Expected 1 C4::Serials::ModSerialStatus( @@ -635,7 +635,7 @@ subtest "Do not generate an expected if one already exists" => sub { #try if create or not another serial with status is expected @serialsByStatus = C4::Serials::findSerialsByStatus( 1, $subscriptionid ); - is( @serialsByStatus, 1, "ModSerialStatus delete corectly serial expected and not create another if exists" ); + is( @serialsByStatus, 1, "ModSerialStatus delete correctly serial expected and not create another if exists" ); }; subtest "PreserveSerialNotes preference" => sub { diff --git a/t/db_dependent/Serials/ReNewSubscription.t b/t/db_dependent/Serials/ReNewSubscription.t index 0524a04d51e..720916d142b 100755 --- a/t/db_dependent/Serials/ReNewSubscription.t +++ b/t/db_dependent/Serials/ReNewSubscription.t @@ -155,7 +155,7 @@ is( $monthlength, undef, "Subscription length is undef months, invalid month dat ( $numberlength, $weeklength, $monthlength ) = GetSubscriptionLength( 'issues', 'w' ); is( $monthlength, undef, "Subscription length is undef issues, invalid issue data was not stored" ); -# Check subscription length when a special character is inputted into numberic sublength field +# Check subscription length when a special character is inputted into numeric sublength field ( $numberlength, $weeklength, $monthlength ) = GetSubscriptionLength( 'weeks', '!' ); is( $weeklength, undef, "Subscription length is undef weeks, invalid weeks data was not stored" ); diff --git a/t/db_dependent/Sitemapper.t b/t/db_dependent/Sitemapper.t index c33f0c4dec2..8341b530997 100755 --- a/t/db_dependent/Sitemapper.t +++ b/t/db_dependent/Sitemapper.t @@ -52,7 +52,7 @@ subtest 'Sitemapper' => sub { my $dir = C4::Context::temporary_directory; - # Create a sitemap for a catalog containg 2 biblios, with option 'long url' + # Create a sitemap for a catalog containing 2 biblios, with option 'long url' my $sitemapper = Koha::Sitemapper->new( verbose => 0, url => 'http://www.mylibrary.org', @@ -96,7 +96,7 @@ EOS EOS is( $file_content, $expected_content, 'Its content is valid' ); - # Create a sitemap for a catalog containg 2 biblios, with option 'short url'. + # Create a sitemap for a catalog containing 2 biblios, with option 'short url'. # Test that 2 files are created. $sitemapper = Koha::Sitemapper->new( verbose => 0, diff --git a/t/db_dependent/TestBuilder.t b/t/db_dependent/TestBuilder.t index 121849fd943..e58f6d29a9f 100755 --- a/t/db_dependent/TestBuilder.t +++ b/t/db_dependent/TestBuilder.t @@ -569,7 +569,7 @@ subtest '->build parameter' => sub { warnings_like { $builder->build( { source => 'Borrower', categorycode => 'foobar' } ); } - qr{Unknown parameter\(s\): categorycode}, "Unkown parameter detected"; + qr{Unknown parameter\(s\): categorycode}, "Unknown parameter detected"; $schema->storage->txn_rollback; }; diff --git a/t/db_dependent/Utils/Datatables_Virtualshelves.t b/t/db_dependent/Utils/Datatables_Virtualshelves.t index 4a5f1fe2669..2214f17e45f 100755 --- a/t/db_dependent/Utils/Datatables_Virtualshelves.t +++ b/t/db_dependent/Utils/Datatables_Virtualshelves.t @@ -188,7 +188,7 @@ t::lib::Mocks::mock_userenv( { patron => $john_doe_patron } ); # Search private lists by title $search_results = C4::Utils::DataTables::VirtualShelves::search( { - shelfname => "ist", + shelfname => "FIXME CODESPELL (ist ==> is, it, its, it's, sit, list)", %dt_params, public => 0, } @@ -201,7 +201,7 @@ is( is( $search_results->{recordsFiltered}, 2, - "There should be 2 private shelves with title like '%ist%" + "There should be 2 private shelves with title like '%FIXME CODESPELL (ist ==> is, it, its, it's, sit, list)%" ); is( diff --git a/t/db_dependent/selenium/basic_workflow.t b/t/db_dependent/selenium/basic_workflow.t index b20409c82ad..b1134aeb54f 100755 --- a/t/db_dependent/selenium/basic_workflow.t +++ b/t/db_dependent/selenium/basic_workflow.t @@ -280,7 +280,7 @@ SKIP: { $driver->get( $base_url . "/reserve/request.pl?borrowernumber=$borrowernumber&biblionumber=" . $biblionumbers[0] ); $driver->find_element('//form[@id="hold-request-form"]//button[@type="submit"]')->click; # Biblio level $driver->pause(1000) - ; # This seems wrong, since bug 19618 the hold is created async with an AJAX call. Not sure what is happening here but the next statements are exectuted before the hold is created and the count is wrong (still 0) + ; # This seems wrong, since bug 19618 the hold is created async with an AJAX call. Not sure what is happening here but the next statements are executed before the hold is created and the count is wrong (still 0) my $patron = Koha::Patrons->find($borrowernumber); is( $patron->holds->count, 1, ); diff --git a/t/mock_templates/intranet-tmpl/prog/en/modules/about.tt b/t/mock_templates/intranet-tmpl/prog/en/modules/about.tt index 88b37b60e59..fd8bf7e09cf 100644 --- a/t/mock_templates/intranet-tmpl/prog/en/modules/about.tt +++ b/t/mock_templates/intranet-tmpl/prog/en/modules/about.tt @@ -252,9 +252,9 @@ [% WRAPPER tab_panel tabname= "perl" bt_active = 1 %] - [% FOREACH tabl IN table %] + [% FOREACH table IN tablee %] - [% FOREACH ro IN tabl.row %] + [% FOREACH ro IN table.row %] [% IF ( ro.require ) %] [% SET th_font_weight = "bold" %] [% ELSE %] @@ -293,7 +293,7 @@ [% END %] [% END # /FOREACH ro %] - [% END # /FOREACH tabl %] + [% END # /FOREACH table %]
    Perl modules
    [% END # tab=perl %] [% END %] @@ -1186,9 +1186,9 @@
    Description
    [% ro.date | html %] [% ro.desc | html %]
    - [% FOREACH tabl IN table %] + [% FOREACH table IN tablee %] - [% FOREACH ro IN tabl.row %] + [% FOREACH ro IN table.row %] [% IF ( ro.require ) %] [% SET th_font_weight = "bold" %] [% ELSE %] @@ -293,7 +293,7 @@ [% END %] [% END # /FOREACH ro %] - [% END # /FOREACH tabl %] + [% END # /FOREACH table %]
    Perl modules
    [% END # tab=perl %] [% END %] @@ -1192,9 +1192,9 @@ Description - [% FOREACH tabl IN table2 %] + [% FOREACH table IN tablee2 %] - [% FOREACH ro IN tabl.row2 %] + [% FOREACH ro IN table.row2 %] [% ro.date | html %] [% ro.desc | html %] [% END %] diff --git a/tools/import_borrowers.pl b/tools/import_borrowers.pl index 38a20ca4867..41c40ee269c 100755 --- a/tools/import_borrowers.pl +++ b/tools/import_borrowers.pl @@ -23,7 +23,7 @@ # File format # # cardnumber,surname,firstname,title,othernames,initials,streetnumber,streettype, -# address line , address line 2, city, zipcode, contry, email, phone, mobile, fax, work email, work phone, +# address line , address line 2, city, zipcode, country, email, phone, mobile, fax, work email, work phone, # alternate streetnumber, alternate streettype, alternate address line 1, alternate city, # alternate zipcode, alternate country, alternate email, alternate phone, date of birth, branchcode, # categorycode, enrollment date, expiry date, noaddress, lost, debarred, contact surname, diff --git a/tools/modborrowers.pl b/tools/modborrowers.pl index df1861f5ea5..2685ca00f16 100755 --- a/tools/modborrowers.pl +++ b/tools/modborrowers.pl @@ -61,7 +61,7 @@ if ( $logged_in_user->is_superlibrarian ) { } my $dbh = C4::Context->dbh; -# Show borrower informations +# Show borrower information if ( $op eq 'cud-show' || $op eq 'show' ) { my @borrowers; my @patronidnumbers; @@ -154,7 +154,7 @@ if ( $op eq 'cud-show' || $op eq 'show' ) { my @patron_categories = Koha::Patron::Categories->search_with_library_limits( {}, { order_by => ['description'] } )->as_list; while ( my $attr_type = $patron_attribute_types->next ) { - next if $attr_type->unique_id; # Don't display patron attributes that must be unqiue + next if $attr_type->unique_id; # Don't display patron attributes that must be unique my $options = $attr_type->authorised_value_category ? GetAuthorisedValues( $attr_type->authorised_value_category ) diff --git a/tools/picture-upload.pl b/tools/picture-upload.pl index ec39cf3ed12..378b0f9991a 100755 --- a/tools/picture-upload.pl +++ b/tools/picture-upload.pl @@ -240,10 +240,10 @@ sub handle_dir { chomp $line; $logger->debug("Examining line: $line"); my $delim = ( $line =~ /\t/ ) ? "\t" : ( $line =~ /,/ ) ? "," : ""; - $logger->debug("Delimeter is \'$delim\'"); + $logger->debug("Delimiter is \'$delim\'"); unless ( $delim eq "," || $delim eq "\t" ) { warn - "Unrecognized or missing field delimeter. Please verify that you are using either a ',' or a 'tab'"; + "Unrecognized or missing field delimiter. Please verify that you are using either a ',' or a 'tab'"; $direrrors{'DELERR'} = 1; # This error is fatal to the import of this directory contents diff --git a/tools/upload-cover-image.pl b/tools/upload-cover-image.pl index d7cff847dc9..4f92b71c99a 100755 --- a/tools/upload-cover-image.pl +++ b/tools/upload-cover-image.pl @@ -172,7 +172,7 @@ if ( $op eq 'cud-process' && $fileID ) { unless ( $delim eq "," || $delim eq "\t" ) { warn - "Unrecognized or missing field delimeter. Please verify that you are using either a ',' or a 'tab'"; + "Unrecognized or missing field delimiter. Please verify that you are using either a ',' or a 'tab'"; $error = 'DELERR'; next; } else { diff --git a/xt/author/Text_CSV_Various.t b/xt/author/Text_CSV_Various.t index 4de03771b4b..768dffb6445 100755 --- a/xt/author/Text_CSV_Various.t +++ b/xt/author/Text_CSV_Various.t @@ -14,7 +14,7 @@ # You should have received a copy of the GNU General Public License along # with Koha; if not, see . -#This test demonstrates why Koha uses the CSV parser and configration +#This test demonstrates why Koha uses the CSV parser and configuration #it does. Specifically, the test is for Unicode compliance in text #parsing and data. This test requires other modules that Koha doesn't #actually use, in order to compare. Therefore, running this test is not diff --git a/xt/author/podcorrectness.t b/xt/author/podcorrectness.t index 129a6979459..c30a0df74da 100755 --- a/xt/author/podcorrectness.t +++ b/xt/author/podcorrectness.t @@ -3,7 +3,7 @@ =head1 podcorrectness.t This test file checks all perl modules in the C4 directory for POD -correctness. It typically finds things like pod tags withouth blank +correctness. It typically finds things like pod tags without blank lines immediately before or after them, unknown directives, or =over, =item, and =back in the wrong order. -- 2.39.5