From 3196a8e0b54dd3ca04fc6df2966dc6f0a9825437 Mon Sep 17 00:00:00 2001 From: Martronic SA Date: Mon, 17 Feb 2020 08:48:35 +0100 Subject: [PATCH] Translate wizard choices. Extra wizard selection ar not translated. --- .../wizards/account_spread_invoice_line_link_wizard.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/account_spread_cost_revenue/wizards/account_spread_invoice_line_link_wizard.py b/account_spread_cost_revenue/wizards/account_spread_invoice_line_link_wizard.py index 74212b5d..92041887 100644 --- a/account_spread_cost_revenue/wizards/account_spread_invoice_line_link_wizard.py +++ b/account_spread_cost_revenue/wizards/account_spread_invoice_line_link_wizard.py @@ -10,14 +10,14 @@ class AccountSpreadInvoiceLineLinkWizard(models.TransientModel): def _selection_spread_action_type(self): base_selection = [ - ('template', 'Create from spread template'), - ('new', 'Create new spread board') + ('template', _('Create from spread template')), + ('new', _('Create new spread board')) ] if not self.env.context.get('allow_spread_planning'): return base_selection link_selection = [ - ('link', 'Link to existing spread board'), + ('link', _('Link to existing spread board')), ] return link_selection + base_selection