Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: [PATCH] i18n: po for zh_cn

From: Jiang Xin <hidden>
Date: 2016-06-15 22:52:54

2012/2/2 Ævar Arnfjörð Bjarmason [off-list ref]:
On Wed, Feb 1, 2012 at 16:50, Jiang Xin [off-list ref] wrote:
quoted
Git can speak Chinese now.
That's very nice, and it passes the msgfmt --check test as well, so
all looks good.
One bug, the filename should be zh_CN.po, not zh_cn.po. On my Mac,
the filesystem is case insensitive, locale works fine, but in Linux won't.

I will send the patch again with correct filename and with translates
for news message from Git master branch.
(previous l10n is against git v1.7.9, i.e. the maint branch)
As an aside doesn't the bug / workaround described in
https://github.com/git/git/blob/master/gettext.c#L35 impact chinese
especially badly? I'd expect any place where we use strerror() to show
up as total gibberish.
The perror test program does impact chinese too.
On Linux with well translated system error messages, with the following output:

    $ ./test
    test: ??????

On Mac without translated system error messages, output is all ascii.


-- 
Jiang Xin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help