New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
translate=no rules are ignored when creating the translated .xml #37
Comments
kdesysadmin
pushed a commit
to KDE/kmag
that referenced
this issue
Mar 8, 2019
Scripty kept adding them due to a bug in a tool it used: itstool/itstool#37 With <name> now fixed to "KMag" and thus != "kmag", that should no longer happen.
Oh, interesting. I'll check on this over the weekend. Thanks. |
Did you have any luck reproducing/fixing it? |
Oh, can't believe I didn't recognize this. This is issue #34, which I fixed in November, but failed to roll a release with the fix. I'll do a release today. |
Version 2.0.6 released with the fix. Tarballs on itstool.org, also as an sdist on pypi. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the attached file there is a small xml file that say
and an its file that says we only translate the name tag
the generated .pot file looks good
And i've created a fake translation into ca.po that translate to cakmag
then when merging it with
itstool -i test.its -j test.xml -o test.xml.translated ca.mo
the generated translated with translates component/name and component/not_name too
Seems to me as the rules in test.its are being ignored when they should not.
itstool_bug.zip
The text was updated successfully, but these errors were encountered: