aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo/src/trust_manager.vala
diff options
context:
space:
mode:
authorSamuel Hand <samuel.hand@openmailbox.org>2018-08-10 12:47:56 +0100
committerSamuel Hand <samuel.hand@openmailbox.org>2018-08-10 12:47:56 +0100
commitd7b5db1d9fb37a310c16d8ffef885f1209a33187 (patch)
tree01c900f3d8aaf4d185df1827e7a757b0091004e6 /plugins/omemo/src/trust_manager.vala
parent8ebc2c5dd333ce19c9e0592ee1feb8eed6e1a48f (diff)
downloaddino-d7b5db1d9fb37a310c16d8ffef885f1209a33187.tar.gz
dino-d7b5db1d9fb37a310c16d8ffef885f1209a33187.zip
Make strings translatable
Diffstat (limited to 'plugins/omemo/src/trust_manager.vala')
-rw-r--r--plugins/omemo/src/trust_manager.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/omemo/src/trust_manager.vala b/plugins/omemo/src/trust_manager.vala
index 3890d4da..9f1ad047 100644
--- a/plugins/omemo/src/trust_manager.vala
+++ b/plugins/omemo/src/trust_manager.vala
@@ -170,11 +170,11 @@ public class TrustManager {
}
Database.IdentityMetaTable.TrustLevel trust_level = (Database.IdentityMetaTable.TrustLevel) db.identity_meta.get_device(conversation.account.id, jid.bare_jid.to_string(), header.get_attribute_int("sid"))[db.identity_meta.trust_level];
if (trust_level == Database.IdentityMetaTable.TrustLevel.UNTRUSTED) {
- message.body = "OMEMO message from a rejected device";
+ message.body = _("OMEMO message from a rejected device");
message.marked = Message.Marked.WONTSEND;
}
if (trust_level == Database.IdentityMetaTable.TrustLevel.UNKNOWN) {
- message.body = "OMEMO message from an unknown device: "+message.body;
+ message.body = _("OMEMO message from an unknown device: ")+message.body;
message.marked = Message.Marked.WONTSEND;
}
}