diff options
Diffstat (limited to 'src/gui-gtk')
-rw-r--r-- | src/gui-gtk/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui-gtk/main.c b/src/gui-gtk/main.c index 3a8b4aa8..fd1e9d57 100644 --- a/src/gui-gtk/main.c +++ b/src/gui-gtk/main.c @@ -20,6 +20,9 @@ #include "abrtlib.h" #include "parse_options.h" #include "abrt-gtk.h" +#if HAVE_LOCALE_H +# include <locale.h> +#endif #define PROGNAME "abrt-gtk" @@ -61,6 +64,10 @@ int main(int argc, char **argv) { /* I18n */ setlocale(LC_ALL, ""); +#if ENABLE_NLS + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); +#endif gtk_init(&argc, &argv); |