Commit b7276b6f authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

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.
parent d5e8bc14
2008-09-02 Tim-Philipp Müller <tim.muller at collabora co uk>
* 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.
2008-09-02 Edward Hervey <edward.hervey@collabora.co.uk>
* gst/mpegtsmux/tsmux/tsmux.c: (tsmux_write_ts_header):
......
......@@ -24,8 +24,8 @@
#include <gst/gst.h>
#include "resindvdbin.h"
#include "gstmpegdemux.h"
#include <gst/gst-i18n-plugin.h>
GST_DEBUG_CATEGORY (resindvd_debug);
#define GST_CAT_DEFAULT resindvd_debug
......@@ -38,6 +38,13 @@ plugin_init (GstPlugin * plugin)
GST_DEBUG_CATEGORY_INIT (resindvd_debug, "resindvd elements",
0, "DVD playback elements from resindvd");
#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
result &= gst_element_register (plugin, "rsndvdbin",
GST_RANK_PRIMARY, RESIN_TYPE_DVDBIN);
......
......@@ -24,8 +24,7 @@
#include <string.h>
#include <gst/gst.h>
// #include <gst/gst-i18n-plugin.h>
#define _(s) s /* FIXME - add i18n bits to build */
#include <gst/gst-i18n-plugin.h>
#include "resindvdsrc.h"
......
......@@ -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,
......
......@@ -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);
}
......
af az bg cs da de en_GB es fi fr hu id it ky lt nb nl or pl pt_BR ru sk sq sr sv uk vi zh_CN
af az bg ca cs da de en_GB es fi fr hu id it ky lt nb nl or pl pt_BR ru sk sq sr sv uk vi zh_CN
# ext/audiofile/gstafsink.c
# ext/audiofile/gstafsrc.c
# sys/dxr3/dxr3audiosink.c
# sys/dxr3/dxr3audiosink.c
# sys/dxr3/dxr3videosink.c
ext/resindvd/resindvdsrc.c
ext/resindvd/rsnbasesrc.c
ext/sndfile/gstsfsink.c
ext/sndfile/gstsfsrc.c
ext/twolame/gsttwolame.c
gst/aiffparse/aiffparse.c
gst/nuvdemux/gstnuvdemux.c
sys/dvb/gstdvbsrc.c
sys/oss4/oss4-mixer.c
sys/oss4/oss4-sink.c
sys/oss4/oss4-source.c
......@@ -3,3 +3,5 @@ ext/audiofile/gstafsrc.c
sys/dxr3/dxr3audiosink.c
sys/dxr3/dxr3spusink.c
sys/dxr3/dxr3videosink.c
tests/icles/metadata_editor.glade
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment