Bugzilla – Attachment 19509 Details for
Bug 10560
No way to disable english
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10560 - fix the language selection to do the right thing
Bug-10560---fix-the-language-selection-to-do-the-r.patch (text/plain), 668 bytes, created by
Chris Cormack
on 2013-07-09 21:41:10 UTC
(
hide
)
Description:
Bug 10560 - fix the language selection to do the right thing
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2013-07-09 21:41:10 UTC
Size:
668 bytes
patch
obsolete
>From 5cea88cb38f6f7dc916907a7a44aaf6939d5ba4d Mon Sep 17 00:00:00 2001 >From: Robin Sheat <robin@catalyst.net.nz> >Date: Fri, 30 Nov 2012 15:48:50 +1300 >Subject: [PATCH] Bug 10560 - fix the language selection to do the right thing > >--- > C4/Templates.pm | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/C4/Templates.pm b/C4/Templates.pm >index 88b9b01..21604fc 100644 >--- a/C4/Templates.pm >+++ b/C4/Templates.pm >@@ -344,6 +344,10 @@ sub getlanguage { > return $lang; > } > >+ # Pick the first selected syspref language >+ $lang = shift @languages; >+ return $lang if $lang; >+ > # Fall back to English if necessary > return 'en'; > } >-- >1.8.1.2
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 10560
:
19509
|
19582
|
19584