src/protocols/jabber/buddy.c

changeset 13546
0700f0c29e14
parent 13345
5c3833c02134
child 13572
3ff6649d8da6
equal deleted inserted replaced
13545:4647ec0d8a83 13546:0700f0c29e14
256 {N_("Locality"), NULL, TRUE, TRUE, "LOCALITY", "ADR", NULL}, 256 {N_("Locality"), NULL, TRUE, TRUE, "LOCALITY", "ADR", NULL},
257 {N_("Region"), NULL, TRUE, TRUE, "REGION", "ADR", NULL}, 257 {N_("Region"), NULL, TRUE, TRUE, "REGION", "ADR", NULL},
258 {N_("Postal Code"), NULL, TRUE, TRUE, "PCODE", "ADR", NULL}, 258 {N_("Postal Code"), NULL, TRUE, TRUE, "PCODE", "ADR", NULL},
259 {N_("Country"), NULL, TRUE, TRUE, "CTRY", "ADR", NULL}, 259 {N_("Country"), NULL, TRUE, TRUE, "CTRY", "ADR", NULL},
260 {N_("Telephone"), NULL, TRUE, TRUE, "NUMBER", "TEL", NULL}, 260 {N_("Telephone"), NULL, TRUE, TRUE, "NUMBER", "TEL", NULL},
261 {N_("Email"), NULL, TRUE, TRUE, "USERID", "EMAIL", "<A HREF=\"mailto:%s\">%s</A>"}, 261 {N_("E-Mail"), NULL, TRUE, TRUE, "USERID", "EMAIL", "<A HREF=\"mailto:%s\">%s</A>"},
262 {N_("Organization Name"), NULL, TRUE, TRUE, "ORGNAME", "ORG", NULL}, 262 {N_("Organization Name"), NULL, TRUE, TRUE, "ORGNAME", "ORG", NULL},
263 {N_("Organization Unit"), NULL, TRUE, TRUE, "ORGUNIT", "ORG", NULL}, 263 {N_("Organization Unit"), NULL, TRUE, TRUE, "ORGUNIT", "ORG", NULL},
264 {N_("Title"), NULL, TRUE, TRUE, "TITLE", NULL, NULL}, 264 {N_("Title"), NULL, TRUE, TRUE, "TITLE", NULL, NULL},
265 {N_("Role"), NULL, TRUE, TRUE, "ROLE", NULL, NULL}, 265 {N_("Role"), NULL, TRUE, TRUE, "ROLE", NULL, NULL},
266 {N_("Birthday"), NULL, TRUE, TRUE, "BDAY", NULL, NULL}, 266 {N_("Birthday"), NULL, TRUE, TRUE, "BDAY", NULL, NULL},
774 /* show what kind of email it is */ 774 /* show what kind of email it is */
775 userid = xmlnode_get_data(child2); 775 userid = xmlnode_get_data(child2);
776 if(userid) { 776 if(userid) {
777 g_string_append_printf(info_text, 777 g_string_append_printf(info_text,
778 "<b>%s:</b> <a href='mailto:%s'>%s</a><br/>", 778 "<b>%s:</b> <a href='mailto:%s'>%s</a><br/>",
779 _("Email"), userid, userid); 779 _("E-Mail"), userid, userid);
780 g_free(userid); 780 g_free(userid);
781 } 781 }
782 } else if((userid = xmlnode_get_data(child))) { 782 } else if((userid = xmlnode_get_data(child))) {
783 /* lots of clients (including gaim) do this, but it's 783 /* lots of clients (including gaim) do this, but it's
784 * out of spec */ 784 * out of spec */
785 g_string_append_printf(info_text, 785 g_string_append_printf(info_text,
786 "<b>%s:</b> <a href='mailto:%s'>%s</a><br/>", 786 "<b>%s:</b> <a href='mailto:%s'>%s</a><br/>",
787 _("Email"), userid, userid); 787 _("E-Mail"), userid, userid);
788 g_free(userid); 788 g_free(userid);
789 } 789 }
790 } else if(!strcmp(child->name, "ORG")) { 790 } else if(!strcmp(child->name, "ORG")) {
791 for(child2 = child->child; child2; child2 = child2->next) 791 for(child2 = child->child; child2; child2 = child2->next)
792 { 792 {

mercurial