GLib: string malformed for gettext
I found a weird string in glib
. It is weird for translators because the %
is separated from u
whereas it should not.
https://gitlab.gnome.org/GNOME/glib/-/blob/main/glib/gfileutils.c?ref_type=heads#L716
g_dngettext (GETTEXT_PACKAGE, "Could not allocate %" G_GSIZE_MODIFIER "u byte to read file “%s”", "Could not allocate %" G_GSIZE_MODIFIER "u bytes to read file “%s”", total_allocated)
@afranke, can you confirm it’s written this way in the HIG?