Skip to content

Commit

Permalink
[FIX] point_of_sale: translate 'Unused' keyword
Browse files Browse the repository at this point in the history
Was set inside an expression so not translatable

Fixes odoo#22062
  • Loading branch information
mart-e committed Jan 8, 2018
1 parent ab01e79 commit e7eb3ee
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
23 changes: 14 additions & 9 deletions addons/point_of_sale/i18n/point_of_sale.pot
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-10 11:34+0000\n"
"PO-Revision-Date: 2017-10-10 11:34+0000\n"
"POT-Creation-Date: 2018-01-08 10:30+0000\n"
"PO-Revision-Date: 2018-01-08 10:30+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -1229,6 +1229,11 @@ msgstr ""
msgid "Do you want to open cash registers?"
msgstr ""

#. module: point_of_sale
#: model:ir.ui.view,arch_db:point_of_sale.pos_config_view_form
msgid "Don't turn this option on if you take orders on smartphones or tablets. Such devices already benefit from a native keyboard."
msgstr ""

#. module: point_of_sale
#: model:ir.ui.view,arch_db:point_of_sale.view_pos_order_filter
msgid "Done"
Expand All @@ -1240,11 +1245,6 @@ msgid "Don’t turn this option on if you take orders on smartphones or tablets.
" Such devices already benefit from a native keyboard."
msgstr ""

#. module: point_of_sale
#: model:ir.ui.view,arch_db:point_of_sale.pos_config_view_form
msgid "Don't turn this option on if you take orders on smartphones or tablets. Such devices already benefit from a native keyboard."
msgstr ""

#. module: point_of_sale
#. openerp-web
#: code:addons/point_of_sale/static/src/xml/pos.xml:1355
Expand Down Expand Up @@ -3852,18 +3852,23 @@ msgstr ""

#. module: point_of_sale
#. openerp-web
#: code:addons/point_of_sale/static/src/js/screens.js:2023
#: code:addons/point_of_sale/static/src/js/screens.js:2061
#, python-format
msgid "Unknown Error"
msgstr ""

#. module: point_of_sale
#. openerp-web
#: code:addons/point_of_sale/static/src/js/screens.js:1324
#: code:addons/point_of_sale/static/src/js/screens.js:1337
#, python-format
msgid "Unsupported File Format"
msgstr ""

#. module: point_of_sale
#: model:ir.ui.view,arch_db:point_of_sale.view_pos_config_kanban
msgid "Unused"
msgstr ""

#. module: point_of_sale
#: model:ir.model.fields,field_description:point_of_sale.field_pos_config_use_existing_lots
msgid "Use Existing Lots/Serial Numbers"
Expand Down
3 changes: 2 additions & 1 deletion addons/point_of_sale/views/point_of_sale_dashboard.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@
<t t-if="record.pos_session_state.raw_value == 'closing_control'">
<div class="label label-info o_kanban_inline_block">Closing Control</div>
</t>
<div class="o_secondary mt16"><t t-esc="record.pos_session_username.value || 'Unused'"/></div>
<t t-set="unused_message">Unused</t>
<div class="o_secondary mt16"><t t-esc="record.pos_session_username.value || unused_message"/></div>
</div>
<div class="o_kanban_manage_button_section">
<a class="o_kanban_manage_toggle_button" href="#"><i class="fa fa-ellipsis-v" /></a>
Expand Down

0 comments on commit e7eb3ee

Please sign in to comment.