diff src/protocols/icq/gaim_icq.c @ 4834:0ed37c803503

[gaim-migrate @ 5159] Bjoern Voigt writes: "I resolved the conflicts and added a new patch in the attachment. Besides this updates | I have updated the German translation and fixed some i18n bugs. Most | interesting is, that the new Gaim main menu now can be translated. As | a quick fix I added a new item_factory_translate_func function to | buddy.c. Now there are 2 static item_factory_translate_func functions | in buddy.c and gtkconv.c. If you are interested, I can clean this next | time (only one global function in gaim.h and utils.c). | The other i18n fixed mark some strings as translatable, for instance | in the "Get Buddy Info" message boxes. I included an i18n fix for src/util.c:for sec_to_text (seconds to text)." committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 19 Mar 2003 23:07:52 +0000
parents c15e0699acae
children 381da05cb5ed
line wrap: on
line diff
--- a/src/protocols/icq/gaim_icq.c	Wed Mar 19 22:31:05 2003 +0000
+++ b/src/protocols/icq/gaim_icq.c	Wed Mar 19 23:07:52 2003 +0000
@@ -291,7 +291,7 @@
 	iq->uin = uin;
 	iq->gc = link->icq_UserData;
 
-	g_snprintf(msg, sizeof(msg), "The user %s (%s%s%s%s%s) wants you to authorize them.",
+	g_snprintf(msg, sizeof(msg), _("The user %s (%s%s%s%s%s) wants you to authorize them."),
 			nick, first ? first : "", first && last ? " " : "", last ? last : "",
 			(first || last) && email ? ", " : "", email ? email : "");
 	do_ask_dialog(msg, NULL, iq, _("Authorize"), icq_acc_auth, _("Deny"), icq_den_auth, my_protocol->plug ? my_protocol->plug->handle : NULL, FALSE);
@@ -341,7 +341,7 @@
 	icq_ContactClear(id->link);
 
 	if (icq_Connect(link, "icq.mirabilis.com", 4000) < 1) {
-		hide_login_progress(gc, "Unable to connect");
+		hide_login_progress(gc, _("Unable to connect"));
 		signoff(gc);
 		return;
 	}
@@ -349,7 +349,7 @@
 	id->cur_status = STATUS_ONLINE;
 	icq_Login(link, STATUS_ONLINE);
 
-	set_login_progress(gc, 0, "Connecting...");
+	set_login_progress(gc, 0, _("Connecting..."));
 }
 
 static void icq_close(struct gaim_connection *gc) {