diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-04-25 10:25:51 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-04-25 10:26:48 +0200 |
commit | fe9db1dd2f68b0f7a2949de02e5778873d5c15b3 (patch) | |
tree | 9e2625a390c74ed7ff847713964602fe4d966e7b /ext/sndio | |
parent | 18b0bfc1f107a4ad82a3c07c3ef333f161bee11f (diff) | |
download | gstreamer-plugins-bad-fe9db1dd2f68b0f7a2949de02e5778873d5c15b3.tar.gz |
sndio: Fix i18n initialization
Diffstat (limited to 'ext/sndio')
-rw-r--r-- | ext/sndio/gstsndio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/sndio/gstsndio.c b/ext/sndio/gstsndio.c index d52a4242d..af8252ec0 100644 --- a/ext/sndio/gstsndio.c +++ b/ext/sndio/gstsndio.c @@ -37,8 +37,10 @@ plugin_init (GstPlugin * plugin) GST_DEBUG_CATEGORY_INIT (gst_sndio_debug, "sndio", 0, "sndio elements"); #ifdef ENABLE_NLS - setlocale (LC_ALL, ""); + GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE, + LOCALEDIR); bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); + bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); #endif /* ENABLE_NLS */ return TRUE; |