Improved multi line translation in python

Registered by Christophe CHAUVET

The extraction in multl-line translation was misformat, i suggest to used """comment multiline""" for improvement, eg:

raise osv.except_osc(_('Error'), _("""This is a multiline content
for a raise exception"""))

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Christophe CHAUVET
Direction:
Needs approval
Assignee:
None
Definition:
Drafting
Series goal:
Accepted for trunk
Implementation:
Unknown
Milestone target:
milestone icon 6.0

Related branches

Sprints

Whiteboard

Actually the code must be write as

raise osv.except_osv(_('Error'), _('my comment\n' \
                       'the rest')

but \n was double in the PO file and break the matching.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.