do not use ngettext on string
svn: r11868
This commit is contained in:
		| @@ -1528,9 +1528,8 @@ def get_day_list(event_date, holiday_list, bday_anniv_list): | |||||||
|                         txt_str = _('%(person)s, <em>birth</em>') % { |                         txt_str = _('%(person)s, <em>birth</em>') % { | ||||||
|                                     'person' : text} |                                     'person' : text} | ||||||
|                     else:  |                     else:  | ||||||
|                         txt_str = (ngettext('%(person)s, <em>%(age)s</em> old', |                         txt_str = _('%(person)s, <em>%(age)s</em> old') | ||||||
|                                             '%(person)s, <em>%(age)s</em> old', age_str) |                                    % {'person' : text, 'age' : age_str} | ||||||
|                                    % {'person' : text, 'age' : age_str}) |  | ||||||
|  |  | ||||||
|                 # an anniversary |                 # an anniversary | ||||||
|                 elif event == 'Anniversary': |                 elif event == 'Anniversary': | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user