[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!
|
||||
#: ../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 @@ class Connection(ConnectionHandlers):
|
|||
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':
|
||||
|
|
Loading…
Reference in New Issue