This message is encrypted both in locale and in english

This commit is contained in:
Nikos Kouremenos 2005-07-04 16:27:26 +00:00
parent 819954ff97
commit 7444c80552

View file

@ -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: