aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/notifications.vala
diff options
context:
space:
mode:
authorTranslations <translations@dino.im>2020-11-10 14:04:57 +0100
committerfiaxh <git@lightrise.org>2020-11-10 14:04:57 +0100
commitb2c7e9dfff2e00549fc23ad8e531d77daa6c2738 (patch)
tree416b5c7211e4c26afc3c1e33ecc2c38434301c30 /main/src/ui/notifications.vala
parent1999c97bb925d64cfe7cbc230959ce9a18728081 (diff)
downloaddino-b2c7e9dfff2e00549fc23ad8e531d77daa6c2738.tar.gz
dino-b2c7e9dfff2e00549fc23ad8e531d77daa6c2738.zip
Make some strings translatable, update translations
Diffstat (limited to 'main/src/ui/notifications.vala')
-rw-r--r--main/src/ui/notifications.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/ui/notifications.vala b/main/src/ui/notifications.vala
index 396a88ab..c68ab0ff 100644
--- a/main/src/ui/notifications.vala
+++ b/main/src/ui/notifications.vala
@@ -112,10 +112,10 @@ public class Notifications : Object {
Notification notification = new Notification(_("Could not connect to %s").printf(account.bare_jid.domainpart));
switch (error.source) {
case ConnectionManager.ConnectionError.Source.SASL:
- notification.set_body("Wrong password");
+ notification.set_body(_("Wrong password"));
break;
case ConnectionManager.ConnectionError.Source.TLS:
- notification.set_body("Invalid TLS certificate");
+ notification.set_body(_("Invalid TLS certificate"));
break;
}
GLib.Application.get_default().send_notification(account.id.to_string() + "-connection-error", notification);