[evolution-kolab] CamelKolabIMAPXStore: marked strings as translatable



commit b6a890256a017b987d65c33d3421f61356362a7f
Author: Christian Hilberg <hilberg kernelconcepts de>
Date:   Thu Jul 26 10:32:35 2012 +0200

    CamelKolabIMAPXStore: marked strings as translatable

 src/libekolab/camel-kolab-imapx-store.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/libekolab/camel-kolab-imapx-store.c b/src/libekolab/camel-kolab-imapx-store.c
index 5a4eb6b..ff235a8 100644
--- a/src/libekolab/camel-kolab-imapx-store.c
+++ b/src/libekolab/camel-kolab-imapx-store.c
@@ -372,7 +372,7 @@ imapx_store_set_foldertype (CamelKolabIMAPXStore *self,
 		g_set_error (err,
 		             KOLAB_CAMEL_KOLAB_ERROR,
 		             KOLAB_CAMEL_KOLAB_ERROR_SERVER,
-		             "Must be online to complete this operation");
+		             _("Must be online to complete this operation"));
 		return FALSE;
 	}
 
@@ -381,7 +381,7 @@ imapx_store_set_foldertype (CamelKolabIMAPXStore *self,
 		g_set_error (err,
 		             KOLAB_CAMEL_KOLAB_ERROR,
 		             KOLAB_CAMEL_KOLAB_ERROR_SERVER,
-		             "Could not determine server metadata protocol type");
+		             _("Could not determine server metadata protocol type"));
 		return FALSE;
 	}
 
@@ -978,11 +978,10 @@ kolab_imapx_store_initable_initialize (GInitable *initable,
 	service = CAMEL_SERVICE (self);
 	cachepath = camel_service_get_user_cache_dir (service);
 	if (cachepath == NULL) {
-		/* FIXME mark this as a translatable string */
 		g_set_error (&tmp_err,
 		             KOLAB_CAMEL_ERROR,
 		             KOLAB_CAMEL_ERROR_GENERIC,
-		             "Could not get user cache directory from Camel service");
+		             _("Could not get user cache directory from Camel service"));
 		goto exit;
 	}
 



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