Mercurial > pidgin
comparison src/multi.c @ 4169:40d35a98f481
[gaim-migrate @ 4398]
Taku YASUI (tach) provided more gettextizing
committer: Tailor Script <tailor@pidgin.im>
| author | Luke Schierer <lschiere@pidgin.im> |
|---|---|
| date | Thu, 02 Jan 2003 15:53:44 +0000 |
| parents | d3c8d2b40494 |
| children | 76ea459c8b5b |
comparison
equal
deleted
inserted
replaced
| 4168:ebfb80bbe1ed | 4169:40d35a98f481 |
|---|---|
| 762 tmp = op = p->user_opts; | 762 tmp = op = p->user_opts; |
| 763 | 763 |
| 764 if (!op) | 764 if (!op) |
| 765 return; | 765 return; |
| 766 | 766 |
| 767 g_snprintf(buf, sizeof(buf), "%s Options", p->name); | 767 g_snprintf(buf, sizeof(buf), _("%s Options"), p->name); |
| 768 frame = make_frame(box, buf); | 768 frame = make_frame(box, buf); |
| 769 | 769 |
| 770 /* BLEH */ | 770 /* BLEH */ |
| 771 u->proto_frame = gtk_widget_get_parent(gtk_widget_get_parent(frame)); | 771 u->proto_frame = gtk_widget_get_parent(gtk_widget_get_parent(frame)); |
| 772 gtk_widget_show_all(u->proto_frame); | 772 gtk_widget_show_all(u->proto_frame); |
| 1019 | 1019 |
| 1020 hbox = gtk_hbox_new(FALSE, 5); | 1020 hbox = gtk_hbox_new(FALSE, 5); |
| 1021 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); | 1021 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); |
| 1022 gtk_widget_show(hbox); | 1022 gtk_widget_show(hbox); |
| 1023 | 1023 |
| 1024 g_snprintf(buf, sizeof(buf), "Password for %s:", u->username); | 1024 g_snprintf(buf, sizeof(buf), _("Password for %s:"), u->username); |
| 1025 label = gtk_label_new(buf); | 1025 label = gtk_label_new(buf); |
| 1026 gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 5); | 1026 gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 5); |
| 1027 gtk_widget_show(label); | 1027 gtk_widget_show(label); |
| 1028 | 1028 |
| 1029 p->entry = gtk_entry_new(); | 1029 p->entry = gtk_entry_new(); |
| 1303 | 1303 |
| 1304 void kill_meter(struct signon_meter *meter) { | 1304 void kill_meter(struct signon_meter *meter) { |
| 1305 gtk_widget_set_sensitive (meter->button, FALSE); | 1305 gtk_widget_set_sensitive (meter->button, FALSE); |
| 1306 gtk_progress_bar_update(GTK_PROGRESS_BAR(meter->progress), 1); | 1306 gtk_progress_bar_update(GTK_PROGRESS_BAR(meter->progress), 1); |
| 1307 gtk_statusbar_pop(GTK_STATUSBAR(meter->status), 1); | 1307 gtk_statusbar_pop(GTK_STATUSBAR(meter->status), 1); |
| 1308 gtk_statusbar_push(GTK_STATUSBAR(meter->status), 1, "Done."); | 1308 gtk_statusbar_push(GTK_STATUSBAR(meter->status), 1, _("Done.")); |
| 1309 meter_win->active_count--; | 1309 meter_win->active_count--; |
| 1310 if (meter_win->active_count == 0) { | 1310 if (meter_win->active_count == 0) { |
| 1311 gtk_widget_destroy(meter_win->window); | 1311 gtk_widget_destroy(meter_win->window); |
| 1312 g_free (meter_win); | 1312 g_free (meter_win); |
| 1313 meter_win = NULL; | 1313 meter_win = NULL; |
| 1443 | 1443 |
| 1444 graphic = create_meter_pixmap( widget , gc); | 1444 graphic = create_meter_pixmap( widget , gc); |
| 1445 | 1445 |
| 1446 nest_vbox = gtk_vbox_new (FALSE, 0); | 1446 nest_vbox = gtk_vbox_new (FALSE, 0); |
| 1447 | 1447 |
| 1448 name_to_print = g_string_prepend(name_to_print, "Signon: "); | 1448 name_to_print = g_string_prepend(name_to_print, _("Signon: ")); |
| 1449 label = gtk_label_new (name_to_print->str); | 1449 label = gtk_label_new (name_to_print->str); |
| 1450 gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5); | 1450 gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5); |
| 1451 | 1451 |
| 1452 meter->status = gtk_statusbar_new(); | 1452 meter->status = gtk_statusbar_new(); |
| 1453 gtk_widget_set_usize(meter->status, 250, 0); | 1453 gtk_widget_set_usize(meter->status, 250, 0); |
| 1500 meter_win->window = gtk_window_new (GTK_WINDOW_TOPLEVEL); | 1500 meter_win->window = gtk_window_new (GTK_WINDOW_TOPLEVEL); |
| 1501 GAIM_DIALOG(meter_win->window); | 1501 GAIM_DIALOG(meter_win->window); |
| 1502 gtk_window_set_policy(GTK_WINDOW(meter_win->window), 0, 0, 1); | 1502 gtk_window_set_policy(GTK_WINDOW(meter_win->window), 0, 0, 1); |
| 1503 gtk_window_set_role(GTK_WINDOW(meter_win->window), "signon"); | 1503 gtk_window_set_role(GTK_WINDOW(meter_win->window), "signon"); |
| 1504 gtk_container_set_border_width(GTK_CONTAINER(meter_win->window), 5); | 1504 gtk_container_set_border_width(GTK_CONTAINER(meter_win->window), 5); |
| 1505 gtk_window_set_title (GTK_WINDOW (meter_win->window), "Gaim Account Signon"); | 1505 gtk_window_set_title (GTK_WINDOW (meter_win->window), _("Gaim Account Signon")); |
| 1506 gtk_widget_realize(meter_win->window); | 1506 gtk_widget_realize(meter_win->window); |
| 1507 | 1507 |
| 1508 vbox = gtk_vbox_new (FALSE, 0); | 1508 vbox = gtk_vbox_new (FALSE, 0); |
| 1509 gtk_container_add (GTK_CONTAINER (meter_win->window), GTK_WIDGET (vbox)); | 1509 gtk_container_add (GTK_CONTAINER (meter_win->window), GTK_WIDGET (vbox)); |
| 1510 | 1510 |
