summaryrefslogtreecommitdiffstats
path: root/gst/avi/gstavi.c
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-01-19 15:45:55 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-01-19 15:45:55 +0000
commit469936a3bdb13a93791d954a50502cea01f0529d (patch)
treee8f9dcd0b13b2416ac7d86bc5184e92f06689702 /gst/avi/gstavi.c
parent4cb7d639d6f9b95000cb2240ba722cc83dba7eb6 (diff)
putting i18n in place for plugins
Original commit message from CVS: putting i18n in place for plugins
Diffstat (limited to 'gst/avi/gstavi.c')
-rw-r--r--gst/avi/gstavi.c8
1 files changed, 8 insertions, 0 deletions
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) &&