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 737650 - Two plural forms in the same ngettext string
Two plural forms in the same ngettext string
Status: RESOLVED DUPLICATE of bug 726990
Product: gnome-software
Classification: Applications
Component: General
unspecified
Other All
: Normal normal
: ---
Assigned To: GNOME Software maintainer(s)
GNOME Software maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-09-30 09:51 UTC by Abderrahim Kitouni
Modified: 2014-09-30 09:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Abderrahim Kitouni 2014-09-30 09:51:54 UTC
In gs-sources-dialog.c:

/* TRANSLATORS: this source has some apps and addons installed from it */
text = g_strdup_printf (ngettext ("%i application and %i add-ons installed",
				  "%i applications and %i add-ons installed",
				  cnt_apps),
			cnt_apps, cnt_addon);

There are two plural forms in this string, but the call only concerns the first one. Even in English we could have things like "2 applications and 1 add-ons installed", but in other languages it could be worse.

I don't know what's the best way to fix it, but splitting it in two may be a good start. (Especially since with 1 application and 1 add-on, "installed" would need to be plural in some languages)
Comment 1 Kalev Lember 2014-09-30 09:56:02 UTC

*** This bug has been marked as a duplicate of bug 726990 ***