Bugzilla – Attachment 177268 Details for
Bug 38630
Make the REST API respect KohaOpacLanguage cookie
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38630: (QA follow-up) Two typos
Bug-38630-QA-follow-up-Two-typos.patch (text/plain), 1.52 KB, created by
Tomás Cohen Arazi (tcohen)
on 2025-01-28 11:48:22 UTC
(
hide
)
Description:
Bug 38630: (QA follow-up) Two typos
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2025-01-28 11:48:22 UTC
Size:
1.52 KB
patch
obsolete
>From 7b506671c1b9fe1a9f531e22cf4de6456d2eb6da Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 16 Jan 2025 08:35:53 +0000 >Subject: [PATCH] Bug 38630: (QA follow-up) Two typos > >Prefered and chose. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > C4/Languages.pm | 2 +- > t/Languages.t | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/Languages.pm b/C4/Languages.pm >index 61898c911f4..bd340138878 100644 >--- a/C4/Languages.pm >+++ b/C4/Languages.pm >@@ -696,7 +696,7 @@ sub getlanguage { > @languages = split /,/, $preference_value; > } > >- # Chose language from the URL >+ # Choose language from the URL > my $cgi_param_language = $cgi->param( 'language' ); > if ( defined $cgi_param_language && any { $_ eq $cgi_param_language } @languages) { > $language = $cgi_param_language; >diff --git a/t/Languages.t b/t/Languages.t >index 4b13d02cc28..717e1f96151 100755 >--- a/t/Languages.t >+++ b/t/Languages.t >@@ -82,7 +82,7 @@ subtest 'when interface is not intranet or opac' => sub { > > Koha::Language->set_requested_language('fr-FR'); > $cache->clear_from_cache('getlanguage'); >- is(C4::Languages::getlanguage(), 'fr-FR', 'but language requested through Koha::Language is prefered'); >+ is(C4::Languages::getlanguage(), 'fr-FR', 'but language requested through Koha::Language is preferred'); > > @languages = (); > $cache->clear_from_cache('getlanguage'); >-- >2.48.1
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 38630
:
175238
|
176226
|
176617
|
176618
|
176619
|
176620
|
177266
|
177267
| 177268 |
177269