Mercurial > pidgin.yaz
comparison libpurple/protocols/simple/simple.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 | c65c96e231b5 |
children | 4007d1a39da5 8c3444f04709 |
comparison
equal
deleted
inserted
replaced
22769:2ff3eb79078d | 22770:cc8903c59d6b |
---|---|
1888 gc = purple_account_get_connection(account); | 1888 gc = purple_account_get_connection(account); |
1889 | 1889 |
1890 if (strpbrk(username, " \t\v\r\n") != NULL) { | 1890 if (strpbrk(username, " \t\v\r\n") != NULL) { |
1891 purple_connection_error_reason(gc, | 1891 purple_connection_error_reason(gc, |
1892 PURPLE_CONNECTION_ERROR_INVALID_SETTINGS, | 1892 PURPLE_CONNECTION_ERROR_INVALID_SETTINGS, |
1893 _("SIP screen names may not contain whitespaces or @ symbols")); | 1893 _("SIP usernames may not contain whitespaces or @ symbols")); |
1894 return; | 1894 return; |
1895 } | 1895 } |
1896 | 1896 |
1897 gc->proto_data = sip = g_new0(struct simple_account_data, 1); | 1897 gc->proto_data = sip = g_new0(struct simple_account_data, 1); |
1898 sip->gc = gc; | 1898 sip->gc = gc; |