diff --git a/addons/barcodes/barcodes.py b/addons/barcodes/barcodes.py index 5a780657c1a..8f9c6769bcc 100644 --- a/addons/barcodes/barcodes.py +++ b/addons/barcodes/barcodes.py @@ -180,7 +180,7 @@ class barcode_rule(models.Model): @api.model def _encoding_selection_list(self): return [ - ('any', 'Any'), + ('any', _('Any')), ('ean13', 'EAN-13'), ('ean8', 'EAN-8'), ('upca', 'UPC-A'), diff --git a/addons/barcodes/i18n/barcodes.pot b/addons/barcodes/i18n/barcodes.pot index 4d07aa7df22..5018c7b5270 100644 --- a/addons/barcodes/i18n/barcodes.pot +++ b/addons/barcodes/i18n/barcodes.pot @@ -72,6 +72,12 @@ msgstr "" msgid "An internal identification of the barcode nomenclature" msgstr "" +#. module: barcodes +#: code:addons/barcodes/barcodes.py:183 +#, python-format +msgid "Any" +msgstr "" + #. module: barcodes #: model:ir.model.fields,field_description:barcodes.field_barcode_rule_barcode_nomenclature_id #: model:ir.ui.view,arch_db:barcodes.view_barcode_nomenclature_form diff --git a/addons/product/i18n/product.pot b/addons/product/i18n/product.pot index 85a37b94f1e..493de6613d3 100644 --- a/addons/product/i18n/product.pot +++ b/addons/product/i18n/product.pot @@ -648,6 +648,12 @@ msgstr "" msgid "Computers" msgstr "" +#. module: product +#: code:addons/product/product.py:460 +#, python-format +msgid "Consumable" +msgstr "" + #. module: product #: model:ir.model.fields,help:product.field_product_uom_category_id msgid "Conversion between Units of Measure can only occur if they belong to the same category. The conversion will be made based on the ratios." @@ -2394,6 +2400,12 @@ msgstr "" msgid "Server" msgstr "" +#. module: product +#: code:addons/product/product.py:460 +#, python-format +msgid "Service" +msgstr "" + #. module: product #: model:ir.ui.view,arch_db:product.product_template_search_view #: model:product.category,name:product.product_category_3 diff --git a/addons/product/product.py b/addons/product/product.py index c8fa9b8a8b1..0bc1ec3de85 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -457,7 +457,7 @@ class product_template(osv.osv): return [x['product_tmpl_id'][0] for x in r] def _get_product_template_type(self, cr, uid, context=None): - return [('consu', 'Consumable'), ('service', 'Service')] + return [('consu', _('Consumable')), ('service', _('Service'))] _get_product_template_type_wrapper = lambda self, *args, **kwargs: self._get_product_template_type(*args, **kwargs) _columns = { diff --git a/addons/stock/i18n/stock.pot b/addons/stock/i18n/stock.pot index aaa9409a5cc..4cfb78af2f2 100644 --- a/addons/stock/i18n/stock.pot +++ b/addons/stock/i18n/stock.pot @@ -5233,6 +5233,12 @@ msgstr "" msgid "Stockable" msgstr "" +#. module: stock +#: code:addons/stock/product.py:400 +#, python-format +msgid "Stockable Product" +msgstr "" + #. module: stock #: model:ir.model.fields,field_description:stock.field_stock_location_route_supplied_wh_id msgid "Supplied Warehouse" diff --git a/addons/stock/product.py b/addons/stock/product.py index edf63baa840..6d348e54d68 100644 --- a/addons/stock/product.py +++ b/addons/stock/product.py @@ -397,7 +397,7 @@ class product_template(osv.osv): def _get_product_template_type(self, cr, uid, context=None): res = super(product_template, self)._get_product_template_type(cr, uid, context=context) if 'product' not in [item[0] for item in res]: - res.append(('product', 'Stockable Product')) + res.append(('product', _('Stockable Product'))) return res _columns = { diff --git a/addons/website_sale_digital/i18n/website_sale_digital.pot b/addons/website_sale_digital/i18n/website_sale_digital.pot index e3e2d31a410..8e2683e9f98 100644 --- a/addons/website_sale_digital/i18n/website_sale_digital.pot +++ b/addons/website_sale_digital/i18n/website_sale_digital.pot @@ -32,6 +32,12 @@ msgstr "" msgid "Digital Attachments" msgstr "" +#. module: website_sale_digital +#: code:addons/website_sale_digital/product.py:22 +#, python-format +msgid "Digital Content" +msgstr "" + #. module: website_sale_digital #: model:ir.ui.view,arch_db:website_sale_digital.orders_followup_downloads msgid "Downloads " diff --git a/addons/website_sale_digital/product.py b/addons/website_sale_digital/product.py index 8262d31d94e..54852cd9c74 100644 --- a/addons/website_sale_digital/product.py +++ b/addons/website_sale_digital/product.py @@ -19,7 +19,7 @@ class product_template(models.Model): def _get_product_template_type(self): res = super(product_template, self)._get_product_template_type() if 'digital' not in [item[0] for item in res]: - res.append(('digital', 'Digital Content')) + res.append(('digital', _('Digital Content'))) return res @api.multi