From 5827f80d621828cc9f3be10fce0f1d4d487bfcd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 25 Jun 2007 11:02:21 +0000 Subject: gconf/: Remove dysfunctional directory (this stuff is in -good). Original commit message from CVS: * gconf/.cvsignore: * gconf/Makefile.am: * gconf/gstreamer.schemas.in: Remove dysfunctional directory (this stuff is in -good). * ext/sndfile/gstsf.c: (plugin_init): * sys/dvb/gstdvbsrc.c: (plugin_init): Add i18n bindtextdomain stuff. * gst/nuvdemux/gstnuvdemux.c: (gst_nuv_demux_class_init), (plugin_init): Post an error message when returning GST_FLOW_ERROR; minor cleanups. * po/POTFILES.in: Add more source files with translatable strings (fixes #450605). --- ext/sndfile/gstsf.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ext') diff --git a/ext/sndfile/gstsf.c b/ext/sndfile/gstsf.c index e4158651..dcfcc1bd 100644 --- a/ext/sndfile/gstsf.c +++ b/ext/sndfile/gstsf.c @@ -22,6 +22,7 @@ #include "config.h" #endif +#include #include #include "gstsf.h" @@ -104,6 +105,12 @@ gst_sf_minor_types_get_type (void) static gboolean plugin_init (GstPlugin * plugin) { +#ifdef ENABLE_NLS + GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE, + LOCALEDIR); + bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); +#endif /* ENABLE_NLS */ + if (!gst_element_register (plugin, "sfsink", GST_RANK_NONE, gst_sf_sink_get_type ())) return FALSE; -- cgit v1.2.1