Skip to content

Commit

Permalink
[IMP] event_student_registration_birthdate: fix misspelled (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
oihane authored Jan 16, 2017
1 parent a73ee26 commit 09e24de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion event_student_registration_birthdate/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 09e24de

Please sign in to comment.