to allow to translate n years old

svn: r12754
This commit is contained in:
Jérôme Rapinat 2009-07-02 15:45:17 +00:00
parent 6eb21926ed
commit 56762c8444

View File

@ -1450,7 +1450,7 @@ def get_day_list(event_date, holiday_list, bday_anniv_list):
if event == 'Birthday':
txt_str = _(text + ', <em>'
+ ('%s old' % str(age_str) if nyears else 'birth')
+ (_('%s old') % str(age_str) if nyears else 'birth')
+ '</em>')
# an anniversary