[MOVED FROM BAD] Enable/fix up translations for these plugins.
authorTim-Philipp Müller <tim@centricular.net>
Tue, 2 Sep 2008 09:56:44 +0000 (09:56 +0000)
committerJan Schmidt <thaytan@noraisin.net>
Mon, 9 Mar 2009 23:31:06 +0000 (23:31 +0000)
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.

ext/twolame/gsttwolame.c

index 3700aa3..81b865b 100644 (file)
@@ -1024,6 +1024,7 @@ plugin_init (GstPlugin * plugin)
   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 /* ENABLE_NLS */
 
   if (!gst_element_register (plugin, "twolame", GST_RANK_NONE,