Commit 45ef8e8a authored by Alexandre Julliard's avatar Alexandre Julliard

wrc: Treat empty translation strings as missing.

parent 510567d9
...@@ -774,8 +774,9 @@ static string_t *translate_string( po_file_t po, string_t *str, int *found ) ...@@ -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 )) if (msg && !po_message_is_fuzzy( msg ))
{ {
(*found)++;
transl = po_message_msgstr( msg ); transl = po_message_msgstr( msg );
if (!transl[0]) transl = msgid; /* ignore empty strings */
else (*found)++;
} }
else transl = msgid; else transl = msgid;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment