A .po file is allowed to containg something like the following:
msgid "Customer %s was not found"
msgstr "Cliente no encontrado"
The above would pass CI, but will cause a traceback when the translated language is used, e.g.: TypeError: not all arguments converted during string formatting
A
.po
file is allowed to containg something like the following:The above would pass CI, but will cause a traceback when the translated language is used, e.g.:
TypeError: not all arguments converted during string formatting
For a practical example, See https://github.com/OCA/account-invoicing/pull/679.