Subject: Re: pkg/31585: x11/gnome2-terminal needs plural support
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Leonard Schmidt <lems@gmx.net>
List: pkgsrc-bugs
Date: 10/14/2005 10:00:14
--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Oct 14, 2005 at 07:22:00AM +0000, lems@gmx.net wrote:
> Making all in po
> gmake[2]: Entering directory `/usr/pkgsrc/x11/gnome2-terminal/work/gnome-=
terminal-2.12.0/po'
> file=3D`echo am | sed 's,.*/,,'`.gmo \
>   && rm -f $file && /usr/bin/msgfmt -o $file am.po
> am.po:1791: keyword "msgid_plural" unknown
> am.po:1790: missing `msgstr' section
> am.po:1791: parse error
> am.po:2041: keyword "msgid_plural" unknown
> am.po:2040: missing `msgstr' section
> am.po:2041: parse error
> am.po:2392: keyword "msgid_plural" unknown
> am.po:2391: missing `msgstr' section
> am.po:2392: parse error
> found 9 fatal errors
> gmake[2]: *** [am.gmo] Error 1
> gmake[2]: Leaving directory `/usr/pkgsrc/x11/gnome2-terminal/work/gnome-t=
erminal-2.12.0/po'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/pkgsrc/x11/gnome2-terminal/work/gnome-t=
erminal-2.12.0'
> gmake: *** [all] Error 2
> *** Error code 2

By the way: I got "ms.po.tmp:2619: `msgid' and `msgstr' entries do not
both end with '\n'" for three po files.  I do not know if this is
correct, but it installed fine with these changes:

$NetBSD$

--- po/am.po.orig	2004-11-02 01:17:35.000000000 +0000
+++ po/am.po
@@ -2390,8 +2390,8 @@ msgstr ""
 #, fuzzy, c-format
 msgid "Delete this profile?\n"
 msgid_plural "Delete these %d profiles?\n"
-msgstr[0] "=E1=8C=8D=E1=88=88 =E1=88=98=E1=8C=8D=E1=88=88=E1=8C=AB=E1=8A=
=95 =E1=8A=A0=E1=8C=A5=E1=8D=89"
-msgstr[1] "=E1=8C=8D=E1=88=88 =E1=88=98=E1=8C=8D=E1=88=88=E1=8C=AB=E1=8A=
=95 =E1=8A=A0=E1=8C=A5=E1=8D=89"
+msgstr[0] "=E1=8C=8D=E1=88=88 =E1=88=98=E1=8C=8D=E1=88=88=E1=8C=AB=E1=8A=
=95 =E1=8A=A0=E1=8C=A5=E1=8D=89\n"
+msgstr[1] "=E1=8C=8D=E1=88=88 =E1=88=98=E1=8C=8D=E1=88=88=E1=8C=AB=E1=8A=
=95 =E1=8A=A0=E1=8C=A5=E1=8D=89\n"
=20
 #: src/terminal.c:2627
 #, c-format
$NetBSD$

--- po/ga.po.orig	2004-11-02 01:17:35.000000000 +0000
+++ po/ga.po
@@ -2379,8 +2379,8 @@ msgstr ""
 #, fuzzy, c-format
 msgid "Delete this profile?\n"
 msgid_plural "Delete these %d profiles?\n"
-msgstr[0] "Scrios Pr=C3=B3if=C3=ADl"
-msgstr[1] "Scrios Pr=C3=B3if=C3=ADl"
+msgstr[0] "Scrios Pr=C3=B3if=C3=ADl\n"
+msgstr[1] "Scrios Pr=C3=B3if=C3=ADl\n"
=20
 #: src/terminal.c:2627
 #, c-format
$NetBSD$

--- po/ms.po.orig	2004-11-02 01:17:35.000000000 +0000
+++ po/ms.po
@@ -2616,8 +2616,8 @@ msgstr ""
 #, fuzzy, c-format
 msgid "Delete this profile?\n"
 msgid_plural "Delete these %d profiles?\n"
-msgstr[0] "Padam Profil"
-msgstr[1] "Padam Profil"
+msgstr[0] "Padam Profil\n"
+msgstr[1] "Padam Profil\n"
=20
 #: src/terminal.c:2627
 #, c-format


--sm4nu43k4a2Rpi4c
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)

iD8DBQFDT4GueffumNo0U88RAhTqAJ9FC8qK4TfJw+Jneq7DIJdZt0LgaACcDDNS
ZutnOze80jjDjRChAGWrFsg=
=bT+l
-----END PGP SIGNATURE-----

--sm4nu43k4a2Rpi4c--