Comment 7 for bug 1052399

Revision history for this message
Daniel Mustieles (daniel-mustieles) wrote :

I've seen the report's you've generated and is really impressive the number of incorrect tags in the PO files. I guess we should fix it, since the tags in the msgid should be the same as in the msgstr, am I right?

I would do the following check: if there is a tag in the msgid that doesn't appear in the msgstr, I would raise an error message; and the same for placeholder that begin with "_".

About the tag's database... I'm not sure about how it's working now. The database created with --dump-tags contains all the tags from the PO files, independently of the string they appear or there is any relation between both elements?

If the strict check checks and detects the placeholders, it's ok for me, considering that the tags in the mgsgid should be the same as the msgstr ones.

Shaun, what do you think about it?

Many thanks for taking care of this :)