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:
		 Matthias Clasen
					Matthias Clasen
				
			
				
					committed by
					
						 Matthias Clasen
						Matthias Clasen
					
				
			
			
				
	
			
			
			 Matthias Clasen
						Matthias Clasen
					
				
			
						parent
						
							a7a85ac867
						
					
				
				
					commit
					ed565c27ba
				
			| @ -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; | ||||
| } | ||||
|  | ||||
| /** | ||||
|  | ||||
		Reference in New Issue
	
	Block a user