← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

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

** Changed in: openobject-server
   Importance: Undecided => Low

-- 
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: In Progress

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