Skip to content
Snippets Groups Projects
Commit af1785eb authored by Alexander Cherniuk's avatar Alexander Cherniuk
Browse files

Fixed the translation issue with the tooltip

parent f0492c2f
No related branches found
No related tags found
No related merge requests found
...@@ -41,6 +41,7 @@ import gtkgui_helpers ...@@ -41,6 +41,7 @@ import gtkgui_helpers
from common import gajim from common import gajim
from common import helpers from common import helpers
from common.pep import MOODS, ACTIVITIES from common.pep import MOODS, ACTIVITIES
from common.i18n import Q_
class BaseTooltip: class BaseTooltip:
""" """
...@@ -185,7 +186,7 @@ class BaseTooltip: ...@@ -185,7 +186,7 @@ class BaseTooltip:
semantics. Color palette is the Tango. semantics. Color palette is the Tango.
""" """
formatted = "<span foreground='%s'>%s</span>" formatted = "<span foreground='%s'>%s</span>"
if status.startswith(_("Available")): if status.startswith(Q_("?user status:Available")):
status = formatted % ('#73D216', status) status = formatted % ('#73D216', status)
elif status.startswith(_("Free for Chat")): elif status.startswith(_("Free for Chat")):
status = formatted % ('#3465A4', status) status = formatted % ('#3465A4', status)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment