diff options
author | js <js-gajim@webkeks.org> | 2008-07-23 03:27:53 +0400 |
---|---|---|
committer | js <js-gajim@webkeks.org> | 2008-07-23 03:27:53 +0400 |
commit | 417fcaddf5c3c4a74e12d8e1d677604fb65746c1 (patch) | |
tree | b7522bf68c0e3aebc7f5241afe3c894896d3585c | |
parent | 8599a46046606b3e73136cfe7a02cd38de166872 (diff) |
Make mood in tooltip translatable.
-rw-r--r-- | src/tooltips.py | 3 |
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() |