From 1be209c019b5bf0b798dc5683506284223fb5210 Mon Sep 17 00:00:00 2001 From: Fabien Bourgeois Date: Thu, 7 Jul 2016 11:33:56 +0200 Subject: [PATCH] [IMP]GOLEM Member gender translation --- golem_member/i18n/fr.po | 26 ++++++++++++++++++++++---- golem_member/i18n/golem_member.pot | 16 ++++++++++++++-- golem_member/models/golem_member.py | 4 ++-- 3 files changed, 38 insertions(+), 8 deletions(-) diff --git a/golem_member/i18n/fr.po b/golem_member/i18n/fr.po index f691206..26a790a 100644 --- a/golem_member/i18n/fr.po +++ b/golem_member/i18n/fr.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 8.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-06-28 03:16+0000\n" -"PO-Revision-Date: 2016-06-28 03:16+0000\n" +"POT-Creation-Date: 2016-07-07 09:19+0000\n" +"PO-Revision-Date: 2016-07-07 09:19+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -161,12 +161,12 @@ msgstr "Adresse complète" #. module: golem_member #: field:golem.member,ref:0 msgid "Contact Reference" -msgstr "Contact Reference" +msgstr "Contact de référence" #. module: golem_member #: view:golem.member:golem_member.view_form msgid "Contact details" -msgstr "Contact details" +msgstr "Détails" #. module: golem_member #: field:golem.member,child_ids:0 @@ -285,6 +285,14 @@ msgstr "Employé" msgid "Fax" msgstr "Fax" +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +#. module: golem_member +#: code:addons/golem_member/models/golem_member.py:30 +#, python-format +msgid "Female" +msgstr "Féminin" + #. module: golem_member #: field:golem.member,firstname:0 msgid "First name" @@ -323,6 +331,8 @@ msgstr "GOLEM : adhérents" msgid "GOLEM Members Tags" msgstr "GOLEM : catégories d'adhérents" +#. module: partner_contact_gender +#: field:res.partner,gender:0 #. module: golem_member #: field:golem.member,gender:0 msgid "Gender" @@ -440,6 +450,14 @@ msgstr "Nom de famille" msgid "Latest Full Reconciliation Date" msgstr "Latest Full Reconciliation Date" +#. module: partner_contact_gender +#: selection:res.partner,gender:0 +#. module: golem_member +#: code:addons/golem_member/models/golem_member.py:30 +#, python-format +msgid "Male" +msgstr "Masculin" + #. module: golem_member #: field:golem.member,image_medium:0 msgid "Medium-sized image" diff --git a/golem_member/i18n/golem_member.pot b/golem_member/i18n/golem_member.pot index 60385cc..07e5ee4 100644 --- a/golem_member/i18n/golem_member.pot +++ b/golem_member/i18n/golem_member.pot @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 8.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-06-28 03:16+0000\n" -"PO-Revision-Date: 2016-06-28 03:16+0000\n" +"POT-Creation-Date: 2016-07-07 09:12+0000\n" +"PO-Revision-Date: 2016-07-07 09:12+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -284,6 +284,12 @@ msgstr "" msgid "Fax" msgstr "" +#. module: golem_member +#: code:addons/golem_member/models/golem_member.py:30 +#, python-format +msgid "Female" +msgstr "" + #. module: golem_member #: field:golem.member,firstname:0 msgid "First name" @@ -433,6 +439,12 @@ msgstr "" msgid "Latest Full Reconciliation Date" msgstr "" +#. module: golem_member +#: code:addons/golem_member/models/golem_member.py:30 +#, python-format +msgid "Male" +msgstr "" + #. module: golem_member #: field:golem.member,image_medium:0 msgid "Medium-sized image" diff --git a/golem_member/models/golem_member.py b/golem_member/models/golem_member.py index 32df281..7820343 100644 --- a/golem_member/models/golem_member.py +++ b/golem_member/models/golem_member.py @@ -15,7 +15,7 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -from openerp import models, fields, api +from openerp import models, fields, api, _ class ResPartner(models.Model): @@ -27,7 +27,7 @@ class ResPartner(models.Model): nationality_id = fields.Many2one(default=_get_default_nationality_id) # Gender overwriting : no need for 'other' choice - gender = fields.Selection([('male', 'Male'), ('female', 'Female')]) + gender = fields.Selection([('male', _('Male')), ('female', _('Female'))]) class GolemMember(models.Model):