aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-05 18:50:37 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-05 18:50:37 +0800
commit3486c2525088388b5d1fa39b4099f8b80743fd00 (patch)
tree52fccf76acc931bfed8227642d510b49beaba8b7 /libempathy
parent0b5e1ce2f0aafecaaf855b1f81d52821862f6526 (diff)
downloadgsoc2013-empathy-3486c2525088388b5d1fa39b4099f8b80743fd00.tar
gsoc2013-empathy-3486c2525088388b5d1fa39b4099f8b80743fd00.tar.gz
gsoc2013-empathy-3486c2525088388b5d1fa39b4099f8b80743fd00.tar.bz2
gsoc2013-empathy-3486c2525088388b5d1fa39b4099f8b80743fd00.tar.lz
gsoc2013-empathy-3486c2525088388b5d1fa39b4099f8b80743fd00.tar.xz
gsoc2013-empathy-3486c2525088388b5d1fa39b4099f8b80743fd00.tar.zst
gsoc2013-empathy-3486c2525088388b5d1fa39b4099f8b80743fd00.zip
create_errors_to_message_hash: add support for more errors
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-utils.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index 367b6aa9b..f2f1d5458 100644
--- a/libempathy/empathy-utils.c
+++ b/libempathy/empathy-utils.c
@@ -346,6 +346,27 @@ create_errors_to_message_hash (void)
_("Certificate fingerprint mismatch"));
g_hash_table_insert (errors, TP_ERROR_STR_CERT_SELF_SIGNED,
_("Certificate self-signed"));
+ g_hash_table_insert (errors, TP_ERROR_STR_CANCELLED,
+ _("Status is set to offline"));
+ g_hash_table_insert (errors, TP_ERROR_STR_ENCRYPTION_NOT_AVAILABLE,
+ _("Encryption is not available"));
+ g_hash_table_insert (errors, TP_ERROR_STR_CERT_INVALID,
+ _("Certificate is invalid"));
+ g_hash_table_insert (errors, TP_ERROR_STR_CONNECTION_REFUSED,
+ _("Connection has been refused"));
+ g_hash_table_insert (errors, TP_ERROR_STR_CONNECTION_FAILED,
+ _("Connection can't be established"));
+ g_hash_table_insert (errors, TP_ERROR_STR_CONNECTION_LOST,
+ _("Connection has been lost"));
+ g_hash_table_insert (errors, TP_ERROR_STR_ALREADY_CONNECTED,
+ _("This resource is already connected to the server"));
+ g_hash_table_insert (errors, TP_ERROR_STR_CONNECTION_REPLACED,
+ _("Connection has been replaced by a new connection using the "
+ "same resource"));
+ g_hash_table_insert (errors, TP_ERROR_STR_REGISTRATION_EXISTS,
+ _("The account already exists on the server"));
+ g_hash_table_insert (errors, TP_ERROR_STR_SERVICE_BUSY,
+ _("Server is currently too busy to handle the connection"));
return errors;
}