summaryrefslogtreecommitdiff
path: root/tumbler
diff options
context:
space:
mode:
Diffstat (limited to 'tumbler')
-rw-r--r--tumbler/tumbler-file-info.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tumbler/tumbler-file-info.c b/tumbler/tumbler-file-info.c
index 9a32983..304ef3b 100644
--- a/tumbler/tumbler-file-info.c
+++ b/tumbler/tumbler-file-info.c
@@ -87,6 +87,12 @@ tumbler_file_info_class_init (TumblerFileInfoClass *klass)
{
GObjectClass *gobject_class;
+ /* make sure to use the translations from Tumbler */
+ bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR);
+#ifdef HAVE_BIND_TEXTDOMAIN_CODESET
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+#endif
+
gobject_class = G_OBJECT_CLASS (klass);
gobject_class->finalize = tumbler_file_info_finalize;
gobject_class->get_property = tumbler_file_info_get_property;