Mercurial > pidgin.yaz
annotate libpurple/protocols/msn/error.c @ 31180:a99b6dcdb60d
Remove unnecesary includes from msn.h.
Replace msn.h with the needed includes, most of the cases only debug.h
was needed.
author | masca@cpw.pidgin.im |
---|---|
date | Fri, 28 May 2010 08:05:38 +0000 |
parents | b3b7b537284f |
children | 230caecf5435 |
rev | line source |
---|---|
15374
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 * |
15823 | 4 * purple |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
5 * |
15823 | 6 * Purple is the legal property of its developers, whose names are too numerous |
15374
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 |
19680
44b4e8bd759b
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
15823
diff
changeset
|
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
23 */ |
31180
a99b6dcdb60d
Remove unnecesary includes from msn.h.
masca@cpw.pidgin.im
parents:
31150
diff
changeset
|
24 |
a99b6dcdb60d
Remove unnecesary includes from msn.h.
masca@cpw.pidgin.im
parents:
31150
diff
changeset
|
25 #include "debug.h" |
a99b6dcdb60d
Remove unnecesary includes from msn.h.
masca@cpw.pidgin.im
parents:
31150
diff
changeset
|
26 /* Masca: can we get rid of the sync issue dialog? */ |
a99b6dcdb60d
Remove unnecesary includes from msn.h.
masca@cpw.pidgin.im
parents:
31150
diff
changeset
|
27 #include "request.h" |
a99b6dcdb60d
Remove unnecesary includes from msn.h.
masca@cpw.pidgin.im
parents:
31150
diff
changeset
|
28 |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
29 #include "error.h" |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
30 |
31150
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
31 typedef struct |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
32 { |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
33 PurpleConnection *gc; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
34 char *who; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
35 char *group; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
36 gboolean add; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
37 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
38 } MsnAddRemData; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
39 |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
40 const char * |
15679
5ec709327dc6
Remove a few unneeded strings, per evans's recommendation
Sean Egan <seanegan@gmail.com>
parents:
15383
diff
changeset
|
41 msn_error_get_text(unsigned int type, gboolean *debug) |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
42 { |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
43 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:
23956
diff
changeset
|
44 const char *result; |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
45 *debug = FALSE; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
46 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
47 switch (type) { |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
48 case 0: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
49 result = _("Unable to parse message"); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
50 *debug = TRUE; |
15679
5ec709327dc6
Remove a few unneeded strings, per evans's recommendation
Sean Egan <seanegan@gmail.com>
parents:
15383
diff
changeset
|
51 break; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
52 case 200: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
53 result = _("Syntax Error (probably a client bug)"); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
54 *debug = TRUE; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
55 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
56 case 201: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
57 result = _("Invalid email address"); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
58 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
59 case 205: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
60 result = _("User does not exist"); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
61 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
62 case 206: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
63 result = _("Fully qualified domain name missing"); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
64 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
65 case 207: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
66 result = _("Already logged in"); |
15374
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 208: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
69 result = _("Invalid username"); |
15374
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 209: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
72 result = _("Invalid friendly name"); |
15374
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 210: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
75 result = _("List full"); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
76 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
77 case 215: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
78 result = _("Already there"); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
79 *debug = TRUE; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
80 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
81 case 216: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
82 result = _("Not on list"); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
83 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
84 case 217: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
85 result = _("User is offline"); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
86 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
87 case 218: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
88 result = _("Already in the mode"); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
89 *debug = TRUE; |
15374
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 219: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
92 result = _("Already in opposite list"); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
93 *debug = TRUE; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
94 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
95 case 223: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
96 result = _("Too many groups"); |
15374
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 224: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
99 result = _("Invalid group"); |
15374
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 225: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
102 result = _("User not in group"); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
103 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
104 case 229: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
105 result = _("Group name too long"); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
106 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
107 case 230: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
108 result = _("Cannot remove group zero"); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
109 *debug = TRUE; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
110 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
111 case 231: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
112 result = _("Tried to add a user to a group that doesn't exist"); |
15374
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 280: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
115 result = _("Switchboard failed"); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
116 *debug = TRUE; |
15374
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 281: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
119 result = _("Notify transfer failed"); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
120 *debug = TRUE; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
121 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
122 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
123 case 300: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
124 result = _("Required fields missing"); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
125 *debug = TRUE; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
126 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
127 case 301: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
128 result = _("Too many hits to a FND"); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
129 *debug = TRUE; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
130 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
131 case 302: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
132 result = _("Not logged in"); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
133 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
134 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
135 case 500: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
136 result = _("Service temporarily unavailable"); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
137 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
138 case 501: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
139 result = _("Database server error"); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
140 *debug = TRUE; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
141 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
142 case 502: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
143 result = _("Command disabled"); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
144 *debug = TRUE; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
145 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
146 case 510: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
147 result = _("File operation error"); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
148 *debug = TRUE; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
149 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
150 case 520: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
151 result = _("Memory allocation error"); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
152 *debug = TRUE; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
153 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
154 case 540: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
155 result = _("Wrong CHL value sent to server"); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
156 *debug = TRUE; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
157 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
158 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
159 case 600: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
160 result = _("Server busy"); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
161 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
162 case 601: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
163 result = _("Server unavailable"); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
164 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
165 case 602: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
166 result = _("Peer notification server down"); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
167 *debug = TRUE; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
168 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
169 case 603: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
170 result = _("Database connect error"); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
171 *debug = TRUE; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
172 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
173 case 604: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
174 result = _("Server is going down (abandon ship)"); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
175 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
176 case 605: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
177 result = _("Server unavailable"); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
178 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
179 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
180 case 707: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
181 result = _("Error creating connection"); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
182 *debug = TRUE; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
183 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
184 case 710: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
185 result = _("CVR parameters are either unknown or not allowed"); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
186 *debug = TRUE; |
15374
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 711: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
189 result = _("Unable to write"); |
15374
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 712: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
192 result = _("Session overload"); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
193 *debug = TRUE; |
15374
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 713: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
196 result = _("User is too active"); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
197 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
198 case 714: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
199 result = _("Too many sessions"); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
200 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
201 case 715: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
202 result = _("Passport not verified"); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
203 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
204 case 717: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
205 result = _("Bad friend file"); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
206 *debug = TRUE; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
207 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
208 case 731: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
209 result = _("Not expected"); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
210 *debug = TRUE; |
15374
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 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
213 case 800: |
28336
9381188c362b
Change the string "Friendly name changes too rapidly" to "Friendly
Mark Doliner <mark@kingant.net>
parents:
24836
diff
changeset
|
214 result = _("Friendly name is changing too rapidly"); |
15374
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 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
217 case 910: |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
218 case 912: |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
219 case 918: |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
220 case 919: |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
221 case 921: |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
222 case 922: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
223 result = _("Server too busy"); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
224 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
225 case 911: |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
226 case 917: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
227 result = _("Authentication failed"); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
228 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
229 case 913: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
230 result = _("Not allowed when offline"); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
231 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
232 case 914: |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
233 case 915: |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
234 case 916: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
235 result = _("Server unavailable"); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
236 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
237 case 920: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
238 result = _("Not accepting new users"); |
15374
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 case 923: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
241 result = _("Kids Passport without parental consent"); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
242 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
243 case 924: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
244 result = _("Passport account not yet verified"); |
23952
dffd9abace4f
Add MSN error code 927 for suspended passports, and a little bit of
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23300
diff
changeset
|
245 break; |
dffd9abace4f
Add MSN error code 927 for suspended passports, and a little bit of
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23300
diff
changeset
|
246 case 927: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
247 result = _("Passport account suspended"); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
248 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
249 case 928: |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
250 result = _("Bad ticket"); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
251 *debug = TRUE; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
252 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
253 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
254 default: |
23952
dffd9abace4f
Add MSN error code 927 for suspended passports, and a little bit of
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23300
diff
changeset
|
255 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:
23300
diff
changeset
|
256 _("Unknown Error Code %d"), type); |
15692
acf21858f5e2
I think this is what Sean intended
Mark Doliner <mark@kingant.net>
parents:
15679
diff
changeset
|
257 *debug = TRUE; |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
258 result = msg; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
259 break; |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
260 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
261 |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
262 return result; |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
263 } |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
264 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
265 void |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
266 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
|
267 { |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
268 char *buf; |
15679
5ec709327dc6
Remove a few unneeded strings, per evans's recommendation
Sean Egan <seanegan@gmail.com>
parents:
15383
diff
changeset
|
269 gboolean debug; |
23300
5cdd93dac7a2
Delete trailing whitespace
Mark Doliner <mark@kingant.net>
parents:
23182
diff
changeset
|
270 |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
271 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:
23956
diff
changeset
|
272 msn_error_get_text(type, &debug)); |
15679
5ec709327dc6
Remove a few unneeded strings, per evans's recommendation
Sean Egan <seanegan@gmail.com>
parents:
15383
diff
changeset
|
273 if (debug) |
15823 | 274 purple_debug_warning("msn", "error %d: %s\n", type, buf); |
15679
5ec709327dc6
Remove a few unneeded strings, per evans's recommendation
Sean Egan <seanegan@gmail.com>
parents:
15383
diff
changeset
|
275 else |
15823 | 276 purple_notify_error(session->account->gc, NULL, buf, NULL); |
24836
bd2f4c6add99
These translated strings don't need to be duplicated with g_snprintf. And
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23956
diff
changeset
|
277 g_free(buf); |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
278 } |
23952
dffd9abace4f
Add MSN error code 927 for suspended passports, and a little bit of
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23300
diff
changeset
|
279 |
31150
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
280 /* Remove the buddy referenced by the MsnAddRemData before the serverside list |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
281 * is changed. If the buddy will be added, he'll be added back; if he will be |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
282 * removed, he won't be. */ |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
283 /* Actually with our MSNP14 code that isn't true yet, he won't be added back :( |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
284 * */ |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
285 static void |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
286 msn_complete_sync_issue(MsnAddRemData *data) |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
287 { |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
288 PurpleBuddy *buddy; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
289 PurpleGroup *group = NULL; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
290 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
291 if (data->group != NULL) |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
292 group = purple_find_group(data->group); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
293 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
294 if (group != NULL) |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
295 buddy = purple_find_buddy_in_group(purple_connection_get_account(data->gc), data->who, group); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
296 else |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
297 buddy = purple_find_buddy(purple_connection_get_account(data->gc), data->who); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
298 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
299 if (buddy != NULL) |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
300 purple_blist_remove_buddy(buddy); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
301 } |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
302 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
303 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
304 static void |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
305 msn_add_cb(MsnAddRemData *data) |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
306 { |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
307 #if 0 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
308 /* this *should* be necessary !! */ |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
309 msn_complete_sync_issue(data); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
310 #endif |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
311 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
312 if (g_list_find(purple_connections_get_all(), data->gc) != NULL) |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
313 { |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
314 MsnSession *session = data->gc->proto_data; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
315 MsnUserList *userlist = session->userlist; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
316 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
317 msn_userlist_add_buddy(userlist, data->who, data->group); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
318 } |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
319 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
320 g_free(data->group); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
321 g_free(data->who); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
322 g_free(data); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
323 } |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
324 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
325 static void |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
326 msn_rem_cb(MsnAddRemData *data) |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
327 { |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
328 msn_complete_sync_issue(data); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
329 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
330 if (g_list_find(purple_connections_get_all(), data->gc) != NULL) |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
331 { |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
332 MsnSession *session = data->gc->proto_data; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
333 MsnUserList *userlist = session->userlist; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
334 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
335 if (data->group == NULL) { |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
336 msn_userlist_rem_buddy_from_list(userlist, data->who, MSN_LIST_FL); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
337 } else { |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
338 g_free(data->group); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
339 } |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
340 } |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
341 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
342 g_free(data->who); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
343 g_free(data); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
344 } |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
345 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
346 void |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
347 msn_error_sync_issue(MsnSession *session, const char *passport, |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
348 const char *group_name) |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
349 { |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
350 PurpleConnection *gc; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
351 PurpleAccount *account; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
352 MsnAddRemData *data; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
353 char *msg, *reason; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
354 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
355 account = session->account; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
356 gc = purple_account_get_connection(account); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
357 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
358 data = g_new0(MsnAddRemData, 1); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
359 data->who = g_strdup(passport); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
360 data->group = g_strdup(group_name); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
361 data->gc = gc; |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
362 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
363 msg = g_strdup_printf(_("Buddy list synchronization issue in %s (%s)"), |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
364 purple_account_get_username(account), |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
365 purple_account_get_protocol_name(account)); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
366 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
367 if (group_name != NULL) |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
368 { |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
369 reason = g_strdup_printf(_("%s on the local list is " |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
370 "inside the group \"%s\" but not on " |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
371 "the server list. " |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
372 "Do you want this buddy to be added?"), |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
373 passport, group_name); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
374 } |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
375 else |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
376 { |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
377 reason = g_strdup_printf(_("%s is on the local list but " |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
378 "not on the server list. " |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
379 "Do you want this buddy to be added?"), |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
380 passport); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
381 } |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
382 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
383 purple_request_action(gc, NULL, msg, reason, PURPLE_DEFAULT_ACTION_NONE, |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
384 purple_connection_get_account(gc), data->who, NULL, |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
385 data, 2, |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
386 _("Yes"), G_CALLBACK(msn_add_cb), |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
387 _("No"), G_CALLBACK(msn_rem_cb)); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
388 |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
389 g_free(reason); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
390 g_free(msg); |
b3b7b537284f
msn: Merge dialog and error to get an unified msn_error api.
masca@cpw.pidgin.im
parents:
28336
diff
changeset
|
391 } |