diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2007-05-02 18:01:52 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2007-05-02 18:01:52 +0000 |
commit | 09b83eac480f10b0000f64494aa221e7d2669167 (patch) | |
tree | a283ff5db8545e632d371cc68884df37c78c2b67 | |
parent | 64e0ee90f6a3e9a7ea173af0141eac20303dcc84 (diff) |
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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/flac/gstflac.c | 7 |
2 files changed, 12 insertions, 0 deletions
@@ -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), diff --git a/ext/flac/gstflac.c b/ext/flac/gstflac.c index 21241827..d07ec479 100644 --- a/ext/flac/gstflac.c +++ b/ext/flac/gstflac.c @@ -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; |