changeset 83de756dd1a3 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=83de756dd1a3
description: use po file rather than Gajim code to handle plural form. see #6794
diffstat:
src/conversation_textview.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (15 lines):
diff -r 49d0fc227d5a -r 83de756dd1a3 src/conversation_textview.py
--- a/src/conversation_textview.py Mon Mar 07 00:08:32 2011 +0300
+++ b/src/conversation_textview.py Sun Mar 06 22:10:18 2011 +0100
@@ -1305,9 +1305,8 @@
day_str = ''
else:
#%i is day in year (1-365)
- day_str = i18n.ngettext('Yesterday',
- '%(nb_days)i days ago', diff_day, {'nb_days': diff_day},
- {'nb_days': diff_day})
+ day_str = i18n.ngettext('Yesterday', '%(nb_days)i days ago',
+ diff_day, {'nb_days': diff_day}, {'nb_days': diff_day})
if day_str:
format += day_str + ' '
timestamp_str = gajim.config.get('time_stamp')
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits