diff options
| author | Martin Trigaux <mat@odoo.com> | 2021-02-25 11:17:24 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2021-02-25 11:17:24 +0100 |
| commit | 2405c03dbbbe1d1aa11ab44c399607db618a977f (patch) | |
| tree | 2c670ab55d8e04b68f4f70ca9c3644df59440040 /addons | |
| parent | ed5a655152322da223979410948dc263c4add8c0 (diff) | |
[FIX] account: translate selections
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/account/i18n/account.pot | 22 | ||||
| -rw-r--r-- | addons/account/wizard/account_tour_upload_bill.py | 6 |
2 files changed, 23 insertions, 5 deletions
diff --git a/addons/account/i18n/account.pot b/addons/account/i18n/account.pot index 082c41bba65..d471f9b7065 100644 --- a/addons/account/i18n/account.pot +++ b/addons/account/i18n/account.pot @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 14.0\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" @@ -8153,6 +8153,12 @@ 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" msgstr "" @@ -12692,6 +12698,12 @@ 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 #: model:ir.model.fields,field_description:account.field_account_account_type__type @@ -12891,6 +12903,12 @@ 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" msgstr "" diff --git a/addons/account/wizard/account_tour_upload_bill.py b/addons/account/wizard/account_tour_upload_bill.py index b32ab9892d6..ac45b35b9cf 100644 --- a/addons/account/wizard/account_tour_upload_bill.py +++ b/addons/account/wizard/account_tour_upload_bill.py @@ -26,9 +26,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 """ |
