This message is encrypted both in locale and in english
This commit is contained in:
parent
819954ff97
commit
7444c80552
1 changed files with 3 additions and 1 deletions
|
@ -839,7 +839,9 @@ class Connection:
|
|||
if keyID and USE_GPG:
|
||||
#encrypt
|
||||
msgenc = self.gpg.encrypt(msg, [keyID])
|
||||
if msgenc: msgtxt = _('[this message is encrypted]')
|
||||
if msgenc:
|
||||
msgtxt = _('[This message is encrypted]') +\
|
||||
' [This message is encrypted]' # once translated and once english
|
||||
if type == 'chat':
|
||||
msg_iq = common.xmpp.Message(to = jid, body = msgtxt, typ = type)
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue