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 779798 - "%d pixels" needs ngettext
"%d pixels" needs ngettext
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Universal Access
git master
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-03-09 10:14 UTC by Piotr Drąg
Modified: 2017-03-09 11:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Piotr Drąg 2017-03-09 10:14:00 UTC
The new “%d pixels” string in panels/universal-access/cc-ua-panel.c needs plural handling. For example, Polish translations for “24 pixels” and “36 pixels” would be different.

https://wiki.gnome.org/TranslationProject/DevGuidelines/Plurals
Comment 1 Bastien Nocera 2017-03-09 11:46:48 UTC
(In reply to Piotr Drąg from comment #0)
> The new “%d pixels” string in panels/universal-access/cc-ua-panel.c needs
> plural handling. For example, Polish translations for “24 pixels” and “36
> pixels” would be different.

That's fine, it's not used for any of those cases ;)

commit 5cccd1d5447ca90afd7e1143dc0e46ebb70af788
Author: Bastien Nocera <hadess@hadess.net>
Date:   Thu Mar 9 12:44:25 2017 +0100

    universal-access: Handle "pixels" plural correctly
    
    Using g_dngettext() as required.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=779798