summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index bd9e7ef..d07f560 100644
--- a/src/main.c
+++ b/src/main.c
@@ -59,6 +59,11 @@ main(int argc, char *argv[])
GError *error;
MqApplication *application;
+ bindtextdomain(PACKAGE, LOCALEDIR);
+ bind_textdomain_codeset(PACKAGE, "UTF-8");
+ textdomain(PACKAGE);
+ setlocale(LC_ALL, "");
+
error = NULL;
if (G_UNLIKELY(!gtk_init_with_args(&argc, &argv, N_("[URI]"), entries,
NULL, &error))) {