[evolution-data-server] source-viewer: Enable internationalization.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] source-viewer: Enable internationalization.
- Date: Mon, 11 Jun 2012 14:02:18 +0000 (UTC)
commit 4ee2a3be2fc03244cb1dcc0d2dbb7656dd456405
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Jun 11 09:27:15 2012 -0400
source-viewer: Enable internationalization.
tests/libedataserverui/Makefile.am | 1 +
tests/libedataserverui/evolution-source-viewer.c | 4 ----
2 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/tests/libedataserverui/Makefile.am b/tests/libedataserverui/Makefile.am
index 4f58cd1..8b0ed2e 100644
--- a/tests/libedataserverui/Makefile.am
+++ b/tests/libedataserverui/Makefile.am
@@ -11,6 +11,7 @@ TEST_EDATASERVERUI_CPPFLAGS= \
-I$(top_srcdir) \
-I$(top_srcdir)/addressbook \
-I$(top_builddir)/addressbook \
+ -DLOCALEDIR=\""$(localedir)"\" \
-DG_LOG_DOMAIN=\"e-data-server-ui\" \
$(CAMEL_CFLAGS) \
$(GNOME_KEYRING_CFLAGS) \
diff --git a/tests/libedataserverui/evolution-source-viewer.c b/tests/libedataserverui/evolution-source-viewer.c
index b3529cd..3244540 100644
--- a/tests/libedataserverui/evolution-source-viewer.c
+++ b/tests/libedataserverui/evolution-source-viewer.c
@@ -16,9 +16,7 @@
*
*/
-#if 0
#include <config.h>
-#endif
#include <gtk/gtk.h>
#include <glib/gi18n.h>
@@ -782,11 +780,9 @@ main (gint argc,
GtkWidget *viewer;
GError *error = NULL;
-#if 0
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
-#endif
gtk_init (&argc, &argv);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]