Make mood in tooltip translatable.

This commit is contained in:
js 2008-07-22 23:27:53 +00:00
parent 8599a46046
commit 417fcaddf5
1 changed files with 2 additions and 1 deletions

View File

@ -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()