[koha-commits] main Koha release repository branch 18.11.x updated. v18.11.12-20-g4232f7d80d

Git repo owner gitmaster at git.koha-community.org
Wed Jan 15 00:02:43 CET 2020


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, 18.11.x has been updated
       via  4232f7d80dc1a3aa0a8347bddb6864659ca93f74 (commit)
      from  17a3709aeeafe4e6486fba443741831189ddfc97 (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 4232f7d80dc1a3aa0a8347bddb6864659ca93f74
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Mon Dec 9 20:41:45 2019 -0300

    Bug 18688: Warnings about UTF-8 charset when creating a new language
    
    This patch removes some warnings when creating new languages,
    those related with uft8 and two not related.
    
    Tipical messages are:
    >Warning: Can't determine original templates' charset, defaulting to UTF-8
    >Warning: Charset Out defaulting to UTF-8
    >...
    >Removing empty file /../xx-YY-marc-NORMARC.po
    >I UTF-8 O UTF-8 at /../kohaclone/misc/translator/tmpl_process3.pl line 365.
    >Use of uninitialized value $pref_name in concatenation (.) or string at /.../misc/translator/LangInstaller.pm line 197.
    >Created /../misc/translator/po/xx-YY-messages.po.
    
    First four are 'normal' messages
    The fifth one correspond to an unquoted preference string
    The sixth one is a normal output message from msgint command
    We will hide them unless verbose '-v' option is selected,
    and fix the error.
    
    To test:
    1) Go to misc/translator
    2) Create new language files
      $ perl translate create xx-YY
    3) Check warnings and messages
    4) Apply the patch
    5) Remove created files, and create them again
       Ther must be no messages
    6) Repeat 5) with verbose option '-v', check
       old messages
    
    7) BONUS: without the patch update a language,
       for example de-DE:
       $ perl translate update de-DE
       Note (git status) a new file, po/de-DE-messages.po~
       This is a backup file from msgmerge command
       With the patch this backup is removed.
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Joy Nelson <joy at bywatersolutions.com>
    (cherry picked from commit bfa74fa8fc158ecacc9faced059c8a5781f98f96)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
    (cherry picked from commit 196c6cfa288aa43cd9d25a48ffe60fcbf80e1f88)
    Signed-off-by: Hayley Mapley <hayleymapley at catalyst.net.nz>

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

Summary of changes:
 .../prog/en/modules/admin/preferences/enhanced_content.pref       | 2 +-
 misc/translator/LangInstaller.pm                                  | 5 +++--
 misc/translator/tmpl_process3.pl                                  | 8 ++++----
 3 files changed, 8 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list