Improve tooltip when using day ranges in coloring rules.

This commit is contained in:
Charles Haley 2013-02-02 09:00:42 +01:00
parent 8839bf5459
commit 2d748c44be

View File

@ -240,7 +240,7 @@ class ConditionEditor(QWidget): # {{{
elif dt == 'datetime': elif dt == 'datetime':
if action == 'count_days': if action == 'count_days':
self.value_box.setValidator(QIntValidator(self.value_box)) self.value_box.setValidator(QIntValidator(self.value_box))
tt = _('Enter the number of days old the item can be') tt = _('Enter the number of days old the item can be. Zero is today')
else: else:
self.value_box.setInputMask('9999-99-99') self.value_box.setInputMask('9999-99-99')
tt = _('Enter a date in the format YYYY-MM-DD') tt = _('Enter a date in the format YYYY-MM-DD')