From 5af31646583faedf3d16746f19e4d7d679852ac4 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 27 Jan 2021 18:03:29 +0100 Subject: build: allow users to disable gettext support (--disable-nls) --- baobab/src/baobab.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'baobab/src') diff --git a/baobab/src/baobab.c b/baobab/src/baobab.c index 1b942dea..eb015730 100644 --- a/baobab/src/baobab.c +++ b/baobab/src/baobab.c @@ -1227,9 +1227,11 @@ main (int argc, char *argv[]) GOptionContext *context; GError *error = NULL; +#ifdef ENABLE_NLS bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); +#endif /* ENABLE_NLS */ g_set_application_name (_("Disk Usage Analyzer")); -- cgit v1.2.1