From 469936a3bdb13a93791d954a50502cea01f0529d 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 --- gst/avi/gstavi.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gst/avi') diff --git a/gst/avi/gstavi.c b/gst/avi/gstavi.c index da30d434..50adfd2e 100644 --- a/gst/avi/gstavi.c +++ b/gst/avi/gstavi.c @@ -23,6 +23,8 @@ #include "config.h" #endif +#include "gst/gst-i18n-plugin.h" + #include "gstavidemux.h" #include "gstavimux.h" @@ -32,6 +34,12 @@ plugin_init (GstPlugin *plugin) if (!gst_library_load ("riff")) return FALSE; +#ifdef ENABLE_NLS + setlocale (LC_ALL, ""); + bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); + textdomain (GETTEXT_PACKAGE); +#endif /* ENABLE_NLS */ + return (gst_element_register (plugin, "avidemux", GST_RANK_PRIMARY, GST_TYPE_AVI_DEMUX) && -- cgit