mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[I18N] multi: Initial Translations 15.0
This commit is contained in:
committed by
Salomon Chambi
parent
b47c35d536
commit
f955ccf9a4
47
delivery_partner_ups/i18n/es.po
Normal file
47
delivery_partner_ups/i18n/es.po
Normal file
@@ -0,0 +1,47 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * delivery_partner_ups
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 15.0+e\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-10-12 01:10+0000\n"
|
||||
"PO-Revision-Date: 2021-10-12 01:10+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: delivery_partner_ups
|
||||
#: model:ir.model.fields,field_description:delivery_partner_ups.field_partner_shipping_account__delivery_type
|
||||
msgid "Carrier"
|
||||
msgstr "Transportista"
|
||||
|
||||
#. module: delivery_partner_ups
|
||||
#: model:ir.model,name:delivery_partner_ups.model_partner_shipping_account
|
||||
msgid "Partner Shipping Account"
|
||||
msgstr "Cuenta de Envío del Socio"
|
||||
|
||||
#. module: delivery_partner_ups
|
||||
#: model:ir.model.fields.selection,name:delivery_partner_ups.selection__partner_shipping_account__delivery_type__ups
|
||||
msgid "UPS"
|
||||
msgstr "UPS"
|
||||
|
||||
#. module: delivery_partner_ups
|
||||
#: model:ir.model.fields,field_description:delivery_partner_ups.field_partner_shipping_account__ups_zip
|
||||
msgid "UPS Account ZIP"
|
||||
msgstr "Código postal de la cuenta UPS"
|
||||
#. module: delivery_partner_ups
|
||||
#: code:addons/delivery_partner_ups/models/delivery.py:0
|
||||
#, python-format
|
||||
msgid "UPS Account numbers must be 6 Alpha-numeric characters."
|
||||
msgstr "Los números de cuenta de UPS deben tener 6 caracteres alfanuméricos."
|
||||
|
||||
#. module: delivery_partner_ups
|
||||
#: code:addons/delivery_partner_ups/models/delivery.py:0
|
||||
#, python-format
|
||||
msgid "UPS requires the 5 digit account ZIP."
|
||||
msgstr "UPS requiere el código postal de 5 dígitos de la cuenta."
|
||||
@@ -1,6 +1,6 @@
|
||||
import re
|
||||
|
||||
from odoo import fields, models
|
||||
from odoo import fields, models, _
|
||||
from odoo.exceptions import ValidationError
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ class PartnerShippingAccount(models.Model):
|
||||
def ups_check_validity(self):
|
||||
m = re.search(r'^[\dA-Z]{6}$', self.name or '')
|
||||
if not m:
|
||||
raise ValidationError('UPS Account numbers must be 6 Alpha-numeric characters.')
|
||||
raise ValidationError(_('UPS Account numbers must be 6 Alpha-numeric characters.'))
|
||||
m = re.search(r'^\d{5}$', self.ups_zip or '')
|
||||
if not m:
|
||||
raise ValidationError('UPS requires the 5 digit account ZIP.')
|
||||
raise ValidationError(_('UPS requires the 5 digit account ZIP.'))
|
||||
|
||||
Reference in New Issue
Block a user