3485: A better message for date validator on AgeOnDate Gramplet.

svn: r13950
This commit is contained in:
Jérôme Rapinat 2010-01-01 08:43:29 +00:00
parent 6cdb8a9406
commit 7aef74eaca

View File

@ -64,11 +64,11 @@ class AgeOnDateGramplet(Gramplet):
description.set_wrap_mode(gtk.WRAP_WORD) description.set_wrap_mode(gtk.WRAP_WORD)
description.set_editable(False) description.set_editable(False)
buffer = description.get_buffer() buffer = description.get_buffer()
buffer.set_text(_("Enter a date (YYYY-MM-DD) in the entry below" buffer.set_text(_("Enter a valid date (like YYYY-MM-DD) in the"
" and click Run. This will compute the ages for" " entry below and click Run. This will compute"
" everyone in your Family Tree on that date." " the ages for everyone in your Family Tree on"
" You can then sort by the age column, and" " that date. You can then sort by the age column"
" double-click the row to view or edit.")) " ,and double-click the row to view or edit."))
label = gtk.Label() label = gtk.Label()
label.set_text(_("Date") + ":") label.set_text(_("Date") + ":")
self.entry = gtk.Entry() self.entry = gtk.Entry()