# HG changeset patch # User Stu Tomlinson # Date 1137342846 0 # Node ID b704e60fe5de8262c378e1b90c0edae7f66c5c7f # Parent 3e9802ef84f91a30aba0353d2da0390943c971d7 [gaim-migrate @ 15237] Mark some strings for translation committer: Tailor Script diff -r 3e9802ef84f9 -r b704e60fe5de src/protocols/silc/chat.c --- a/src/protocols/silc/chat.c Sun Jan 15 16:31:44 2006 +0000 +++ b/src/protocols/silc/chat.c Sun Jan 15 16:34:06 2006 +0000 @@ -1289,7 +1289,7 @@ flags |= SILC_MESSAGE_FLAG_ACTION; } else if (strlen(msg) > 1 && msg[0] == '/') { if (!silc_client_command_call(client, conn, msg + 1)) - gaim_notify_error(gc, ("Call Command"), _("Cannot call command"), + gaim_notify_error(gc, _("Call Command"), _("Cannot call command"), _("Unknown command")); g_free(tmp); return 0; diff -r 3e9802ef84f9 -r b704e60fe5de src/protocols/silc/ops.c --- a/src/protocols/silc/ops.c Sun Jan 15 16:31:44 2006 +0000 +++ b/src/protocols/silc/ops.c Sun Jan 15 16:34:06 2006 +0000 @@ -718,7 +718,7 @@ serv_got_chat_left(gc, gaim_conv_chat_get_id(GAIM_CONV_CHAT(convo))); } else { /* Remove user from channel */ - g_snprintf(buf, sizeof(buf), ("Kicked by %s (%s)"), + g_snprintf(buf, sizeof(buf), _("Kicked by %s (%s)"), client_entry2->nickname, tmp ? tmp : ""); gaim_conv_chat_remove_user(GAIM_CONV_CHAT(convo), client_entry->nickname, diff -r 3e9802ef84f9 -r b704e60fe5de src/protocols/silc/silc.c --- a/src/protocols/silc/silc.c Sun Jan 15 16:31:44 2006 +0000 +++ b/src/protocols/silc/silc.c Sun Jan 15 16:34:06 2006 +0000 @@ -321,14 +321,14 @@ /* Init SILC client */ if (!silc_client_init(client)) { gc->wants_to_die = TRUE; - gaim_connection_error(gc, ("Cannot initialize SILC protocol")); + gaim_connection_error(gc, _("Cannot initialize SILC protocol")); return; } /* Check the ~/.silc dir and create it, and new key pair if necessary. */ if (!silcgaim_check_silc_dir(gc)) { gc->wants_to_die = TRUE; - gaim_connection_error(gc, ("Cannot find/access ~/.silc directory")); + gaim_connection_error(gc, _("Cannot find/access ~/.silc directory")); return; } @@ -342,7 +342,7 @@ (char *)gaim_account_get_string(account, "private-key", prd), (gc->password == NULL) ? "" : gc->password, &client->pkcs, &client->public_key, &client->private_key)) { - g_snprintf(pkd, sizeof(pkd), ("Could not load SILC key pair: %s"), strerror(errno)); + g_snprintf(pkd, sizeof(pkd), _("Could not load SILC key pair: %s"), strerror(errno)); gaim_connection_error(gc, pkd); return; } @@ -362,7 +362,7 @@ "silc.silcnet.org"), gaim_account_get_int(account, "port", 706), silcgaim_login_connected, gc)) { - gaim_connection_error(gc, ("Unable to create connection")); + gaim_connection_error(gc, _("Unable to create connection")); return; } @@ -1149,7 +1149,7 @@ mflags |= SILC_MESSAGE_FLAG_ACTION; } else if (strlen(msg) > 1 && msg[0] == '/') { if (!silc_client_command_call(client, conn, msg + 1)) - gaim_notify_error(gc, ("Call Command"), _("Cannot call command"), + gaim_notify_error(gc, _("Call Command"), _("Cannot call command"), _("Unknown command")); g_free(tmp); return 0;