diff --git a/addons/point_of_sale/i18n/point_of_sale.pot b/addons/point_of_sale/i18n/point_of_sale.pot index 47cf86235d4..63e2217ef67 100644 --- a/addons/point_of_sale/i18n/point_of_sale.pot +++ b/addons/point_of_sale/i18n/point_of_sale.pot @@ -687,6 +687,13 @@ msgstr "" msgid "CHANGE" msgstr "" +#. module: point_of_sale +#. openerp-web +#: code:addons/point_of_sale/static/src/js/Screens/ClientListScreen/ClientListScreen.js:0 +#, python-format +msgid "Change Customer" +msgstr "" + #. module: point_of_sale #. openerp-web #: code:addons/point_of_sale/static/src/xml/Popups/EditListPopup.xml:0 diff --git a/addons/point_of_sale/static/src/js/Screens/ClientListScreen/ClientListScreen.js b/addons/point_of_sale/static/src/js/Screens/ClientListScreen/ClientListScreen.js index b62c6b959da..4863d588e04 100644 --- a/addons/point_of_sale/static/src/js/Screens/ClientListScreen/ClientListScreen.js +++ b/addons/point_of_sale/static/src/js/Screens/ClientListScreen/ClientListScreen.js @@ -84,11 +84,11 @@ odoo.define('point_of_sale.ClientListScreen', function(require) { */ get nextButton() { if (!this.props.client) { - return { command: 'set', text: 'Set Customer' }; + return { command: 'set', text: this.env._t('Set Customer') }; } else if (this.props.client && this.props.client === this.state.selectedClient) { - return { command: 'deselect', text: 'Deselect Customer' }; + return { command: 'deselect', text: this.env._t('Deselect Customer') }; } else { - return { command: 'set', text: 'Change Customer' }; + return { command: 'set', text: this.env._t('Change Customer') }; } }