[totem] audio-preview: Fix help messages in some locales
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] audio-preview: Fix help messages in some locales
- Date: Mon, 11 Jan 2016 10:27:37 +0000 (UTC)
commit 8ed76341025868862f380f40704b9d4683b1eca0
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 b7de1b8..f4cf949 100644
--- a/src/totem-audio-preview.c
+++ b/src/totem-audio-preview.c
@@ -163,6 +163,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]