diff options
| author | Martin Trigaux <mat@odoo.com> | 2020-05-26 05:47:50 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2020-05-26 07:34:16 +0000 |
| commit | 6394c628fa2fe75da1908e9ccd70a464a465f2e5 (patch) | |
| tree | f5ef1a2cec2f50023da360cfe29aa18c10cd7107 /addons/mail/views | |
| parent | 95bc27b1cb1012d197383433a1a93362569cdf8c (diff) | |
[IMP] mail: make the template easier to translate
Don't try to save bytes, make longer sentences, easier to translate
instead of splitting it into small blocks of one word.
https://www.odoo.com/documentation/13.0/reference/translations.html#blocks
Courtesy of Erwin van der Ploeg for raising the issue
X-original-commit: 737ee6393cd99b0c41272f6cfa9a0acb68276744
Diffstat (limited to 'addons/mail/views')
| -rw-r--r-- | addons/mail/views/mail_templates.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/mail/views/mail_templates.xml b/addons/mail/views/mail_templates.xml index 0430dda0a50..61cd3c47ef5 100644 --- a/addons/mail/views/mail_templates.xml +++ b/addons/mail/views/mail_templates.xml @@ -147,7 +147,9 @@ </template> <template id="message_origin_link"> - <p>This <t t-esc="self.env['ir.model']._get(self._name).name.lower()"/> has been <span t-if="edit">modified</span><span t-if="not edit">created</span> from: + <p> + <t t-if="edit">This <t t-esc="self.env['ir.model']._get(self._name).name.lower()"/> has been modified from:</t> + <t t-else="">This <t t-esc="self.env['ir.model']._get(self._name).name.lower()"/> has been created from:</t> <t t-foreach="origin" t-as="o"> <a href="#" t-att-data-oe-model="o._name" t-att-data-oe-id="o.id"> <t t-esc="o.display_name"/></a><span t-if="origin.ids[-1:] != o.ids">, </span> </t> |
