Index: cups/language.c =================================================================== --- cups/language.c (revision 10317) +++ cups/language.c (working copy) @@ -938,8 +938,23 @@ */ if (m) - cupsArrayAdd(a, m); + { + if (m->str[0]) + { + cupsArrayAdd(a, m); + } + else + { + /* + * Translation is empty, don't add it... (STR #4033) + */ + free(m->id); + free(m->str); + free(m); + } + } + /* * Create a new message with the given msgid string... */ @@ -1016,8 +1031,23 @@ */ if (m) - cupsArrayAdd(a, m); + { + if (m->str[0]) + { + cupsArrayAdd(a, m); + } + else + { + /* + * Translation is empty, don't add it... (STR #4033) + */ + free(m->id); + free(m->str); + free(m); + } + } + /* * Close the message catalog file and return the new array... */