| 1570 |
1560 |
| 1571 |
1561 |
| 1572 /* Social */ |
1562 /* Social */ |
| 1573 MSN_GOT_INFO_GET_FIELD("Marital status", _("Marital Status")); |
1563 MSN_GOT_INFO_GET_FIELD("Marital status", _("Marital Status")); |
| 1574 #if 0 /* XXX: undo this when strings have thawed */ |
1564 #if 0 /* XXX: undo this when strings have thawed */ |
| 1575 MSN_GOT_INFO_GET_FIELD("Interested in", _("Interested in")); |
1565 MSN_GOT_INFO_GET_FIELD("Interested in", gX_("Interested in")); |
| 1576 MSN_GOT_INFO_GET_FIELD("Pets", _("Pets")); |
1566 MSN_GOT_INFO_GET_FIELD("Pets", gX_("Pets")); |
| 1577 MSN_GOT_INFO_GET_FIELD("Hometown", _("Hometown")); |
1567 MSN_GOT_INFO_GET_FIELD("Hometown", gX_("Hometown")); |
| 1578 MSN_GOT_INFO_GET_FIELD("Places lived", _("Places lived")); |
1568 MSN_GOT_INFO_GET_FIELD("Places lived", gX_("Places lived")); |
| 1579 MSN_GOT_INFO_GET_FIELD("Fashion", _("Fashion")); |
1569 MSN_GOT_INFO_GET_FIELD("Fashion", gX_("Fashion")); |
| 1580 MSN_GOT_INFO_GET_FIELD("Humor", _("Humor")); |
1570 MSN_GOT_INFO_GET_FIELD("Humor", gX_("Humor")); |
| 1581 MSN_GOT_INFO_GET_FIELD("Music", _("Music")); |
1571 MSN_GOT_INFO_GET_FIELD("Music", gX_("Music")); |
| 1582 #endif |
1572 #endif |
| 1583 MSN_GOT_INFO_GET_FIELD("Favorite quote", _("Favorite Quote")); |
1573 MSN_GOT_INFO_GET_FIELD("Favorite quote", _("Favorite Quote")); |
| 1584 |
1574 |
| 1585 if (sect_info) |
1575 if (sect_info) |
| 1586 { |
1576 { |
| 1587 #if 0 /* XXX: undo this when strings have thawed */ |
1577 #if 0 /* XXX: undo this when strings have thawed */ |
| 1588 g_string_append_printf(s2, _("%s<b>Social</b><br>%s"), has_info ? "<br><hr>" : "", s->str); |
1578 g_string_append_printf(s2, gX_("%s<b>Social</b><br>%s"), has_info ? "<br><hr>" : "", s->str); |
| 1589 #else |
1579 #else |
| 1590 g_string_append_printf(s2, "%s%s", has_info ? "<br><hr>" : "", s->str); |
1580 g_string_append_printf(s2, "%s%s", has_info ? "<br><hr>" : "", s->str); |
| 1591 #endif |
1581 #endif |
| 1592 s = g_string_truncate(s, 0); |
1582 s = g_string_truncate(s, 0); |
| 1593 has_info = TRUE; |
1583 has_info = TRUE; |
| 1595 } |
1585 } |
| 1596 |
1586 |
| 1597 #if 0 /* XXX: undo this when strings have thawed */ |
1587 #if 0 /* XXX: undo this when strings have thawed */ |
| 1598 /* Contact Info */ |
1588 /* Contact Info */ |
| 1599 /* Personal */ |
1589 /* Personal */ |
| 1600 MSN_GOT_INFO_GET_FIELD("Name", _("Name")); |
1590 MSN_GOT_INFO_GET_FIELD("Name", gX_("Name")); |
| 1601 MSN_GOT_INFO_GET_FIELD("Significant other", _("Significant other")); |
1591 MSN_GOT_INFO_GET_FIELD("Significant other", gX_("Significant other")); |
| 1602 MSN_GOT_INFO_GET_FIELD("Home phone", _("Home phone")); |
1592 MSN_GOT_INFO_GET_FIELD("Home phone", gX_("Home phone")); |
| 1603 MSN_GOT_INFO_GET_FIELD("Home phone 2", _("Home phone 2")); |
1593 MSN_GOT_INFO_GET_FIELD("Home phone 2", gX_("Home phone 2")); |
| 1604 MSN_GOT_INFO_GET_FIELD("Home address", _("Home address")); |
1594 MSN_GOT_INFO_GET_FIELD("Home address", gX_("Home address")); |
| 1605 MSN_GOT_INFO_GET_FIELD("Personal Mobile", _("Personal Mobile")); |
1595 MSN_GOT_INFO_GET_FIELD("Personal Mobile", gX_("Personal Mobile")); |
| 1606 MSN_GOT_INFO_GET_FIELD("Home fax", _("Home fax")); |
1596 MSN_GOT_INFO_GET_FIELD("Home fax", gX_("Home fax")); |
| 1607 MSN_GOT_INFO_GET_FIELD("Personal e-mail", _("Personal e-mail")); |
1597 MSN_GOT_INFO_GET_FIELD("Personal e-mail", gX_("Personal e-mail")); |
| 1608 MSN_GOT_INFO_GET_FIELD("Personal IM", _("Personal IM")); |
1598 MSN_GOT_INFO_GET_FIELD("Personal IM", gX_("Personal IM")); |
| 1609 MSN_GOT_INFO_GET_FIELD("Birthday", _("Birthday")); |
1599 MSN_GOT_INFO_GET_FIELD("Birthday", gX_("Birthday")); |
| 1610 MSN_GOT_INFO_GET_FIELD("Anniversary", _("Anniversary")); |
1600 MSN_GOT_INFO_GET_FIELD("Anniversary", gX_("Anniversary")); |
| 1611 MSN_GOT_INFO_GET_FIELD("Notes", _("Notes")); |
1601 MSN_GOT_INFO_GET_FIELD("Notes", gX_("Notes")); |
| 1612 |
1602 |
| 1613 if (sect_info) |
1603 if (sect_info) |
| 1614 { |
1604 { |
| 1615 personal = g_strdup_printf(_("<br><b>Personal</b><br>%s"), s->str); |
1605 personal = g_strdup_printf(gX_("<br><b>Personal</b><br>%s"), s->str); |
| 1616 s = g_string_truncate(s, 0); |
1606 s = g_string_truncate(s, 0); |
| 1617 sect_info = FALSE; |
1607 sect_info = FALSE; |
| 1618 } |
1608 } |
| 1619 |
1609 |
| 1620 /* Business */ |
1610 /* Business */ |
| 1621 MSN_GOT_INFO_GET_FIELD("Name", _("Name")); |
1611 MSN_GOT_INFO_GET_FIELD("Name", gX_("Name")); |
| 1622 MSN_GOT_INFO_GET_FIELD("Job title", _("Job title")); |
1612 MSN_GOT_INFO_GET_FIELD("Job title", gX_("Job title")); |
| 1623 MSN_GOT_INFO_GET_FIELD("Company", _("Company")); |
1613 MSN_GOT_INFO_GET_FIELD("Company", gX_("Company")); |
| 1624 MSN_GOT_INFO_GET_FIELD("Department", _("Department")); |
1614 MSN_GOT_INFO_GET_FIELD("Department", gX_("Department")); |
| 1625 MSN_GOT_INFO_GET_FIELD("Profession", _("Profession")); |
1615 MSN_GOT_INFO_GET_FIELD("Profession", gX_("Profession")); |
| 1626 MSN_GOT_INFO_GET_FIELD("Work phone 1", _("Work phone 1")); |
1616 MSN_GOT_INFO_GET_FIELD("Work phone 1", gX_("Work phone 1")); |
| 1627 MSN_GOT_INFO_GET_FIELD("Work phone 2", _("Work phone 2")); |
1617 MSN_GOT_INFO_GET_FIELD("Work phone 2", gX_("Work phone 2")); |
| 1628 MSN_GOT_INFO_GET_FIELD("Work address", _("Work address")); |
1618 MSN_GOT_INFO_GET_FIELD("Work address", gX_("Work address")); |
| 1629 MSN_GOT_INFO_GET_FIELD("Work mobile", _("Work mobile")); |
1619 MSN_GOT_INFO_GET_FIELD("Work mobile", gX_("Work mobile")); |
| 1630 MSN_GOT_INFO_GET_FIELD("Work pager", _("Work pager")); |
1620 MSN_GOT_INFO_GET_FIELD("Work pager", gX_("Work pager")); |
| 1631 MSN_GOT_INFO_GET_FIELD("Work fax", _("Work fax")); |
1621 MSN_GOT_INFO_GET_FIELD("Work fax", gX_("Work fax")); |
| 1632 MSN_GOT_INFO_GET_FIELD("Work e-mail", _("Work e-mail")); |
1622 MSN_GOT_INFO_GET_FIELD("Work e-mail", gX_("Work e-mail")); |
| 1633 MSN_GOT_INFO_GET_FIELD("Work IM", _("Work IM")); |
1623 MSN_GOT_INFO_GET_FIELD("Work IM", gX_("Work IM")); |
| 1634 MSN_GOT_INFO_GET_FIELD("Start date", _("Start date")); |
1624 MSN_GOT_INFO_GET_FIELD("Start date", gX_("Start date")); |
| 1635 MSN_GOT_INFO_GET_FIELD("Notes", _("Notes")); |
1625 MSN_GOT_INFO_GET_FIELD("Notes", gX_("Notes")); |
| 1636 |
1626 |
| 1637 if (sect_info) |
1627 if (sect_info) |
| 1638 { |
1628 { |
| 1639 business = g_strdup_printf(_("<br><b>Business</b><br>%s"), s->str); |
1629 business = g_strdup_printf(gX_("<br><b>Business</b><br>%s"), s->str); |
| 1640 s = g_string_truncate(s, 0); |
1630 s = g_string_truncate(s, 0); |
| 1641 sect_info = FALSE; |
1631 sect_info = FALSE; |
| 1642 } |
1632 } |
| 1643 |
1633 |
| 1644 if ((personal != NULL) || (business != NULL)) |
1634 if ((personal != NULL) || (business != NULL)) |
| 1645 { |
1635 { |
| 1646 /* trim off the trailing <br> */ |
1636 /* trim off the trailing <br> */ |
| 1647 g_string_truncate(s2, strlen(s2->str) - 4); |
1637 g_string_truncate(s2, strlen(s2->str) - 4); |
| 1648 has_info = TRUE; |
1638 has_info = TRUE; |
| 1649 g_string_append_printf(s2, _("%s<b>Contact Info</b>%s%s"), |
1639 g_string_append_printf(s2, gX_("%s<b>Contact Info</b>%s%s"), |
| 1650 has_info ? "<hr>" : "", |
1640 has_info ? "<hr>" : "", |
| 1651 personal ? personal : "", |
1641 personal ? personal : "", |
| 1652 business ? business : ""); |
1642 business ? business : ""); |
| 1653 } |
1643 } |
| 1654 |
1644 |
| 1818 "any information in the user's profile. " |
1808 "any information in the user's profile. " |
| 1819 "The user most likely does not exist."))); |
1809 "The user most likely does not exist."))); |
| 1820 } |
1810 } |
| 1821 /* put a link to the actual profile URL */ |
1811 /* put a link to the actual profile URL */ |
| 1822 #if 0 /* XXX: undo when strings thawed */ |
1812 #if 0 /* XXX: undo when strings thawed */ |
| 1823 g_string_append_printf(s, _("<hr><b>%s:</b> "), _("Profile URL")); |
1813 g_string_append_printf(s, gX_("<hr><b>%s:</b> "), _("Profile URL")); |
| 1824 #else |
1814 #else |
| 1825 g_string_append(s, "<hr>"); |
1815 g_string_append(s, "<hr>"); |
| 1826 g_string_append_printf(s, _("<b>%s:</b> "), _("Profile URL")); |
1816 g_string_append_printf(s, _("<b>%s:</b> "), _("Profile URL")); |
| 1827 #endif |
1817 #endif |
| 1828 g_string_append_printf(s, "<br><a href=\"%s%s\">%s%s</a><br>", |
1818 g_string_append_printf(s, "<br><a href=\"%s%s\">%s%s</a><br>", |