aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo/src/own_notifications.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/own_notifications.vala
parent8ebc2c5dd333ce19c9e0592ee1feb8eed6e1a48f (diff)
downloaddino-d7b5db1d9fb37a310c16d8ffef885f1209a33187.tar.gz
dino-d7b5db1d9fb37a310c16d8ffef885f1209a33187.zip
Make strings translatable
Diffstat (limited to 'plugins/omemo/src/own_notifications.vala')
-rw-r--r--plugins/omemo/src/own_notifications.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/omemo/src/own_notifications.vala b/plugins/omemo/src/own_notifications.vala
index fbdb7e84..296e00b6 100644
--- a/plugins/omemo/src/own_notifications.vala
+++ b/plugins/omemo/src/own_notifications.vala
@@ -30,8 +30,8 @@ public class OwnNotifications {
}
private void display_notification() {
- Notification notification = new Notification("Trust decision required");
- notification.set_body(@"A new OMEMO device has been added for the account $(account.bare_jid)");
+ Notification notification = new Notification(_("Trust decision required"));
+ notification.set_body(_("A new OMEMO device has been added for the account %s").printf("$(account.jid.bare_jid)"));
plugin.app.send_notification(account.id.to_string()+"-new-device", notification);
}
}