annotate src/protocols/yahoo/yahoo_profile.c @ 9242:fb517adf4972

[gaim-migrate @ 10041] wing improved yahoo profile support some more, and now even profile images show up in the get info dialog. Good work wing! committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Wed, 09 Jun 2004 01:40:56 +0000
parents 8054855f2bb9
children adde46ad65e9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1 /*
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
2 * gaim
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
3 *
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
4 * Gaim is the legal property of its developers, whose names are too numerous
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
5 * to list here. Please refer to the COPYRIGHT file distributed with this
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
6 * source distribution.
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
7 *
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
8 * This program is free software; you can redistribute it and/or modify
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
9 * it under the terms of the GNU General Public License as published by
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
10 * the Free Software Foundation; either version 2 of the License, or
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
11 * (at your option) any later version.
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
12 *
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
13 * This program is distributed in the hope that it will be useful,
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
16 * GNU General Public License for more details.
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
17 *
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
18 * You should have received a copy of the GNU General Public License
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
19 * along with this program; if not, write to the Free Software
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
21 *
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
22 */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
23
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
24 #define PHOTO_SUPPORT 1
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
25
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
26 #include "internal.h"
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
27 #include "debug.h"
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
28 #include "notify.h"
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
29 #include "util.h"
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
30 #if PHOTO_SUPPORT
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
31 #include "imgstore.h"
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
32 #endif
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
33
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
34 #include "yahoo.h"
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
35
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
36 typedef struct {
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
37 GaimConnection *gc;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
38 char *name;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
39 } YahooGetInfoData;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
40
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
41
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
42 typedef enum profile_lang_id {
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
43 XX, DA, DE, EL,
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
44 EN, EN_GB,
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
45 ES_AR, ES_ES, ES_MX, ES_US,
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
46 FR_CA, FR_FR,
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
47 IT, JA, KO, NO, PT, SV,
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
48 ZH_CN, ZH_HK, ZH_TW, ZH_US
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
49 } profile_lang_id_t;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
50
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
51 typedef struct profile_lang_node {
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
52 profile_lang_id_t lang;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
53 char *last_updated_string;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
54 char *det;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
55 } profile_lang_node_t;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
56
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
57 typedef struct profile_strings_node {
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
58 profile_lang_id_t lang;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
59 char *lang_string; /* Only to make debugging output saner */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
60 char *charset;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
61 char *yahoo_id_string;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
62 char *private_string;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
63 char *no_answer_string;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
64 char *my_email_string;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
65 char *realname_string;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
66 char *location_string;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
67 char *age_string;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
68 char *maritalstatus_string;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
69 char *gender_string;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
70 char *occupation_string;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
71 char *hobbies_string;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
72 char *latest_news_string;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
73 char *favorite_quote_string;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
74 char *links_string;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
75 char *no_home_page_specified_string;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
76 char *home_page_string;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
77 char *no_cool_link_specified_string;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
78 char *cool_link_1_string;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
79 char *cool_link_2_string;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
80 char *cool_link_3_string;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
81 char *dummy;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
82 } profile_strings_node_t;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
83
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
84
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
85 typedef struct {
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
86 YahooGetInfoData *info_data;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
87 char *url_buffer;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
88 GString *s;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
89 char *photo_url_text;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
90 char *profile_url_text;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
91 char *tooltip_text;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
92 const profile_strings_node_t *strings;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
93 const char *last_updated_string;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
94 } YahooGetInfoStepTwoData;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
95
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
96
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
97 /* Strings to determine the profile "language" (more accurately "locale").
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
98 * Strings in this list must be in the original charset in the profile.
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
99 * The "Last Updated" string is used, but sometimes is not sufficient to
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
100 * distinguish 2 locales with this (e.g., ES_ES from ES_US, or FR_CA from
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
101 * FR_FR, or EL from EN_GB), in which case a second string is added and
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
102 * such special cases must be placed before the more general case.
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
103 */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
104 static const profile_lang_node_t profile_langs[] = {
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
105 { DA, "Opdateret sidste gang&nbsp;", NULL },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
106 { DE, "Letzter Update&nbsp;", NULL },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
107 { EL, "Last Updated:", "http://gr.profiles.yahoo.com" },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
108 { EN_GB, "Last Updated&nbsp;", "Favourite Quote" },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
109 { EN, "Last Updated:", NULL },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
110 { EN, "Last Updated&nbsp;", NULL },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
111 { ES_AR, "\332ltima actualizaci\363n&nbsp;", NULL },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
112 { ES_ES, "Actualizada el&nbsp;", "http://es.profiles.yahoo.com" },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
113 { ES_MX, "Actualizada el &nbsp;", "http://mx.profiles.yahoo.com" },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
114 { ES_US, "Actualizada el &nbsp;", NULL },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
115 { FR_CA, "Derni\xe8re mise \xe0 jour", "http://cf.profiles.yahoo.com" },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
116 { FR_FR, "Derni\xe8re mise \xe0 jour", NULL },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
117 { IT, "Ultimo aggiornamento&nbsp;", NULL },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
118 { JA, "\xba\xc7\xbd\xaa\xb9\xb9\xbf\xb7\xc6\xfc\xa1\xa7", NULL },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
119 { KO, "\xb0\xbb\xbd\xc5\x20\xb3\xaf\xc2\xa5&nbsp;", NULL },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
120 { NO, "Sist oppdatert&nbsp;", NULL },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
121 { PT, "\332ltima atualiza\347\343o&nbsp;", NULL },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
122 { SV, "Senast uppdaterad&nbsp;", NULL },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
123 { ZH_CN, "\xd7\xee\xba\xf3\xd0\xde\xb8\xc4\xc8\xd5\xc6\xda", NULL },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
124 { ZH_HK, "\xb3\xcc\xaa\xf1\xa7\xf3\xb7\x73\xae\xc9\xb6\xa1", NULL },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
125 { ZH_US, "\xb3\xcc\xab\xe1\xad\xd7\xa7\xef\xa4\xe9\xb4\xc1", "http://chinese.profiles.yahoo.com" },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
126 { ZH_TW, "\xb3\xcc\xab\xe1\xad\xd7\xa7\xef\xa4\xe9\xb4\xc1", NULL },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
127 { XX, NULL, NULL }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
128 };
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
129
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
130 /* Strings in this list must be in UTF-8; &nbsp;'s should be specified as spaces. */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
131 static const profile_strings_node_t profile_strings[] = {
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
132 { DA, "da", "ISO-8859-1",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
133 "Yahoo! ID:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
134 "Privat",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
135 "Intet svar",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
136 "Min Email",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
137 "Rigtige navn:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
138 "Opholdssted:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
139 "Alder:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
140 "Ægteskabelig status:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
141 "Køn:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
142 "Erhverv:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
143 "Hobbyer:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
144 "Sidste nyt:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
145 "Favoritcitat",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
146 "Links",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
147 "Ingen hjemmeside specificeret",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
148 "Forside:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
149 "Intet cool link specificeret",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
150 "Cool link 1:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
151 "Cool link 2:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
152 "Cool link 3:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
153 NULL
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
154 },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
155 { DE, "de", "ISO-8859-1",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
156 "Yahoo!-ID:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
157 "Privat",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
158 "Keine Antwort",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
159 "Meine E-Mail",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
160 "Realer Name:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
161 "Ort:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
162 "Alter:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
163 "Familienstand:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
164 "Geschlecht:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
165 "Beruf:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
166 "Hobbys:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
167 "Neuste Nachrichten:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
168 "Mein Lieblingsspruch",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
169 "Links",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
170 "Keine Homepage angegeben",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
171 "Homepage:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
172 "Keinen coolen Link angegeben",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
173 "Cooler Link 1:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
174 "Cooler Link 2:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
175 "Cooler Link 3:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
176 NULL
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
177 },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
178 { EL, "el", "ISO-8859-7", /* EL is identical to EN, except no_answer_string */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
179 "Yahoo! ID:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
180 "Private",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
181 "Καμία απάντηση",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
182 "My Email",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
183 "Real Name:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
184 "Location:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
185 "Age:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
186 "Marital Status:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
187 "Gender:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
188 "Occupation:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
189 "Hobbies:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
190 "Latest News",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
191 "Favorite Quote",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
192 "Links",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
193 "No home page specified",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
194 "Home Page:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
195 "No cool link specified",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
196 "Cool Link 1:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
197 "Cool Link 2:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
198 "Cool Link 3:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
199 NULL
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
200 },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
201 { EN, "en", "ISO-8859-1",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
202 "Yahoo! ID:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
203 "Private",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
204 "No Answer",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
205 "My Email",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
206 "Real Name:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
207 "Location:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
208 "Age:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
209 "Marital Status:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
210 "Gender:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
211 "Occupation:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
212 "Hobbies:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
213 "Latest News",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
214 "Favorite Quote",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
215 "Links",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
216 "No home page specified",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
217 "Home Page:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
218 "No cool link specified",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
219 "Cool Link 1:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
220 "Cool Link 2:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
221 "Cool Link 3:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
222 NULL
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
223 },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
224 { EN_GB, "en_GB", "ISO-8859-1", /* Same as EN except spelling of "Favourite" */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
225 "Yahoo! ID:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
226 "Private",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
227 "No Answer",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
228 "My Email",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
229 "Real Name:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
230 "Location:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
231 "Age:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
232 "Marital Status:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
233 "Gender:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
234 "Occupation:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
235 "Hobbies:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
236 "Latest News",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
237 "Favourite Quote",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
238 "Links",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
239 "No home page specified",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
240 "Home Page:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
241 "No cool link specified",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
242 "Cool Link 1:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
243 "Cool Link 2:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
244 "Cool Link 3:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
245 NULL
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
246 },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
247 { ES_AR, "es_AR", "ISO-8859-1",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
248 "Usuario de Yahoo!:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
249 "Privado",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
250 "No introdujiste una respuesta",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
251 "Mi dirección de correo electrónico",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
252 "Nombre real:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
253 "Ubicación:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
254 "Edad:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
255 "Estado civil:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
256 "Sexo:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
257 "Ocupación:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
258 "Pasatiempos:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
259 "Últimas noticias:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
260 "Tu cita favorita",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
261 "Enlaces",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
262 "Ninguna página de inicio especificada",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
263 "Página de inicio:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
264 "Ningún enlace preferido",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
265 "Enlace genial 1:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
266 "Enlace genial 2:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
267 "Enlace genial 3:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
268 NULL
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
269 },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
270 { ES_ES, "es_ES", "ISO-8859-1",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
271 "ID de Yahoo!:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
272 "Privado",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
273 "Sin respuesta",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
274 "Mi correo-e",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
275 "Nombre verdadero:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
276 "Lugar:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
277 "Edad:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
278 "Estado civil:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
279 "Sexo:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
280 "Ocupación:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
281 "Aficiones:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
282 "Ultimas Noticias:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
283 "Tu cita Favorita",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
284 "Enlace",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
285 "Ninguna página personal especificada",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
286 "Página de Inicio:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
287 "Ningún enlace preferido",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
288 "Enlaces Preferidos 1:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
289 "Enlaces Preferidos 2:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
290 "Enlaces Preferidos 3:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
291 NULL
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
292 },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
293 { ES_MX, "es_MX", "ISO-8859-1",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
294 "ID de Yahoo!:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
295 "Privado",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
296 "Sin responder",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
297 "Mi Dirección de correo-e",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
298 "Nombre real:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
299 "Ubicación:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
300 "Edad:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
301 "Estado civil:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
302 "Sexo:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
303 "Ocupación:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
304 "Pasatiempos:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
305 "Ultimas Noticias:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
306 "Su cita favorita",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
307 "Enlaces",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
308 "Ninguna Página predefinida",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
309 "Página web:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
310 "Ningún Enlace preferido",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
311 "Enlaces Preferidos 1:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
312 "Enlaces Preferidos 2:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
313 "Enlaces Preferidos 3:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
314 NULL
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
315 },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
316 { ES_US, "es_US", "ISO-8859-1",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
317 "ID de Yahoo!:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
318 "Privado",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
319 "No introdujo una respuesta",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
320 "Mi Dirección de correo-e",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
321 "Nombre real:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
322 "Localidad:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
323 "Edad:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
324 "Estado civil:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
325 "Sexo:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
326 "Ocupación:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
327 "Pasatiempos:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
328 "Ultimas Noticias:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
329 "Su cita Favorita",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
330 "Enlaces",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
331 "Ninguna Página de inicio predefinida",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
332 "Página de inicio:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
333 "Ningún Enlace preferido",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
334 "Enlaces Preferidos 1:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
335 "Enlaces Preferidos 2:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
336 "Enlaces Preferidos 3:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
337 NULL
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
338 },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
339 { FR_CA, "fr_CA", "ISO-8859-1",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
340 "Compte Yahoo!:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
341 "Privé",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
342 "Sans réponse",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
343 "Mon courriel",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
344 "Nom réel:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
345 "Lieu:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
346 "Âge:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
347 "État civil:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
348 "Sexe:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
349 "Profession:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
350 "Passe-temps:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
351 "Actualités:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
352 "Citation préférée",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
353 "Liens",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
354 "Pas de mention d'une page personnelle",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
355 "Page personnelle:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
356 "Pas de mention d'un lien favori",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
357 "Lien préféré 1:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
358 "Lien préféré 2:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
359 "Lien préféré 3:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
360 NULL
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
361 },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
362 { FR_FR, "fr_FR", "ISO-8859-1",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
363 "Compte Yahoo!:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
364 "Privé",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
365 "Sans réponse",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
366 "Mon E-mail",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
367 "Nom réel:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
368 "Lieu:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
369 "Âge:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
370 "Situation de famille:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
371 "Sexe:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
372 "Profession:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
373 "Centres d'intérêts:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
374 "Actualités:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
375 "Citation préférée",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
376 "Liens",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
377 "Pas de mention d'une page perso",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
378 "Page perso:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
379 "Pas de mention d'un lien favori",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
380 "Lien préféré 1:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
381 "Lien préféré 2:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
382 "Lien préféré 3:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
383 NULL
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
384 },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
385 { IT, "it", "ISO-8859-1",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
386 "ID Yahoo!:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
387 "Non pubblica",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
388 "Nessuna risposta",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
389 "La mia e-mail",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
390 "Nome vero:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
391 "Località:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
392 "Eta':",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
393 "Stato civile:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
394 "Sesso:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
395 "Occupazione:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
396 "Hobby:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
397 "Ultime notizie:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
398 "Citazione preferita",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
399 "Link",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
400 "Nessuna home page specificata",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
401 "Inizio:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
402 "Nessun link specificato",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
403 "Link Preferiti 1:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
404 "Link Preferiti 2:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
405 "Link Preferiti 3:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
406 NULL
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
407 },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
408 { JA, "ja", "EUC-JP",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
409 "Yahoo! JAPAN ID:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
410 "非公開",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
411 "無回答",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
412 "メール:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
413 "名前:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
414 "住所:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
415 "年齢:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
416 "未婚/既婚:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
417 "性別:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
418 "職業:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
419 "趣味:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
420 "最近の出来事:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
421 NULL,
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
422 #if 0
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
423 "おすすめサイト",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
424 #else
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
425 "自己PR", /* "Self description" comes before "Links" for yahoo.co.jp */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
426 #endif
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
427 NULL,
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
428 NULL,
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
429 NULL,
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
430 "おすすめサイト1:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
431 "おすすめサイト2:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
432 "おすすめサイト3:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
433 NULL
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
434 },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
435 { KO, "ko", "EUC-KR",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
436 "야후! ID:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
437 "비공개",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
438 "비공개",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
439 "My Email",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
440 "실명:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
441 "거주지:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
442 "나이:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
443 "결혼 여부:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
444 "성별:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
445 "직업:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
446 "취미:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
447 "자기 소개:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
448 "좋아하는 명언",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
449 "링크",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
450 "홈페이지를 지정하지 않았습니다.",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
451 "홈페이지:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
452 "추천 사이트가 없습니다.",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
453 "추천 사이트 1:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
454 "추천 사이트 2:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
455 "추천 사이트 3:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
456 NULL
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
457 },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
458 { NO, "no", "ISO-8859-1",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
459 "Yahoo! ID:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
460 "Privat",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
461 "Ikke noe svar",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
462 "Min e-post",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
463 "Virkelig navn:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
464 "Sted:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
465 "Alder:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
466 "Sivilstatus:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
467 "Kjønn:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
468 "Yrke:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
469 "Hobbyer:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
470 "Siste nytt:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
471 "Yndlingssitat",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
472 "Lenker",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
473 "Ingen hjemmeside angitt",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
474 "Hjemmeside:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
475 "No cool link specified",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
476 "Bra lenke 1:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
477 "Bra lenke 2:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
478 "Bra lenke 3:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
479 NULL
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
480 },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
481 { PT, "pt", "ISO-8859-1",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
482 "ID Yahoo!:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
483 "Particular",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
484 "Sem resposta",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
485 "Meu e-mail",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
486 "Nome verdadeiro:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
487 "Local:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
488 "Idade:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
489 "Estado civil:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
490 "Sexo:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
491 "Ocupação:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
492 "Hobbies:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
493 "Últimas notícias:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
494 "Frase favorita",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
495 "Links",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
496 "Nenhuma página pessoal especificada",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
497 "Página pessoal:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
498 "Nenhum site legal especificado",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
499 "Site legal 1:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
500 "Site legal 2:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
501 "Site legal 3:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
502 NULL
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
503 },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
504 { SV, "sv", "ISO-8859-1",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
505 "Yahoo!-ID:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
506 "Privat",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
507 "Inget svar",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
508 "Min mail",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
509 "Riktigt namn:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
510 "Plats:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
511 "Ålder:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
512 "Civilstånd:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
513 "Kön:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
514 "Yrke:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
515 "Hobby:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
516 "Senaste nytt:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
517 "Favoritcitat",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
518 "Länkar",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
519 "Ingen hemsida specificerad",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
520 "Hemsida:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
521 "Ingen cool länk specificerad",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
522 "Coola länkar 1:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
523 "Coola länkar 2:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
524 "Coola länkar 3:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
525 NULL
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
526 },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
527 { ZH_CN, "zh_CN", "GB2312",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
528 "Yahoo! ID:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
529 "没有提供",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
530 "没有回答",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
531 "个人电邮地址",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
532 "真实姓名:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
533 "所在地点:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
534 "年龄:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
535 "婚姻状况:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
536 "性别:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
537 "职业:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
538 "业余爱好:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
539 "个人近况:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
540 "喜欢的引言",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
541 "链接",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
542 "没有个人主页",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
543 "个人主页:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
544 "没有推荐网站链接",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
545 "推荐网站链接 1:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
546 "推荐网站链接 2:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
547 "推荐网站链接 3:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
548 NULL
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
549 },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
550 { ZH_HK, "zh_HK", "Big5",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
551 "Yahoo! ID:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
552 "私人的",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
553 "沒有回答",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
554 "電子信箱",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
555 "真實姓名:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
556 "地點:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
557 "年齡:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
558 "婚姻狀況:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
559 "性別:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
560 "職業:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
561 "嗜好:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
562 "最新消息:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
563 "最喜愛的股票叫價", /* [sic] Yahoo!'s translators don't check context */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
564 "連結",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
565 "沒有注明個人網頁", /* [sic] */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
566 "個人網頁:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
567 "沒有注明 Cool 連結", /* [sic] */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
568 "Cool 連結 1:", /* TODO */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
569 "Cool 連結 2:", /* TODO */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
570 "Cool 連結 3:", /* TODO */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
571 NULL
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
572 },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
573 { ZH_TW, "zh_TW", "Big5",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
574 "帳 號:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
575 "沒有提供",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
576 "沒有回應",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
577 "電子信箱",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
578 "姓名:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
579 "地點:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
580 "年齡:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
581 "婚姻狀態:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
582 "性別:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
583 "職業:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
584 "興趣:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
585 "個人近況:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
586 "喜歡的名句",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
587 "連結",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
588 "沒有個人網頁",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
589 "個人網頁:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
590 "沒有推薦網站連結",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
591 "推薦網站連結 1:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
592 "推薦網站連結 2:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
593 "推薦網站連結 3:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
594 NULL
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
595 },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
596 { ZH_US, "zh_US", "Big5", /* ZH_US is like ZH_TW, but also a bit like ZH_HK */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
597 "Yahoo! ID:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
598 "沒有提供",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
599 "沒有回答",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
600 "個人Email地址",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
601 "真實姓名:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
602 "地點:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
603 "年齡:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
604 "婚姻狀態:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
605 "性別:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
606 "職業:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
607 "嗜好:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
608 "個人近況:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
609 "喜歡的名句",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
610 "連結",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
611 "沒有個人網頁",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
612 "個人網頁:",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
613 "沒有推薦網站連結",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
614 "推薦網站連結 1:", /* TODO */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
615 "推薦網站連結 2:", /* TODO */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
616 "推薦網站連結 3:", /* TODO */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
617 NULL
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
618 },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
619 { XX, NULL, NULL, NULL, NULL, NULL, NULL },
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
620 };
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
621
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
622 static char *yahoo_remove_nonbreaking_spaces(char *str)
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
623 {
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
624 char *p;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
625 while ((p = strstr(str, "&nbsp;")) != NULL) {
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
626 *p = ' '; /* Turn &nbsp;'s into ordinary blanks */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
627 p += 1;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
628 memmove(p, p + 5, strlen(p + 5));
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
629 str[strlen(str) - 5] = '\0';
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
630 }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
631 return str;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
632 }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
633
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
634 static char *yahoo_tooltip_info_text(YahooGetInfoData *info_data) {
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
635 GString *s = g_string_sized_new(80); /* wild guess */
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
636 GaimBuddy *b;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
637
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
638 g_string_printf(s, _("<b>%s:</b> %s<br>"), _("Yahoo! ID"), info_data->name);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
639 b = gaim_find_buddy(gaim_connection_get_account(info_data->gc),
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
640 info_data->name);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
641
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
642 if (b) {
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
643 char *statustext = yahoo_tooltip_text(b);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
644 if(b->alias && b->alias[0]) {
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
645 char *aliastext = g_markup_escape_text(b->alias, -1);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
646 g_string_append_printf(s, _("<b>Alias:</b> %s<br>"), aliastext);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
647 g_free(aliastext);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
648 }
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
649 if (b->idle > 0) {
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
650 char *idletime = gaim_str_seconds_to_string(time(NULL) - b->idle);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
651 g_string_append_printf(s, _("<b>%s:</b> %s<br>"), _("Idle"),
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
652 idletime);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
653 g_free(idletime);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
654 }
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
655 if (statustext) {
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
656 g_string_append_printf(s, "%s<br>", statustext);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
657 g_free(statustext);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
658 }
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
659 }
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
660
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
661 return g_string_free(s, FALSE);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
662 }
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
663
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
664 #if PHOTO_SUPPORT
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
665
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
666 static char *yahoo_get_photo_url(const char *url_text, const char *name) {
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
667 GString *s = g_string_sized_new(strlen(name) + 8);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
668 char *p;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
669 char *it = NULL;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
670
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
671 g_string_printf(s, " alt=\"%s\">", name);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
672 p = strstr(url_text, s->str);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
673
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
674 if (p) {
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
675 /* Search backwards for "http://". This is stupid, but it works. */
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
676 for (; !it && p > url_text; p -= 1) {
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
677 if (strncmp(p, "\"http://", 8) == 0) {
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
678 char *q;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
679 p += 1; /* skip only the " */
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
680 q = strchr(p, '"');
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
681 if (q) {
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
682 it = g_strndup(p, q - p);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
683 }
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
684 }
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
685 }
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
686 }
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
687
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
688 g_string_free(s, TRUE);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
689 return it;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
690 }
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
691
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
692 static void yahoo_got_photo(void *data, const char *url_text, size_t len);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
693
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
694 #endif /* PHOTO_SUPPORT */
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
695
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
696 static void yahoo_got_info(void *data, const char *url_text, size_t len)
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
697 {
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
698 YahooGetInfoData *info_data = (YahooGetInfoData *)data;
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
699 char *p;
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
700 char buf[1024];
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
701 #if PHOTO_SUPPORT
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
702 YahooGetInfoStepTwoData *info2_data;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
703 char *photo_url_text = NULL;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
704 #else
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
705 gboolean found = FALSE;
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
706 char *stripped;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
707 int stripped_len;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
708 char *last_updated_utf8_string = NULL;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
709 #endif
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
710 const char *last_updated_string = NULL;
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
711 char *url_buffer;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
712 GString *s;
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
713 char *tooltip_text = NULL;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
714 char *profile_url_text = NULL;
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
715 int lang, strid;
9221
8054855f2bb9 [gaim-migrate @ 10017]
Tim Ringenbach <marv@pidgin.im>
parents: 9220
diff changeset
716 struct yahoo_data *yd;
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
717 const profile_strings_node_t *strings = NULL;
9221
8054855f2bb9 [gaim-migrate @ 10017]
Tim Ringenbach <marv@pidgin.im>
parents: 9220
diff changeset
718
8054855f2bb9 [gaim-migrate @ 10017]
Tim Ringenbach <marv@pidgin.im>
parents: 9220
diff changeset
719 if (!GAIM_CONNECTION_IS_VALID(info_data->gc)) {
8054855f2bb9 [gaim-migrate @ 10017]
Tim Ringenbach <marv@pidgin.im>
parents: 9220
diff changeset
720 g_free(info_data->name);
8054855f2bb9 [gaim-migrate @ 10017]
Tim Ringenbach <marv@pidgin.im>
parents: 9220
diff changeset
721 g_free(info_data);
8054855f2bb9 [gaim-migrate @ 10017]
Tim Ringenbach <marv@pidgin.im>
parents: 9220
diff changeset
722 return;
8054855f2bb9 [gaim-migrate @ 10017]
Tim Ringenbach <marv@pidgin.im>
parents: 9220
diff changeset
723 }
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
724
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
725 gaim_debug_info("yahoo", "In yahoo_got_info\n");
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
726
9221
8054855f2bb9 [gaim-migrate @ 10017]
Tim Ringenbach <marv@pidgin.im>
parents: 9220
diff changeset
727 yd = info_data->gc->proto_data;
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
728
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
729 /* Get the tooltip info string */
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
730 tooltip_text = yahoo_tooltip_info_text(info_data);
9221
8054855f2bb9 [gaim-migrate @ 10017]
Tim Ringenbach <marv@pidgin.im>
parents: 9220
diff changeset
731
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
732 /* We failed to grab the profile URL. This is not expected to actually
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
733 * happen except under unusual error conditions, as Yahoo is observed
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
734 * to send back HTML, with a 200 status code.
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
735 */
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
736 if (url_text == NULL || strcmp(url_text, "") == 0) {
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
737 g_snprintf(buf, 1024, "<html><body>%s<b>%s</b></body></html>",
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
738 tooltip_text, _("Error retrieving profile"));
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
739
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
740 gaim_notify_formatted(info_data->gc, NULL, _("Buddy Information"), NULL,
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
741 buf, NULL, NULL);
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
742
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
743 g_free(profile_url_text);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
744 g_free(tooltip_text);
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
745 g_free(info_data->name);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
746 g_free(info_data);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
747 return;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
748 }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
749
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
750 /* Construct the correct profile URL */
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
751 s = g_string_sized_new(80); /* wild guess */
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
752 g_string_printf(s, "%s%s", (yd->jp? YAHOOJP_PROFILE_URL: YAHOO_PROFILE_URL),
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
753 info_data->name);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
754 profile_url_text = g_string_free(s, FALSE);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
755 s = NULL;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
756
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
757 /* We don't yet support the multiple link level of the warning page for
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
758 * 'adult' profiles, not to mention the fact that yahoo wants you to be
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
759 * logged in (on the website) to be able to view an 'adult' profile. For
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
760 * now, just tell them that we can't help them, and provide a link to the
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
761 * profile if they want to do the web browser thing.
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
762 */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
763 p = strstr(url_text, "Adult Profiles Warning Message");
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
764 if (!p) {
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
765 p = strstr(url_text, "Adult Content Warning"); /* TITLE element */
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
766 }
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
767 if (p) {
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
768 g_snprintf(buf, 1024, "<html><body>%s<b>%s</b><br><br>\n"
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
769 "%s<br><a href=\"%s\">%s</a></body></html>",
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
770 tooltip_text,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
771 _("Sorry, profiles marked as containing adult content "
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
772 "are not supported at this time."),
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
773 _("If you wish to view this profile, "
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
774 "you will need to visit this link in your web browser"),
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
775 profile_url_text, profile_url_text);
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
776
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
777 gaim_notify_formatted(info_data->gc, NULL, _("Buddy Information"), NULL,
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
778 buf, NULL, NULL);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
779
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
780 g_free(profile_url_text);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
781 g_free(tooltip_text);
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
782 g_free(info_data->name);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
783 g_free(info_data);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
784 return;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
785 }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
786
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
787 /* Check whether the profile is written in a supported language */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
788 for (lang = 0;; lang += 1) {
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
789 last_updated_string = profile_langs[lang].last_updated_string;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
790 if (!last_updated_string) break;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
791 p = strstr(url_text, last_updated_string);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
792 if (p && profile_langs[lang].det && !strstr(url_text, profile_langs[lang].det)) {
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
793 p = NULL;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
794 }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
795 if (p) break;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
796 }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
797 if (p) {
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
798 for (strid = 0; profile_strings[strid].lang != XX; strid += 1) {
9221
8054855f2bb9 [gaim-migrate @ 10017]
Tim Ringenbach <marv@pidgin.im>
parents: 9220
diff changeset
799 if (profile_strings[strid].lang == profile_langs[lang].lang) break;
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
800 }
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
801 strings = profile_strings + strid;
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
802 gaim_debug_info("yahoo", "detected profile lang = %s (%d)\n", profile_strings[strid].lang_string, lang);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
803 }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
804
9220
f0488214826f [gaim-migrate @ 10016]
Tim Ringenbach <marv@pidgin.im>
parents: 9164
diff changeset
805 /* Every user may choose his/her own profile language, and this language
f0488214826f [gaim-migrate @ 10016]
Tim Ringenbach <marv@pidgin.im>
parents: 9164
diff changeset
806 * has nothing to do with the preferences of the user which looks at the
f0488214826f [gaim-migrate @ 10016]
Tim Ringenbach <marv@pidgin.im>
parents: 9164
diff changeset
807 * profile. We try to support all languages, but nothing is guaranteed.
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
808 * If we cannot determine the language, it means either (1) the profile
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
809 * is written in an unsupported language, (2) our language support is
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
810 * out of date, or (3) the user is not found.
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
811 */
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
812 if (!p || strings->lang == XX) {
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
813 if (!strstr(url_text, "Yahoo! Member Directory - User not found")
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
814 && !strstr(url_text, "was not found on this server.")
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
815 && !strstr(url_text, "\xb8\xf8\xb3\xab\xa5\xd7\xa5\xed\xa5\xd5\xa5\xa3\xa1\xbc\xa5\xeb\xa4\xac\xb8\xab\xa4\xc4\xa4\xab\xa4\xea\xa4\xde\xa4\xbb\xa4\xf3")) {
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
816 g_snprintf(buf, 1024, "<html><body>%s<b>%s</b><br><br>\n"
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
817 "%s<br><a href=\"%s\">%s</a></body></html>",
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
818 tooltip_text,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
819 _("Sorry, this profile seems to be in a language "
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
820 "that is not supported at this time."),
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
821 _("If you wish to view this profile, "
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
822 "you will need to visit this link in your web browser"),
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
823 profile_url_text, profile_url_text);
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
824 } else {
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
825 g_snprintf(buf, 1024, "<html><body>%s<b>%s</b></body></html>",
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
826 tooltip_text, _("Error retrieving profile"));
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
827 }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
828
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
829 gaim_notify_formatted(info_data->gc, NULL, _("Buddy Information"), NULL,
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
830 buf, NULL, NULL);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
831
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
832 g_free(profile_url_text);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
833 g_free(tooltip_text);
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
834 g_free(info_data->name);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
835 g_free(info_data);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
836 return;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
837 }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
838
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
839 #if PHOTO_SUPPORT
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
840 photo_url_text = yahoo_get_photo_url(url_text, info_data->name);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
841 #endif
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
842
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
843 url_buffer = g_strdup(url_text);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
844
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
845 /*
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
846 * gaim_markup_strip_html() doesn't strip out character entities like &nbsp;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
847 * and &#183;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
848 */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
849 yahoo_remove_nonbreaking_spaces(url_buffer);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
850 #if 1
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
851 while ((p = strstr(url_buffer, "&#183;")) != NULL) {
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
852 memmove(p, p + 6, strlen(p + 6));
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
853 url_buffer[strlen(url_buffer) - 6] = '\0';
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
854 }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
855 #endif
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
856
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
857 /* nuke the nasty \r's */
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
858 gaim_str_strip_cr(url_buffer);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
859
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
860 #if PHOTO_SUPPORT
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
861
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
862 /* Marshall the existing state */
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
863 info2_data = g_malloc(sizeof(YahooGetInfoStepTwoData));
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
864 info2_data->info_data = info_data;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
865 info2_data->url_buffer = url_buffer;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
866 info2_data->s = s;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
867 info2_data->photo_url_text = photo_url_text;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
868 info2_data->profile_url_text = profile_url_text;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
869 info2_data->tooltip_text = tooltip_text;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
870 info2_data->strings = strings;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
871 info2_data->last_updated_string = last_updated_string;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
872
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
873 /* Try to put the photo in there too, if there's one */
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
874 if (photo_url_text) {
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
875 /* User-uploaded photos use a different server that requires the Host
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
876 * header, but Yahoo Japan will use the "chunked" content encoding if
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
877 * we specify HTTP 1.1. So we have to specify 1.0 & fix gaim_url_fetch
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
878 */
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
879 gaim_url_fetch(photo_url_text, FALSE, NULL, FALSE, yahoo_got_photo,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
880 info2_data);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
881 } else {
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
882 /* Emulate a callback */
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
883 yahoo_got_photo(info2_data, NULL, 0);
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
884 }
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
885 }
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
886
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
887 static void yahoo_got_photo(void *data, const char *url_text, size_t len)
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
888 {
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
889 YahooGetInfoStepTwoData *info2_data = (YahooGetInfoStepTwoData *)data;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
890 gboolean found = FALSE;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
891 int id = -1;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
892
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
893 /* Temporary variables */
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
894 char *p = NULL;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
895 char *stripped;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
896 int stripped_len;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
897 char *last_updated_utf8_string = NULL;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
898
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
899 /* Unmarshall the saved state */
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
900 YahooGetInfoData *info_data = info2_data->info_data;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
901 char *url_buffer = info2_data->url_buffer;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
902 GString *s = info2_data->s;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
903 char *photo_url_text = info2_data->photo_url_text;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
904 char *profile_url_text = info2_data->profile_url_text;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
905 char *tooltip_text = info2_data->tooltip_text;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
906 const profile_strings_node_t *strings = info2_data->strings;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
907 const char *last_updated_string = info2_data->last_updated_string;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
908
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
909 /* We continue here from yahoo_got_info, as if nothing has happened */
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
910 #endif /* PHOTO_SUPPORT */
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
911
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
912 /* nuke the html, it's easier than trying to parse the horrid stuff */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
913 stripped = gaim_markup_strip_html(url_buffer);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
914 stripped_len = strlen(stripped);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
915
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
916 gaim_debug_misc("yahoo", "stripped = %p\n", stripped);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
917 gaim_debug_misc("yahoo", "url_buffer = %p\n", url_buffer);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
918
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
919 /* convert to utf8 */
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
920 p = g_convert(stripped, -1, "utf-8", strings->charset, NULL, NULL, NULL);
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
921 if (!p) {
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
922 p = g_locale_to_utf8(stripped, -1, NULL, NULL, NULL);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
923 if (!p) {
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
924 p = g_convert(stripped, -1, "utf-8", "windows-1252", NULL, NULL, NULL);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
925 }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
926 }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
927 if (p) {
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
928 g_free(stripped);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
929 stripped = gaim_utf8_ncr_decode(p);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
930 stripped_len = strlen(stripped);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
931 g_free(p);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
932 p = stripped;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
933 }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
934 /* FIXME need error dialog here */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
935
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
936 /* "Last updated" should also be converted to utf8 and with &nbsp; killed */
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
937 last_updated_utf8_string = g_convert(last_updated_string, -1, "utf-8",
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
938 strings->charset, NULL, NULL, NULL);
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
939 yahoo_remove_nonbreaking_spaces(last_updated_utf8_string);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
940
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
941 gaim_debug_misc("yahoo", "after utf8 conversion: stripped = (%s)\n", stripped);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
942
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
943 /* gonna re-use the memory we've already got for url_buffer */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
944 /* no we're not */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
945 s = g_string_sized_new(strlen(url_buffer));
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
946 g_string_append(s, "<html><body>\n");
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
947
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
948 #if 0
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
949 /* extract their Yahoo! ID and put it in. Don't bother marking has_info as
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
950 * true, since the Yahoo! ID will always be there */
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
951 if (!gaim_markup_extract_info_field(stripped, stripped_len, s,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
952 strings->yahoo_id_string, 2, "\n", 0,
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
953 NULL, _("Yahoo! ID"), 0, NULL))
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
954 ;
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
955 #endif
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
956
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
957 /* Put the Yahoo! ID, nickname, idle time, and status message in */
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
958 g_string_append(s, tooltip_text);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
959
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
960 #if PHOTO_SUPPORT
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
961
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
962 /* Try to put the photo in there too, if there's one and is readable */
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
963 if (data && url_text && len != 0) {
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
964 if (strstr(url_text, "400 Bad Request")
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
965 || strstr(url_text, "403 Forbidden")
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
966 || strstr(url_text, "404 Not Found")) {
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
967
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
968 gaim_debug_info("yahoo", "Error getting %s: %s\n",
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
969 photo_url_text, url_text);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
970 } else {
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
971 gaim_debug_info("yahoo", "%s is %d bytes\n", photo_url_text, len);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
972 id = gaim_imgstore_add(url_text, len, NULL);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
973 g_string_append_printf(s, "<img id=\"%d\"><br>", id);
9220
f0488214826f [gaim-migrate @ 10016]
Tim Ringenbach <marv@pidgin.im>
parents: 9164
diff changeset
974 }
f0488214826f [gaim-migrate @ 10016]
Tim Ringenbach <marv@pidgin.im>
parents: 9164
diff changeset
975 }
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
976
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
977 #endif /* PHOTO_SUPPORT */
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
978
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
979 /* extract their Email address and put it in */
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
980 found |= gaim_markup_extract_info_field(stripped, stripped_len, s,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
981 strings->my_email_string, 5, "\n", 0,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
982 strings->private_string, _("Email"), 0, NULL);
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
983
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
984 /* extract the Nickname if it exists */
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
985 found |= gaim_markup_extract_info_field(stripped, stripped_len, s,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
986 "Nickname:", 1, "\n", '\n',
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
987 NULL, _("Nickname"), 0, NULL);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
988
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
989 /* extract their RealName and put it in */
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
990 found |= gaim_markup_extract_info_field(stripped, stripped_len, s,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
991 strings->realname_string, 1, "\n", '\n',
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
992 NULL, _("Realname"), 0, NULL);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
993
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
994 /* extract their Location and put it in */
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
995 found |= gaim_markup_extract_info_field(stripped, stripped_len, s,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
996 strings->location_string, 2, "\n", '\n',
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
997 NULL, _("Location"), 0, NULL);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
998
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
999 /* extract their Age and put it in */
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1000 found |= gaim_markup_extract_info_field(stripped, stripped_len, s,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1001 strings->age_string, 3, "\n", '\n',
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1002 NULL, _("Age"), 0, NULL);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1003
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1004 /* extract their MaritalStatus and put it in */
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1005 found |= gaim_markup_extract_info_field(stripped, stripped_len, s,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1006 strings->maritalstatus_string, 3, "\n", '\n',
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1007 strings->no_answer_string, _("Marital Status"), 0, NULL);
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1008
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1009 /* extract their Gender and put it in */
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1010 found |= gaim_markup_extract_info_field(stripped, stripped_len, s,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1011 strings->gender_string, 3, "\n", '\n',
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1012 strings->no_answer_string, _("Gender"), 0, NULL);
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1013
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1014 /* extract their Occupation and put it in */
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1015 found |= gaim_markup_extract_info_field(stripped, stripped_len, s,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1016 strings->occupation_string, 2, "\n", '\n',
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1017 NULL, _("Occupation"), 0, NULL);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1018
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1019 /* Hobbies, Latest News, and Favorite Quote are a bit different, since
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1020 * the values can contain embedded newlines... but any or all of them
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1021 * can also not appear. The way we delimit them is to successively
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1022 * look for the next one that _could_ appear, and if all else fails,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1023 * we end the section by looking for the 'Links' heading, which is the
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1024 * next thing to follow this bunch. (For Yahoo Japan, we check for
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1025 * the "Description" ("Self PR") heading instead of "Links".)
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1026 */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1027
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1028 if (!gaim_markup_extract_info_field(stripped, stripped_len, s,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1029 strings->hobbies_string, 1, strings->latest_news_string,
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1030 '\n', NULL, _("Hobbies"), 0, NULL))
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1031 {
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1032 if (!gaim_markup_extract_info_field(stripped, stripped_len, s,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1033 strings->hobbies_string, 1, strings->favorite_quote_string,
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1034 '\n', NULL, _("Hobbies"), 0, NULL))
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1035 {
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1036 found |= gaim_markup_extract_info_field(stripped, stripped_len, s,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1037 strings->hobbies_string, 1, strings->links_string,
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1038 '\n', NULL, _("Hobbies"), 0, NULL);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1039 }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1040 else
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1041 found = TRUE;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1042 }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1043 else
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1044 found = TRUE;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1045
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1046 if (!gaim_markup_extract_info_field(stripped, stripped_len, s,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1047 strings->latest_news_string, 1, strings->favorite_quote_string,
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1048 '\n', NULL, _("Latest News"), 0, NULL))
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1049 {
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1050 found |= gaim_markup_extract_info_field(stripped, stripped_len, s,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1051 strings->latest_news_string, 1, strings->links_string,
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1052 '\n', NULL, _("Latest News"), 0, NULL);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1053 }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1054 else
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1055 found = TRUE;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1056
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1057 found |= gaim_markup_extract_info_field(stripped, stripped_len, s,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1058 strings->favorite_quote_string, 1, strings->links_string,
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1059 '\n', NULL, _("Favorite Quote"), 0, NULL);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1060
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1061 /* Home Page will either be "No home page specified",
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1062 * or "Home Page: " and a link.
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1063 * For Yahoo! Japan, if there is no home page specified,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1064 * neither "No home page specified" nor "Home Page:" is shown.
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1065 */
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1066 if (strings->home_page_string) {
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1067 p = !strings->no_home_page_specified_string? NULL:
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1068 strstr(stripped, strings->no_home_page_specified_string);
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1069 if(!p)
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1070 {
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1071 found |= gaim_markup_extract_info_field(stripped, stripped_len, s,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1072 strings->home_page_string, 1, "\n", 0, NULL,
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1073 _("Home Page"), 1, NULL);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1074 }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1075 }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1076
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1077 /* Cool Link {1,2,3} is also different. If "No cool link specified"
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1078 * exists, then we have none. If we have one however, we'll need to
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1079 * check and see if we have a second one. If we have a second one,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1080 * we have to check to see if we have a third one.
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1081 */
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1082 p = !strings->no_cool_link_specified_string? NULL:
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1083 strstr(stripped,strings->no_cool_link_specified_string);
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1084 if (!p)
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1085 {
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1086 if (gaim_markup_extract_info_field(stripped, stripped_len, s,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1087 strings->cool_link_1_string, 1, "\n", 0, NULL,
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1088 _("Cool Link 1"), 1, NULL))
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1089 {
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1090 found = TRUE;
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1091 if (gaim_markup_extract_info_field(stripped, stripped_len, s,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1092 strings->cool_link_2_string, 1, "\n", 0, NULL,
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1093 _("Cool Link 2"), 1, NULL))
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1094 {
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1095 gaim_markup_extract_info_field(stripped, stripped_len, s,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1096 strings->cool_link_3_string, 1, "\n", 0, NULL,
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1097 _("Cool Link 3"), 1, NULL);
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1098 }
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1099 }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1100 }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1101
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1102 /* see if Member Since is there, and if so, extract it. */
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1103 found |= gaim_markup_extract_info_field(stripped, stripped_len, s,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1104 "Member Since:", 1, last_updated_utf8_string,
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1105 '\n', NULL, _("Member Since"), 0, NULL);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1106
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1107 /* extract the Last Updated date and put it in */
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1108 found |= gaim_markup_extract_info_field(stripped, stripped_len, s,
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1109 last_updated_utf8_string, 0, "\n", '\n', NULL,
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1110 _("Last Updated"), 0, NULL);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1111
9220
f0488214826f [gaim-migrate @ 10016]
Tim Ringenbach <marv@pidgin.im>
parents: 9164
diff changeset
1112 /* put a link to the actual profile URL */
f0488214826f [gaim-migrate @ 10016]
Tim Ringenbach <marv@pidgin.im>
parents: 9164
diff changeset
1113 g_string_append_printf(s, _("<b>%s:</b> "), _("Profile URL"));
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1114 g_string_append_printf(s, "<br><a href=\"%s\">%s</a><br>",
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1115 profile_url_text, profile_url_text);
9220
f0488214826f [gaim-migrate @ 10016]
Tim Ringenbach <marv@pidgin.im>
parents: 9164
diff changeset
1116
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1117 /* finish off the html */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1118 g_string_append(s, "</body></html>\n");
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1119 g_free(stripped);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1120
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1121 if(found)
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1122 {
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1123 /* show it to the user */
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1124 gaim_notify_formatted(info_data->gc, NULL, _("Buddy Information"), NULL,
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1125 s->str, NULL, NULL);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1126 }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1127 else
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1128 {
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1129 char *primary;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1130 primary = g_strdup_printf(_("User information for %s unavailable"), info_data->name);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1131 gaim_notify_error(info_data->gc, NULL, primary,
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1132 _("The user's profile is empty."));
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1133 g_free(primary);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1134 }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1135
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1136 g_free(last_updated_utf8_string);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1137 g_free(url_buffer);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1138 g_string_free(s, TRUE);
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1139 g_free(profile_url_text);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1140 g_free(tooltip_text);
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1141 g_free(info_data->name);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1142 g_free(info_data);
9242
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1143
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1144 #if PHOTO_SUPPORT
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1145 g_free(photo_url_text);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1146 g_free(info2_data);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1147 if (id != -1)
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1148 gaim_imgstore_unref(id);
fb517adf4972 [gaim-migrate @ 10041]
Tim Ringenbach <marv@pidgin.im>
parents: 9221
diff changeset
1149 #endif
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1150 }
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1151
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1152 void yahoo_get_info(GaimConnection *gc, const char *name)
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1153 {
9164
76125b842b23 [gaim-migrate @ 9949]
Tim Ringenbach <marv@pidgin.im>
parents: 9162
diff changeset
1154 struct yahoo_data *yd = gc->proto_data;
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1155 YahooGetInfoData *data;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1156 char *url;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1157
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1158 data = g_new0(YahooGetInfoData, 1);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1159 data->gc = gc;
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1160 data->name = g_strdup(name);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1161
9221
8054855f2bb9 [gaim-migrate @ 10017]
Tim Ringenbach <marv@pidgin.im>
parents: 9220
diff changeset
1162 url = g_strdup_printf("%s%s",
8054855f2bb9 [gaim-migrate @ 10017]
Tim Ringenbach <marv@pidgin.im>
parents: 9220
diff changeset
1163 (yd->jp? YAHOOJP_PROFILE_URL: YAHOO_PROFILE_URL), name);
9162
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1164
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1165 gaim_url_fetch(url, FALSE, NULL, FALSE, yahoo_got_info, data);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1166
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1167 g_free(url);
82aa3bc494de [gaim-migrate @ 9947]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
1168 }