Skip to content
Snippets Groups Projects
Commit b95770a5 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#133750

Signed-off-by: default avatarLevi Siuzdak (sile) <sile@odoo.com>
Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
parent 7b58a288
No related branches found
No related tags found
No related merge requests found
......@@ -55,6 +55,16 @@ msgstr ""
msgid "<i class=\"fa fa-pencil\"/> Edit"
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_searchbar
msgid "<span class=\"small mr-1 navbar-text\">Filter By:</span>"
......@@ -320,11 +330,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
......@@ -1084,11 +1089,6 @@ msgstr ""
msgid "password"
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
......
......@@ -47,6 +47,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
......@@ -428,11 +438,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"
......@@ -1132,11 +1137,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"
......
......@@ -72,6 +72,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>"
......@@ -305,11 +310,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:ir.model.fields,field_description:website_profile.field_gamification_badge__display_name
#: model:ir.model.fields,field_description:website_profile.field_res_users__display_name
......
......@@ -235,6 +235,16 @@ msgstr ""
msgid "<i class=\"fa fa-shopping-cart\"/> 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
......@@ -946,11 +956,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"
......@@ -2689,11 +2694,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