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 765841 - Polari translation is breaking Continuous
Polari translation is breaking Continuous
Status: RESOLVED FIXED
Product: l10n
Classification: Infrastructure
Component: Arabic [ar]
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Abderrahim Kitouni
Abderrahim Kitouni
Depends on:
Blocks:
 
 
Reported: 2016-04-30 09:50 UTC by Emmanuele Bassi (:ebassi)
Modified: 2016-05-03 20:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Emmanuele Bassi (:ebassi) 2016-04-30 09:50:01 UTC
The ar translation for Polari is breaking the build in Continuous:

ar.po:734: number of format specifications in 'msgid_plural' and 'msgstr[0]' does 
not match
ar.po:745: number of format specifications in 'msgid_plural' and 'msgstr[0]' does not match
/usr/bin/msgfmt: found 26 fatal errors
ar.po: 118 translated messages, 20 untranslated messages.
Makefile:191: recipe for target '../../po/ar.gmo' failed
make[2]: *** [../../po/ar.gmo] Error 1
Comment 1 Emmanuele Bassi (:ebassi) 2016-04-30 10:06:47 UTC
I had to disable the 'ar' translation from the po/LINGUAS file in order to the Polari to build under jhbuild and Continuous.

I'm pretty sure you need at least gettext 0.19.6 to reproduce the error.
Comment 2 Abderrahim Kitouni 2016-05-03 20:37:55 UTC
commit 38530f7cbf161b5cbf260fc939774b8e5603394e
Author: Abderrahim Kitouni <a.kitouni@gmail.com>
Date:   Tue May 3 20:35:27 2016 +0100

    po: fix and reenable Arabic translation
    
    Apparently omitting format specifications in translations is no longer
    permitted by gettext.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=765841