[evolution-patches] Addressbook - Patch for #317753 - Marking string for translation



Hi,

I'll add the ChangeLog entry while committing the patch.

Please review,

Thanks,
Sushma.
Index: addressbook/gui/widgets/eab-gui-util.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/widgets/eab-gui-util.c,v
retrieving revision 1.44
diff -u -p -r1.44 eab-gui-util.c
--- addressbook/gui/widgets/eab-gui-util.c	24 Aug 2005 03:06:51 -0000	1.44
+++ addressbook/gui/widgets/eab-gui-util.c	3 Oct 2005 05:13:51 -0000
@@ -1028,7 +1028,7 @@ eab_send_contact_list_as_attachment (GLi
 	bcc_list->_maximum = bcc_list->_length = 0;
 
 	if (!contacts || contacts->next) {
-		subject = CORBA_string_dup ("Contact information");
+		subject = CORBA_string_dup (_("Contact information"));
 	} else {
 		EContact *contact = contacts->data;
 		const gchar *tempstr2;
@@ -1046,9 +1046,9 @@ eab_send_contact_list_as_attachment (GLi
 			tempstr2 = e_contact_get_const (contact, E_CONTACT_EMAIL_3);
 
 		if (!tempstr2 || !*tempstr2)
-			tempstr = g_strdup_printf ("Contact information");
+			tempstr = g_strdup_printf (_("Contact information"));
 		else
-			tempstr = g_strdup_printf ("Contact information for %s", tempstr2);
+			tempstr = g_strdup_printf (_("Contact information for %s"), tempstr2);
 		subject = CORBA_string_dup (tempstr);
 		g_free (tempstr);
 	}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]