Bugzilla – Attachment 181522 Details for
Bug 39325
Run codespell successfully on the whole codebase
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39325: (follow-up) A few minor corrections
Bug-39325-follow-up-A-few-minor-corrections.patch (text/plain), 5.55 KB, created by
Owen Leonard
on 2025-04-25 12:39:10 UTC
(
hide
)
Description:
Bug 39325: (follow-up) A few minor corrections
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-04-25 12:39:10 UTC
Size:
5.55 KB
patch
obsolete
>From 06577de90ca5e8c7021a41365b48c3f2dfabe9d3 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 20 Mar 2025 11:44:53 +0000 >Subject: [PATCH] Bug 39325: (follow-up) A few minor corrections > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > .codespell-ignore | 2 ++ > Koha/Misc/Files.pm | 2 +- > koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss | 2 +- > koha-tmpl/intranet-tmpl/prog/en/includes/subtype_limits.inc | 4 ++-- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt | 2 +- > t/db_dependent/Koha/Patrons/Import.t | 2 +- > t/db_dependent/Koha/Subscription/Routinglists.t | 2 +- > 7 files changed, 9 insertions(+), 7 deletions(-) > >diff --git a/.codespell-ignore b/.codespell-ignore >index 52d354b9a20..7ba49e57be7 100644 >--- a/.codespell-ignore >+++ b/.codespell-ignore >@@ -14,3 +14,5 @@ gir > repet > ore > sav >+theses >+rouge >diff --git a/Koha/Misc/Files.pm b/Koha/Misc/Files.pm >index 98bb95885af..05ac7b6a3c1 100644 >--- a/Koha/Misc/Files.pm >+++ b/Koha/Misc/Files.pm >@@ -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 actually contents of a file (in 'file_content'). In typical usage >+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. > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss b/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss >index 7927c8841da..63deb7d50e2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss >@@ -343,7 +343,7 @@ tr { > } > } > >- &.transfered { >+ &.transferred { > td { > background-color: #E8F0F6; > } >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 c6c80de0f8b..01712ec06c7 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 @@ > <option value="ctype:l">Legislation</option> > [% END %] > [% IF (limits.ctype.0 == 'm' ) %] >- <option value="ctype:m" selected="selected">Thesis</option> >+ <option value="ctype:m" selected="selected">Theses</option> > [% ELSE %] >- <option value="ctype:m">Thesis</option> >+ <option value="ctype:m">Theses</option> > [% END %] > [% IF (limits.ctype.0 == 'n' ) %] > <option value="ctype:n" selected="selected">Surveys</option> >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 c91020549e3..71f4b91c742 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 @@ > <option value="ctype:j">Patent document</option> > <option value="ctype:k">Discographies</option> > <option value="ctype:l">Legislation</option> >- <option value="ctype:m">Thesis</option> >+ <option value="ctype:m">Theses</option> > <option value="ctype:n">Surveys</option> > <option value="ctype:o">Reviews</option> > <option value="ctype:p">Programmed texts</option> >diff --git a/t/db_dependent/Koha/Patrons/Import.t b/t/db_dependent/Koha/Patrons/Import.t >index f67eba5a4de..8949574a797 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 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'; >+ '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'; > 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/Subscription/Routinglists.t b/t/db_dependent/Koha/Subscription/Routinglists.t >index c897c716710..8a558787472 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 >-# WITH HOUT ANY WARRANTY; without even the implied warranty of >+# WITHOUT ANY WARRANTY; without even the implied warranty of > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > # GNU General Public License for more details. > # >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39325
:
179269
|
179270
|
179271
|
179272
|
179501
|
179502
|
179503
|
179504
|
179505
|
179506
|
179507
|
179508
|
179509
|
179510
|
179511
|
179512
|
179517
|
179518
|
179519
|
179522
|
179525
|
179527
|
179528
|
179529
|
179530
|
179531
|
179532
|
179533
|
179534
|
180137
|
180138
|
180139
|
180140
|
180141
|
180142
|
180143
|
180144
|
180145
|
180146
|
180147
|
180148
|
180149
|
180150
|
181510
|
181511
|
181512
|
181513
|
181514
|
181515
|
181516
|
181517
|
181518
|
181519
|
181520
|
181521
|
181522
|
181523
|
181611
|
181612
|
181613
|
181614
|
181615
|
181616
|
181617
|
181618
|
181619
|
181620
|
181621
|
181637
|
181651
|
181983