[evolution-patches] In evolution-exchange, marks strings for translation that are left.



Hi,

I have attached a patch, that marks strings for translation
which were not marked in evolution-exchange module.

Please review it.

Thanks,
Arunprakash.

Index: addressbook/e-book-backend-exchange.c
===================================================================
RCS file: /cvs/gnome/evolution-exchange/addressbook/e-book-backend-exchange.c,v
retrieving revision 1.30
diff -u -p -r1.30 e-book-backend-exchange.c
--- addressbook/e-book-backend-exchange.c	23 Jun 2005 09:23:38 -0000	1.30
+++ addressbook/e-book-backend-exchange.c	27 Jun 2005 11:52:46 -0000
@@ -1492,7 +1492,7 @@ func_not (ESExp *f, int argc, ESExpResul
 	ESExpResult *r;
 
 	if (argc != 1 || argv[0]->type != ESEXP_RES_UNDEFINED) {
-		e_sexp_fatal_error (f, "parse error");
+		e_sexp_fatal_error (f, _("parse error"));
 		return NULL;
 	}
 
@@ -1521,7 +1521,7 @@ func_and_or (ESExp *f, int argc, ESExpRe
 					g_free (argv[i]->value.string);
 			}
 
-			e_sexp_fatal_error (f, "parse error");
+			e_sexp_fatal_error (f, _("parse error"));
 			return NULL;
 		}
 
@@ -1551,7 +1551,7 @@ func_match (struct _ESExp *f, int argc, 
 	if (argc != 2 ||
 	    argv[0]->type != ESEXP_RES_STRING ||
 	    argv[1]->type != ESEXP_RES_STRING) {
-		e_sexp_fatal_error (f, "parse error");
+		e_sexp_fatal_error (f, _("parse error"));
 		return NULL;
 	}
 
Index: calendar/e-cal-backend-exchange-calendar.c
===================================================================
RCS file: /cvs/gnome/evolution-exchange/calendar/e-cal-backend-exchange-calendar.c,v
retrieving revision 1.44
diff -u -p -r1.44 e-cal-backend-exchange-calendar.c
--- calendar/e-cal-backend-exchange-calendar.c	14 Jun 2005 13:12:43 -0000	1.44
+++ calendar/e-cal-backend-exchange-calendar.c	27 Jun 2005 11:52:50 -0000
@@ -1481,9 +1481,10 @@ book_resource (ECalBackendExchange *cbex
 		/* Mark the item as cancelled */
 		e_cal_component_get_summary (E_CAL_COMPONENT (comp), &old_text);
 		if (old_text.value)
-			new_text.value = g_strdup_printf ("Cancelled: %s", old_text.value);
+			/* %s is the summary of the calendar component */
+			new_text.value = g_strdup_printf (_("Cancelled: %s"), old_text.value);
 		else
-			new_text.value = g_strdup_printf ("Cancelled");
+			new_text.value = g_strdup_printf (_("Cancelled"));
 		new_text.altrep = NULL;
 		e_cal_component_set_summary (E_CAL_COMPONENT (comp), &new_text);
 
Index: camel/camel-exchange-store.c
===================================================================
RCS file: /cvs/gnome/evolution-exchange/camel/camel-exchange-store.c,v
retrieving revision 1.15
diff -u -p -r1.15 camel-exchange-store.c
--- camel/camel-exchange-store.c	16 Mar 2005 07:08:00 -0000	1.15
+++ camel/camel-exchange-store.c	27 Jun 2005 11:52:51 -0000
@@ -305,7 +305,7 @@ exchange_connect (CamelService *service,
 			      CAMEL_STUB_ARG_END)) {
 		/* The user cancelled the connection attempt. */
 		camel_exception_set (ex, CAMEL_EXCEPTION_USER_CANCEL,
-				     "Cancelled");
+				     _("Cancelled"));
 		camel_object_unref (exch->stub);
 		exch->stub = NULL;
 		return FALSE;
Index: camel/camel-stub.c
===================================================================
RCS file: /cvs/gnome/evolution-exchange/camel/camel-stub.c,v
retrieving revision 1.4
diff -u -p -r1.4 camel-stub.c
--- camel/camel-stub.c	12 Jan 2005 08:51:39 -0000	1.4
+++ camel/camel-stub.c	27 Jun 2005 11:52:52 -0000
@@ -143,7 +143,7 @@ connect_to_storage (CamelStub *stub, str
 			 * he doesn't have a license.
 			 */
 			camel_exception_set (ex, CAMEL_EXCEPTION_USER_CANCEL,
-					     "Cancelled");
+					     _("Cancelled"));
 		} else {
 			camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_UNAVAILABLE,
 					      _("Could not connect to %s: %s"),
Index: shell/e-folder-misc-dialogs.c
===================================================================
RCS file: /cvs/gnome/evolution-exchange/shell/e-folder-misc-dialogs.c,v
retrieving revision 1.6
diff -u -p -r1.6 e-folder-misc-dialogs.c
--- shell/e-folder-misc-dialogs.c	15 Mar 2005 05:54:26 -0000	1.6
+++ shell/e-folder-misc-dialogs.c	27 Jun 2005 11:52:54 -0000
@@ -259,7 +259,7 @@ setup_folder_name_combo (GladeXML *glade
 	gtk_combo_set_popdown_strings (GTK_COMBO (combo), string_list);
 	g_list_free (string_list);
 
-	gtk_entry_set_text (GTK_ENTRY (GTK_COMBO (combo)->entry), "Calendar");
+	gtk_entry_set_text (GTK_ENTRY (GTK_COMBO (combo)->entry), _("Calendar"));
 }
 
 static void


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