comparison src/protocols/jabber/jabber.c @ 6321:3613007cbb6e

[gaim-migrate @ 6820] Bjoern Voigt: "I've updated the German translation and fixed some i18n bugs. The file i18n16.patch contains: - updated German translation - translation of the "boring default" away message works again - marked some forgotten error messages as translatable" Guntupalli Karunakar gave me a Hindi translation and Vincent van Adrighem updated the dutch translation. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 29 Jul 2003 02:27:33 +0000
parents 430693544643
children cc527f9ba197
comparison
equal deleted inserted replaced
6320:ef9065e52582 6321:3613007cbb6e
4182 if (xerr) { 4182 if (xerr) {
4183 char msg[BUF_LONG]; 4183 char msg[BUF_LONG];
4184 errmsg = xmlnode_get_data(xerr); 4184 errmsg = xmlnode_get_data(xerr);
4185 if (xmlnode_get_attrib(xerr, "code")) { 4185 if (xmlnode_get_attrib(xerr, "code")) {
4186 errcode = atoi(xmlnode_get_attrib(xerr, "code")); 4186 errcode = atoi(xmlnode_get_attrib(xerr, "code"));
4187 g_snprintf(msg, sizeof(msg), "Error %d: %s", errcode, errmsg); 4187 g_snprintf(msg, sizeof(msg), _("Error %d: %s"), errcode, errmsg);
4188 } else 4188 } else
4189 g_snprintf(msg, sizeof(msg), "%s", errmsg); 4189 g_snprintf(msg, sizeof(msg), "%s", errmsg);
4190 gaim_connection_error(GJ_GC(gjc), msg); 4190 gaim_connection_error(GJ_GC(gjc), msg);
4191 } else { 4191 } else {
4192 gaim_connection_error(GJ_GC(gjc), _("Unknown registration error")); 4192 gaim_connection_error(GJ_GC(gjc), _("Unknown registration error"));