Re: apt-listbugs 0.1.9: Please translate the package apt-listbugs

Francesco Poli <[email protected]> Mon, 22 Oct 2012 19:15:33 +0200
Newsgroups gmane.linux.debian.user.japanese
Message-ID <[email protected]>
On Mon, 22 Oct 2012 15:08:35 +0900 AYANOKOUZI, Ryuunosuke wrote:

> Hi,

Hi Ryuunosuke, thanks for your kind reply!

> 
> > According to
> > http://www.gnu.org/software/gettext/manual/html_mono/gettext.html#Plural-forms
> > it seems that Japanese has no distinction between singular and plural
> > form.
> > The correct Plural-Forms should therefore be:
> >
> >   "Plural-Forms: nplurals=1; plural=0;\n"
> >
> > However, do I understand correctly that, if I add this Plural-Forms
> > line to the ja.po file, only msgstr[0] translations will be selected
> > (and msgstr[1] will never be used)?
> 
> Because of "plural=0" configuration, msgstr[0] is used and msgstr[1]
> never be used.

Yes, that's clear now: thanks for explaining.

> 
> > If this is indeed the case, maybe the following translations
[...]
> > should be changed to
[...]
> > Do you agree?
> 
> I think msgstr[1] should be removed from ja.po. "nplurals=1" define
> allocated msgstr array size and the size is limited to 1. So, contents
> of msgstr[1] is not allocated on memory.

That's exactly what I did.
Thanks a lot for confirming that it was the Right Thing™ to do!

Bye.


-- 
 http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt
 New GnuPG key, see the transition document!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJQhX81AAoJED4cJ+Efab/+RXgP/1vTd0J4vGPChOp6Hx4CJnMg
WvFfrEV8NgCp/s4atQ+q/poDITqwr30xkRoGm2FSLB6CqmJ36/e5V/i4SHur5BG/
wJGQjG1wcNxO6Y6axMV2YLGKQLnYBUYLGiNH3xr5wW5EGtc3gOSj4S1P+fjkBOnt
x5KmS045yKzqYRn4ygIkJJHt2xorIi2zYc3UGbFjmjoDFYJdZ4rP9y+/7zY3iFTD
8f16SiXE7y1pZg5ZBnxxldMR+Q9kGLKJ3m4KwGwhkK7kZ+tBFeRVyFjRpP3G3xQ/
aKRwryKWPYEJiCh4HfXh7MoGZlKtP2vvODilqS+zVaBEq0fxEj3pKgmUQTFYHyCB
CJHAV7DOQnwqJ4MOp05iyApHe5tXeoyLP/fF8hP1M5kB1Uh1eqU3vdt5hYMvXn5J
8TVdAG/Fvej4l3u6MO0gG3N2IPEVgbLRcdkutqVrJ7YXf1HS2nx22UCFwWuYht5k
aCmV+Hgb6huIFI1Wir17z1YSOOmNgE3FVVGlMyRwXgfu7xv3TFVifk+cctkekb88
QD0pjweXs/rx8AEm+5o/L/3YJ56uFLNDIE0NDLs906UKnWBnvqexp9dqqhdUIGRr
+GW4LEi8THlUHLdk7dPbx1sJPc1HgzkFM4VYzvXzd0kW1QORVFFtmwyDqqe4vA+9
0oyYeFiLH/2dha/oY3hO
=4NgC
-----END PGP SIGNATURE-----