How to translate python expressions?

Indeed it is unexpected translations.
I had to use relatorio links because it is in a <draw/> (which does not allow placeholder). Relatorio checks that the text of a relatorio link has the same content as the href. But it makes no sense to translate such text as it will be replaced when rendered.
The best would be to exclude them when extracting the translations.