diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-25 00:20:26 (EST) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-25 00:20:26 (EST) |
commit | bb181e605f02c7c65d4fe2b38da8be75c4be3db4 (patch) | |
tree | 57020f41f794ff4f544390b6b6a168a1aff83d1b /src | |
parent | 9c81c642379ac4b6d79543bd862c989883638325 (diff) | |
download | marquee-bb181e605f02c7c65d4fe2b38da8be75c4be3db4.zip marquee-bb181e605f02c7c65d4fe2b38da8be75c4be3db4.tar.gz marquee-bb181e605f02c7c65d4fe2b38da8be75c4be3db4.tar.bz2 |
main(): Call *textdomain*() and setlocale() iff ENABLE_NLS
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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, |