From 09e24decd1cfca7896846fcf3a75ae7db4440f96 Mon Sep 17 00:00:00 2001 From: oihane Date: Mon, 16 Jan 2017 17:19:07 +0100 Subject: [PATCH] [IMP] event_student_registration_birthdate: fix misspelled (#171) --- event_student_registration_birthdate/i18n/es.po | 2 +- .../models/event_registration.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/event_student_registration_birthdate/i18n/es.po b/event_student_registration_birthdate/i18n/es.po index 5d0c9a4..5e64dfb 100644 --- a/event_student_registration_birthdate/i18n/es.po +++ b/event_student_registration_birthdate/i18n/es.po @@ -24,5 +24,5 @@ msgstr "Registro evento" #. module: event_student_registration_birthdate #: code:addons/event_student_registration_birthdate/models/event_registration.py:18 #, python-format -msgid "Yoy must define the birthdate for the student %s" +msgid "You must define the birthdate for the student %s" msgstr "Debe de definir la fecha de nacimiento para el estudiante %s" diff --git a/event_student_registration_birthdate/models/event_registration.py b/event_student_registration_birthdate/models/event_registration.py index b3de06e..5d49b8a 100644 --- a/event_student_registration_birthdate/models/event_registration.py +++ b/event_student_registration_birthdate/models/event_registration.py @@ -14,7 +14,7 @@ def create(self, vals): partner = partner_obj.browse(vals.get('partner_id')) if not partner.employee_id and not partner.birthdate_date: raise exceptions.Warning( - _('Yoy must define the birthdate for the student %s') + _('You must define the birthdate for the student %s') % (partner.name)) registration = super(EventRegistration, self).create(vals) return registration