[evolution-data-server] Bug #617439 - Fix translation of birthday and anniversary events
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug #617439 - Fix translation of birthday and anniversary events
- Date: Sat, 29 May 2010 19:55:28 +0000 (UTC)
commit d581b2f0187190a6bfef263d675899de3ef244d1
Author: Gert Michael Kulyk <gkulyk yahoo de>
Date: Sat May 22 21:00:02 2010 +0200
Bug #617439 - Fix translation of birthday and anniversary events
calendar/libedata-cal/Makefile.am | 1 +
calendar/libedata-cal/e-data-cal-factory.c | 5 +++++
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/calendar/libedata-cal/Makefile.am b/calendar/libedata-cal/Makefile.am
index 7bd113b..e76324d 100644
--- a/calendar/libedata-cal/Makefile.am
+++ b/calendar/libedata-cal/Makefile.am
@@ -104,6 +104,7 @@ e_calendar_factory_CPPFLAGS = \
$(AM_CPPFLAGS) \
-DG_LOG_DOMAIN=\"libedata-cal\" \
-DE_PRGNAME=\"e-calendar-factory\" \
+ -DEVOLUTION_LOCALEDIR=\"$(localedir)\" \
-I$(top_srcdir) \
-I$(top_builddir) \
-I$(top_srcdir)/calendar \
diff --git a/calendar/libedata-cal/e-data-cal-factory.c b/calendar/libedata-cal/e-data-cal-factory.c
index f3b5f99..efc19c9 100644
--- a/calendar/libedata-cal/e-data-cal-factory.c
+++ b/calendar/libedata-cal/e-data-cal-factory.c
@@ -24,6 +24,7 @@
*/
#include <config.h>
+#include <locale.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
@@ -705,6 +706,10 @@ main (gint argc, gchar **argv)
DBusGProxy *bus_proxy;
guint32 request_name_ret;
EOfflineListener *eol;
+
+ setlocale (LC_ALL, "");
+ bindtextdomain (GETTEXT_PACKAGE, EVOLUTION_LOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
g_type_init ();
g_set_prgname (E_PRGNAME);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]