ext/flac/gstflac.c: Call bindtextdomain() to get localized strings.

Original commit message from CVS:
* ext/flac/gstflac.c: (plugin_init):
Call bindtextdomain() to get localized strings.
This commit is contained in:
Sebastian Dröge 2007-05-02 18:01:52 +00:00
parent 64e0ee90f6
commit 09b83eac48
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2007-05-02 Sebastian Dröge <slomo@circular-chaos.org>
* ext/flac/gstflac.c: (plugin_init):
Call bindtextdomain() to get localized strings.
2007-05-02 Wim Taymans <wim@fluendo.com>
* gst/wavparse/gstwavparse.c: (gst_wavparse_perform_seek),

View file

@ -26,10 +26,17 @@
/* #include "gstflactag.h" */
#include <gst/tag/tag.h>
#include <gst/gst-i18n-plugin.h>
static gboolean
plugin_init (GstPlugin * plugin)
{
#if ENABLE_NLS
GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
LOCALEDIR);
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
#endif
if (!gst_element_register (plugin, "flacenc", GST_RANK_NONE,
GST_TYPE_FLAC_ENC))
return FALSE;