aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-01-08 04:52:38 +0800
committerDan Winship <danw@src.gnome.org>2003-01-08 04:52:38 +0800
commit24b6be3288062f3a32481dfb018a1b03684b1afa (patch)
treec5d2edfeb12f2d0d18361dd4a991ccd6866ab37f /shell
parentc59e718a4aa64db49dc3cfa1cb5604708296b24c (diff)
downloadgsoc2013-evolution-24b6be3288062f3a32481dfb018a1b03684b1afa.tar
gsoc2013-evolution-24b6be3288062f3a32481dfb018a1b03684b1afa.tar.gz
gsoc2013-evolution-24b6be3288062f3a32481dfb018a1b03684b1afa.tar.bz2
gsoc2013-evolution-24b6be3288062f3a32481dfb018a1b03684b1afa.tar.lz
gsoc2013-evolution-24b6be3288062f3a32481dfb018a1b03684b1afa.tar.xz
gsoc2013-evolution-24b6be3288062f3a32481dfb018a1b03684b1afa.tar.zst
gsoc2013-evolution-24b6be3288062f3a32481dfb018a1b03684b1afa.zip
setup gettext
* main.c (main): setup gettext svn path=/trunk/; revision=19264
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog4
-rw-r--r--shell/main.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 9f93b9d9a1..8743ab1c45 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,7 @@
+2003-01-07 Dan Winship <danw@ximian.com>
+
+ * main.c (main): setup gettext
+
2003-01-06 Not Zed <NotZed@Ximian.com>
* evolution-folder-selector-button.c (set_folder): dont
diff --git a/shell/main.c b/shell/main.c
index 47bf354a51..10de4e9be3 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -460,6 +460,10 @@ main (int argc, char **argv)
/* Make ElectricFence work. */
free (malloc (10));
+ bindtextdomain (GETTEXT_PACKAGE, EVOLUTION_LOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+ textdomain (GETTEXT_PACKAGE);
+
gnome_program_init (PACKAGE, VERSION, LIBGNOMEUI_MODULE, argc, argv,
GNOME_PROGRAM_STANDARD_PROPERTIES,
GNOME_PARAM_POPT_TABLE, options,