[FIX] account: translate selections

X-original-commit: 4b6e933d5826830b24297355a9cea8a8615bc646
This commit is contained in:
Martin Trigaux
2021-03-01 10:31:31 +01:00
parent 52a7efbaf5
commit 706ff8fbff
2 changed files with 23 additions and 5 deletions
+20 -2
View File
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server saas~14.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-02-25 09:15+0000\n"
"PO-Revision-Date: 2021-02-25 09:15+0000\n"
"POT-Creation-Date: 2021-02-25 10:15+0000\n"
"PO-Revision-Date: 2021-02-25 10:15+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -8207,6 +8207,12 @@ msgstr ""
msgid "Options"
msgstr ""
#. module: account
#: code:addons/account/wizard/account_tour_upload_bill.py:0
#, python-format
msgid "Or send a bill to %s@%s"
msgstr ""
#. module: account
#: model:ir.model.fields,field_description:account.field_account_resequence_wizard__ordering
msgid "Ordering"
@@ -12748,6 +12754,12 @@ msgstr ""
msgid "Transfers"
msgstr ""
#. module: account
#: code:addons/account/wizard/account_tour_upload_bill.py:0
#, python-format
msgid "Try a sample vendor bill"
msgstr ""
#. module: account
#: model:ir.model.fields,field_description:account.field_account_account__user_type_id
#: model:ir.model.fields,field_description:account.field_account_account_template__user_type_id
@@ -12947,6 +12959,12 @@ msgstr ""
msgid "Upload"
msgstr ""
#. module: account
#: code:addons/account/wizard/account_tour_upload_bill.py:0
#, python-format
msgid "Upload your own bill"
msgstr ""
#. module: account
#: model:ir.model.fields,field_description:account.field_account_chart_template__use_anglo_saxon
msgid "Use Anglo-Saxon accounting"
@@ -28,9 +28,9 @@ class AccountTourUploadBill(models.TransientModel):
journal_alias = self.env['account.journal'] \
.search([('type', '=', 'purchase'), ('company_id', '=', self.env.company.id)], limit=1)
return [('sample', 'Try a sample vendor bill'),
('upload', 'Upload your own bill'),
('email', 'Or send a bill to %s@%s' % (journal_alias.alias_name, journal_alias.alias_domain))]
return [('sample', _('Try a sample vendor bill')),
('upload', _('Upload your own bill')),
('email', _('Or send a bill to %s@%s', journal_alias.alias_name, journal_alias.alias_domain))]
def _compute_sample_bill_image(self):
""" Retrieve sample bill with facturx to speed up onboarding """