git: cldr2def tool: Fix alternative month generation

John Marino marino at crater.dragonflybsd.org
Fri Jul 24 08:55:38 PDT 2015


commit bdbc34a9bc7c0590872d2d4d5bf7bef6ee170729
Author: John Marino <draco at marino.st>
Date:   Fri Jul 24 17:46:02 2015 +0200

    cldr2def tool: Fix alternative month generation
    
    For some locales defined in tools/tools/locale/etc/charmaps.xml,
    there are alternative month names defined in CDATA.  When they are
    not present, the POSIX months are just repeated, otherwise this CDATA
    set is returned.
    
    The problem is that the spaces and approximately half of the double
    quotes were retained as part of the names.  This modification will
    strip off the white space and quotes to fix alternative month
    definitions.

Summary of changes:
 tools/tools/locale/tools/cldr2def.pl | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bdbc34a9bc7c0590872d2d4d5bf7bef6ee170729


-- 
DragonFly BSD source repository


More information about the Commits mailing list