revert sth and add comment to explain

This commit is contained in:
Nikos Kouremenos 2005-11-29 19:57:59 +00:00
parent 6c3a51d59f
commit 2185e46df0
1 changed files with 2 additions and 1 deletions

View File

@ -562,7 +562,8 @@ class ConversationTextview(gtk.TextView):
day_str = _('Yesterday') day_str = _('Yesterday')
else: else:
#the number is >= 2 #the number is >= 2
day_str = _('%d days ago') % diff_day # %i is day in year (1-365), %d (1-31) we want %i
day_str = _('%i days ago') % diff_day
format = before_str format = before_str
if day_str: if day_str:
format += day_str + ' ' format += day_str + ' '