From 3c485c6535b350cc5e1ff2421107220f77ed3e5e Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 20 Nov 2017 13:54:43 -0500 Subject: main(): Set text domain and locale --- 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))) { -- cgit v0.9.1