summaryrefslogtreecommitdiff
path: root/src/caja-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-main.c')
-rw-r--r--src/caja-main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/caja-main.c b/src/caja-main.c
index 1fb7e360..76fc2752 100644
--- a/src/caja-main.c
+++ b/src/caja-main.c
@@ -243,10 +243,12 @@ main (int argc, char *argv[])
eel_make_warnings_and_criticals_stop_in_debugger ();
}
+#ifdef ENABLE_NLS
/* Initialize gettext support */
bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
+#endif /* ENABLE_NLS */
g_set_prgname ("caja");