Changeset 9996

Show
Ignore:
Timestamp:
07/23/08 01:27:53 (4 months ago)
Author:
js
Message:

Make mood in tooltip translatable.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/tooltips.py

    r9995 r9996  
    575575                        mood = contact.mood['mood'].strip() 
    576576                        mood = gobject.markup_escape_text(mood) 
    577                         mood_string = _('Mood:') + ' <b>%s</b>' % mood 
     577                        mood_string = _('Mood:') + ' <b>%s</b>' % \ 
     578                                _(mood.replace('_', ' ')) 
    578579                        if contact.mood.has_key('text') \ 
    579580                        and contact.mood['text'] != '':