libgimpwidgets: fix overlapping ngettext usage
In the page selector the translation for "All n pages selected" was always used, even if all pages weren't selected. This was caused by the same singular msgid being used in multiple places with different msgid_plural. These were then all smashed into a single translation. Replace one of the singular msgid:s to avoid this. This string is never shown since the n_selected == 1 case is already covered earlier in the code.
This commit is contained in:
parent
3bec45f5f4
commit
becd662315
1 changed files with 1 additions and 1 deletions
|
|
@ -1023,7 +1023,7 @@ gimp_page_selector_selection_changed (GtkIconView *icon_view,
|
|||
gchar *text;
|
||||
|
||||
if (n_selected == selector->n_pages)
|
||||
text = g_strdup_printf (ngettext ("%d page selected",
|
||||
text = g_strdup_printf (ngettext ("The page is selected",
|
||||
"All %d pages selected", n_selected),
|
||||
n_selected);
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue