git: Fix zh_Hans_CN.GB2312 locale

John Marino marino at crater.dragonflybsd.org
Sat Aug 1 11:01:38 PDT 2015


commit ad8989d2a6c8c7661c9fa2938b8a51ac1b1d17eb
Author: John Marino <draco at marino.st>
Date:   Sat Aug 1 19:12:21 2015 +0200

    Fix zh_Hans_CN.GB2312 locale
    
    It turns out that using a commented source file for LC_* file generation
    really isn't a good idea.  In the cldr2def tool's charmap.xls, the
    low ASCII is transformed to the "Full width" versions, but the first
    byte just happens to be "#".  Yes, that's right, the comment character.
    
    Since all comments are either "#" or or followed by a space, I can fix
    the resulting broken zh_Hans_CN.GB2312 by alterning the grep instruction.
    However, if we ever have a legitimate single "#" character as input, then
    this won't work anymore.
    
    The Armenian changes are a result to a tool correction that will be
    commited shortly.

Summary of changes:
 share/colldef/Makefile               |  3 ++-
 share/monetdef/Makefile              |  2 +-
 share/monetdef/hy_AM.ARMSCII-8.src   |  8 ++++----
 share/msgdef/Makefile                |  2 +-
 share/numericdef/Makefile            |  4 ++--
 share/numericdef/hy_AM.ARMSCII-8.src |  4 ++--
 share/numericdef/hy_AM.UTF-8.src     | 14 --------------
 share/timedef/Makefile               |  2 +-
 share/timedef/hy_AM.ARMSCII-8.src    |  4 ++--
 9 files changed, 15 insertions(+), 28 deletions(-)
 delete mode 100644 share/numericdef/hy_AM.UTF-8.src

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list