annotate libpurple/protocols/msn/error.c @ 25769:5456120de480

disapproval of revision '3de5eea959151773885ba601f681aec2431dd47d'
author Marcus Lundblad <ml@update.uu.se>
date Wed, 14 Jan 2009 18:53:28 +0000
parents bd2f4c6add99
children 9381188c362b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
1 /**
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
2 * @file error.c Error functions
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
3 *
15822
32c366eeeb99 sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@gmail.com>
parents: 15691
diff changeset
4 * purple
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
5 *
15822
32c366eeeb99 sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@gmail.com>
parents: 15691
diff changeset
6 * Purple is the legal property of its developers, whose names are too numerous
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
7 * to list here. Please refer to the COPYRIGHT file distributed with this
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
8 * source distribution.
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
9 *
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
10 * This program is free software; you can redistribute it and/or modify
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
11 * it under the terms of the GNU General Public License as published by
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
12 * the Free Software Foundation; either version 2 of the License, or
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
13 * (at your option) any later version.
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
14 *
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
15 * This program is distributed in the hope that it will be useful,
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
18 * GNU General Public License for more details.
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
19 *
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
20 * You should have received a copy of the GNU General Public License
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
21 * along with this program; if not, write to the Free Software
19681
44b4e8bd759b The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 15822
diff changeset
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
23 */
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
24 #include "msn.h"
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
25 #include "error.h"
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
26
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
27 const char *
15678
5ec709327dc6 Remove a few unneeded strings, per evans's recommendation
Sean Egan <seanegan@gmail.com>
parents: 15382
diff changeset
28 msn_error_get_text(unsigned int type, gboolean *debug)
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
29 {
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
30 static char msg[256];
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
31 const char *result;
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
32 *debug = FALSE;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
33
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
34 switch (type) {
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
35 case 0:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
36 result = _("Unable to parse message");
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
37 *debug = TRUE;
15678
5ec709327dc6 Remove a few unneeded strings, per evans's recommendation
Sean Egan <seanegan@gmail.com>
parents: 15382
diff changeset
38 break;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
39 case 200:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
40 result = _("Syntax Error (probably a client bug)");
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
41 *debug = TRUE;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
42 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
43 case 201:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
44 result = _("Invalid email address");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
45 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
46 case 205:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
47 result = _("User does not exist");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
48 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
49 case 206:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
50 result = _("Fully qualified domain name missing");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
51 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
52 case 207:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
53 result = _("Already logged in");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
54 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
55 case 208:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
56 result = _("Invalid username");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
57 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
58 case 209:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
59 result = _("Invalid friendly name");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
60 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
61 case 210:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
62 result = _("List full");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
63 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
64 case 215:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
65 result = _("Already there");
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
66 *debug = TRUE;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
67 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
68 case 216:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
69 result = _("Not on list");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
70 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
71 case 217:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
72 result = _("User is offline");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
73 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
74 case 218:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
75 result = _("Already in the mode");
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
76 *debug = TRUE;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
77 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
78 case 219:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
79 result = _("Already in opposite list");
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
80 *debug = TRUE;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
81 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
82 case 223:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
83 result = _("Too many groups");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
84 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
85 case 224:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
86 result = _("Invalid group");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
87 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
88 case 225:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
89 result = _("User not in group");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
90 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
91 case 229:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
92 result = _("Group name too long");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
93 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
94 case 230:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
95 result = _("Cannot remove group zero");
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
96 *debug = TRUE;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
97 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
98 case 231:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
99 result = _("Tried to add a user to a group that doesn't exist");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
100 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
101 case 280:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
102 result = _("Switchboard failed");
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
103 *debug = TRUE;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
104 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
105 case 281:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
106 result = _("Notify transfer failed");
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
107 *debug = TRUE;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
108 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
109
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
110 case 300:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
111 result = _("Required fields missing");
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
112 *debug = TRUE;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
113 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
114 case 301:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
115 result = _("Too many hits to a FND");
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
116 *debug = TRUE;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
117 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
118 case 302:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
119 result = _("Not logged in");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
120 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
121
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
122 case 500:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
123 result = _("Service temporarily unavailable");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
124 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
125 case 501:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
126 result = _("Database server error");
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
127 *debug = TRUE;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
128 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
129 case 502:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
130 result = _("Command disabled");
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
131 *debug = TRUE;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
132 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
133 case 510:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
134 result = _("File operation error");
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
135 *debug = TRUE;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
136 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
137 case 520:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
138 result = _("Memory allocation error");
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
139 *debug = TRUE;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
140 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
141 case 540:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
142 result = _("Wrong CHL value sent to server");
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
143 *debug = TRUE;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
144 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
145
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
146 case 600:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
147 result = _("Server busy");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
148 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
149 case 601:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
150 result = _("Server unavailable");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
151 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
152 case 602:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
153 result = _("Peer notification server down");
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
154 *debug = TRUE;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
155 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
156 case 603:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
157 result = _("Database connect error");
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
158 *debug = TRUE;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
159 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
160 case 604:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
161 result = _("Server is going down (abandon ship)");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
162 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
163 case 605:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
164 result = _("Server unavailable");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
165 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
166
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
167 case 707:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
168 result = _("Error creating connection");
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
169 *debug = TRUE;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
170 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
171 case 710:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
172 result = _("CVR parameters are either unknown or not allowed");
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
173 *debug = TRUE;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
174 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
175 case 711:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
176 result = _("Unable to write");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
177 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
178 case 712:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
179 result = _("Session overload");
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
180 *debug = TRUE;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
181 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
182 case 713:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
183 result = _("User is too active");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
184 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
185 case 714:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
186 result = _("Too many sessions");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
187 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
188 case 715:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
189 result = _("Passport not verified");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
190 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
191 case 717:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
192 result = _("Bad friend file");
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
193 *debug = TRUE;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
194 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
195 case 731:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
196 result = _("Not expected");
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
197 *debug = TRUE;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
198 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
199
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
200 case 800:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
201 result = _("Friendly name changes too rapidly");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
202 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
203
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
204 case 910:
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
205 case 912:
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
206 case 918:
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
207 case 919:
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
208 case 921:
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
209 case 922:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
210 result = _("Server too busy");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
211 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
212 case 911:
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
213 case 917:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
214 result = _("Authentication failed");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
215 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
216 case 913:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
217 result = _("Not allowed when offline");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
218 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
219 case 914:
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
220 case 915:
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
221 case 916:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
222 result = _("Server unavailable");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
223 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
224 case 920:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
225 result = _("Not accepting new users");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
226 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
227 case 923:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
228 result = _("Kids Passport without parental consent");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
229 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
230 case 924:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
231 result = _("Passport account not yet verified");
24022
dffd9abace4f Add MSN error code 927 for suspended passports, and a little bit of
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 23298
diff changeset
232 break;
dffd9abace4f Add MSN error code 927 for suspended passports, and a little bit of
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 23298
diff changeset
233 case 927:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
234 result = _("Passport account suspended");
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
235 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
236 case 928:
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
237 result = _("Bad ticket");
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
238 *debug = TRUE;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
239 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
240
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
241 default:
24022
dffd9abace4f Add MSN error code 927 for suspended passports, and a little bit of
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 23298
diff changeset
242 g_snprintf(msg, sizeof(msg),
dffd9abace4f Add MSN error code 927 for suspended passports, and a little bit of
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 23298
diff changeset
243 _("Unknown Error Code %d"), type);
15691
acf21858f5e2 I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents: 15678
diff changeset
244 *debug = TRUE;
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
245 result = msg;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
246 break;
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
247 }
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
248
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
249 return result;
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
250 }
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
251
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
252 void
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
253 msn_error_handle(MsnSession *session, unsigned int type)
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
254 {
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
255 char *buf;
15678
5ec709327dc6 Remove a few unneeded strings, per evans's recommendation
Sean Egan <seanegan@gmail.com>
parents: 15382
diff changeset
256 gboolean debug;
23298
5cdd93dac7a2 Delete trailing whitespace
Mark Doliner <mark@kingant.net>
parents: 23180
diff changeset
257
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
258 buf = g_strdup_printf(_("MSN Error: %s\n"),
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
259 msn_error_get_text(type, &debug));
15678
5ec709327dc6 Remove a few unneeded strings, per evans's recommendation
Sean Egan <seanegan@gmail.com>
parents: 15382
diff changeset
260 if (debug)
15822
32c366eeeb99 sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@gmail.com>
parents: 15691
diff changeset
261 purple_debug_warning("msn", "error %d: %s\n", type, buf);
15678
5ec709327dc6 Remove a few unneeded strings, per evans's recommendation
Sean Egan <seanegan@gmail.com>
parents: 15382
diff changeset
262 else
15822
32c366eeeb99 sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@gmail.com>
parents: 15691
diff changeset
263 purple_notify_error(session->account->gc, NULL, buf, NULL);
24871
bd2f4c6add99 These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 24026
diff changeset
264 g_free(buf);
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
265 }
24022
dffd9abace4f Add MSN error code 927 for suspended passports, and a little bit of
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 23298
diff changeset
266