← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

This was fixed indeed in the latest translations improvements, courtesy
of P. Christeas, merged a few days ago with revisions 3042 and 3055
(odo@xxxxxxxxxxx-20101125175328-pmu07gj694r5n2es and
odo@xxxxxxxxxxx-20101130110940-0tf6ra0uwhiptieb)

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

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/651181

Title:
  Triple-quoted strings are not exported right for translating

Status in OpenObject Server:
  Fix Released

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