diff options
Diffstat (limited to 'addons/sms')
| -rw-r--r-- | addons/sms/i18n/es.po | 20 | ||||
| -rw-r--r-- | addons/sms/wizard/send_sms.py | 2 |
2 files changed, 12 insertions, 10 deletions
diff --git a/addons/sms/i18n/es.po b/addons/sms/i18n/es.po index ca92d2ad558..0c0f318e646 100644 --- a/addons/sms/i18n/es.po +++ b/addons/sms/i18n/es.po @@ -5,17 +5,18 @@ # Translators: # José Matias Zuazo <jose.zuazo@tpsistemas.com.ar>, 2017 # e2f_es_ t6 <e2f_es_t6@outlook.com>, 2017 -# Martin Trigaux <mat@odoo.com>, 2017 +# Martin Trigaux, 2017 # Pedro M. Baeza <pedro.baeza@gmail.com>, 2017 # Inigo Zuluaga <inigo_zuluaga@yahoo.es>, 2017 # Alejandro Santana <alejandrosantana@anubia.es>, 2017 +# Sarai Osorio <sarai.osorio@jarsa.com.mx>, 2018 msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-10-10 11:35+0000\n" "PO-Revision-Date: 2017-10-10 11:35+0000\n" -"Last-Translator: Alejandro Santana <alejandrosantana@anubia.es>, 2017\n" +"Last-Translator: Sarai Osorio <sarai.osorio@jarsa.com.mx>, 2018\n" "Language-Team: Spanish (https://www.transifex.com/odoo/teams/41243/es/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -64,7 +65,7 @@ msgstr "ID (identificación)" #: code:addons/sms/models/mail_thread.py:53 #, python-format msgid "Insufficient credit, unable to send SMS message: %s" -msgstr "" +msgstr "Crédito insuficiente, no puede enviar mensajes SMS:%s" #. module: sms #: model:ir.model.fields,field_description:sms.field_sms_api___last_update @@ -91,13 +92,14 @@ msgstr "Mensaje" #: code:addons/sms/wizard/send_sms.py:48 #, python-format msgid "Missing mobile number for %s." -msgstr "" +msgstr "Falta el número de móvil para%s." #. module: sms #: code:addons/sms/models/mail_thread.py:55 #, python-format msgid "No mobile number defined, unable to send SMS message: %s" msgstr "" +"Sin número de teléfono definido, no se puede enviar mensaje de texto: %s" #. module: sms #: model:ir.model.fields,field_description:sms.field_sms_send_sms_recipients @@ -108,7 +110,7 @@ msgstr "Destinatarios" #: code:addons/sms/models/mail_thread.py:48 #, python-format msgid "SMS message sent: %s" -msgstr "" +msgstr "Mensaje SMS enviado: %s" #. module: sms #: model:ir.ui.view,arch_db:sms.send_sms_view_form @@ -119,19 +121,19 @@ msgstr "Enviar" #: model:ir.actions.act_window,name:sms.send_sms_action #: model:ir.actions.act_window,name:sms.send_sms_form_action msgid "Send SMS" -msgstr "" +msgstr "Enviar SMS" #. module: sms #: model:ir.ui.view,arch_db:sms.send_sms_view_form msgid "Send an SMS" -msgstr "" +msgstr "Enviar un SMS" #. module: sms #: model:ir.model,name:sms.model_sms_api msgid "sms.api" -msgstr "" +msgstr "sms.api" #. module: sms #: model:ir.model,name:sms.model_sms_send_sms msgid "sms.send_sms" -msgstr "" +msgstr "sms.send_sms" diff --git a/addons/sms/wizard/send_sms.py b/addons/sms/wizard/send_sms.py index 844933d092a..139f542e597 100644 --- a/addons/sms/wizard/send_sms.py +++ b/addons/sms/wizard/send_sms.py @@ -35,7 +35,7 @@ class SendSMS(models.TransientModel): def _sms_sanitization(self, partner, field_name): number = partner[field_name] - if _sms_phonenumbers_lib_imported: + if number and _sms_phonenumbers_lib_imported: country = self._phone_get_country(partner) country_code = country.code if country else None try: |
