[evolution-kolab/ek-wip-xfb: 8/8] KolabSettingsHandler: mark translatable strings as such



commit ed2975cb392d95296cc30311a1eaa96de44e42d3
Author: Christian Hilberg <hilberg kernelconcepts de>
Date:   Tue Oct 23 13:04:14 2012 +0200

    KolabSettingsHandler: mark translatable strings as such

 src/libekolab/kolab-settings-handler.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/libekolab/kolab-settings-handler.c b/src/libekolab/kolab-settings-handler.c
index 8041e15..d0a16b9 100644
--- a/src/libekolab/kolab-settings-handler.c
+++ b/src/libekolab/kolab-settings-handler.c
@@ -261,11 +261,10 @@ settings_handler_char_set_func_camel_cache_dir (KolabSettingsHandler *self, gcha
 {
 	(void)self;
 	(void)value;
-	/* FIXME mark as a translatable string */
 	g_set_error (err,
 	             KOLAB_BACKEND_ERROR,
 	             KOLAB_BACKEND_ERROR_GENERIC,
-	             "Cannot set Camel cache directory, it is a read-only resource");
+	             _("Cannot set Camel cache directory, it is a read-only resource"));
 	return FALSE;
 }
 
@@ -274,11 +273,10 @@ settings_handler_char_set_func_user_home_dir (KolabSettingsHandler *self, gchar
 {
 	(void)self;
 	(void)value;
-	/* FIXME mark as a translatable string */
 	g_set_error (err,
 	             KOLAB_BACKEND_ERROR,
 	             KOLAB_BACKEND_ERROR_GENERIC,
-	             "Cannot set user home directory, it is a read-only resource");
+	             _("Cannot set user home directory, it is a read-only resource"));
 	return FALSE;
 }
 



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