summaryrefslogtreecommitdiff
path: root/share/caja-share.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2022-07-16 15:46:08 +0200
committerraveit65 <[email protected]>2022-08-20 22:29:25 +0200
commite6db1305ab8f0ec981cf6b38820e84108b67b11d (patch)
tree4e71478003082d91a07c5a200f48850cc5a458c8 /share/caja-share.c
parent969e0d9448e40b821b0623a94424e998d926511d (diff)
downloadcaja-extensions-e6db1305ab8f0ec981cf6b38820e84108b67b11d.tar.bz2
caja-extensions-e6db1305ab8f0ec981cf6b38820e84108b67b11d.tar.xz
Failed to resolve the path to caja-extensions.mo on guix system
Diffstat (limited to 'share/caja-share.c')
-rw-r--r--share/caja-share.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/caja-share.c b/share/caja-share.c
index c23c3f0..b90af5f 100644
--- a/share/caja-share.c
+++ b/share/caja-share.c
@@ -1263,6 +1263,10 @@ caja_module_initialize (GTypeModule *module)
g_print ("Initializing caja-share extension\n");
caja_share_register_type (module);
+#ifdef ENABLE_NLS
+ bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+#endif /* ENABLE_NLS */
}
/* Perform module-specific shutdown. */