1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-04-27 09:36:53 +02:00

gsettings: Don't translate ""

The empty msgid is traditionally used to store po file metadata,
so calling gettext with an empty msgid is not the right thing
to do.

https://bugzilla.gnome.org/show_bug.cgi?id=756214
This commit is contained in:
Matthias Clasen 2015-10-07 23:34:42 -04:00
parent 30359e7409
commit 04c56cf6e7

@ -627,7 +627,7 @@ end_element (GMarkupParseContext *context,
normalised = normalise_whitespace (info->string->str); normalised = normalise_whitespace (info->string->str);
if (gettext_domain) if (gettext_domain && normalised[0])
{ {
gchar *translated; gchar *translated;