diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2008-09-02 09:56:44 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2008-09-02 09:56:44 +0000 |
commit | b7276b6f7c7c304bde4f3de30f09af200b4b1275 (patch) | |
tree | 8691d95711bccf0602d32d3c8737890e04cd7f87 /gst/aiffparse/aiffparse.c | |
parent | d5e8bc1472e8a3f1b79361347166ac0cb8c944a5 (diff) | |
download | gst-plugins-bad-b7276b6f7c7c304bde4f3de30f09af200b4b1275.tar.gz gst-plugins-bad-b7276b6f7c7c304bde4f3de30f09af200b4b1275.tar.bz2 gst-plugins-bad-b7276b6f7c7c304bde4f3de30f09af200b4b1275.zip |
Enable/fix up translations for these plugins.
Original commit message from CVS:
* ext/resindvd/plugin.c: (plugin_init):
* ext/resindvd/resindvdsrc.c:
* ext/twolame/gsttwolame.c: (plugin_init):
* gst/aiffparse/aiffparse.c: (plugin_init):
Enable/fix up translations for these plugins.
* po/LINGUAS:
Add 'ca' to LINGUAS.
* po/POTFILES.in:
* po/POTFILES.skip:
Add more files for translation and more files which tools
should skip.
Diffstat (limited to 'gst/aiffparse/aiffparse.c')
-rw-r--r-- | gst/aiffparse/aiffparse.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gst/aiffparse/aiffparse.c b/gst/aiffparse/aiffparse.c index f1ba94ac..09ec2e52 100644 --- a/gst/aiffparse/aiffparse.c +++ b/gst/aiffparse/aiffparse.c @@ -1538,6 +1538,13 @@ gst_aiffparse_change_state (GstElement * element, GstStateChange transition) static gboolean plugin_init (GstPlugin * plugin) { +#ifdef ENABLE_NLS + GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE, + LOCALEDIR); + bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); + bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); +#endif + return gst_element_register (plugin, "aiffparse", GST_RANK_PRIMARY, TYPE_AIFFPARSE); } |