diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-20 13:54:43 (EST) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-20 13:54:43 (EST) |
commit | 3c485c6535b350cc5e1ff2421107220f77ed3e5e (patch) | |
tree | 0d137b137b014f425cfd098994f052db1215ec26 /src | |
parent | f3ddb2c141c268e2f5e2074863fcee2ac9676abf (diff) | |
download | marquee-3c485c6535b350cc5e1ff2421107220f77ed3e5e.zip marquee-3c485c6535b350cc5e1ff2421107220f77ed3e5e.tar.gz marquee-3c485c6535b350cc5e1ff2421107220f77ed3e5e.tar.bz2 |
main(): Set text domain and locale
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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))) { |