wmc: Update PO message match algorithm.
This commit is contained in:
parent
58a95780fb
commit
0ea27c6ad8
@ -355,7 +355,7 @@ static po_message_t find_message( po_file_t po, const char *msgid, const char *m
|
|||||||
{
|
{
|
||||||
if (strcmp( po_message_msgid( msg ), msgid )) continue;
|
if (strcmp( po_message_msgid( msg ), msgid )) continue;
|
||||||
if (!msgctxt) break;
|
if (!msgctxt) break;
|
||||||
if (!(context = po_message_msgctxt( msg ))) break;
|
if (!(context = po_message_msgctxt( msg ))) continue;
|
||||||
if (!strcmp( context, msgctxt )) break;
|
if (!strcmp( context, msgctxt )) break;
|
||||||
}
|
}
|
||||||
return msg;
|
return msg;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user