summaryrefslogtreecommitdiffstats
path: root/sys/oss/gstossaudio.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 /sys/oss/gstossaudio.c
parent4cb7d639d6f9b95000cb2240ba722cc83dba7eb6 (diff)
putting i18n in place for plugins
Original commit message from CVS: putting i18n in place for plugins
Diffstat (limited to 'sys/oss/gstossaudio.c')
-rw-r--r--sys/oss/gstossaudio.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/oss/gstossaudio.c b/sys/oss/gstossaudio.c
index 08868dbb..eea7cf75 100644
--- a/sys/oss/gstossaudio.c
+++ b/sys/oss/gstossaudio.c
@@ -21,6 +21,8 @@
#include "config.h"
#endif
+#include "gst/gst-i18n-plugin.h"
+
#include "gstosselement.h"
#include "gstosssink.h"
#include "gstosssrc.h"
@@ -45,6 +47,13 @@ plugin_init (GstPlugin *plugin)
}
GST_DEBUG_CATEGORY_INIT (oss_debug, "oss", 0, "OSS elements");
+
+#ifdef ENABLE_NLS
+ setlocale (LC_ALL, "");
+ bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
+ textdomain (GETTEXT_PACKAGE);
+#endif /* ENABLE_NLS */
+
return TRUE;
}