[evolution-data-server] Bug #601535 - Fix translation domain for default categories



commit 5cfce36e1ccbabe5145404211c704e10ad624af1
Author: Gert Michael Kulyk <gkulyk yahoo de>
Date:   Tue May 25 19:32:55 2010 +0200

    Bug #601535 - Fix translation domain for default categories

 libedataserver/e-categories.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libedataserver/e-categories.c b/libedataserver/e-categories.c
index be4ca97..8a9bd68 100644
--- a/libedataserver/e-categories.c
+++ b/libedataserver/e-categories.c
@@ -24,7 +24,7 @@
 #include <string.h>
 #include <libxml/parser.h>
 #include <glib.h>
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
 #include <gconf/gconf-client.h>
 #include "e-categories.h"
 
@@ -388,7 +388,7 @@ load_default_categories (void)
 		if (cat_info->icon_file != NULL)
 			icon_file = g_build_filename (E_DATA_SERVER_IMAGESDIR, cat_info->icon_file, NULL);
 		e_categories_add (
-			gettext (cat_info->category),
+			_ (cat_info->category),
 			NULL, icon_file, TRUE);
 		g_free (icon_file);
 		icon_file = NULL;



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