From e6db1305ab8f0ec981cf6b38820e84108b67b11d Mon Sep 17 00:00:00 2001 From: rbuj Date: Sat, 16 Jul 2022 15:46:08 +0200 Subject: Failed to resolve the path to caja-extensions.mo on guix system --- sendto/caja-sendto-module.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sendto/caja-sendto-module.c') diff --git a/sendto/caja-sendto-module.c b/sendto/caja-sendto-module.c index ed580ba..dc453ae 100644 --- a/sendto/caja-sendto-module.c +++ b/sendto/caja-sendto-module.c @@ -37,6 +37,10 @@ caja_module_initialize (GTypeModule*module) { g_print ("Initializing caja-sendto extension\n"); caja_nste_register_type (module); +#ifdef ENABLE_NLS + bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR); + bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); +#endif /* ENABLE_NLS */ } void -- cgit v1.2.1