bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Zh-l10n] Re: [Bug-tar] gettext 0.15 rejects latest traditional Chin


From: Abel Cheung
Subject: Re: [Zh-l10n] Re: [Bug-tar] gettext 0.15 rejects latest traditional Chinese translation for GNU tar
Date: Sun, 3 Sep 2006 10:50:49 +0800

Hi all,

Reply below....


On 8/9/06, Paul Eggert <address@hidden> wrote:
>>    zh_TW.po:124: number of format specifications in 'msgid' and 'msgstr[0]' 
does not match
>>    msgfmt: found 2 fatal errors
>
> This again sounds more like a bug report for GNU gettext. In my version
> of zh_TW.po the translation on line 124 is marked as fuzzy,

Ah, sorry, this is zh_TW.po after the tar bootstrap process is done with it,
which means the line numbers are all different.  The actual diagnostic is
about this translation:

   #: src/compare.c:96
   #, c-format
   msgid "Could only read %lu of %lu byte"
   msgid_plural "Could only read %lu of %lu bytes"
   msgstr[0] "只能讀取 %2%lu 位元組中的 %1%lu 個"

and this is indeed invalid, as the %2% should be a %2$, and likewise
for the %1%.  There are several other instances of the problem; this
is just the first one.  Since this leads to undefined behavior (could
be core dumps or worse) we should fix it rather than just distribute
the broken translation.

Yes, this is indeed wrong, and likely because of my inadequate
knowledge on format specifier during earlier days (I was the previous
translator). If Wei-Lun Chao is willing or have time to update it this
would be best; otherwise I can provide a patch to the translation too.

Abel




_______________________________________________
Zh-l10n mailing list
address@hidden
http://lists.linux.org.tw/cgi-bin/mailman/listinfo/zh-l10n




--
Abel Cheung   (GPG Key: 0xC67186FF)
Key fingerprint: 671C C7AE EFB5 110C D6D1  41EE 4152 E1F1 C671 86FF
--------------------------------------------------------------------
* GNOME Hong Kong - http://www.gnome.hk/
* Opensource Application Knowledge Assoc. - http://oaka.org/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]