diff options
Diffstat (limited to 'hal')
-rw-r--r-- | hal/Makefile.am | 1 | ||||
-rw-r--r-- | hal/hal-module.c | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/hal/Makefile.am b/hal/Makefile.am index 9aed2b1a..f28c1b4b 100644 --- a/hal/Makefile.am +++ b/hal/Makefile.am @@ -33,6 +33,7 @@ libgiohal_volume_monitor_la_CFLAGS = \ $(GLIB_CFLAGS) \ $(HAL_CFLAGS) \ -DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\" \ + -DGVFS_LOCALEDIR=\""$(localedir)"\" \ -DG_DISABLE_DEPRECATED \ $(NULL) diff --git a/hal/hal-module.c b/hal/hal-module.c index 46b53041..f8b255ba 100644 --- a/hal/hal-module.c +++ b/hal/hal-module.c @@ -22,7 +22,10 @@ * Author: David Zeuthen <davidz@redhat.com> */ +#include <config.h> + #include <glib.h> +#include <glib/gi18n-lib.h> #include <gmodule.h> #include <gio/gio.h> @@ -36,6 +39,9 @@ void g_io_module_load (GIOModule *module) { + bindtextdomain (GETTEXT_PACKAGE, GVFS_LOCALEDIR); + bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); + hal_device_register (module); hal_pool_register (module); g_hal_drive_register (module); |