Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjs <js-gajim@webkeks.org>2008-07-23 03:27:53 +0400
committerjs <js-gajim@webkeks.org>2008-07-23 03:27:53 +0400
commit417fcaddf5c3c4a74e12d8e1d677604fb65746c1 (patch)
treeb7522bf68c0e3aebc7f5241afe3c894896d3585c
parent8599a46046606b3e73136cfe7a02cd38de166872 (diff)
Make mood in tooltip translatable.
-rw-r--r--src/tooltips.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tooltips.py b/src/tooltips.py
index a20394478..f6c8b609d 100644
--- a/src/tooltips.py
+++ b/src/tooltips.py
@@ -574,7 +574,8 @@ class RosterTooltip(NotificationAreaTooltip):
if contact.mood.has_key('mood'):
mood = contact.mood['mood'].strip()
mood = gobject.markup_escape_text(mood)
- mood_string = _('Mood:') + ' <b>%s</b>' % mood
+ mood_string = _('Mood:') + ' <b>%s</b>' % \
+ _(mood.replace('_', ' '))
if contact.mood.has_key('text') \
and contact.mood['text'] != '':
mood_text = contact.mood['text'].strip()