Browse Source

Bug 19528: Fix a few typos like corrosponding

[1] Replace corrosponding => corresponding
[2] Replace containts => contains
[3] Replace item_level-itypes => item-level_itypes
[4] Replace Managment => Management
[5] Replace should returns => should return

Test plan:
Note that this patch only deals with POD lines or test descriptions.
So there is nothing to test, just read the patch.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Patch amended by RM: The release notes should not be modified

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
17.11.x
Marcel de Rooy 5 years ago
committed by Jonathan Druart
parent
commit
7f7a6879b2
  1. 2
      C4/Acquisition.pm
  2. 4
      C4/Biblio.pm
  3. 2
      C4/Circulation.pm
  4. 2
      C4/Log.pm
  5. 2
      C4/NewsChannels.pm
  6. 2
      C4/Serials.pm
  7. 2
      Koha/List/Patron.pm
  8. 2
      authorities/authorities.pl
  9. 2
      cataloguing/addbiblio.pl
  10. 6
      t/db_dependent/ArticleRequests.t
  11. 6
      t/db_dependent/Holds.t
  12. 4
      t/db_dependent/Items.t

2
C4/Acquisition.pm

@ -2437,7 +2437,7 @@ sub GetHistory {
$results = GetRecentAcqui($days);
C<$results> is a ref to a table which containts hashref
C<$results> is a ref to a table which contains hashref
=cut

4
C4/Biblio.pm

@ -1053,7 +1053,7 @@ in tab 0-9. (used field)
my $results = GetUsedMarcStructure($frameworkcode);
C<$results> is a ref to an array which each case containts a ref
C<$results> is a ref to an array which each case contains a ref
to a hash which each keys is the columns from marc_subfield_structure
C<$frameworkcode> is the framework code.
@ -2423,7 +2423,7 @@ sub _default_ind_to_space {
=head2 TransformHtmlToMarc
L<$record> = TransformHtmlToMarc(L<$cgi>)
L<$cgi> is the CGI object which containts the values for subfields
L<$cgi> is the CGI object which contains the values for subfields
{
'tag_010_indicator1_531951' ,
'tag_010_indicator2_531951' ,

2
C4/Circulation.pm

@ -2496,7 +2496,7 @@ sub GetOpenIssue {
this function get all issues from a biblionumber.
Return:
C<$issues> is a reference to array which each value is ref-to-hash. This ref-to-hash containts all column from
C<$issues> is a reference to array which each value is ref-to-hash. This ref-to-hash contains all column from
tables issues and the firstname,surname & cardnumber from borrowers.
=cut

2
C4/Log.pm

@ -230,7 +230,7 @@ sub displaylog {
$logs = GetLogs($datefrom,$dateto,$user,\@modules,$action,$object,$info);
Return:
C<$logs> is a ref to a hash which containts all columns from action_logs
C<$logs> is a ref to a hash which contains all columns from action_logs
=cut

2
C4/NewsChannels.pm

@ -182,7 +182,7 @@ sub get_opac_news {
=head2 GetNewsToDisplay
$news = &GetNewsToDisplay($lang,$branch);
C<$news> is a ref to an array which containts
C<$news> is a ref to an array which contains
all news with expirationdate > today or expirationdate is null
that is applicable for a given branch.

2
C4/Serials.pm

@ -265,7 +265,7 @@ sub AddItem2Serial {
$subs = GetSubscription($subscriptionid)
this function returns the subscription which has $subscriptionid as id.
return :
a hashref. This hash containts
a hashref. This hash contains
subscription, subscriptionhistory, aqbooksellers.name, biblio.title
=cut

2
Koha/List/Patron.pm

@ -19,7 +19,7 @@ package Koha::List::Patron;
=head1 NAME
Koha::List::Patron - Managment of lists of patrons
Koha::List::Patron - Management of lists of patrons
=head1 FUNCTIONS

2
authorities/authorities.pl

@ -320,7 +320,7 @@ sub CreateKey {
=item GetMandatoryFieldZ3950
This function return an hashref which containts all mandatory field
This function return an hashref which contains all mandatory field
to search with z3950 server.
=cut

2
cataloguing/addbiblio.pl

@ -253,7 +253,7 @@ sub CreateKey {
=head2 GetMandatoryFieldZ3950
This function return an hashref which containts all mandatory field
This function return an hashref which contains all mandatory field
to search with z3950 server.
=cut

6
t/db_dependent/ArticleRequests.t

@ -93,9 +93,9 @@ is( $article_request->status, Koha::ArticleRequest::Status::Canceled, '$ar->comp
$article_request->status(Koha::ArticleRequest::Status::Pending);
$article_request->store();
is( $article_request->biblio->id, $biblio->id, '$ar->biblio() gets corrosponding Koha::Biblio object' );
is( $article_request->item->id, $item->id, '$ar->item() gets corrosponding Koha::Item object' );
is( $article_request->borrower->id, $patron->id, '$ar->borrower() gets corrosponding Koha::Patron object' );
is( $article_request->biblio->id, $biblio->id, '$ar->biblio() gets corresponding Koha::Biblio object' );
is( $article_request->item->id, $item->id, '$ar->item() gets corresponding Koha::Item object' );
is( $article_request->borrower->id, $patron->id, '$ar->borrower() gets corresponding Koha::Patron object' );
my $ar = $patron->article_requests();
is( ref($ar), 'Koha::ArticleRequests', '$patron->article_requests returns Koha::ArticleRequests object' );

6
t/db_dependent/Holds.t

@ -362,18 +362,18 @@ $dbh->do(q{
($item_bibnum, $item_bibitemnum, $itemnumber) = AddItem(
{ homebranch => $branch_1, holdingbranch => $branch_1, itype => 'CANNOT' } , $bibnum);
is(CanItemBeReserved($borrowernumbers[0], $itemnumber), 'notReservable',
"CanItemBeReserved should returns 'notReservable'");
"CanItemBeReserved should return 'notReservable'");
($item_bibnum, $item_bibitemnum, $itemnumber) = AddItem(
{ homebranch => $branch_2, holdingbranch => $branch_1, itype => 'CAN' } , $bibnum);
is(CanItemBeReserved($borrowernumbers[0], $itemnumber),
'cannotReserveFromOtherBranches',
"CanItemBeReserved should returns 'cannotReserveFromOtherBranches'");
"CanItemBeReserved should return 'cannotReserveFromOtherBranches'");
($item_bibnum, $item_bibitemnum, $itemnumber) = AddItem(
{ homebranch => $branch_1, holdingbranch => $branch_1, itype => 'CAN' } , $bibnum);
is(CanItemBeReserved($borrowernumbers[0], $itemnumber), 'OK',
"CanItemBeReserved should returns 'OK'");
"CanItemBeReserved should return 'OK'");
# Bug 12632
t::lib::Mocks::mock_preference( 'item-level_itypes', 1 );

4
t/db_dependent/Items.t

@ -95,10 +95,10 @@ subtest 'General Add, Get and Del tests' => sub {
t::lib::Mocks::mock_preference('item-level_itypes', '1');
$getitem = GetItem($itemnumber);
is( $getitem->{itype}, $itemtype->{itemtype}, "Itemtype set correctly when using item_level-itypes" );
is( $getitem->{itype}, $itemtype->{itemtype}, "Itemtype set correctly when using item-level_itypes" );
t::lib::Mocks::mock_preference('item-level_itypes', '0');
$getitem = GetItem($itemnumber);
is( $getitem->{itype}, undef, "Itemtype set correctly when not using item_level-itypes" );
is( $getitem->{itype}, undef, "Itemtype set correctly when not using item-level_itypes" );
$schema->storage->txn_rollback;
};

Loading…
Cancel
Save