From 9a217e97c8852bda5a7fdf1cad41da769f013fef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Sat, 12 Feb 2011 02:07:39 +0100 Subject: Change the way translations are done. * Require gettext-tools to build. * Depend on libintl on Win32. --- src/logdiag.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/logdiag.c') diff --git a/src/logdiag.c b/src/logdiag.c index 20783b1..8191d7f 100644 --- a/src/logdiag.c +++ b/src/logdiag.c @@ -9,6 +9,7 @@ */ #include +#include #include "config.h" @@ -20,13 +21,11 @@ main (int argc, char *argv[]) { GtkWidget *wnd; -#ifdef HAVE_GETTEXT setlocale (LC_ALL, ""); bindtextdomain (GETTEXT_DOMAIN, GETTEXT_DIRNAME); bind_textdomain_codeset (GETTEXT_DOMAIN, "UTF-8"); textdomain (GETTEXT_DOMAIN); -#endif /* For custom command line arguments, see: * http://git.gnome.org/browse/glade3/tree/src/main.c -- cgit v1.2.3