Browse Source

fix unicode/ascii error

pull/663/head
Damien Crier 8 years ago
committed by Jairo Llopis
parent
commit
c931e7494a
  1. 58
      partner_firstname/i18n/bg.po
  2. 17
      partner_firstname/i18n/de.po
  3. 48
      partner_firstname/i18n/es.po
  4. 58
      partner_firstname/i18n/fi.po
  5. 48
      partner_firstname/i18n/fr.po
  6. 58
      partner_firstname/i18n/hr.po
  7. 22
      partner_firstname/i18n/it.po
  8. 92
      partner_firstname/i18n/nl_NL.po
  9. 58
      partner_firstname/i18n/pt.po
  10. 30
      partner_firstname/i18n/pt_BR.po
  11. 58
      partner_firstname/i18n/pt_PT.po
  12. 15
      partner_firstname/models/res_partner.py

58
partner_firstname/i18n/bg.po

@ -0,0 +1,58 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_firstname
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-31 01:39+0000\n"
"PO-Revision-Date: 2016-12-31 01:39+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: bg\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_firstname
#: sql_constraint:res.partner:0
msgid "Contacts require a name."
msgstr ""
#. module: partner_firstname
#: code:addons/partner_firstname/exceptions.py:11
#, python-format
msgid "Error(s) with partner %d's name."
msgstr ""
#. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname
msgid "First name"
msgstr ""
#. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname
#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname
msgid "Last name"
msgstr ""
#. module: partner_firstname
#: code:addons/partner_firstname/exceptions.py:8
#, python-format
msgid "No name is set."
msgstr ""
#. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_res_partner
msgid "Partner"
msgstr "Партньор"
#. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_res_users
msgid "Users"
msgstr ""

17
partner_firstname/i18n/de.po

@ -3,17 +3,16 @@
# * partner_firstname # * partner_firstname
# #
# Translators: # Translators:
# Armando Vulcano Junior <vulcano@uol.com.br>, 2015
# Matjaž Mozetič <m.mozetic@matmoz.si>, 2016
# Rudolf Schnapka <rs@techno-flex.de>, 2016
# OCA Transbot <transbot@odoo-community.org>, 2016
# Niki Waibel <niki.waibel@gmail.com>, 2016
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: partner-contact (9.0)\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-04-17 04:15+0000\n"
"PO-Revision-Date: 2016-04-21 08:29+0000\n"
"Last-Translator: Rudolf Schnapka <rs@techno-flex.de>\n"
"Language-Team: German (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/de/)\n"
"POT-Creation-Date: 2016-11-14 03:37+0000\n"
"PO-Revision-Date: 2016-11-14 03:37+0000\n"
"Last-Translator: Niki Waibel <niki.waibel@gmail.com>, 2016\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
@ -47,7 +46,7 @@ msgstr "Nachname"
#: code:addons/partner_firstname/exceptions.py:8 #: code:addons/partner_firstname/exceptions.py:8
#, python-format #, python-format
msgid "No name is set." msgid "No name is set."
msgstr "Kein Name gepflegt."
msgstr "Kein Name eingetragen."
#. module: partner_firstname #. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_res_partner #: model:ir.model,name:partner_firstname.model_res_partner

48
partner_firstname/i18n/es.po

@ -3,17 +3,15 @@
# * partner_firstname # * partner_firstname
# #
# Translators: # Translators:
# Francisco Palm <francisco.palm@gmail.com>, 2015
# Hotellook, 2014
# Paolo Valier, 2016
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: partner-contact (9.0)\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-04-14 11:14+0000\n"
"PO-Revision-Date: 2016-04-05 10:01+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>\n"
"Language-Team: Spanish (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/es/)\n"
"POT-Creation-Date: 2017-06-30 02:48+0000\n"
"PO-Revision-Date: 2017-06-30 02:48+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
@ -23,7 +21,7 @@ msgstr ""
#. module: partner_firstname #. module: partner_firstname
#: sql_constraint:res.partner:0 #: sql_constraint:res.partner:0
msgid "Contacts require a name." msgid "Contacts require a name."
msgstr ""
msgstr "Los contactos requieren un nombre."
#. module: partner_firstname #. module: partner_firstname
#: code:addons/partner_firstname/exceptions.py:11 #: code:addons/partner_firstname/exceptions.py:11
@ -49,12 +47,44 @@ msgstr "Apellido"
msgid "No name is set." msgid "No name is set."
msgstr "No se ha establecido ningún nombre." msgstr "No se ha establecido ningún nombre."
#. module: partner_firstname
#: model:ir.model.fields,help:partner_firstname.field_base_config_settings_partner_names_order
msgid "Order to compose partner fullname"
msgstr ""
#. module: partner_firstname #. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_res_partner #: model:ir.model,name:partner_firstname.model_res_partner
msgid "Partner" msgid "Partner"
msgstr "Empresa" msgstr "Empresa"
#. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_base_config_settings_partner_names_order
msgid "Partner names order"
msgstr ""
#. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_base_config_settings_partner_names_order_changed
msgid "Partner names order changed"
msgstr ""
#. module: partner_firstname
#: model:ir.ui.view,arch_db:partner_firstname.view_general_configuration
msgid "Recalculate names"
msgstr ""
#. module: partner_firstname
#: model:ir.ui.view,arch_db:partner_firstname.view_general_configuration
msgid ""
"Recalculate names for all partners. This process could take so much time if "
"there are more than 10,000 active partners"
msgstr ""
#. module: partner_firstname #. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_res_users #: model:ir.model,name:partner_firstname.model_res_users
msgid "Users" msgid "Users"
msgstr "Usuarios" msgstr "Usuarios"
#. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_base_config_settings
msgid "base.config.settings"
msgstr "base.config.settings"

58
partner_firstname/i18n/fi.po

@ -0,0 +1,58 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_firstname
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-21 03:40+0000\n"
"PO-Revision-Date: 2016-12-21 03:40+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: fi\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_firstname
#: sql_constraint:res.partner:0
msgid "Contacts require a name."
msgstr ""
#. module: partner_firstname
#: code:addons/partner_firstname/exceptions.py:11
#, python-format
msgid "Error(s) with partner %d's name."
msgstr ""
#. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname
msgid "First name"
msgstr ""
#. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname
#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname
msgid "Last name"
msgstr ""
#. module: partner_firstname
#: code:addons/partner_firstname/exceptions.py:8
#, python-format
msgid "No name is set."
msgstr ""
#. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_res_partner
msgid "Partner"
msgstr "Kumppani"
#. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_res_users
msgid "Users"
msgstr ""

48
partner_firstname/i18n/fr.po

@ -3,15 +3,16 @@
# * partner_firstname # * partner_firstname
# #
# Translators: # Translators:
# Laurent Mignon (ACSONE) <laurent.mignon@gmail.com>, 2016
# OCA Transbot <transbot@odoo-community.org>, 2016
# Lixon Jean-Yves <jy.lixon@ls-development.net>, 2017
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: partner-contact (9.0)\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-28 11:23+0000\n"
"PO-Revision-Date: 2016-06-16 15:35+0000\n"
"Last-Translator: Laurent Mignon (ACSONE) <laurent.mignon@gmail.com>\n"
"Language-Team: French (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/fr/)\n"
"POT-Creation-Date: 2017-07-08 02:42+0000\n"
"PO-Revision-Date: 2017-07-08 02:42+0000\n"
"Last-Translator: Lixon Jean-Yves <jy.lixon@ls-development.net>, 2017\n"
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
@ -47,12 +48,47 @@ msgstr "Nom"
msgid "No name is set." msgid "No name is set."
msgstr "Aucun nom spécifié." msgstr "Aucun nom spécifié."
#. module: partner_firstname
#: model:ir.model.fields,help:partner_firstname.field_base_config_settings_partner_names_order
msgid "Order to compose partner fullname"
msgstr "Ordre de la composition du nom complet"
#. module: partner_firstname #. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_res_partner #: model:ir.model,name:partner_firstname.model_res_partner
msgid "Partner" msgid "Partner"
msgstr "Partenaire" msgstr "Partenaire"
#. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_base_config_settings_partner_names_order
msgid "Partner names order"
msgstr "Ordre des noms et prénoms des partenaires"
#. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_base_config_settings_partner_names_order_changed
msgid "Partner names order changed"
msgstr "L'ordre des noms et prénoms des partenaires a changé"
#. module: partner_firstname
#: model:ir.ui.view,arch_db:partner_firstname.view_general_configuration
msgid "Recalculate names"
msgstr "Recalculer les noms et prénoms"
#. module: partner_firstname
#: model:ir.ui.view,arch_db:partner_firstname.view_general_configuration
msgid ""
"Recalculate names for all partners. This process could take so much time if "
"there are more than 10,000 active partners"
msgstr ""
"Calcul des noms et prénoms de tous les partenaires. Ce traitement peut "
"prendre plusieurs minutes, voir plus si le nombre de partenaires actifs "
"dépasse les 10000. "
#. module: partner_firstname #. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_res_users #: model:ir.model,name:partner_firstname.model_res_users
msgid "Users" msgid "Users"
msgstr "Utilisateurs" msgstr "Utilisateurs"
#. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_base_config_settings
msgid "base.config.settings"
msgstr ""

58
partner_firstname/i18n/hr.po

@ -0,0 +1,58 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_firstname
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-31 01:39+0000\n"
"PO-Revision-Date: 2016-12-31 01:39+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: hr\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#. module: partner_firstname
#: sql_constraint:res.partner:0
msgid "Contacts require a name."
msgstr ""
#. module: partner_firstname
#: code:addons/partner_firstname/exceptions.py:11
#, python-format
msgid "Error(s) with partner %d's name."
msgstr ""
#. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname
msgid "First name"
msgstr ""
#. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname
#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname
msgid "Last name"
msgstr ""
#. module: partner_firstname
#: code:addons/partner_firstname/exceptions.py:8
#, python-format
msgid "No name is set."
msgstr ""
#. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_res_partner
msgid "Partner"
msgstr "Partner"
#. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_res_users
msgid "Users"
msgstr ""

22
partner_firstname/i18n/it.po

@ -3,20 +3,16 @@
# * partner_firstname # * partner_firstname
# #
# Translators: # Translators:
# Antonio Trueba, 2016
# Francisco Palm <francisco.palm@gmail.com>, 2015
# Hotellook, 2014
# Matjaž Mozetič <m.mozetic@matmoz.si>, 2016
# Paolo Valier, 2016
# Paolo Valier, 2016
# OCA Transbot <transbot@odoo-community.org>, 2016
# Giuliano Lotta <giuliano.lotta@gmail.com>, 2016
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: partner-contact (9.0)\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-04-14 11:14+0000\n"
"PO-Revision-Date: 2016-04-05 10:01+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>\n"
"Language-Team: Italian (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/it/)\n"
"POT-Creation-Date: 2016-12-21 03:40+0000\n"
"PO-Revision-Date: 2016-12-21 03:40+0000\n"
"Last-Translator: Giuliano Lotta <giuliano.lotta@gmail.com>, 2016\n"
"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
@ -26,7 +22,7 @@ msgstr ""
#. module: partner_firstname #. module: partner_firstname
#: sql_constraint:res.partner:0 #: sql_constraint:res.partner:0
msgid "Contacts require a name." msgid "Contacts require a name."
msgstr ""
msgstr "I contatti richiedono un nome"
#. module: partner_firstname #. module: partner_firstname
#: code:addons/partner_firstname/exceptions.py:11 #: code:addons/partner_firstname/exceptions.py:11
@ -50,7 +46,7 @@ msgstr "Cognome"
#: code:addons/partner_firstname/exceptions.py:8 #: code:addons/partner_firstname/exceptions.py:8
#, python-format #, python-format
msgid "No name is set." msgid "No name is set."
msgstr "Il nome è impostato."
msgstr "Il none non è impostato."
#. module: partner_firstname #. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_res_partner #: model:ir.model,name:partner_firstname.model_res_partner

92
partner_firstname/i18n/nl_NL.po

@ -0,0 +1,92 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_firstname
#
# Translators:
# Peter Hageman <hageman.p@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-30 02:48+0000\n"
"PO-Revision-Date: 2017-06-30 02:48+0000\n"
"Last-Translator: Peter Hageman <hageman.p@gmail.com>, 2017\n"
"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/teams/23907/nl_NL/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: nl_NL\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_firstname
#: sql_constraint:res.partner:0
msgid "Contacts require a name."
msgstr "Relaties moeten een naam hebben"
#. module: partner_firstname
#: code:addons/partner_firstname/exceptions.py:11
#, python-format
msgid "Error(s) with partner %d's name."
msgstr "Fout(en) met de naam van relatie %d."
#. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname
msgid "First name"
msgstr "Voornaam"
#. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname
#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname
msgid "Last name"
msgstr "Achternaam"
#. module: partner_firstname
#: code:addons/partner_firstname/exceptions.py:8
#, python-format
msgid "No name is set."
msgstr "Geen naam ingesteld."
#. module: partner_firstname
#: model:ir.model.fields,help:partner_firstname.field_base_config_settings_partner_names_order
msgid "Order to compose partner fullname"
msgstr "Volgorde om volledige naam van relatie samen te stellen"
#. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_res_partner
msgid "Partner"
msgstr "Relatie"
#. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_base_config_settings_partner_names_order
msgid "Partner names order"
msgstr "Relatienaam volgorde"
#. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_base_config_settings_partner_names_order_changed
msgid "Partner names order changed"
msgstr "Volgorde van Relatienamen gewijzigd"
#. module: partner_firstname
#: model:ir.ui.view,arch_db:partner_firstname.view_general_configuration
msgid "Recalculate names"
msgstr "Hersorteer namen"
#. module: partner_firstname
#: model:ir.ui.view,arch_db:partner_firstname.view_general_configuration
msgid ""
"Recalculate names for all partners. This process could take so much time if "
"there are more than 10,000 active partners"
msgstr ""
"Hersorteer de namen van alle relaties. Dit proces kan zeer veel tijd kosten "
"indien er meer dan 10.000 actieve relaties zijn."
#. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_res_users
msgid "Users"
msgstr "Gebruikers"
#. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_base_config_settings
msgid "base.config.settings"
msgstr "base.config.settings"

58
partner_firstname/i18n/pt.po

@ -0,0 +1,58 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_firstname
#
# Translators:
# Tiago Baptista <tiago@baptista.net>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-11-14 03:37+0000\n"
"PO-Revision-Date: 2016-11-14 03:37+0000\n"
"Last-Translator: Tiago Baptista <tiago@baptista.net>, 2016\n"
"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: pt\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_firstname
#: sql_constraint:res.partner:0
msgid "Contacts require a name."
msgstr ""
#. module: partner_firstname
#: code:addons/partner_firstname/exceptions.py:11
#, python-format
msgid "Error(s) with partner %d's name."
msgstr ""
#. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname
msgid "First name"
msgstr ""
#. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname
#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname
msgid "Last name"
msgstr ""
#. module: partner_firstname
#: code:addons/partner_firstname/exceptions.py:8
#, python-format
msgid "No name is set."
msgstr ""
#. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_res_partner
msgid "Partner"
msgstr "Parceiro"
#. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_res_users
msgid "Users"
msgstr ""

30
partner_firstname/i18n/pt_BR.po

@ -3,21 +3,15 @@
# * partner_firstname # * partner_firstname
# #
# Translators: # Translators:
# Armando Vulcano Junior <vulcano@uol.com.br>, 2015
# Christophe CHAUVET <christophe.chauvet@gmail.com>, 2015
# danimaribeiro <danimaribeiro@gmail.com>, 2015
# FIRST AUTHOR <EMAIL@ADDRESS>, 2014
# Hans Henrik Gabelgaard <hhg@gabelgaard.org>, 2015
# Paolo Valier, 2016
# Rudolf Schnapka <rs@techno-flex.de>, 2016
# Albert Vonpupp <vonpupp@gmail.com>, 2016
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: partner-contact (9.0)\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-04-14 11:14+0000\n"
"PO-Revision-Date: 2016-04-05 10:01+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>\n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-partner-contact-9-0/language/pt_BR/)\n"
"POT-Creation-Date: 2016-12-03 03:23+0000\n"
"PO-Revision-Date: 2016-12-03 03:23+0000\n"
"Last-Translator: Albert Vonpupp <vonpupp@gmail.com>, 2016\n"
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
@ -27,31 +21,31 @@ msgstr ""
#. module: partner_firstname #. module: partner_firstname
#: sql_constraint:res.partner:0 #: sql_constraint:res.partner:0
msgid "Contacts require a name." msgid "Contacts require a name."
msgstr ""
msgstr "Os contatos requerem um nome"
#. module: partner_firstname #. module: partner_firstname
#: code:addons/partner_firstname/exceptions.py:11 #: code:addons/partner_firstname/exceptions.py:11
#, python-format #, python-format
msgid "Error(s) with partner %d's name." msgid "Error(s) with partner %d's name."
msgstr ""
msgstr "Erro(s) com o nome do parceiro %d."
#. module: partner_firstname #. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname #: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname #: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname
msgid "First name" msgid "First name"
msgstr ""
msgstr "Nome"
#. module: partner_firstname #. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname #: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname
#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname #: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname
msgid "Last name" msgid "Last name"
msgstr ""
msgstr "Sobrenome"
#. module: partner_firstname #. module: partner_firstname
#: code:addons/partner_firstname/exceptions.py:8 #: code:addons/partner_firstname/exceptions.py:8
#, python-format #, python-format
msgid "No name is set." msgid "No name is set."
msgstr ""
msgstr "O nome nao foi setado"
#. module: partner_firstname #. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_res_partner #: model:ir.model,name:partner_firstname.model_res_partner
@ -61,4 +55,4 @@ msgstr "Parceiro"
#. module: partner_firstname #. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_res_users #: model:ir.model,name:partner_firstname.model_res_users
msgid "Users" msgid "Users"
msgstr ""
msgstr "Usuarios"

58
partner_firstname/i18n/pt_PT.po

@ -0,0 +1,58 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_firstname
#
# Translators:
# Tiago Baptista <tiago@baptista.net>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-20 18:18+0000\n"
"PO-Revision-Date: 2017-01-20 18:18+0000\n"
"Last-Translator: Tiago Baptista <tiago@baptista.net>, 2017\n"
"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/teams/23907/pt_PT/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: pt_PT\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_firstname
#: sql_constraint:res.partner:0
msgid "Contacts require a name."
msgstr ""
#. module: partner_firstname
#: code:addons/partner_firstname/exceptions.py:11
#, python-format
msgid "Error(s) with partner %d's name."
msgstr ""
#. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_users_firstname
msgid "First name"
msgstr ""
#. module: partner_firstname
#: model:ir.model.fields,field_description:partner_firstname.field_res_partner_lastname
#: model:ir.model.fields,field_description:partner_firstname.field_res_users_lastname
msgid "Last name"
msgstr ""
#. module: partner_firstname
#: code:addons/partner_firstname/exceptions.py:8
#, python-format
msgid "No name is set."
msgstr ""
#. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_res_partner
msgid "Partner"
msgstr "Parceiro"
#. module: partner_firstname
#: model:ir.model,name:partner_firstname.model_res_users
msgid "Users"
msgstr ""

15
partner_firstname/models/res_partner.py

@ -3,12 +3,10 @@
# © 2014 Agile Business Group (<http://www.agilebg.com>) # © 2014 Agile Business Group (<http://www.agilebg.com>)
# © 2015 Grupo ESOC (<http://www.grupoesoc.es>) # © 2015 Grupo ESOC (<http://www.grupoesoc.es>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
import logging import logging
from odoo import api, fields, models from odoo import api, fields, models
from .. import exceptions from .. import exceptions
_logger = logging.getLogger(__name__) _logger = logging.getLogger(__name__)
@ -133,8 +131,17 @@ class ResPartner(models.Model):
Removes leading, trailing and duplicated whitespace. Removes leading, trailing and duplicated whitespace.
""" """
if name:
name = u" ".join(name.split(None))
try:
name = u" ".join(name.split()) if name else name
except UnicodeDecodeError:
# with users coming from LDAP, name can be a str encoded as utf-8
# this happens with ActiveDirectory for instance, and in that case
# we get a UnicodeDecodeError during the automatic ASCII -> Unicode
# conversion that Python does for us.
# In that case we need to manually decode the string to get a
# proper unicode string.
name = u' '.join(name.decode('utf-8').split()) if name else name
if comma: if comma:
name = name.replace(" ,", ",") name = name.replace(" ,", ",")
name = name.replace(", ", ",") name = name.replace(", ", ",")

Loading…
Cancel
Save