[koha-commits] main Koha release repository branch master updated. v3.16.00-838-g0258d3a

Git repo owner gitmaster at git.koha-community.org
Thu Oct 30 01:58:43 CET 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  0258d3a42df32573ca2cc054666fce5c87924995 (commit)
      from  207d9e2be3ad5ae5adefec94fa1c76624b2f27cf (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 0258d3a42df32573ca2cc054666fce5c87924995
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Sun Jul 6 22:11:14 2014 -0300

    Bug 12535 - PROG/CCSR Deprecation: Make opac translation theme independent
    
    This patch makes opac translation files theme independent
    A side effect is that current prog translation file is
    renamed.
    
    But the renaming is not added, that gives a patch of ~60M!
    
    Current list of languages are now obtained from pref files.
    
    To test:
    1) Apply the patch
    
    2) For your preferred language, rename opac prog file
    from 'xx-YY-i-opac-t-prog-v-3006000.po' to 'xx-YY-opac-prog.po'
    
    3) Update that language, there must be no errors
    cd misc/translation
    ./translate update xx-YY [-v]
    Check updated po files
    
    4) Install any language, there must be no errors
    ./translate install xx-YY
    Check prog theme for that language
    
    5) Create translation files. Remove a language or create new lang files
    ./translate create zz-WW
    ls -l po/zz-WW*po
    check there are 3 files (and *~) for opac
    
    6) Check updated pod for LangInstaler.pm and translate script
    
    When PROG/CCSR themes are removed, I'll add a Bug to remove
    corresponding files.
    
    Perhaps RM could add a followup to rename all files,
    cd misc/translator/po
    for old in $(ls *opac-t*); do
        new=$(echo $old | sed 's/-i-opac-t-prog-v-3006000/-opac-prog/');
        git mv $old $new;
    done
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
    Works as described, no problems found.
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

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

Summary of changes:
 misc/translator/LangInstaller.pm |   29 ++++++++++++-----------------
 misc/translator/translate        |    4 ++--
 2 files changed, 14 insertions(+), 19 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list