After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 377204 - Incorrect translation string in hy.po blocks build
Incorrect translation string in hy.po blocks build
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
2.10.x
Other Linux
: High blocker
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2006-11-19 23:24 UTC by Marko Anastasov
Modified: 2006-12-10 19:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Marko Anastasov 2006-11-19 23:24:21 UTC
...
file=./`echo hy | sed 's,.*/,,'`.gmo \
          && rm -f $file && /home/marko/prefix/bin/msgfmt -c -o $file hy.po
hy.po:160: number of format specifications in 'msgid' and 'msgstr[1]' does not match
/home/marko/prefix/bin/msgfmt: found 1 fatal error
make[2]: *** [hy.gmo] Error 1
make[2]: Leaving directory `/home/marko/cvs/gnome2/2.18/gtk+/po'

That line is:

msgstr[1] ""

which should be a translation of

msgid "failed to allocate image buffer of %u byte"
msgid_plural "failed to allocate image buffer of %u bytes"

(so it's lacking a '%u', at least)

I just copied the string from msgstr[0] to continue with the build, but I don't know the language, so the person in charge should change this accordingly.
Comment 1 André Klapper 2006-11-20 10:27:17 UTC
this issue had been fixed in the main cvs HEAD branch in september, but not in the gtk-2-10 branch: http://cvs.gnome.org/viewcvs/gtk%2B/po/hy.po?r1=1.19&r2=1.20
Comment 2 James Andrewartha 2006-12-10 08:48:51 UTC
I'm seeing this too: http://jhbuild.bxlug.be/builds/2006-12-09-0002/logs/gtk+/#build - any chance of the fix being committed to the branch?
Comment 3 Matthias Clasen 2006-12-10 19:14:18 UTC
I'm away from a checkout right now, so if anybody wants to copy that string over to the stable branch, please go ahead.
Comment 4 André Klapper 2006-12-10 19:49:48 UTC
fixed in the gtk-2-10 branch:
http://cvs.gnome.org/viewcvs/gtk%2B/po/hy.po?r1=1.19.2.4&r2=1.19.2.5