summaryrefslogtreecommitdiff
path: root/share/caja-share.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-07 21:49:22 +0100
committerraveit65 <[email protected]>2021-02-08 21:23:34 +0100
commita8d98cb5572363804ffabd771055959826b32f99 (patch)
treea571b63a981e000fddb80ceac1013cee91bfec66 /share/caja-share.c
parent546660e4c8668f6f94c5d672499d253f70e4fa78 (diff)
downloadcaja-extensions-a8d98cb5572363804ffabd771055959826b32f99.tar.bz2
caja-extensions-a8d98cb5572363804ffabd771055959826b32f99.tar.xz
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'share/caja-share.c')
-rw-r--r--share/caja-share.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/caja-share.c b/share/caja-share.c
index e6b4897..c23c3f0 100644
--- a/share/caja-share.c
+++ b/share/caja-share.c
@@ -694,7 +694,9 @@ create_property_page (CajaFileInfo *fileinfo)
page->ui = gtk_builder_new ();
+#ifdef ENABLE_NLS
gtk_builder_set_translation_domain (page->ui, GETTEXT_PACKAGE);
+#endif /* ENABLE_NLS */
g_assert (gtk_builder_add_from_file (page->ui,
INTERFACES_DIR"/share-dialog.ui", &error));