[evolution-data-server] Bug #651849 - Remove string from translation



commit 511827452714b8580d07ceae167c0712a12a1d1e
Author: Milan Crha <mcrha redhat com>
Date:   Tue Aug 23 15:51:59 2011 +0200

    Bug #651849 - Remove string from translation

 addressbook/libebook/e-book-client.c |    3 ++-
 calendar/libecal/e-cal-client.c      |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/addressbook/libebook/e-book-client.c b/addressbook/libebook/e-book-client.c
index a2fd03f..21faab5 100644
--- a/addressbook/libebook/e-book-client.c
+++ b/addressbook/libebook/e-book-client.c
@@ -165,7 +165,8 @@ unwrap_dbus_error (GError *error, GError **client_error)
 static void
 set_proxy_gone_error (GError **error)
 {
-	g_set_error_literal (error, E_CLIENT_ERROR, E_CLIENT_ERROR_DBUS_ERROR, _("D-Bus book proxy gone"));
+	/* do not translate this string, it should ideally never happen */
+	g_set_error_literal (error, E_CLIENT_ERROR, E_CLIENT_ERROR_DBUS_ERROR, "D-Bus book proxy gone");
 }
 
 static guint active_book_clients = 0, book_connection_closed_id = 0;
diff --git a/calendar/libecal/e-cal-client.c b/calendar/libecal/e-cal-client.c
index 3a1baf5..662577d 100644
--- a/calendar/libecal/e-cal-client.c
+++ b/calendar/libecal/e-cal-client.c
@@ -211,7 +211,8 @@ unwrap_dbus_error (GError *error, GError **client_error)
 static void
 set_proxy_gone_error (GError **error)
 {
-	g_set_error_literal (error, E_CLIENT_ERROR, E_CLIENT_ERROR_DBUS_ERROR, _("D-Bus calendar proxy gone"));
+	/* do not translate this string, it should ideally never happen */
+	g_set_error_literal (error, E_CLIENT_ERROR, E_CLIENT_ERROR_DBUS_ERROR, "D-Bus calendar proxy gone");
 }
 
 static guint active_cal_clients = 0, cal_connection_closed_id = 0;



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