src/protocols/silc/util.c

changeset 13546
0700f0c29e14
parent 12217
ea610d8ab584
child 13660
3ade3ab0b2ae
equal deleted inserted replaced
13545:4647ec0d8a83 13546:0700f0c29e14
313 sum: 3 tabs or 24 characters) */ 313 sum: 3 tabs or 24 characters) */
314 g_string_append_printf(s, _("Real Name: \t%s\n"), ident->realname); 314 g_string_append_printf(s, _("Real Name: \t%s\n"), ident->realname);
315 if (ident->username) 315 if (ident->username)
316 g_string_append_printf(s, _("User Name: \t%s\n"), ident->username); 316 g_string_append_printf(s, _("User Name: \t%s\n"), ident->username);
317 if (ident->email) 317 if (ident->email)
318 g_string_append_printf(s, _("EMail: \t\t%s\n"), ident->email); 318 g_string_append_printf(s, _("E-Mail: \t\t%s\n"), ident->email);
319 if (ident->host) 319 if (ident->host)
320 g_string_append_printf(s, _("Host Name: \t%s\n"), ident->host); 320 g_string_append_printf(s, _("Host Name: \t%s\n"), ident->host);
321 if (ident->org) 321 if (ident->org)
322 g_string_append_printf(s, _("Organization: \t%s\n"), ident->org); 322 g_string_append_printf(s, _("Organization: \t%s\n"), ident->org);
323 if (ident->country) 323 if (ident->country)
507 attr = silcgaim_get_attr(attrs, SILC_ATTRIBUTE_PREFERRED_CONTACT); 507 attr = silcgaim_get_attr(attrs, SILC_ATTRIBUTE_PREFERRED_CONTACT);
508 if (attr && silc_attribute_get_object(attr, &contact, sizeof(contact))) { 508 if (attr && silc_attribute_get_object(attr, &contact, sizeof(contact))) {
509 if (contact & SILC_ATTRIBUTE_CONTACT_CHAT) 509 if (contact & SILC_ATTRIBUTE_CONTACT_CHAT)
510 g_string_append_printf(s, "[%s] ", _("Chat")); 510 g_string_append_printf(s, "[%s] ", _("Chat"));
511 if (contact & SILC_ATTRIBUTE_CONTACT_EMAIL) 511 if (contact & SILC_ATTRIBUTE_CONTACT_EMAIL)
512 g_string_append_printf(s, "[%s] ", _("Email")); 512 g_string_append_printf(s, "[%s] ", _("E-Mail"));
513 if (contact & SILC_ATTRIBUTE_CONTACT_CALL) 513 if (contact & SILC_ATTRIBUTE_CONTACT_CALL)
514 g_string_append_printf(s, "[%s] ", _("Phone")); 514 g_string_append_printf(s, "[%s] ", _("Phone"));
515 if (contact & SILC_ATTRIBUTE_CONTACT_PAGE) 515 if (contact & SILC_ATTRIBUTE_CONTACT_PAGE)
516 g_string_append_printf(s, "[%s] ", _("Paging")); 516 g_string_append_printf(s, "[%s] ", _("Paging"));
517 if (contact & SILC_ATTRIBUTE_CONTACT_SMS) 517 if (contact & SILC_ATTRIBUTE_CONTACT_SMS)

mercurial