Skip to content
Snippets Groups Projects
Commit 4251bb6d authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

[stlman] fix invisible code. fixes #2695. Thanks

parent 67d9e4d4
No related branches found
No related tags found
No related merge requests found
......@@ -5803,11 +5803,11 @@ msgstr "Zostanie połączony z %s bez obsługi OpenPGP."
#. do not show I'm invisible!
#: ../src/common/connection.py:611
msgid "invisible"
msgstr "Niewidoczny"
msgstr "niewidoczny"
#: ../src/common/connection.py:612
msgid "offline"
msgstr "Rozłączony"
msgstr "rozłączony"
#: ../src/common/connection.py:613
#, python-format
......
......@@ -607,8 +607,8 @@ def change_status(self, show, msg, auto = False):
if keyID and USE_GPG and not msg:
lowered_uf_status_msg = helpers.get_uf_show(show).lower()
# do not show I'm invisible!
if lowered_uf_status_msg == _('invisible'):
lowered_uf_status_msg = _('offline')
if lowered_uf_status_msg == _('invisible').lower():
lowered_uf_status_msg = _('offline').lower()
msg = _("I'm %s") % lowered_uf_status_msg
signed = ''
if not auto and not show == 'offline':
......
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