From fe35fc4c2c9ea545ba1086781b3f07d48d60fc46 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 15 Sep 2009 16:02:48 -0500 Subject: Setting up the gettext stuff. --- src/messages-service.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/messages-service.c b/src/messages-service.c index 0ba0deb..4911124 100644 --- a/src/messages-service.c +++ b/src/messages-service.c @@ -22,6 +22,7 @@ with this program. If not, see . #include #include +#include #include #include #include @@ -1220,7 +1221,11 @@ main (int argc, char ** argv) return 1; } - setlocale(LC_ALL,""); + /* Setting up i18n and gettext. Apparently, we need + all of these. */ + setlocale (LC_ALL, ""); + bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR); + textdomain (GETTEXT_PACKAGE); dbus_interface = message_service_dbus_new(); -- cgit v1.2.3