universal-access: Handle "pixels" plural correctly
Using g_dngettext() as required. https://bugzilla.gnome.org/show_bug.cgi?id=779798
This commit is contained in:
parent
7eee3fe9a4
commit
5cccd1d544
1 changed files with 5 additions and 1 deletions
|
@ -363,7 +363,11 @@ cursor_size_label_mapping_get (GValue *value,
|
||||||
label = g_strdup (C_("cursor size", "Largest"));
|
label = g_strdup (C_("cursor size", "Largest"));
|
||||||
break;
|
break;
|
||||||
default:
|
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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue