diff options
author | Bastien Nocera <hadess@hadess.net> | 2017-03-09 12:44:25 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2017-03-09 12:45:42 +0100 |
commit | 5cccd1d5447ca90afd7e1143dc0e46ebb70af788 (patch) | |
tree | ae7dfc080987abed4e27a259220a80ed04dffaad /panels/universal-access | |
parent | 7eee3fe9a4892f487ffd4409ade75bace4c77ff3 (diff) | |
download | gnome-control-center-5cccd1d5447ca90afd7e1143dc0e46ebb70af788.tar.gz |
universal-access: Handle "pixels" plural correctly
Using g_dngettext() as required.
https://bugzilla.gnome.org/show_bug.cgi?id=779798
Diffstat (limited to 'panels/universal-access')
-rw-r--r-- | panels/universal-access/cc-ua-panel.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/panels/universal-access/cc-ua-panel.c b/panels/universal-access/cc-ua-panel.c index 1985f7718..f0928555e 100644 --- a/panels/universal-access/cc-ua-panel.c +++ b/panels/universal-access/cc-ua-panel.c @@ -363,7 +363,11 @@ cursor_size_label_mapping_get (GValue *value, label = g_strdup (C_("cursor size", "Largest")); break; default: - label = g_strdup_printf (_("%d pixels"), g_variant_get_int32 (variant)); + label = g_strdup_printf (g_dngettext (GETTEXT_PACKAGE, + "%d pixel", + "%d pixels", + cursor_size), + cursor_size); break; } |