← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 651181] Re: Triple-quoted strings are not exported right for translating

 

I guess the latest commits we've applied to the translations export will
cover this, as well.

** Changed in: openobject-server
       Status: In Progress => Fix Committed

-- 
Triple-quoted strings are not exported right for translating
https://bugs.launchpad.net/bugs/651181
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Server: Fix Committed

Bug description:
In the current 5.0, if you have a translatable string in the code with triple-quotes, it's exported wrong in translation files.
For example :
    print _('''line 1
line 2''')
... is exported as :
"''line 1\n"
"line2''"
... instead of :
"line 1\n"
"line2\n"

Lionel