summaryrefslogtreecommitdiff
path: root/wallpaper/caja-wallpaper-command.c
diff options
context:
space:
mode:
Diffstat (limited to 'wallpaper/caja-wallpaper-command.c')
-rw-r--r--wallpaper/caja-wallpaper-command.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/wallpaper/caja-wallpaper-command.c b/wallpaper/caja-wallpaper-command.c
index d1cb755..d7bea89 100644
--- a/wallpaper/caja-wallpaper-command.c
+++ b/wallpaper/caja-wallpaper-command.c
@@ -3,6 +3,7 @@
*
* Copyright (C) 2005 Adam Israel
* Copyright (C) 2014 Stefano Karapetsas
+ * Copyright (C) 2014-2021 MATE developers.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -38,6 +39,10 @@ caja_module_initialize (GTypeModule*module)
{
g_print ("Initializing caja-wallpaper extension\n");
caja_cwe_register_type (module);
+#ifdef ENABLE_NLS
+ bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+#endif /* ENABLE_NLS */
}
void