summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index d07f560..ad06a7e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -59,10 +59,12 @@ main(int argc, char *argv[])
GError *error;
MqApplication *application;
+#if defined(ENABLE_NLS) && ENABLE_NLS
bindtextdomain(PACKAGE, LOCALEDIR);
bind_textdomain_codeset(PACKAGE, "UTF-8");
textdomain(PACKAGE);
setlocale(LC_ALL, "");
+#endif
error = NULL;
if (G_UNLIKELY(!gtk_init_with_args(&argc, &argv, N_("[URI]"), entries,