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

Francesco Poli <[email protected]> Sat, 20 Oct 2012 19:46:14 +0200
Newsgroups gmane.linux.debian.user.japanese
Message-ID <[email protected]>
On Sat, 20 Oct 2012 18:51:57 +0200 Francesco Poli wrote:

> On Sun, 21 Oct 2012 00:49:07 +0900 victory wrote:
> 
> > On Sun, 30 Sep 2012 18:41:33 +0200
> > Francesco Poli (wintermute) wrote:
> > 
> > > The deadline for receiving the updated translation is
> > > Sat, 20 Oct 2012 18:39:12 +0200.
> > 
> > here's a ja.po file for apt-listbugs if you haven't received from someone
> 
> Many many thanks!   :-)

Sorry to bother you again, but I have another question.
The file that you sent me has no Plural-Forms line...

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)?

If this is indeed the case, maybe the following translations


#. TRANSLATORS: %{plist} is a comma-separated list of %{npkgs} packages to be pinned or put on hold.
#: lib/apt-listbugs/logic.rb:451
msgid ""
"The following package will be pinned or on hold:\n"
" %{plist}\n"
"Are you sure?"
msgid_plural ""
"The following %{npkgs} packages will be pinned or on hold:\n"
" %{plist}\n"
"Are you sure?"
msgstr[0] ""
"以下のパッケージがピン止め、または保留されます:\n"
" %{plist}\n"
"よろしいですか "
msgstr[1] ""
"以下の %{npkgs} 個のパッケージがピン止め、または保留されます:\n"
" %{plist}\n"
"よろしいですか "

[...]

#. TRANSLATORS: %{nbugs} is the number of bugs found for package %{packg}.
#: lib/apt-listbugs/logic.rb:579
msgid "%{packg}(%{nbugs} bug)"
msgid_plural "%{packg}(%{nbugs} bugs)"
msgstr[0] "%{packg}(%{nbugs} 個)"
msgstr[1] "%{packg}(%{nbugs} 個)"


should be changed to


#. TRANSLATORS: %{plist} is a comma-separated list of %{npkgs} packages to be pinned or put on hold.
#: lib/apt-listbugs/logic.rb:451
msgid ""
"The following package will be pinned or on hold:\n"
" %{plist}\n"
"Are you sure?"
msgid_plural ""
"The following %{npkgs} packages will be pinned or on hold:\n"
" %{plist}\n"
"Are you sure?"
msgstr[0] ""
"以下の %{npkgs} 個のパッケージがピン止め、または保留されます:\n"
" %{plist}\n"
"よろしいですか "

[...]

#. TRANSLATORS: %{nbugs} is the number of bugs found for package %{packg}.
#: lib/apt-listbugs/logic.rb:579
msgid "%{packg}(%{nbugs} bug)"
msgid_plural "%{packg}(%{nbugs} bugs)"
msgstr[0] "%{packg}(%{nbugs} 個)"




Do you agree?
If not, please elaborate and suggest a better strategy...

Thanks again for your time!


-- 
 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)

iQIcBAEBCAAGBQJQguNmAAoJED4cJ+Efab/+mAUQAIvVV/EkUamtqXTJRYE64PDZ
VNd5HdkkMxYC+3x+6E5+IHeQFFLd7/Cry5hynv7adWZTGG817VaIZ4xN0xuzkybi
PEujW90O7w9u/O88UDYqiYVlEhu8XbyGWMc0qugfTtek1DxFEHu3s0qaP9Or+IWM
4VYYp7bS3yc2FATzSrzobX7cw7bAFqHL0R3+tw2C9Cn/+HcQRE2GqzHnZm+zr9nI
bXC3VwGiDiWpzf9bvHVZRULH+PTnWDln1k8u+1G9jSAd/NaKc+ulZv19DuAzgf4D
o2X9Dj/2dZyOzpGnmtlk3Q5vLUD+bdIFsrH4rf8+IH32N/rj84WGdAkWMB5r/zGP
rl10/Dm4qBHBBaZG54IcX9hrNzyuUY1G+/nHp82f7VBOu49PW7vicM9Ue0vcw2ON
6PFBLfcopbY+/WsgpTYqXcpumhSnZo/Ee/+BljCdUZHhVUa7geo6RTSRRFYnFlG4
Rb1fRg5ipFkVRMrk2aUBmk7OMZ9WU0V5BUFqasdgmJrpv4Qck7TrD+woFwqnI7HJ
LE2odRiTiEFuwkRFCfRCH6t2UnLwQU5znxnSjMnE/Ecf0/FtU8J0uWI1Jl9b0B9M
NKc38OsBfQNTmjxpfB9TYEpmlHQkKi8/AkrrPQ3/a0DBzAy9D3AVwhI+0o4EWN2U
BIYfoXdF+kB7OADORITg
=jSdy
-----END PGP SIGNATURE-----