Mercurial > pidgin
changeset 12885:b704e60fe5de
[gaim-migrate @ 15237]
Mark some strings for translation
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sun, 15 Jan 2006 16:34:06 +0000 |
parents | 3e9802ef84f9 |
children | d8e8feac6cce |
files | src/protocols/silc/chat.c src/protocols/silc/ops.c src/protocols/silc/silc.c |
diffstat | 3 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- 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;
--- 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,
--- 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;