Could not connect to %s (#605)

This commit is contained in:
Allan Nordhøy 2019-11-26 18:16:41 +01:00 committed by fiaxh
parent 7624f349de
commit a10c82191e

View file

@ -106,7 +106,7 @@ public class Notifications : Object {
} }
private void notify_connection_error(Account account, ConnectionManager.ConnectionError error) { private void notify_connection_error(Account account, ConnectionManager.ConnectionError error) {
Notification notification = new Notification(_("Failed connecting to %s").printf(account.bare_jid.domainpart)); Notification notification = new Notification(_("Could not connect to %s").printf(account.bare_jid.domainpart));
switch (error.source) { switch (error.source) {
case ConnectionManager.ConnectionError.Source.SASL: case ConnectionManager.ConnectionError.Source.SASL:
notification.set_body("Wrong password"); notification.set_body("Wrong password");