[FIX] website_sale: sort by literal not detected for translation
There are literals inside a t tag that should be translated but they are never exported to the pot file because they are inside a t-value attribute as python code. Closes #14344
This commit is contained in:
@@ -6,8 +6,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 10.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-11-14 15:53+0000\n"
|
||||
"PO-Revision-Date: 2016-11-14 15:53+0000\n"
|
||||
"POT-Creation-Date: 2016-12-09 13:04+0000\n"
|
||||
"PO-Revision-Date: 2016-12-09 13:04+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -982,13 +982,9 @@ msgstr ""
|
||||
msgid "Depending on your state or country, you are required to collect sales taxes with either the rate at buyer’s address (destination-based) or the rate effective at your office or warehouse's address (origin-based)."
|
||||
msgstr ""
|
||||
|
||||
#. module: website_sale
|
||||
#: model:ir.model.fields,field_description:website_sale.field_product_product_quote_description
|
||||
msgid "Description for the quote"
|
||||
msgstr ""
|
||||
|
||||
#. module: website_sale
|
||||
#: model:ir.model.fields,field_description:website_sale.field_product_product_website_description
|
||||
#: model:ir.model.fields,field_description:website_sale.field_product_template_website_description
|
||||
msgid "Description for the website"
|
||||
msgstr ""
|
||||
|
||||
@@ -1076,15 +1072,6 @@ msgstr ""
|
||||
msgid "Enter a name for your new product"
|
||||
msgstr ""
|
||||
|
||||
#. module: website_sale
|
||||
#: model:ir.model.fields,help:website_sale.field_product_product_split_method
|
||||
msgid "Equal : Cost will be equally divided.\n"
|
||||
"By Quantity : Cost will be divided according to product's quantity.\n"
|
||||
"By Current cost : Cost will be divided according to product's current cost.\n"
|
||||
"By Weight : Cost will be divided depending on its weight.\n"
|
||||
"By Volume : Cost will be divided depending on its volume."
|
||||
msgstr ""
|
||||
|
||||
#. module: website_sale
|
||||
#: code:addons/website_sale/models/product.py:89
|
||||
#, python-format
|
||||
@@ -1153,11 +1140,6 @@ msgstr ""
|
||||
msgid "Go through the checkout process and make sure every single step is tailored to your activity:"
|
||||
msgstr ""
|
||||
|
||||
#. module: website_sale
|
||||
#: model:ir.model.fields,field_description:website_sale.field_product_product_hs_code
|
||||
msgid "HS Code"
|
||||
msgstr ""
|
||||
|
||||
#. module: website_sale
|
||||
#: model:ir.model.fields,field_description:website_sale.field_product_style_html_class
|
||||
msgid "HTML Classes"
|
||||
@@ -1301,11 +1283,6 @@ msgstr ""
|
||||
msgid "Keyboard / Mouse"
|
||||
msgstr ""
|
||||
|
||||
#. module: website_sale
|
||||
#: model:ir.model.fields,field_description:website_sale.field_product_product_landed_cost_ok
|
||||
msgid "Landed Costs"
|
||||
msgstr ""
|
||||
|
||||
#. module: website_sale
|
||||
#: model:product.public.category,name:website_sale.laptops
|
||||
msgid "Laptops"
|
||||
@@ -1418,6 +1395,7 @@ msgstr ""
|
||||
#: model:ir.model.fields,field_description:website_sale.field_product_image_name
|
||||
#: model:ir.model.fields,field_description:website_sale.field_product_public_category_name
|
||||
#: model:ir.ui.view,arch_db:website_sale.address
|
||||
#: model:ir.ui.view,arch_db:website_sale.sort
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
@@ -1647,6 +1625,16 @@ msgstr ""
|
||||
msgid "Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: website_sale
|
||||
#: model:ir.ui.view,arch_db:website_sale.sort
|
||||
msgid "Price <i class=\"fa fa-arrow-down\" aria-hidden=\"true\"/>"
|
||||
msgstr ""
|
||||
|
||||
#. module: website_sale
|
||||
#: model:ir.ui.view,arch_db:website_sale.sort
|
||||
msgid "Price <i class=\"fa fa-arrow-up\" aria-hidden=\"true\"/>"
|
||||
msgstr ""
|
||||
|
||||
#. module: website_sale
|
||||
#: model:ir.model.fields,field_description:website_sale.field_website_pricelist_ids
|
||||
msgid "Price list available for this Ecommerce/Website"
|
||||
@@ -1678,11 +1666,6 @@ msgstr ""
|
||||
msgid "Printer"
|
||||
msgstr ""
|
||||
|
||||
#. module: website_sale
|
||||
#: model:ir.model.fields,field_description:website_sale.field_product_product_purchase_requisition
|
||||
msgid "Procurement"
|
||||
msgstr ""
|
||||
|
||||
#. module: website_sale
|
||||
#. openerp-web
|
||||
#: code:addons/website_sale/static/src/xml/website_sale_dashboard.xml:29
|
||||
@@ -2184,16 +2167,6 @@ msgid "Specific prices per customer segment, currency, etc.: new pricing table a
|
||||
"Advanced pricing based on formulas (discounts, margins, rounding): apply price rules from a new *Pricelists* menu in Configuration."
|
||||
msgstr ""
|
||||
|
||||
#. module: website_sale
|
||||
#: model:ir.model.fields,field_description:website_sale.field_product_product_split_method
|
||||
msgid "Split Method"
|
||||
msgstr ""
|
||||
|
||||
#. module: website_sale
|
||||
#: model:ir.model.fields,help:website_sale.field_product_product_hs_code
|
||||
msgid "Standardized code for international shipping and goods declaration"
|
||||
msgstr ""
|
||||
|
||||
#. module: website_sale
|
||||
#: model:ir.ui.view,arch_db:website_sale.website_planner
|
||||
msgid "Start your online shop by creating 3 products pages.<br/>"
|
||||
|
||||
@@ -217,10 +217,13 @@
|
||||
|
||||
<template id="sort" inherit_id="website_sale.products" active="True" customize_show="True" name="Show Sort by">
|
||||
<xpath expr="//div[@class='products_pager']/div/t[@t-call][last()]" position="after">
|
||||
<t t-set="list_price_desc_label">Price <i class="fa fa-arrow-up" aria-hidden="true"/></t>
|
||||
<t t-set="list_price_asc_label">Price <i class="fa fa-arrow-down" aria-hidden="true"/></t>
|
||||
<t t-set="name_asc_label">Name</t>
|
||||
<t t-set="website_sale_sortable" t-value="[
|
||||
('Price <i class=\'fa fa-arrow-up\' aria-hidden=\'true\'></i>', 'list_price desc'),
|
||||
('Price <i class=\'fa fa-arrow-down\' aria-hidden=\'true\'></i>', 'list_price asc'),
|
||||
('Name', 'name asc')
|
||||
(list_price_desc_label, 'list_price desc'),
|
||||
(list_price_asc_label, 'list_price asc'),
|
||||
(name_asc_label, 'name asc')
|
||||
]"/>
|
||||
<div class="dropdown btn-group dropdown_sorty_by">
|
||||
<a href="#" class="dropdown-toggle btn btn-default" data-toggle="dropdown">
|
||||
|
||||
Reference in New Issue
Block a user