[FIX] many: missing translations for types of barcode rule

This commit is contained in:
Nicolas Martinelli
2016-01-25 17:55:43 +01:00
parent 2a4e3d8f2f
commit e93ed5dfae
8 changed files with 62 additions and 12 deletions
+1 -1
View File
@@ -188,7 +188,7 @@ class barcode_rule(models.Model):
@api.model
def _get_type_selection(self):
return [('alias','Alias'),('product','Unit Product')]
return [('alias', _('Alias')), ('product', _('Unit Product'))]
_columns = {
'name': fields.char('Rule Name', size=32, required=True, help='An internal identification for this barcode nomenclature rule'),
+8
View File
@@ -53,7 +53,9 @@ msgid "A barcode nomenclature defines how the point of sale identify and interpr
msgstr ""
#. module: barcodes
#: code:addons/barcodes/barcodes.py:191
#: model:ir.model.fields,field_description:barcodes.field_barcode_rule_alias
#, python-format
msgid "Alias"
msgstr ""
@@ -267,6 +269,12 @@ msgstr ""
msgid "UPC/EAN Conversion"
msgstr ""
#. module: barcodes
#: code:addons/barcodes/barcodes.py:191
#, python-format
msgid "Unit Product"
msgstr ""
#. module: barcodes
#: model:ir.model.fields,help:barcodes.field_barcode_rule_sequence
msgid "Used to order rules such that rules with a smaller sequence match first"
@@ -856,6 +856,12 @@ msgstr ""
msgid "Cashdrawer"
msgstr ""
#. module: point_of_sale
#: code:addons/point_of_sale/point_of_sale.py:1604
#, python-format
msgid "Cashier"
msgstr ""
#. module: point_of_sale
#: model:ir.actions.act_window,help:point_of_sale.product_pos_category_action
msgid "Categories are used to browse your products through the\n"
@@ -1371,6 +1377,12 @@ msgstr ""
msgid "Discount:"
msgstr ""
#. module: point_of_sale
#: code:addons/point_of_sale/point_of_sale.py:1602
#, python-format
msgid "Discounted Product"
msgstr ""
#. module: point_of_sale
#. openerp-web
#: code:addons/point_of_sale/static/src/xml/pos.xml:791
@@ -2830,6 +2842,12 @@ msgstr ""
msgid "Price"
msgstr ""
#. module: point_of_sale
#: code:addons/point_of_sale/point_of_sale.py:1601
#, python-format
msgid "Priced Product"
msgstr ""
#. module: point_of_sale
#: model:ir.model.fields,field_description:point_of_sale.field_pos_config_pricelist_id
#: model:ir.model.fields,field_description:point_of_sale.field_pos_order_pricelist_id
@@ -4129,6 +4147,12 @@ msgstr ""
msgid "Warehouse"
msgstr ""
#. module: point_of_sale
#: code:addons/point_of_sale/point_of_sale.py:1600
#, python-format
msgid "Weighted Product"
msgstr ""
#. module: point_of_sale
#. openerp-web
#: code:addons/point_of_sale/static/src/xml/pos.xml:1180
+5 -5
View File
@@ -1597,10 +1597,10 @@ class barcode_rule(models.Model):
def _get_type_selection(self):
types = sets.Set(super(barcode_rule,self)._get_type_selection())
types.update([
('weight','Weighted Product'),
('price','Priced Product'),
('discount','Discounted Product'),
('client','Client'),
('cashier','Cashier')
('weight', _('Weighted Product')),
('price', _('Priced Product')),
('discount', _('Discounted Product')),
('client', _('Client')),
('cashier', _('Cashier'))
])
return list(types)
+6
View File
@@ -151,6 +151,12 @@ msgstr ""
msgid "Created on"
msgstr ""
#. module: pos_mercury
#: code:addons/pos_mercury/models/pos_mercury.py:17
#, python-format
msgid "Credit Card"
msgstr ""
#. module: pos_mercury
#. openerp-web
#: code:addons/pos_mercury/static/src/js/pos_mercury.js:177
+2 -2
View File
@@ -4,7 +4,7 @@
import logging
import sets
from openerp import models, fields, api
from openerp import models, fields, api, _
_logger = logging.getLogger(__name__)
@@ -14,7 +14,7 @@ class barcode_rule(models.Model):
def _get_type_selection(self):
types = sets.Set(super(barcode_rule, self)._get_type_selection())
types.update([
('credit', 'Credit Card')
('credit', _('Credit Card'))
])
return list(types)
+12
View File
@@ -2926,6 +2926,7 @@ msgid "Localization"
msgstr ""
#. module: stock
#: code:addons/stock/stock.py:4912
#: model:ir.model.fields,field_description:stock.field_product_product_location_id
#: model:ir.model.fields,field_description:stock.field_product_template_location_id
#: model:ir.model.fields,field_description:stock.field_stock_change_product_qty_location_id
@@ -2939,6 +2940,7 @@ msgstr ""
#: model:ir.ui.view,arch_db:stock.quant_search_view
#: model:ir.ui.view,arch_db:stock.view_move_search
#: model:ir.ui.view,arch_db:stock.warehouse_orderpoint_search
#, python-format
msgid "Location"
msgstr ""
@@ -2997,6 +2999,7 @@ msgid "Logistics"
msgstr ""
#. module: stock
#: code:addons/stock/stock.py:4913
#: model:ir.model.fields,field_description:stock.field_stock_move_restrict_lot_id
#: model:ir.model.fields,field_description:stock.field_stock_move_scrap_restrict_lot_id
#: model:ir.model.fields,field_description:stock.field_stock_quant_lot_id
@@ -3005,6 +3008,7 @@ msgstr ""
#: model:ir.ui.view,arch_db:stock.report_lot_barcode
#: model:ir.ui.view,arch_db:stock.report_package_barcode
#: model:ir.ui.view,arch_db:stock.report_picking
#, python-format
msgid "Lot"
msgstr ""
@@ -3748,11 +3752,13 @@ msgid "Pack Type"
msgstr ""
#. module: stock
#: code:addons/stock/stock.py:4914
#: model:ir.model.fields,field_description:stock.field_stock_quant_package_id
#: model:ir.ui.view,arch_db:stock.quant_package_search_view
#: model:ir.ui.view,arch_db:stock.quant_search_view
#: model:ir.ui.view,arch_db:stock.view_quant_package_form
#: model:ir.ui.view,arch_db:stock.view_quant_package_tree
#, python-format
msgid "Package"
msgstr ""
@@ -5800,6 +5806,12 @@ msgstr ""
msgid "USPS integration"
msgstr ""
#. module: stock
#: code:addons/stock/stock.py:730
#, python-format
msgid "Under no circumstances should you delete or change quants yourselves!"
msgstr ""
#. module: stock
#: model:ir.model.fields,help:stock.field_stock_production_lot_name
msgid "Unique Serial Number"
+4 -4
View File
@@ -4908,10 +4908,10 @@ class barcode_rule(models.Model):
def _get_type_selection(self):
types = sets.Set(super(barcode_rule,self)._get_type_selection())
types.update([
('weight','Weighted Product'),
('location','Location'),
('lot','Lot'),
('package','Package')
('weight', _('Weighted Product')),
('location', _('Location')),
('lot', _('Lot')),
('package', _('Package'))
])
return list(types)