Mercurial > pidgin
diff src/protocols/silc/silc.c @ 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 | 95a73ce6e285 |
children | 263c2db78f77 |
line wrap: on
line diff
--- 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;