forked from AuroraMiddleware/gtk
Don't translate empty strings. (#326200, Christian Stimming)
2006-01-08 Matthias Clasen <mclasen@redhat.com> * gtk/gtkactiongroup.c (dgettext_swapped): Don't translate empty strings. (#326200, Christian Stimming)
This commit is contained in:
parent
a7a85ac867
commit
ed565c27ba
@ -1,3 +1,8 @@
|
|||||||
|
2006-01-08 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkactiongroup.c (dgettext_swapped): Don't translate
|
||||||
|
empty strings. (#326200, Christian Stimming)
|
||||||
|
|
||||||
2006-01-08 Matthias Clasen <mclasen@redhat.com>
|
2006-01-08 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkentry.[hc]:
|
* gtk/gtkentry.[hc]:
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2006-01-08 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkactiongroup.c (dgettext_swapped): Don't translate
|
||||||
|
empty strings. (#326200, Christian Stimming)
|
||||||
|
|
||||||
2006-01-08 Matthias Clasen <mclasen@redhat.com>
|
2006-01-08 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkentry.[hc]:
|
* gtk/gtkentry.[hc]:
|
||||||
|
@ -1037,7 +1037,11 @@ static gchar *
|
|||||||
dgettext_swapped (const gchar *msgid,
|
dgettext_swapped (const gchar *msgid,
|
||||||
const gchar *domainname)
|
const gchar *domainname)
|
||||||
{
|
{
|
||||||
|
/* Pass through dgettext if and only if msgid is nonempty. */
|
||||||
|
if (msgid && *msgid)
|
||||||
return dgettext (domainname, msgid);
|
return dgettext (domainname, msgid);
|
||||||
|
else
|
||||||
|
return (gchar*) msgid;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user