aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/main.c')
-rw-r--r--calendar/gui/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/main.c b/calendar/gui/main.c
index 4ca766f95c..b11a28f33f 100644
--- a/calendar/gui/main.c
+++ b/calendar/gui/main.c
@@ -59,8 +59,10 @@ init_bonobo (int *argc, char **argv)
int
main (int argc, char **argv)
{
- bindtextdomain(PACKAGE, GNOMELOCALEDIR);
+ #ifdef ENABLE_NLS
+ bindtextdomain(PACKAGE, EVOLUTION_LOCALEDIR);
textdomain(PACKAGE);
+ #endif
init_bonobo (&argc, argv);
glade_gnome_init ();