diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2004-01-19 15:45:55 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2004-01-19 15:45:55 +0000 |
commit | 469936a3bdb13a93791d954a50502cea01f0529d (patch) | |
tree | e8f9dcd0b13b2416ac7d86bc5184e92f06689702 /sys/v4l2/gstv4l2.c | |
parent | 4cb7d639d6f9b95000cb2240ba722cc83dba7eb6 (diff) |
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.c | 6 |
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; } |