[FIX] website_sale_digital: translate help message

closes odoo/odoo#83556

X-original-commit: 02321b861a3ea3670bf49de586c1bf304a56a670
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
This commit is contained in:
Martin Trigaux
2022-01-28 11:27:42 +00:00
parent 368cd051eb
commit ea3608ef46
2 changed files with 24 additions and 7 deletions
@@ -15,6 +15,13 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: website_sale_digital
#: code:addons/website_sale_digital/models/product.py:0
#: code:addons/website_sale_digital/models/product.py:0
#, python-format
msgid "Add attachments for this digital product"
msgstr ""
#. module: website_sale_digital
#: model:ir.model,name:website_sale_digital.model_ir_attachment
msgid "Attachment"
@@ -35,7 +42,6 @@ msgstr ""
#. module: website_sale_digital
#: model:ir.model.fields,field_description:website_sale_digital.field_ir_attachment__product_downloadable
#: model:ir.model.fields,field_description:website_sale_digital.field_mrp_document__product_downloadable
msgid "Downloadable from product portal"
msgstr ""
@@ -65,6 +71,15 @@ msgstr ""
msgid "Product Template"
msgstr ""
#. module: website_sale_digital
#: code:addons/website_sale_digital/models/product.py:0
#: code:addons/website_sale_digital/models/product.py:0
#, python-format
msgid ""
"The attached files are the ones that will be purchased and sent to the "
"customer."
msgstr ""
#. module: website_sale_digital
#: model:product.template,uom_name:website_sale_digital.product_1
msgid "Units"
@@ -25,9 +25,10 @@ class ProductTemplate(models.Model):
'view_mode': 'kanban,form',
'context': "{'default_res_model': '%s','default_res_id': %d, 'default_product_downloadable': True}" % (self._name, self.id),
'help': """
<p class="o_view_nocontent_smiling_face">Add attachments for this digital product</p>
<p>The attached files are the ones that will be purchased and sent to the customer.</p>
""",
<p class="o_view_nocontent_smiling_face">%s</p>
<p>%s</p>
""" % (_("Add attachments for this digital product"),
_("The attached files are the ones that will be purchased and sent to the customer.")),
}
@@ -55,7 +56,8 @@ class Product(models.Model):
'view_mode': 'kanban,form',
'context': "{'default_res_model': '%s','default_res_id': %d, 'default_product_downloadable': True}" % (self._name, self.id),
'help': """
<p class="o_view_nocontent_smiling_face">Add attachments for this digital product</p>
<p>The attached files are the ones that will be purchased and sent to the customer.</p>
""",
<p class="o_view_nocontent_smiling_face">%s</p>
<p>%s</p>
""" % (_("Add attachments for this digital product"),
_("The attached files are the ones that will be purchased and sent to the customer.")),
}