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:
Anders Jonsson 2025-10-07 21:06:07 +02:00
parent 3bec45f5f4
commit becd662315

View file

@ -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