[koha-commits] main Koha release repository branch master updated. v3.14.00-647-gfe205c9

Git repo owner gitmaster at git.koha-community.org
Thu Apr 3 17:19:40 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, master has been updated
       via  fe205c907a6ec1959add1b24a5bf3ff09ee5149c (commit)
      from  5da480b61b689c7497d386fdd0b9bd30f260d2db (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 fe205c907a6ec1959add1b24a5bf3ff09ee5149c
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Thu Mar 27 10:26:41 2014 -0300

    Bug 11393: fix display of Thai in language menu when Thai translation is installed
    
    The problem is with the name of PO files
    
    Currently Koha expect, among other variants, that PO filenames
    began with (using as example *-pref.po):
    {lang}-pref.po
    {lang}-{region}-pref.po
    {lang}-{script}-pref.po
    {lang}-{script}-{region}-pref.po
    and expect 2 chars for lang and region, and 4 for script
    
    So the problem with Thai translation files are that it's names
    do not match that convention.
    
    This patch only rename Thai files as th-THA-* to th-TH-*.
    In that way language description is right.
    translate script use that chars to make dirs, and use dirs to find
    description.
    
    To test:
    1) Go to I18N/L10N sysprefs
    2) Install th-THA language (or simply mkdir koha-tmpl/intranet-tmpl/prog/th-THA)
    3) Reload page, wrong description
    4) Apply patch
    5) Install th-TH language (or simply mkdir koha-tmpl/intranet-tmpl/prog/th-TH)
    6) Reload page, right description
    7) If you want do "mkdir koha-tmpl/intranet-tmpl/prog/th-Thai", reload,
       also right description
    
    To the reporter of this Bug: the rename of the folder is a good
    workaround, when this patch is pushed to stable I'll rename Thai
    files
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    This does not correct existing problems which need human
    intervention. It does, however, allow for a correct installation
    of Thai after the patch is made.
    
    If we really want a patch for fixing an existing install. I
    wrote it, but have not tested it.
    
    Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
    As pointed out by Mark, this does not fix existing installations.
    Putting a note in the release notes might be something we can do here.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

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

Summary of changes:
 ...THA-i-opac-t-prog-v-3006000.po => th-TH-i-opac-t-prog-v-3006000.po} |    0
 ...A-i-staff-t-prog-v-3006000.po => th-TH-i-staff-t-prog-v-3006000.po} |    0
 .../po/{th-THA-opac-bootstrap.po => th-TH-opac-bootstrap.po}           |    0
 misc/translator/po/{th-THA-opac-ccsr.po => th-TH-opac-ccsr.po}         |    0
 misc/translator/po/{th-THA-pref.po => th-TH-pref.po}                   |    0
 misc/translator/po/{th-THA-staff-help.po => th-TH-staff-help.po}       |    0
 6 files changed, 0 insertions(+), 0 deletions(-)
 rename misc/translator/po/{th-THA-i-opac-t-prog-v-3006000.po => th-TH-i-opac-t-prog-v-3006000.po} (100%)
 rename misc/translator/po/{th-THA-i-staff-t-prog-v-3006000.po => th-TH-i-staff-t-prog-v-3006000.po} (100%)
 rename misc/translator/po/{th-THA-opac-bootstrap.po => th-TH-opac-bootstrap.po} (100%)
 rename misc/translator/po/{th-THA-opac-ccsr.po => th-TH-opac-ccsr.po} (100%)
 rename misc/translator/po/{th-THA-pref.po => th-TH-pref.po} (100%)
 rename misc/translator/po/{th-THA-staff-help.po => th-TH-staff-help.po} (100%)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list