wrc: Treat empty translation strings as missing.
This commit is contained in:
parent
510567d98a
commit
45ef8e8a18
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue