summaryrefslogtreecommitdiffstats
path: root/ext/flac/gstflac.c
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2007-05-02 18:01:52 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2007-05-02 18:01:52 +0000
commit09b83eac480f10b0000f64494aa221e7d2669167 (patch)
treea283ff5db8545e632d371cc68884df37c78c2b67 /ext/flac/gstflac.c
parent64e0ee90f6a3e9a7ea173af0141eac20303dcc84 (diff)
ext/flac/gstflac.c: Call bindtextdomain() to get localized strings.
Original commit message from CVS: * ext/flac/gstflac.c: (plugin_init): Call bindtextdomain() to get localized strings.
Diffstat (limited to 'ext/flac/gstflac.c')
-rw-r--r--ext/flac/gstflac.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/flac/gstflac.c b/ext/flac/gstflac.c
index 21241827..d07ec479 100644
--- a/ext/flac/gstflac.c
+++ b/ext/flac/gstflac.c
@@ -26,10 +26,17 @@
/* #include "gstflactag.h" */
#include <gst/tag/tag.h>
+#include <gst/gst-i18n-plugin.h>
static gboolean
plugin_init (GstPlugin * plugin)
{
+#if ENABLE_NLS
+ GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
+ LOCALEDIR);
+ bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
+#endif
+
if (!gst_element_register (plugin, "flacenc", GST_RANK_NONE,
GST_TYPE_FLAC_ENC))
return FALSE;