From 09b83eac480f10b0000f64494aa221e7d2669167 Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Wed, 2 May 2007 18:01:52 +0000 Subject: 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. --- ext/flac/gstflac.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ext') 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 +#include 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; -- cgit