2007-01-15 Don Allingham <don@gramps-project.org>

* src/DateEdit.py: make "bad date" translatable.



svn: r7907
This commit is contained in:
Don Allingham
2007-01-15 16:42:19 +00:00
parent 491a2dbc8c
commit bcac687883
3 changed files with 104 additions and 97 deletions

View File

@@ -145,7 +145,7 @@ class DateEdit:
"""
# if text could not be parsed it is assumed invalid
if self.date_obj.get_modifier() == Date.MOD_TEXTONLY:
return ValidationError('Bad Date')
return ValidationError(_('Bad Date'))
def invoke_date_editor(self,obj):
"""