Closed moylop260 closed 3 years ago
There's something wrong here. You're also checking strings such as "Your {} {} is shipping"
. But that's not a problem because:
"Su {1} {0} está enviándose"
.@Yajo Good point!
Could you check it again, please?
I just considered the printf
cases
The .format(
ones could be translated as you said but avoid it from the another lint-check (no this one).
Thanks!
@luisg123v
Could you review this, please?
Regards.
If you are using:
_("Your %s %s is shipping") % ("red", "car")
Better using:
_("Your %(color)s %(item)s is shipping") % {"color": "red", "item": "car"}
In order to allow other languages change the order
"Su %(item)s %(color)s está enviándose"
Fix https://github.com/OCA/pylint-odoo/issues/303