comparison finch/gntblist.c @ 22770:cc8903c59d6b

Change the string "screen name" to "username" everywhere. I think most of us agree that "username" is a better term. Also changing the accelerator key for "Username" in the add account dialog from 'n' to 'u', which I think makes more sense.
author Mark Doliner <mark@kingant.net>
date Wed, 30 Apr 2008 08:46:51 +0000
parents dd8cdf1d8b19
children 08befc594de4
comparison
equal deleted inserted replaced
22769:2ff3eb79078d 22770:cc8903c59d6b
579 const char *error = NULL; 579 const char *error = NULL;
580 PurpleGroup *grp; 580 PurpleGroup *grp;
581 PurpleBuddy *buddy; 581 PurpleBuddy *buddy;
582 582
583 if (!username) 583 if (!username)
584 error = _("You must provide a screename for the buddy."); 584 error = _("You must provide a username for the buddy.");
585 else if (!group) 585 else if (!group)
586 error = _("You must provide a group."); 586 error = _("You must provide a group.");
587 else if (!account) 587 else if (!account)
588 error = _("You must select an account."); 588 error = _("You must select an account.");
589 else if (!purple_account_is_connected(account)) 589 else if (!purple_account_is_connected(account))
617 PurpleRequestFieldGroup *group = purple_request_field_group_new(NULL); 617 PurpleRequestFieldGroup *group = purple_request_field_group_new(NULL);
618 PurpleRequestField *field; 618 PurpleRequestField *field;
619 619
620 purple_request_fields_add_group(fields, group); 620 purple_request_fields_add_group(fields, group);
621 621
622 field = purple_request_field_string_new("screenname", _("Screen Name"), username, FALSE); 622 field = purple_request_field_string_new("screenname", _("Username"), username, FALSE);
623 purple_request_field_group_add_field(group, field); 623 purple_request_field_group_add_field(group, field);
624 624
625 field = purple_request_field_string_new("alias", _("Alias (optional)"), alias, FALSE); 625 field = purple_request_field_string_new("alias", _("Alias (optional)"), alias, FALSE);
626 purple_request_field_group_add_field(group, field); 626 purple_request_field_group_add_field(group, field);
627 627
2625 purple_request_field_choice_add(field, _("Unblock")); 2625 purple_request_field_choice_add(field, _("Unblock"));
2626 purple_request_field_group_add_field(group, field); 2626 purple_request_field_group_add_field(group, field);
2627 2627
2628 purple_request_fields(purple_get_blist(), _("Block/Unblock"), 2628 purple_request_fields(purple_get_blist(), _("Block/Unblock"),
2629 NULL, 2629 NULL,
2630 _("Please enter the screen name or alias of the person " 2630 _("Please enter the username or alias of the person "
2631 "you would like to Block/Unblock."), 2631 "you would like to Block/Unblock."),
2632 fields, 2632 fields,
2633 _("OK"), G_CALLBACK(block_select_cb), 2633 _("OK"), G_CALLBACK(block_select_cb),
2634 _("Cancel"), NULL, 2634 _("Cancel"), NULL,
2635 NULL, NULL, NULL, 2635 NULL, NULL, NULL,
2676 purple_request_field_set_required(field, TRUE); 2676 purple_request_field_set_required(field, TRUE);
2677 purple_request_field_group_add_field(group, field); 2677 purple_request_field_group_add_field(group, field);
2678 2678
2679 purple_request_fields(purple_get_blist(), _("New Instant Message"), 2679 purple_request_fields(purple_get_blist(), _("New Instant Message"),
2680 NULL, 2680 NULL,
2681 _("Please enter the screen name or alias of the person " 2681 _("Please enter the username or alias of the person "
2682 "you would like to IM."), 2682 "you would like to IM."),
2683 fields, 2683 fields,
2684 _("OK"), G_CALLBACK(send_im_select_cb), 2684 _("OK"), G_CALLBACK(send_im_select_cb),
2685 _("Cancel"), NULL, 2685 _("Cancel"), NULL,
2686 NULL, NULL, NULL, 2686 NULL, NULL, NULL,