[totem/gnome-3-16] audio-preview: Fix help messages in some locales



commit cc165c6f5a776561b49b2b994dd32c125f198786
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Mon Jan 11 14:38:35 2016 +0800

    audio-preview: Fix help messages in some locales
    
    Call setlocale() first thing in the main() function
    
    https://bugzilla.gnome.org/show_bug.cgi?id=760434

 src/totem-audio-preview.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/totem-audio-preview.c b/src/totem-audio-preview.c
index 858b471..e3fb700 100644
--- a/src/totem-audio-preview.c
+++ b/src/totem-audio-preview.c
@@ -165,6 +165,7 @@ int main (int argc, char **argv)
        GMainLoop *loop;
        GstElement *play;
 
+       setlocale (LC_ALL, "");
        bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
        bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
        textdomain (GETTEXT_PACKAGE);


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