2013-01-04 10:00:30 +01:00
|
|
|
diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c
|
|
|
|
index 290863c..e8e8e1a 100644
|
|
|
|
--- a/addressbook/printing/e-contact-print.c
|
|
|
|
+++ b/addressbook/printing/e-contact-print.c
|
|
|
|
@@ -326,9 +326,21 @@ e_contact_print_contact (EContact *contact,
|
2008-11-17 16:47:50 +01:00
|
|
|
if (value == NULL || *value == '\0')
|
|
|
|
continue;
|
|
|
|
|
2013-01-04 10:00:30 +01:00
|
|
|
- text = g_strdup_printf (
|
|
|
|
- "%s: %s",
|
2008-11-17 16:47:50 +01:00
|
|
|
- e_contact_pretty_name (field), value);
|
2013-01-04 10:00:30 +01:00
|
|
|
+ if (field == E_CONTACT_BOOK_UID) {
|
2008-11-17 16:47:50 +01:00
|
|
|
+ gchar **tmpv;
|
|
|
|
+ tmpv = g_strsplit (value, ";", 2);
|
|
|
|
+ /* To translators: While printing contacts display the addressbook
|
|
|
|
+ to which the contact belongs.
|
|
|
|
+ Example: "Address Book: Frequent Contacts"
|
|
|
|
+ */
|
|
|
|
+ text = g_strdup_printf ("%s: %s",
|
2013-01-04 10:00:30 +01:00
|
|
|
+ _( "Address Book" ),
|
|
|
|
+ (tmpv && tmpv [0] && tmpv [1]) ? tmpv[1] : value);
|
2008-11-17 16:47:50 +01:00
|
|
|
+ g_strfreev (tmpv);
|
|
|
|
+ }
|
|
|
|
+ else
|
|
|
|
+ text = g_strdup_printf ("%s: %s",
|
|
|
|
+ e_contact_pretty_name (field), value);
|
|
|
|
|
|
|
|
if (ctxt->pages == ctxt->page_nr)
|
|
|
|
e_contact_output (
|