[I18N] l10n_it_edi_website_sale: correct and translate terms
Correct the terms in this module and translate them in Italian. closes odoo/odoo#156502 X-original-commit: 8f4ded8ebb85e996c2fc556efd0ad080095ff82a Signed-off-by: Tiffany Chang (tic) <tic@odoo.com> Signed-off-by: Dylan Kiss (dyki) <dyki@odoo.com>
This commit is contained in:
@@ -22,5 +22,5 @@ class ItalyWebsiteSaleForm(WebsiteSale):
|
||||
if pa_index:
|
||||
if len(pa_index) < 6 or len(pa_index) > 7:
|
||||
error['l10n_it_pa_index'] = 'error'
|
||||
error_message.append(_('PA index must have between 6 and 7 characters'))
|
||||
error_message.append(_('Destination Code (SDI) must have between 6 and 7 characters'))
|
||||
return error, error_message
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * l10n_it_edi_website_sale
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 15.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-02-29 14:22+0000\n"
|
||||
"PO-Revision-Date: 2024-02-29 12:07+0000\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: it\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: l10n_it_edi_website_sale
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_it_edi_website_sale.address_b2b
|
||||
msgid "Codice Fiscale"
|
||||
msgstr "Codice Fiscale"
|
||||
|
||||
#. module: l10n_it_edi_website_sale
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_it_edi_website_sale.address_b2b
|
||||
msgid "Destination Code (SDI)"
|
||||
msgstr "Codice Destinatario (SDI)"
|
||||
|
||||
#. module: l10n_it_edi_website_sale
|
||||
#: code:addons/l10n_it_edi_website_sale/controllers/main.py:0
|
||||
#, python-format
|
||||
msgid "Destination Code (SDI) must have between 6 and 7 characters"
|
||||
msgstr "Il Codice Destinatario (SDI) deve avere tra 6 e 7 caratteri"
|
||||
@@ -0,0 +1,32 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * l10n_it_edi_website_sale
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 15.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-02-29 14:22+0000\n"
|
||||
"PO-Revision-Date: 2024-02-29 14:22+0000\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: l10n_it_edi_website_sale
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_it_edi_website_sale.address_b2b
|
||||
msgid "Codice Fiscale"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_it_edi_website_sale
|
||||
#: model_terms:ir.ui.view,arch_db:l10n_it_edi_website_sale.address_b2b
|
||||
msgid "Destination Code (SDI)"
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_it_edi_website_sale
|
||||
#: code:addons/l10n_it_edi_website_sale/controllers/main.py:0
|
||||
#, python-format
|
||||
msgid "Destination Code (SDI) must have between 6 and 7 characters"
|
||||
msgstr ""
|
||||
@@ -6,11 +6,11 @@
|
||||
<t t-if="res_company.account_fiscal_country_id.code == 'IT'">
|
||||
<div class="w-100"/>
|
||||
<div t-attf-class="mb-3 #{error.get('vat') and 'o_has_error' or ''} col-lg-6 div_l10n_it_codice_fiscale mb-0" id="div_l10n_it_codice_fiscale">
|
||||
<label class="col-form-label fw-normal label-optional" for="l10n_it_codice_fiscale">Codice Fiscale </label>
|
||||
<label class="col-form-label fw-normal label-optional" for="l10n_it_codice_fiscale">Codice Fiscale</label>
|
||||
<input type="text" name="l10n_it_codice_fiscale" t-attf-class="form-control #{error.get('l10n_it_codice_fiscale') and 'is-invalid' or ''}" t-att-value="'l10n_it_codice_fiscale' in checkout and checkout['l10n_it_codice_fiscale']"/>
|
||||
</div>
|
||||
<div t-attf-class="mb-3 #{error.get('vat') and 'o_has_error' or ''} col-lg-6 div_l10n_it_pa_index mb-0" id="div_l10n_it_pa_index">
|
||||
<label class="col-form-label fw-normal label-optional" for="l10n_it_pa_index">PA index </label>
|
||||
<label class="col-form-label fw-normal label-optional" for="l10n_it_pa_index">Destination Code (SDI)</label>
|
||||
<input type="text" name="l10n_it_pa_index" t-attf-class="form-control #{error.get('l10n_it_pa_index') and 'is-invalid' or ''}" t-att-value="'l10n_it_codice_fiscale' in checkout and checkout['l10n_it_codice_fiscale']"/>
|
||||
</div>
|
||||
</t>
|
||||
|
||||
Reference in New Issue
Block a user