From 22f4937e955a00d4fa099545ceb5523eafafd8a9 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 19 Jan 2004 15:45:55 +0000 Subject: putting i18n in place for plugins Original commit message from CVS: putting i18n in place for plugins --- ext/audiofile/gstafsink.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'ext/audiofile/gstafsink.c') diff --git a/ext/audiofile/gstafsink.c b/ext/audiofile/gstafsink.c index 26d71cd3..9cd134e5 100644 --- a/ext/audiofile/gstafsink.c +++ b/ext/audiofile/gstafsink.c @@ -278,7 +278,12 @@ gst_afsink_plugin_init (GstPlugin *plugin) { if (!gst_element_register (plugin, "afsink", GST_RANK_NONE, GST_TYPE_AFSINK)) return FALSE; - +#ifdef ENABLE_NLS + setlocale (LC_ALL, ""); + bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); + textdomain (GETTEXT_PACKAGE); +#endif /* ENABLE_NLS */ + return TRUE; } -- cgit v1.2.1