wrc: Treat empty translation strings as missing.

This commit is contained in:
Alexandre Julliard 2011-01-07 10:20:23 +01:00
parent 510567d98a
commit 45ef8e8a18
1 changed files with 2 additions and 1 deletions

View File

@ -774,8 +774,9 @@ static string_t *translate_string( po_file_t po, string_t *str, int *found )
if (msg && !po_message_is_fuzzy( msg ))
{
(*found)++;
transl = po_message_msgstr( msg );
if (!transl[0]) transl = msgid; /* ignore empty strings */
else (*found)++;
}
else transl = msgid;