Fixed the translation issue with the tooltip

This commit is contained in:
Alexander Cherniuk 2010-04-03 20:46:57 +03:00
parent f0492c2f8f
commit af1785ebe8
1 changed files with 2 additions and 1 deletions

View File

@ -41,6 +41,7 @@ import gtkgui_helpers
from common import gajim
from common import helpers
from common.pep import MOODS, ACTIVITIES
from common.i18n import Q_
class BaseTooltip:
"""
@ -185,7 +186,7 @@ class BaseTooltip:
semantics. Color palette is the Tango.
"""
formatted = "<span foreground='%s'>%s</span>"
if status.startswith(_("Available")):
if status.startswith(Q_("?user status:Available")):
status = formatted % ('#73D216', status)
elif status.startswith(_("Free for Chat")):
status = formatted % ('#3465A4', status)