revert sth and add comment to explain
This commit is contained in:
parent
6c3a51d59f
commit
2185e46df0
|
@ -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 + ' '
|
||||||
|
|
Loading…
Reference in New Issue