aboutsummaryrefslogtreecommitdiff
path: root/src/logdiag.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2011-02-12 02:07:39 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2011-02-12 18:40:16 +0100
commit9a217e97c8852bda5a7fdf1cad41da769f013fef (patch)
treef6dd0ae78fccb0333ebef238dfea04311d487266 /src/logdiag.c
parent68e6e4a7e8e5a217f6288e23ec50290835988f37 (diff)
downloadlogdiag-9a217e97c8852bda5a7fdf1cad41da769f013fef.tar.gz
logdiag-9a217e97c8852bda5a7fdf1cad41da769f013fef.tar.xz
logdiag-9a217e97c8852bda5a7fdf1cad41da769f013fef.zip
Change the way translations are done.
* Require gettext-tools to build. * Depend on libintl on Win32.
Diffstat (limited to 'src/logdiag.c')
-rw-r--r--src/logdiag.c3
1 files changed, 1 insertions, 2 deletions
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 <gtk/gtk.h>
+#include <locale.h>
#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