Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:GA
evolution
bnc-435722-book-uri-long.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bnc-435722-book-uri-long.patch of Package evolution
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, if (value == NULL || *value == '\0') continue; - text = g_strdup_printf ( - "%s: %s", - e_contact_pretty_name (field), value); + if (field == E_CONTACT_BOOK_UID) { + 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", + _( "Address Book" ), + (tmpv && tmpv [0] && tmpv [1]) ? tmpv[1] : value); + 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 (
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor