mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
Make sure gettext returns translations in UTF-8 encoding rather than in the current locale encoding (#546822).
Original commit message from CVS: Patch by: Frederic Crozat <fcrozat@mandriva.org> * ext/sndfile/gstsf.c: (plugin_init): * sys/dvb/gstdvbsrc.c: (gst_dvbsrc_plugin_init): * sys/oss4/oss4-audio.c: (plugin_init): Make sure gettext returns translations in UTF-8 encoding rather than in the current locale encoding (#546822).
This commit is contained in:
parent
eea5ff778f
commit
106b2a7a37
4 changed files with 13 additions and 0 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
|
||||||
|
|
||||||
|
Patch by: Frederic Crozat <fcrozat@mandriva.org>
|
||||||
|
|
||||||
|
* ext/sndfile/gstsf.c: (plugin_init):
|
||||||
|
* sys/dvb/gstdvbsrc.c: (gst_dvbsrc_plugin_init):
|
||||||
|
* sys/oss4/oss4-audio.c: (plugin_init):
|
||||||
|
Make sure gettext returns translations in UTF-8 encoding rather
|
||||||
|
than in the current locale encoding (#546822).
|
||||||
|
|
||||||
2008-08-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
2008-08-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||||
|
|
||||||
* ext/twolame/gsttwolame.c: (gst_two_lame_sink_setcaps),
|
* ext/twolame/gsttwolame.c: (gst_two_lame_sink_setcaps),
|
||||||
|
|
|
@ -109,6 +109,7 @@ plugin_init (GstPlugin * plugin)
|
||||||
GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
|
GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
|
||||||
LOCALEDIR);
|
LOCALEDIR);
|
||||||
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
|
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
|
||||||
|
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
||||||
#endif /* ENABLE_NLS */
|
#endif /* ENABLE_NLS */
|
||||||
|
|
||||||
if (!gst_element_register (plugin, "sfsink", GST_RANK_NONE,
|
if (!gst_element_register (plugin, "sfsink", GST_RANK_NONE,
|
||||||
|
|
|
@ -834,6 +834,7 @@ gst_dvbsrc_plugin_init (GstPlugin * plugin)
|
||||||
GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
|
GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
|
||||||
LOCALEDIR);
|
LOCALEDIR);
|
||||||
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
|
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
|
||||||
|
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
||||||
#endif /* ENABLE_NLS */
|
#endif /* ENABLE_NLS */
|
||||||
|
|
||||||
return gst_element_register (plugin, "dvbsrc", GST_RANK_NONE,
|
return gst_element_register (plugin, "dvbsrc", GST_RANK_NONE,
|
||||||
|
|
|
@ -700,6 +700,7 @@ plugin_init (GstPlugin * plugin)
|
||||||
GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
|
GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
|
||||||
LOCALEDIR);
|
LOCALEDIR);
|
||||||
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
|
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
|
||||||
|
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* we want a higher rank than the legacy OSS elements have now */
|
/* we want a higher rank than the legacy OSS elements have now */
|
||||||
|
|
Loading…
Reference in a new issue