Bugzilla – Attachment 176619 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.50 KB, created by
Marcel de Rooy
on 2025-01-16 10:33:20 UTC
(
hide
)
Description:
Bug 38630: (QA follow-up) Two typos
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2025-01-16 10:33:20 UTC
Size:
1.50 KB
patch
obsolete
>From ded8e297a5fa2fd35f07c5e5ba8da7e222b534e6 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 >Content-Type: text/plain; charset=utf-8 > >Prefered and chose. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > 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 d482e5ed7c..8aa8594202 100644 >--- a/C4/Languages.pm >+++ b/C4/Languages.pm >@@ -674,7 +674,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 4b13d02cc2..717e1f9615 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.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 38630
:
175238
|
176226
|
176617
|
176618
|
176619
|
176620
|
177266
|
177267
|
177268
|
177269