← Back to team overview

openerp-expert-localization team mailing list archive

[Bug 684741] Re: Please use string formatting instead of concatenation

 

Addons Team 2, aren't you done yet ?
Lionel.

-- 
You received this bug notification because you are a member of OpenERP
Localization Experts, which is a direct subscriber.
https://bugs.launchpad.net/bugs/684741

Title:
  Please use string formatting instead of concatenation

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  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