summaryrefslogtreecommitdiff
path: root/sendto/plugins/emailclient/emailclient.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2022-07-16 15:46:08 +0200
committerraveit65 <[email protected]>2022-08-20 22:19:46 +0200
commitdfc041f39969c00dfdd7921a973928849782328a (patch)
tree0f743266a3042920b3ffbc1b1e9639fe2644d690 /sendto/plugins/emailclient/emailclient.c
parentf26a8624156376794f5e505c249eff6c1924fc1b (diff)
downloadcaja-extensions-dfc041f39969c00dfdd7921a973928849782328a.tar.bz2
caja-extensions-dfc041f39969c00dfdd7921a973928849782328a.tar.xz
Failed to resolve the path to caja-extensions.mo on guix system
Diffstat (limited to 'sendto/plugins/emailclient/emailclient.c')
-rw-r--r--sendto/plugins/emailclient/emailclient.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sendto/plugins/emailclient/emailclient.c b/sendto/plugins/emailclient/emailclient.c
index e325289..cfcf8a9 100644
--- a/sendto/plugins/emailclient/emailclient.c
+++ b/sendto/plugins/emailclient/emailclient.c
@@ -81,6 +81,11 @@ init (NstPlugin *plugin)
g_print ("Init email client plugin\n");
+#ifdef ENABLE_NLS
+ bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+#endif /* ENABLE_NLS */
+
app_info = g_app_info_get_default_for_uri_scheme ("mailto");
if (app_info) {
mail_cmd = g_strdup(g_app_info_get_executable (app_info));