1.0.1 #24
|
@ -344,6 +344,8 @@ public class UIHelper {
|
||||||
return new Pair<>(context.getString(R.string.file_deleted), true);
|
return new Pair<>(context.getString(R.string.file_deleted), true);
|
||||||
} else if (message.getEncryption() == Message.ENCRYPTION_PGP) {
|
} else if (message.getEncryption() == Message.ENCRYPTION_PGP) {
|
||||||
return new Pair<>(context.getString(R.string.pgp_message), true);
|
return new Pair<>(context.getString(R.string.pgp_message), true);
|
||||||
|
} else if (message.getEncryption() == Message.ENCRYPTION_OTR) {
|
||||||
|
return new Pair<>(context.getString(R.string.otr_message), true);
|
||||||
} else if (message.getEncryption() == Message.ENCRYPTION_DECRYPTION_FAILED) {
|
} else if (message.getEncryption() == Message.ENCRYPTION_DECRYPTION_FAILED) {
|
||||||
return new Pair<>(context.getString(R.string.decryption_failed), true);
|
return new Pair<>(context.getString(R.string.decryption_failed), true);
|
||||||
} else if (message.getEncryption() == Message.ENCRYPTION_AXOLOTL_NOT_FOR_THIS_DEVICE) {
|
} else if (message.getEncryption() == Message.ENCRYPTION_AXOLOTL_NOT_FOR_THIS_DEVICE) {
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
<string name="sending">sending…</string>
|
<string name="sending">sending…</string>
|
||||||
<string name="message_decrypting">Decrypting message. Please wait…</string>
|
<string name="message_decrypting">Decrypting message. Please wait…</string>
|
||||||
<string name="pgp_message">OpenPGP encrypted message</string>
|
<string name="pgp_message">OpenPGP encrypted message</string>
|
||||||
|
<string name="otr_message">Secret chat message</string>
|
||||||
<string name="nick_in_use">Nickname is already in use</string>
|
<string name="nick_in_use">Nickname is already in use</string>
|
||||||
<string name="invalid_muc_nick">Invalid nickname</string>
|
<string name="invalid_muc_nick">Invalid nickname</string>
|
||||||
<string name="admin">Admin</string>
|
<string name="admin">Admin</string>
|
||||||
|
|
Loading…
Reference in a new issue