mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 17:56:17 +01: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:
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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user