From 7b132f4e9cb83399e8c7cf53362161a443b34830 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Mon, 7 Mar 2011 00:08:32 +0300 Subject: [PATCH] [Florob] Fixes #6794 again. --- po/ru.po | 8 ++------ src/conversation_textview.py | 4 +--- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/po/ru.po b/po/ru.po index 5c6a89639..912952a5d 100644 --- a/po/ru.po +++ b/po/ru.po @@ -13,7 +13,7 @@ msgstr "" "Project-Id-Version: ru\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2011-03-06 17:04+0300\n" -"PO-Revision-Date: 2011-03-06 17:49+0300\n" +"PO-Revision-Date: 2011-03-06 23:31+0300\n" "Last-Translator: Fomin Denis \n" "Language-Team: Linux Support LLC\n" "Language: ru\n" @@ -6678,14 +6678,10 @@ msgstr "_Поиск по Web" msgid "Open as _Link" msgstr "Открыть как _ссылку" -#: ../src/conversation_textview.py:1308 -msgid "Yesterday" -msgstr "Вчера" - #. %i is day in year (1-365) #: ../src/conversation_textview.py:1311 #, python-format -msgid "%(nb_days)i day ago" +msgid "Yesterday" msgid_plural "%(nb_days)i days ago" msgstr[0] "%(nb_days)i день назад" msgstr[1] "%(nb_days)i дня назад" diff --git a/src/conversation_textview.py b/src/conversation_textview.py index fa1604fe5..d3befe8a8 100644 --- a/src/conversation_textview.py +++ b/src/conversation_textview.py @@ -1304,11 +1304,9 @@ class ConversationTextview(gobject.GObject): int(timegm(tim)) / 86400 if diff_day == 0: day_str = '' - elif diff_day == 1: - day_str = _('Yesterday') else: #%i is day in year (1-365) - day_str = i18n.ngettext('%(nb_days)i day ago', + day_str = i18n.ngettext('Yesterday', '%(nb_days)i days ago', diff_day, {'nb_days': diff_day}, {'nb_days': diff_day}) if day_str: