[stlman] fix invisible code. fixes #2695. Thanks
This commit is contained in:
parent
67d9e4d409
commit
4251bb6d2b
4
po/pl.po
4
po/pl.po
|
@ -5803,11 +5803,11 @@ msgstr "Zostanie połączony z %s bez obsługi OpenPGP."
|
||||||
#. do not show I'm invisible!
|
#. do not show I'm invisible!
|
||||||
#: ../src/common/connection.py:611
|
#: ../src/common/connection.py:611
|
||||||
msgid "invisible"
|
msgid "invisible"
|
||||||
msgstr "Niewidoczny"
|
msgstr "niewidoczny"
|
||||||
|
|
||||||
#: ../src/common/connection.py:612
|
#: ../src/common/connection.py:612
|
||||||
msgid "offline"
|
msgid "offline"
|
||||||
msgstr "Rozłączony"
|
msgstr "rozłączony"
|
||||||
|
|
||||||
#: ../src/common/connection.py:613
|
#: ../src/common/connection.py:613
|
||||||
#, python-format
|
#, python-format
|
||||||
|
|
|
@ -607,8 +607,8 @@ class Connection(ConnectionHandlers):
|
||||||
if keyID and USE_GPG and not msg:
|
if keyID and USE_GPG and not msg:
|
||||||
lowered_uf_status_msg = helpers.get_uf_show(show).lower()
|
lowered_uf_status_msg = helpers.get_uf_show(show).lower()
|
||||||
# do not show I'm invisible!
|
# do not show I'm invisible!
|
||||||
if lowered_uf_status_msg == _('invisible'):
|
if lowered_uf_status_msg == _('invisible').lower():
|
||||||
lowered_uf_status_msg = _('offline')
|
lowered_uf_status_msg = _('offline').lower()
|
||||||
msg = _("I'm %s") % lowered_uf_status_msg
|
msg = _("I'm %s") % lowered_uf_status_msg
|
||||||
signed = ''
|
signed = ''
|
||||||
if not auto and not show == 'offline':
|
if not auto and not show == 'offline':
|
||||||
|
|
Loading…
Reference in New Issue