[evolution-data-server/gnome-2-30] Bug #601535 - Fix translation domain for default categories
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-2-30] Bug #601535 - Fix translation domain for default categories
- Date: Tue, 25 May 2010 17:34:54 +0000 (UTC)
commit 52b53b7e48f58220e9538e2db4eacac407ac5e5d
Author: Gert Michael Kulyk <gkulyk yahoo de>
Date: Tue May 25 19:34:08 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 9e8b2f2..771ca0a 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"
@@ -401,7 +401,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]