Mercurial > pidgin
comparison src/prefs.c @ 4114:fa5075168c23
[gaim-migrate @ 4330]
"Internationalized some dropdowns." and
"More boring updates!! but this time to multi.c"
both from Nicola's Lichtmaier
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sun, 22 Dec 2002 18:39:20 +0000 |
parents | 260ebd4bdc8d |
children | 22875a399312 |
comparison
equal
deleted
inserted
replaced
4113:74d27aa5b686 | 4114:fa5075168c23 |
---|---|
345 gtk_container_set_border_width (GTK_CONTAINER (ret), 12); | 345 gtk_container_set_border_width (GTK_CONTAINER (ret), 12); |
346 | 346 |
347 sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); | 347 sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); |
348 | 348 |
349 vbox = make_frame (ret, _("Window")); | 349 vbox = make_frame (ret, _("Window")); |
350 widge = gaim_dropdown(vbox, "Show _buttons as:", &im_options, OPT_IM_BUTTON_TEXT | OPT_IM_BUTTON_XPM, | 350 widge = gaim_dropdown(vbox, _("Show _buttons as:"), &im_options, OPT_IM_BUTTON_TEXT | OPT_IM_BUTTON_XPM, |
351 "Pictures", OPT_IM_BUTTON_XPM, | 351 _("Pictures"), OPT_IM_BUTTON_XPM, |
352 "Text", OPT_IM_BUTTON_TEXT, | 352 _("Text"), OPT_IM_BUTTON_TEXT, |
353 "Pictures and text", OPT_IM_BUTTON_XPM | OPT_IM_BUTTON_TEXT, NULL); | 353 _("Pictures and text"), OPT_IM_BUTTON_XPM | OPT_IM_BUTTON_TEXT, NULL); |
354 gtk_size_group_add_widget(sg, widge); | 354 gtk_size_group_add_widget(sg, widge); |
355 gtk_misc_set_alignment(GTK_MISC(widge), 0, 0); | 355 gtk_misc_set_alignment(GTK_MISC(widge), 0, 0); |
356 gaim_labeled_spin_button(vbox, _("New window _width:"), &conv_size.width, 25, 9999, sg); | 356 gaim_labeled_spin_button(vbox, _("New window _width:"), &conv_size.width, 25, 9999, sg); |
357 gaim_labeled_spin_button(vbox, _("New window _height:"), &conv_size.height, 25, 9999, sg); | 357 gaim_labeled_spin_button(vbox, _("New window _height:"), &conv_size.height, 25, 9999, sg); |
358 gaim_labeled_spin_button(vbox, _("_Entry widget height:"), &conv_size.entry_height, 25, 9999, sg); | 358 gaim_labeled_spin_button(vbox, _("_Entry widget height:"), &conv_size.entry_height, 25, 9999, sg); |
387 gtk_container_set_border_width (GTK_CONTAINER (ret), 12); | 387 gtk_container_set_border_width (GTK_CONTAINER (ret), 12); |
388 | 388 |
389 sg = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL); | 389 sg = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL); |
390 | 390 |
391 vbox = make_frame (ret, _("Window")); | 391 vbox = make_frame (ret, _("Window")); |
392 dd = gaim_dropdown(vbox, "Show _buttons as:", &chat_options, OPT_CHAT_BUTTON_TEXT | OPT_CHAT_BUTTON_XPM, | 392 dd = gaim_dropdown(vbox, _("Show _buttons as:"), &chat_options, OPT_CHAT_BUTTON_TEXT | OPT_CHAT_BUTTON_XPM, |
393 "Pictures", OPT_CHAT_BUTTON_XPM, | 393 _("Pictures"), OPT_CHAT_BUTTON_XPM, |
394 "Text", OPT_CHAT_BUTTON_TEXT, | 394 _("Text"), OPT_CHAT_BUTTON_TEXT, |
395 "Pictures and text", OPT_CHAT_BUTTON_XPM | OPT_CHAT_BUTTON_TEXT, NULL); | 395 _("Pictures and text"), OPT_CHAT_BUTTON_XPM | OPT_CHAT_BUTTON_TEXT, NULL); |
396 gtk_size_group_add_widget(sg, dd); | 396 gtk_size_group_add_widget(sg, dd); |
397 gtk_misc_set_alignment(GTK_MISC(dd), 0, 0); | 397 gtk_misc_set_alignment(GTK_MISC(dd), 0, 0); |
398 gaim_labeled_spin_button(vbox, _("New window _width:"), &buddy_chat_size.width, 25, 9999, sg); | 398 gaim_labeled_spin_button(vbox, _("New window _width:"), &buddy_chat_size.width, 25, 9999, sg); |
399 gaim_labeled_spin_button(vbox, _("New window _height:"), &buddy_chat_size.height, 25, 9999, sg); | 399 gaim_labeled_spin_button(vbox, _("New window _height:"), &buddy_chat_size.height, 25, 9999, sg); |
400 gaim_labeled_spin_button(vbox, _("_Entry widget height:"), &buddy_chat_size.entry_height, 25, 9999, sg); | 400 gaim_labeled_spin_button(vbox, _("_Entry widget height:"), &buddy_chat_size.entry_height, 25, 9999, sg); |
421 gtk_container_set_border_width (GTK_CONTAINER (ret), 12); | 421 gtk_container_set_border_width (GTK_CONTAINER (ret), 12); |
422 | 422 |
423 sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); | 423 sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); |
424 | 424 |
425 vbox = make_frame (ret, _("IM Tabs")); | 425 vbox = make_frame (ret, _("IM Tabs")); |
426 dd = gaim_dropdown(vbox, "Tab _placement:", &im_options, OPT_IM_SIDE_TAB | OPT_IM_BR_TAB, | 426 dd = gaim_dropdown(vbox, _("Tab _placement:"), &im_options, OPT_IM_SIDE_TAB | OPT_IM_BR_TAB, |
427 "Top", 0, | 427 _("Top"), 0, |
428 "Bottom", OPT_IM_BR_TAB, | 428 _("Bottom"), OPT_IM_BR_TAB, |
429 "Left", OPT_IM_SIDE_TAB, | 429 _("Left"), OPT_IM_SIDE_TAB, |
430 "Right", OPT_IM_BR_TAB | OPT_IM_SIDE_TAB, NULL); | 430 _("Right"), OPT_IM_BR_TAB | OPT_IM_SIDE_TAB, NULL); |
431 gtk_size_group_add_widget(sg, dd); | 431 gtk_size_group_add_widget(sg, dd); |
432 gaim_button(_("Show all _instant messages in one tabbed\nwindow"), &im_options, OPT_IM_ONE_WINDOW, vbox); | 432 gaim_button(_("Show all _instant messages in one tabbed\nwindow"), &im_options, OPT_IM_ONE_WINDOW, vbox); |
433 gaim_button(_("Show a_liases in tabs/titles"), &im_options, OPT_IM_ALIAS_TAB, vbox); | 433 gaim_button(_("Show a_liases in tabs/titles"), &im_options, OPT_IM_ALIAS_TAB, vbox); |
434 | 434 |
435 vbox = make_frame (ret, _("Chat Tabs")); | 435 vbox = make_frame (ret, _("Chat Tabs")); |
436 dd = gaim_dropdown(vbox, "Tab _placement:", &chat_options, OPT_CHAT_SIDE_TAB | OPT_CHAT_BR_TAB, | 436 dd = gaim_dropdown(vbox, _("Tab _placement:"), &chat_options, OPT_CHAT_SIDE_TAB | OPT_CHAT_BR_TAB, |
437 "Top", 0, | 437 _("Top"), 0, |
438 "Bottom", OPT_CHAT_BR_TAB, | 438 _("Bottom"), OPT_CHAT_BR_TAB, |
439 "Left", OPT_CHAT_SIDE_TAB, | 439 _("Left"), OPT_CHAT_SIDE_TAB, |
440 "Right", OPT_CHAT_SIDE_TAB | OPT_CHAT_BR_TAB, NULL); | 440 _("Right"), OPT_CHAT_SIDE_TAB | OPT_CHAT_BR_TAB, NULL); |
441 gtk_size_group_add_widget(sg, dd); | 441 gtk_size_group_add_widget(sg, dd); |
442 gaim_button(_("Show all c_hats in one tabbed window"), &chat_options, OPT_CHAT_ONE_WINDOW, | 442 gaim_button(_("Show all c_hats in one tabbed window"), &chat_options, OPT_CHAT_ONE_WINDOW, |
443 vbox); | 443 vbox); |
444 | 444 |
445 vbox = make_frame (ret, _("Combined Tabs")); | 445 vbox = make_frame (ret, _("Combined Tabs")); |
446 gaim_button(_("Show IMs and chats in _same tabbed\nwindow."), &convo_options, OPT_CONVO_COMBINE, vbox); | 446 gaim_button(_("Show IMs and chats in _same tabbed\nwindow."), &convo_options, OPT_CONVO_COMBINE, vbox); |
447 | 447 |
448 vbox = make_frame (ret, _("Buddy List Tabs")); | 448 vbox = make_frame (ret, _("Buddy List Tabs")); |
449 dd = gaim_dropdown(vbox, "Tab _placement:", &blist_options, OPT_BLIST_BOTTOM_TAB, | 449 dd = gaim_dropdown(vbox, _("Tab _placement:"), &blist_options, OPT_BLIST_BOTTOM_TAB, |
450 "Top", 0, | 450 _("Top"), 0, |
451 "Bottom", OPT_BLIST_BOTTOM_TAB, NULL); | 451 _("Bottom"), OPT_BLIST_BOTTOM_TAB, NULL); |
452 gtk_size_group_add_widget(sg, dd); | 452 gtk_size_group_add_widget(sg, dd); |
453 | 453 |
454 gtk_widget_show_all(ret); | 454 gtk_widget_show_all(ret); |
455 return ret; | 455 return ret; |
456 } | 456 } |
465 | 465 |
466 ret = gtk_vbox_new(FALSE, 18); | 466 ret = gtk_vbox_new(FALSE, 18); |
467 gtk_container_set_border_width (GTK_CONTAINER (ret), 12); | 467 gtk_container_set_border_width (GTK_CONTAINER (ret), 12); |
468 | 468 |
469 vbox = make_frame (ret, _("Proxy Type")); | 469 vbox = make_frame (ret, _("Proxy Type")); |
470 gaim_dropdown(vbox, "Proxy _type:", &proxytype, -1, | 470 gaim_dropdown(vbox, _("Proxy _type:"), &proxytype, -1, |
471 "No proxy", PROXY_NONE, | 471 _("No proxy"), PROXY_NONE, |
472 "SOCKS 4", PROXY_SOCKS4, | 472 "SOCKS 4", PROXY_SOCKS4, |
473 "SOCKS 5", PROXY_SOCKS5, | 473 "SOCKS 5", PROXY_SOCKS5, |
474 "HTTP", PROXY_HTTP, NULL); | 474 "HTTP", PROXY_HTTP, NULL); |
475 | 475 |
476 table = gtk_table_new(2, 2, FALSE); | 476 table = gtk_table_new(2, 2, FALSE); |
571 | 571 |
572 sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); | 572 sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); |
573 #ifndef _WIN32 | 573 #ifndef _WIN32 |
574 /* Registered default browser is used by Windows */ | 574 /* Registered default browser is used by Windows */ |
575 vbox = make_frame (ret, _("Browser Selection")); | 575 vbox = make_frame (ret, _("Browser Selection")); |
576 label = gaim_dropdown(vbox, "_Browser", &web_browser, -1, | 576 label = gaim_dropdown(vbox, _("_Browser"), &web_browser, -1, |
577 "Netscape", BROWSER_NETSCAPE, | 577 "Netscape", BROWSER_NETSCAPE, |
578 "Konqueror", BROWSER_KONQ, | 578 "Konqueror", BROWSER_KONQ, |
579 "Mozilla", BROWSER_MOZILLA, | 579 "Mozilla", BROWSER_MOZILLA, |
580 "Manual", BROWSER_MANUAL, | 580 _("Manual"), BROWSER_MANUAL, |
581 /* fixme: GNOME binary helper | 581 /* fixme: GNOME binary helper |
582 "GNOME URL Handler", BROWSER_GNOME, */ | 582 _("GNOME URL Handler"), BROWSER_GNOME, */ |
583 "Galeon", BROWSER_GALEON, | 583 "Galeon", BROWSER_GALEON, |
584 "Opera", BROWSER_OPERA, NULL); | 584 "Opera", BROWSER_OPERA, NULL); |
585 gtk_misc_set_alignment(GTK_MISC(label), 0, 0); | 585 gtk_misc_set_alignment(GTK_MISC(label), 0, 0); |
586 gtk_size_group_add_widget(sg, label); | 586 gtk_size_group_add_widget(sg, label); |
587 | 587 |
666 gaim_button(_("_No sounds when you log in"), &sound_options, OPT_SOUND_SILENT_SIGNON, vbox); | 666 gaim_button(_("_No sounds when you log in"), &sound_options, OPT_SOUND_SILENT_SIGNON, vbox); |
667 gaim_button(_("_Sounds while away"), &sound_options, OPT_SOUND_WHEN_AWAY, vbox); | 667 gaim_button(_("_Sounds while away"), &sound_options, OPT_SOUND_WHEN_AWAY, vbox); |
668 | 668 |
669 #ifndef _WIN32 | 669 #ifndef _WIN32 |
670 vbox = make_frame (ret, _("Sound Method")); | 670 vbox = make_frame (ret, _("Sound Method")); |
671 dd = gaim_dropdown(vbox, "_Method", &sound_options, OPT_SOUND_BEEP | | 671 dd = gaim_dropdown(vbox, _("_Method"), &sound_options, OPT_SOUND_BEEP | |
672 OPT_SOUND_ESD | OPT_SOUND_ARTSC | OPT_SOUND_NAS | OPT_SOUND_NORMAL | | 672 OPT_SOUND_ESD | OPT_SOUND_ARTSC | OPT_SOUND_NAS | OPT_SOUND_NORMAL | |
673 OPT_SOUND_CMD, | 673 OPT_SOUND_CMD, |
674 "Console beep", OPT_SOUND_BEEP, | 674 _("Console beep"), OPT_SOUND_BEEP, |
675 #ifdef ESD_SOUND | 675 #ifdef ESD_SOUND |
676 "ESD", OPT_SOUND_ESD, | 676 "ESD", OPT_SOUND_ESD, |
677 #endif | 677 #endif |
678 #ifdef ARTSC_SOUND | 678 #ifdef ARTSC_SOUND |
679 "ArtsC", OPT_SOUND_ARTSC, | 679 "ArtsC", OPT_SOUND_ARTSC, |
680 #endif | 680 #endif |
681 #ifdef NAS_SOUND | 681 #ifdef NAS_SOUND |
682 "NAS", OPT_SOUND_NAS, | 682 "NAS", OPT_SOUND_NAS, |
683 #endif | 683 #endif |
684 "Internal", OPT_SOUND_NORMAL, | 684 _("Internal"), OPT_SOUND_NORMAL, |
685 "Command", OPT_SOUND_CMD, NULL); | 685 _("Command"), OPT_SOUND_CMD, NULL); |
686 gtk_size_group_add_widget(sg, dd); | 686 gtk_size_group_add_widget(sg, dd); |
687 gtk_misc_set_alignment(GTK_MISC(dd), 0, 0); | 687 gtk_misc_set_alignment(GTK_MISC(dd), 0, 0); |
688 | 688 |
689 hbox = gtk_hbox_new(FALSE, 5); | 689 hbox = gtk_hbox_new(FALSE, 5); |
690 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); | 690 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); |
1171 continue; | 1171 continue; |
1172 | 1172 |
1173 gtk_list_store_append (event_store, &iter); | 1173 gtk_list_store_append (event_store, &iter); |
1174 gtk_list_store_set(event_store, &iter, | 1174 gtk_list_store_set(event_store, &iter, |
1175 0, sound_options & sounds[j].opt, | 1175 0, sound_options & sounds[j].opt, |
1176 1, sounds[j].label, | 1176 1, gettext(sounds[j].label), |
1177 2, j, -1); | 1177 2, j, -1); |
1178 } | 1178 } |
1179 | 1179 |
1180 event_view = gtk_tree_view_new_with_model (GTK_TREE_MODEL(event_store)); | 1180 event_view = gtk_tree_view_new_with_model (GTK_TREE_MODEL(event_store)); |
1181 | 1181 |