summaryrefslogtreecommitdiffstats
path: root/sys/v4l2/gstv4l2.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
commit22f4937e955a00d4fa099545ceb5523eafafd8a9 (patch)
tree323af199e73c709bd3f94c4e4ea3d344520fe119 /sys/v4l2/gstv4l2.c
parentf83bd835e019c1f11adae83337bb9f00292b2365 (diff)
downloadgst-plugins-bad-22f4937e955a00d4fa099545ceb5523eafafd8a9.tar.gz
gst-plugins-bad-22f4937e955a00d4fa099545ceb5523eafafd8a9.tar.bz2
gst-plugins-bad-22f4937e955a00d4fa099545ceb5523eafafd8a9.zip
putting i18n in place for plugins
Original commit message from CVS: putting i18n in place for plugins
Diffstat (limited to 'sys/v4l2/gstv4l2.c')
-rw-r--r--sys/v4l2/gstv4l2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/v4l2/gstv4l2.c b/sys/v4l2/gstv4l2.c
index f91e10ce..45b614c2 100644
--- a/sys/v4l2/gstv4l2.c
+++ b/sys/v4l2/gstv4l2.c
@@ -40,6 +40,12 @@ plugin_init (GstPlugin *plugin)
GST_RANK_NONE, GST_TYPE_V4L2SRC))
return FALSE;
+#ifdef ENABLE_NLS
+ setlocale (LC_ALL, "");
+ bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
+ textdomain (GETTEXT_PACKAGE);
+#endif /* ENABLE_NLS */
+
return TRUE;
}