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>
|
||||
|
||||
* 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>
|
||||
|
||||
* gtk/gtkentry.[hc]:
|
||||
|
@ -1037,7 +1037,11 @@ static gchar *
|
||||
dgettext_swapped (const gchar *msgid,
|
||||
const gchar *domainname)
|
||||
{
|
||||
return dgettext (domainname, msgid);
|
||||
/* Pass through dgettext if and only if msgid is nonempty. */
|
||||
if (msgid && *msgid)
|
||||
return dgettext (domainname, msgid);
|
||||
else
|
||||
return (gchar*) msgid;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user