← Back to team overview

openerp-expert-localization team mailing list archive

[Bug 684741] [NEW] Please use string formatting instead of concatenation

 

You have been subscribed to a public bug by Numérigraphe (numerigraphe):

In the current trunk there are still a few places in the code where translatable strings are composed using concatenation ("+" operator) instead of string formatting ("%" operator).
That makes them hard to translate. Could you please refactor those portions of the code ?

Suspects can be found using this command on GNU/Linux : find . -name '*.py' -exec grep -RHn "_([^)]*) +" '{}' ';'.
Current results are in the file attached.

This is not an emergency - if you fix this before 6.0 is released,
please do warn all the translators because the strings will have to be
translated again.

Lionel Sausin

** Affects: openobject-addons
     Importance: Undecided
         Status: New


** Tags: long-term translation
-- 
Please use string formatting instead of concatenation
https://bugs.launchpad.net/bugs/684741
You received this bug notification because you are a member of OpenERP Localization Experts, which is a direct subscriber.