[gnome-bluetooth] lib: Fix some strings not getting translated



commit af67c3e05de67370631f29cd1f16e2facb26dcfd
Author: Bastien Nocera <hadess hadess net>
Date:   Sat Mar 22 15:26:24 2014 +0100

    lib: Fix some strings not getting translated
    
    Some strings weren't getting translated because gettext didn't
    know in which directory to find the gnome-bluetooth translations.

 lib/bluetooth-settings-widget.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/bluetooth-settings-widget.c b/lib/bluetooth-settings-widget.c
index 6a25b8a..72973d9 100644
--- a/lib/bluetooth-settings-widget.c
+++ b/lib/bluetooth-settings-widget.c
@@ -1867,6 +1867,7 @@ static void
 bluetooth_settings_widget_class_init (BluetoothSettingsWidgetClass *klass)
 {
        bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+       bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
 
        g_type_class_add_private (klass, sizeof (BluetoothSettingsWidgetPrivate));
 


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