[koha-commits] main Koha release repository branch 3.14.x updated. v3.14.09-41-g269eb18

Git repo owner gitmaster at git.koha-community.org
Wed Aug 6 10:46:35 CEST 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, 3.14.x has been updated
       via  269eb184e97652c48f8c04bdf512aaef421da5b8 (commit)
      from  7a9727fca4437b635946d910dca26dd2ce8e0f83 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 269eb184e97652c48f8c04bdf512aaef421da5b8
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Thu Apr 3 22:37:09 2014 -0300

    Bug 5052: make it possible to pick a language if all choices are sublanguage
    
    This was tricky to catch. In current implementation, Bug 6755
    introduced in C4/Templates.pm as condition to send the array of
    hashrefs of languages that (@$languages_loop<2), but with one
    language group that condition is false, there is only one
    element in that array.
    
    This patch changes that condition to have more than one language
    selected, grouped or not.
    
    Also send $bidi value always, that was only sent if there is
    more than one group language.
    
    To test:
    1. Translate to en-GB and en-NZ, or simply do mkdirs
    on intranet-tmpl/prog and opac-tmpl/bootstrap
    
    2. Go to Administration > System preferences > I18N
    enable those languages on staff/opac
    
    3. Check that language chooser is nowhere to be found
    
    4. Apply the patch
    
    5. Reload staff/opac, now you can see language chooser
    
    NOTE: I made little changes on staff, but can't replicate
    bootstrap colors for selected/unselected language. Someone
    need to touch css files to make it happen. But that is
    current behavior.
    
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Good catch!
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
    (cherry picked from commit c212b9328edd69a8e8f5082674a9f29741d159ee)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

-----------------------------------------------------------------------

Summary of changes:
 C4/Templates.pm                                             |   11 +++++++----
 .../intranet-tmpl/prog/en/includes/intranet-bottom.inc      |    2 +-
 2 files changed, 8 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list