Mercurial > pidgin.yaz
comparison libpurple/protocols/yahoo/libymsg.c @ 30081:6d18b6221c5e
Clarify an error condition I was able to duplicate reliably last night.
author | John Bailey <rekkanoryo@rekkanoryo.org> |
---|---|
date | Sat, 03 Apr 2010 18:11:43 +0000 |
parents | 51f997e2347f |
children | 7081cefdd61a |
comparison
equal
deleted
inserted
replaced
30080:ba2b9a097da9 | 30081:6d18b6221c5e |
---|---|
1892 error_reason = g_strdup(_("Incorrect password")); | 1892 error_reason = g_strdup(_("Incorrect password")); |
1893 error = PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED; | 1893 error = PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED; |
1894 break; | 1894 break; |
1895 case 1213: | 1895 case 1213: |
1896 /* security lock from too many failed login attempts */ | 1896 /* security lock from too many failed login attempts */ |
1897 error_reason = g_strdup(_("Account locked: Too many failed login attempts. Logging into the Yahoo! website may fix this.")); | 1897 error_reason = g_strdup(_("Account locked: Too many failed login " |
1898 "attempts. Logging into the Yahoo! website may fix this.")); | |
1898 error = PURPLE_CONNECTION_ERROR_OTHER_ERROR; | 1899 error = PURPLE_CONNECTION_ERROR_OTHER_ERROR; |
1899 break; | 1900 break; |
1900 case 1235: | 1901 case 1235: |
1901 /* the username does not exist */ | 1902 /* the username does not exist */ |
1902 error_reason = g_strdup(_("Username does not exist")); | 1903 error_reason = g_strdup(_("Username does not exist")); |
1903 error = PURPLE_CONNECTION_ERROR_INVALID_USERNAME; | 1904 error = PURPLE_CONNECTION_ERROR_INVALID_USERNAME; |
1904 break; | 1905 break; |
1905 case 1214: | 1906 case 1214: |
1907 /* indicates a lock of some description */ | |
1908 error_reason = g_strdup(_("Account locked: Unknown reason. Logging " | |
1909 "into the Yahoo! website may fix this.")); | |
1910 error = PURPLE_CONNECTION_ERROR_OTHER_ERROR; | |
1911 break; | |
1906 case 1236: | 1912 case 1236: |
1907 /* indicates a lock of some description */ | 1913 /* indicates a lock due to logging in too frequently */ |
1908 error_reason = g_strdup(_("Account locked: Unknown reason. Logging into the Yahoo! website may fix this.")); | 1914 error_reason = g_strdup(_("Account locked: You have been logging in too " |
1915 "frequently. Wait a few minutes before trying to connect " | |
1916 "again. Logging into the Yahoo! website may help.")); | |
1909 error = PURPLE_CONNECTION_ERROR_OTHER_ERROR; | 1917 error = PURPLE_CONNECTION_ERROR_OTHER_ERROR; |
1910 break; | 1918 break; |
1911 case 100: | 1919 case 100: |
1912 /* username or password missing */ | 1920 /* username or password missing */ |
1913 error_reason = g_strdup(_("Username or password missing")); | 1921 error_reason = g_strdup(_("Username or password missing")); |