# HG changeset patch # User Luke Schierer # Date 1040656704 0 # Node ID 47426599775288c261fbe8b96655f78ad9ff469d # Parent fa5075168c235fd2f307f95f55aadd9ef3159816 [gaim-migrate @ 4332] Nicola's Lichtmaier (niqueco) " Marked some translatable strings in the protocol plugins (mostly the configuration widgets)." committer: Tailor Script diff -r fa5075168c23 -r 474265997752 src/protocols/icq/gaim_icq.c --- a/src/protocols/icq/gaim_icq.c Sun Dec 22 18:39:20 2002 +0000 +++ b/src/protocols/icq/gaim_icq.c Mon Dec 23 15:18:24 2002 +0000 @@ -508,8 +508,8 @@ ret->keepalive = icq_keepalive; puo = g_new0(struct proto_user_opt, 1); - puo->label = g_strdup("Nick:"); - puo->def = g_strdup("Gaim User"); + puo->label = g_strdup(_("Nick:")); + puo->def = g_strdup(_("Gaim User")); puo->pos = USEROPT_NICK; ret->user_opts = g_list_append(ret->user_opts, puo); diff -r fa5075168c23 -r 474265997752 src/protocols/irc/irc.c --- a/src/protocols/irc/irc.c Sun Dec 22 18:39:20 2002 +0000 +++ b/src/protocols/irc/irc.c Mon Dec 23 15:18:24 2002 +0000 @@ -2715,19 +2715,19 @@ ret->file_transfer_cancel =irc_file_transfer_cancel; puo = g_new0(struct proto_user_opt, 1); - puo->label = g_strdup("Server:"); + puo->label = g_strdup(_("Server:")); puo->def = g_strdup("irc.freenode.net"); puo->pos = USEROPT_SERV; ret->user_opts = g_list_append(ret->user_opts, puo); puo = g_new0(struct proto_user_opt, 1); - puo->label = g_strdup("Port:"); + puo->label = g_strdup(_("Port:")); puo->def = g_strdup("6667"); puo->pos = USEROPT_PORT; ret->user_opts = g_list_append(ret->user_opts, puo); puo = g_new0(struct proto_user_opt, 1); - puo->label = g_strdup("Encoding:"); + puo->label = g_strdup(_("Encoding:")); puo->def = g_strdup("ISO-8859-1"); puo->pos = USEROPT_CHARSET; ret->user_opts = g_list_append(ret->user_opts, puo); diff -r fa5075168c23 -r 474265997752 src/protocols/jabber/jabber.c --- a/src/protocols/jabber/jabber.c Sun Dec 22 18:39:20 2002 +0000 +++ b/src/protocols/jabber/jabber.c Mon Dec 23 15:18:24 2002 +0000 @@ -4221,7 +4221,7 @@ ret->file_transfer_cancel = jabber_file_transfer_cancel; puo = g_new0(struct proto_user_opt, 1); - puo->label = g_strdup("Port:"); + puo->label = g_strdup(_("Port:")); puo->def = g_strdup("5222"); puo->pos = USEROPT_PORT; ret->user_opts = g_list_append(ret->user_opts, puo); diff -r fa5075168c23 -r 474265997752 src/protocols/msn/msn.c --- a/src/protocols/msn/msn.c Sun Dec 22 18:39:20 2002 +0000 +++ b/src/protocols/msn/msn.c Mon Dec 23 15:18:24 2002 +0000 @@ -2399,13 +2399,13 @@ ret->buddy_free = msn_buddy_free; puo = g_new0(struct proto_user_opt, 1); - puo->label = g_strdup("Server:"); + puo->label = g_strdup(_("Server:")); puo->def = g_strdup(MSN_SERVER); puo->pos = USEROPT_MSNSERVER; ret->user_opts = g_list_append(ret->user_opts, puo); puo = g_new0(struct proto_user_opt, 1); - puo->label = g_strdup("Port:"); + puo->label = g_strdup(_("Port:")); puo->def = g_strdup("1863"); puo->pos = USEROPT_MSNPORT; ret->user_opts = g_list_append(ret->user_opts, puo); diff -r fa5075168c23 -r 474265997752 src/protocols/napster/napster.c --- a/src/protocols/napster/napster.c Sun Dec 22 18:39:20 2002 +0000 +++ b/src/protocols/napster/napster.c Mon Dec 23 15:18:24 2002 +0000 @@ -612,13 +612,13 @@ ret->keepalive = NULL; puo = g_new0(struct proto_user_opt, 1); - puo->label = g_strdup("Server:"); + puo->label = g_strdup(_("Server:")); puo->def = g_strdup(NAP_SERVER); puo->pos = USEROPT_NAPSERVER; ret->user_opts = g_list_append(ret->user_opts, puo); puo = g_new0(struct proto_user_opt, 1); - puo->label = g_strdup("Port:"); + puo->label = g_strdup(_("Port:")); puo->def = g_strdup("8888"); puo->pos = USEROPT_NAPPORT; ret->user_opts = g_list_append(ret->user_opts, puo); diff -r fa5075168c23 -r 474265997752 src/protocols/toc/toc.c --- a/src/protocols/toc/toc.c Sun Dec 22 18:39:20 2002 +0000 +++ b/src/protocols/toc/toc.c Mon Dec 23 15:18:24 2002 +0000 @@ -1442,13 +1442,13 @@ ret->keepalive = toc_keepalive; puo = g_new0(struct proto_user_opt, 1); - puo->label = g_strdup("TOC Host:"); + puo->label = g_strdup(_("TOC Host:")); puo->def = g_strdup("toc.oscar.aol.com"); puo->pos = USEROPT_AUTH; ret->user_opts = g_list_append(ret->user_opts, puo); puo = g_new0(struct proto_user_opt, 1); - puo->label = g_strdup("TOC Port:"); + puo->label = g_strdup(_("TOC Port:")); puo->def = g_strdup("9898"); puo->pos = USEROPT_AUTHPORT; ret->user_opts = g_list_append(ret->user_opts, puo); @@ -1575,7 +1575,7 @@ if (ft->files == 1) { ft->file = fopen(ft->filename, "w"); if (!ft->file) { - buf = g_strdup_printf("Could not open %s for writing!", ft->filename); + buf = g_strdup_printf(_("Could not open %s for writing!"), ft->filename); do_error_dialog(buf, strerror(errno), GAIM_ERROR); g_free(buf); gaim_input_remove(ft->inpa); diff -r fa5075168c23 -r 474265997752 src/protocols/yahoo/yahoo.c --- a/src/protocols/yahoo/yahoo.c Sun Dec 22 18:39:20 2002 +0000 +++ b/src/protocols/yahoo/yahoo.c Mon Dec 23 15:18:24 2002 +0000 @@ -1358,13 +1358,13 @@ ret->send_typing = yahoo_send_typing; puo = g_new0(struct proto_user_opt, 1); - puo->label = g_strdup("Pager Host:"); + puo->label = g_strdup(_("Pager Host:")); puo->def = g_strdup(YAHOO_PAGER_HOST); puo->pos = USEROPT_PAGERHOST; ret->user_opts = g_list_append(ret->user_opts, puo); puo = g_new0(struct proto_user_opt, 1); - puo->label = g_strdup("Pager Port:"); + puo->label = g_strdup(_("Pager Port:")); puo->def = g_strdup("5050"); puo->pos = USEROPT_PAGERPORT; ret->user_opts = g_list_append(ret->user_opts, puo);