Skip to content
Snippets Groups Projects
Commit 062f170c authored by Levi Siuzdak (sile)'s avatar Levi Siuzdak (sile)
Browse files

[FIX] *: update pot files to allow translation of option values


Versions:
---------
- 14.0
- 15.0

Steps to reproduce:
-------------------
1. create an eCommerce site;
2. add another language;
3. visit site using any language other than English;
4. add product to cart;
5. go to checkout until you can change address.

Issue:
------
In the country and state/province selectors, the default values are not translated.

Cause:
------
Their `msgid` strings in the .pot files don't include the option tags that were introduced in 57d7e75b.

Solution:
---------
Add option tags to the `msgid` strings.

opw-3455492

closes odoo/odoo#135656

X-original-commit: b95770a5
Signed-off-by: default avatarLevi Siuzdak (sile) <sile@odoo.com>
Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
Signed-off-by: default avatarLevi Siuzdak <sile@odoo.com>
parent 133dfaca
No related branches found
No related tags found
No related merge requests found
......@@ -60,6 +60,16 @@ msgstr ""
msgid "<i title=\"Documentation\" class=\"fa fa-fw o_button_icon fa-info-circle\"/>"
msgstr ""
#. module: portal
#: model_terms:ir.ui.view,arch_db:portal.portal_my_details
msgid "<option value=\"\">Country...</option>"
msgstr ""
#. module: portal
#: model_terms:ir.ui.view,arch_db:portal.portal_my_details
msgid "<option value=\"\">select...</option>"
msgstr ""
#. module: portal
#: model_terms:ir.ui.view,arch_db:portal.portal_my_details
msgid ""
......@@ -352,11 +362,6 @@ msgstr ""
msgid "Country"
msgstr ""
#. module: portal
#: model_terms:ir.ui.view,arch_db:portal.portal_my_details
msgid "Country..."
msgstr ""
#. module: portal
#: model:ir.model.fields,field_description:portal.field_portal_share__create_uid
#: model:ir.model.fields,field_description:portal.field_portal_wizard__create_uid
......@@ -1284,11 +1289,6 @@ msgstr ""
msgid "res.users.apikeys.description"
msgstr ""
#. module: portal
#: model_terms:ir.ui.view,arch_db:portal.portal_my_details
msgid "select..."
msgstr ""
#. module: portal
#. openerp-web
#: code:addons/portal/static/src/xml/portal_chatter.xml:0
......
......@@ -40,6 +40,16 @@ msgstr ""
msgid "<i class=\"fa fa-plus\"/> Create New"
msgstr ""
#. module: website_crm_partner_assign
#: model_terms:ir.ui.view,arch_db:website_crm_partner_assign.portal_my_opportunity
msgid "<option>Countries...</option>"
msgstr ""
#. module: website_crm_partner_assign
#: model_terms:ir.ui.view,arch_db:website_crm_partner_assign.portal_my_opportunity
msgid "<option>States...</option>"
msgstr ""
#. module: website_crm_partner_assign
#: code:addons/website_crm_partner_assign/models/crm_lead.py:0
#, python-format
......@@ -441,11 +451,6 @@ msgstr ""
msgid "Contents"
msgstr ""
#. module: website_crm_partner_assign
#: model_terms:ir.ui.view,arch_db:website_crm_partner_assign.portal_my_opportunity
msgid "Countries..."
msgstr ""
#. module: website_crm_partner_assign
#: model:ir.model.fields,field_description:website_crm_partner_assign.field_crm_partner_report_assign__country_id
msgid "Country"
......@@ -1147,11 +1152,6 @@ msgstr ""
msgid "Stage"
msgstr ""
#. module: website_crm_partner_assign
#: model_terms:ir.ui.view,arch_db:website_crm_partner_assign.portal_my_opportunity
msgid "States..."
msgstr ""
#. module: website_crm_partner_assign
#: model_terms:ir.ui.view,arch_db:website_crm_partner_assign.portal_my_opportunity
msgid "Street"
......
......@@ -55,6 +55,11 @@ msgstr ""
msgid "<b>Payment Method:</b>"
msgstr ""
#. module: website_payment
#: model_terms:ir.ui.view,arch_db:website_payment.payment_checkout
msgid "<option value=\"\">Country...</option>"
msgstr ""
#. module: website_payment
#: model_terms:ir.ui.view,arch_db:website_payment.donation_pay
msgid ""
......@@ -142,11 +147,6 @@ msgstr ""
msgid "Country is required."
msgstr ""
#. module: website_payment
#: model_terms:ir.ui.view,arch_db:website_payment.payment_checkout
msgid "Country..."
msgstr ""
#. module: website_payment
#. openerp-web
#: code:addons/website_payment/static/src/snippets/s_donation/000.xml:0
......
......@@ -62,6 +62,11 @@ msgstr ""
msgid "<i class=\"text-muted\"> awarded users</i>"
msgstr ""
#. module: website_profile
#: model_terms:ir.ui.view,arch_db:website_profile.user_profile_edit_content
msgid "<option value=\"\">Country...</option>"
msgstr ""
#. module: website_profile
#: model_terms:ir.ui.view,arch_db:website_profile.user_profile_content
msgid "<small class=\"font-weight-bold mr-2\">Current rank:</small>"
......@@ -291,11 +296,6 @@ msgstr ""
msgid "Close"
msgstr ""
#. module: website_profile
#: model_terms:ir.ui.view,arch_db:website_profile.user_profile_edit_content
msgid "Country..."
msgstr ""
#. module: website_profile
#: model_terms:ir.ui.view,arch_db:website_profile.user_profile_edit_content
msgid "Edit"
......
......@@ -146,6 +146,16 @@ msgstr ""
msgid "<i class=\"fa fa-shopping-cart mr-2\"/>ADD TO CART"
msgstr ""
#. module: website_sale
#: model_terms:ir.ui.view,arch_db:website_sale.address
msgid "<option value=\"\">Country...</option>"
msgstr ""
#. module: website_sale
#: model_terms:ir.ui.view,arch_db:website_sale.address
msgid "<option value=\"\">State / Province...</option>"
msgstr ""
#. module: website_sale
#: code:addons/website_sale/models/crm_team.py:0
#, python-format
......@@ -1069,11 +1079,6 @@ msgstr ""
msgid "Country"
msgstr ""
#. module: website_sale
#: model_terms:ir.ui.view,arch_db:website_sale.address
msgid "Country..."
msgstr ""
#. module: website_sale
#: model_terms:ir.actions.act_window,help:website_sale.product_template_action_website
msgid "Create a new product"
......@@ -2890,11 +2895,6 @@ msgstr ""
msgid "State / Province"
msgstr ""
#. module: website_sale
#: model_terms:ir.ui.view,arch_db:website_sale.address
msgid "State / Province..."
msgstr ""
#. module: website_sale
#: model:ir.model.fields,field_description:website_sale.field_res_company__website_sale_onboarding_payment_acquirer_state
msgid "State of the website sale onboarding payment acquirer step"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment