[totem] properties: Fix translations not being applied in nautilus



commit 61213aec3a0b916bfd9351ace8a4acdbd5f8685f
Author: Gabor Kelemen <kelemeng gnome hu>
Date:   Tue May 7 17:00:27 2013 +0200

    properties: Fix translations not being applied in nautilus
    
    Set translation domain to make strings appear translated in Nautilus.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=699840

 src/properties/bacon-video-widget-properties.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/properties/bacon-video-widget-properties.c b/src/properties/bacon-video-widget-properties.c
index 3f10eac..7e0f4c2 100644
--- a/src/properties/bacon-video-widget-properties.c
+++ b/src/properties/bacon-video-widget-properties.c
@@ -258,6 +258,7 @@ bacon_video_widget_properties_new (void)
        guint i;
 
        xml = gtk_builder_new ();
+       gtk_builder_set_translation_domain (xml, GETTEXT_PACKAGE);
        if (gtk_builder_add_from_file (xml, DATADIR"/properties.ui", NULL) == 0) {
                g_object_unref (xml);
                return NULL;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]