Mercurial > pidgin.yaz
comparison src/protocols/msn/msn.c @ 8152:82aeed3c90f0
[gaim-migrate @ 8864]
I love me some consistency.
I went with "screen name" instead of "screenname" mostly because
I feel that the first one is more readable. It's also what
aim.com uses.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 20 Jan 2004 16:08:45 +0000 |
parents | 34b086e2619d |
children | 9d1a984681fe |
comparison
equal
deleted
inserted
replaced
8151:b619ee745ec0 | 8152:82aeed3c90f0 |
---|---|
740 MsnSession *session = gc->proto_data; | 740 MsnSession *session = gc->proto_data; |
741 char buf[MSN_BUF_LEN]; | 741 char buf[MSN_BUF_LEN]; |
742 | 742 |
743 if (!strchr(who, '@')) { | 743 if (!strchr(who, '@')) { |
744 g_snprintf(buf, sizeof(buf), | 744 g_snprintf(buf, sizeof(buf), |
745 _("An MSN screenname must be in the form \"user@server.com\". " | 745 _("An MSN screen name must be in the form \"user@server.com\". " |
746 "Perhaps you meant %s@hotmail.com. No changes were made " | 746 "Perhaps you meant %s@hotmail.com. No changes were made " |
747 "to your allow list."), who); | 747 "to your allow list."), who); |
748 | 748 |
749 gaim_notify_error(gc, NULL, _("Invalid MSN screenname"), buf); | 749 gaim_notify_error(gc, NULL, _("Invalid MSN screen name"), buf); |
750 gaim_privacy_permit_remove(gc->account, who, TRUE); | 750 gaim_privacy_permit_remove(gc->account, who, TRUE); |
751 | 751 |
752 return; | 752 return; |
753 } | 753 } |
754 | 754 |
780 MsnSession *session = gc->proto_data; | 780 MsnSession *session = gc->proto_data; |
781 char buf[MSN_BUF_LEN]; | 781 char buf[MSN_BUF_LEN]; |
782 | 782 |
783 if (!strchr(who, '@')) { | 783 if (!strchr(who, '@')) { |
784 g_snprintf(buf, sizeof(buf), | 784 g_snprintf(buf, sizeof(buf), |
785 _("An MSN screenname must be in the form \"user@server.com\". " | 785 _("An MSN screen name must be in the form \"user@server.com\". " |
786 "Perhaps you meant %s@hotmail.com. No changes were made " | 786 "Perhaps you meant %s@hotmail.com. No changes were made " |
787 "to your block list."), who); | 787 "to your block list."), who); |
788 | 788 |
789 gaim_notify_error(gc, NULL, _("Invalid MSN screenname"), buf); | 789 gaim_notify_error(gc, NULL, _("Invalid MSN screen name"), buf); |
790 | 790 |
791 gaim_privacy_deny_remove(gc->account, who, TRUE); | 791 gaim_privacy_deny_remove(gc->account, who, TRUE); |
792 | 792 |
793 return; | 793 return; |
794 } | 794 } |