diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 10:58:08 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 10:58:08 +0100 |
commit | 051c26d8e93ce4eacf071c068b32fe9c06b3739d (patch) | |
tree | f516710a35fc0f7a25c9946821d492c110de2c52 /src/xine-engine | |
parent | 60e025ce15431f04955502084bc54c18d69c7d6a (diff) | |
download | xine-lib-051c26d8e93ce4eacf071c068b32fe9c06b3739d.tar.gz xine-lib-051c26d8e93ce4eacf071c068b32fe9c06b3739d.tar.bz2 |
Leave to the plugin the call to gettext exactly as before.
This way external plugins can use their own gettext catalog for i18n.
Diffstat (limited to 'src/xine-engine')
-rw-r--r-- | src/xine-engine/load_plugins.c | 2 | ||||
-rw-r--r-- | src/xine-engine/xine.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index 1c59099a5..22d199295 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.c @@ -2299,7 +2299,7 @@ const char *const *xine_list_post_plugins_typed(xine_t *xine, uint32_t type) { else \ return NULL; \ } \ - return gettext(ic->description); \ + return ic->description; \ } \ } \ return NULL; \ diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index abd9a932c..eb5d624e2 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.c @@ -862,7 +862,7 @@ static int open_internal (xine_stream_t *stream, const char *mrl) { int res; xine_log (stream->xine, XINE_LOG_MSG, _("xine: found input plugin : %s\n"), - gettext(stream->input_plugin->input_class->description)); + stream->input_plugin->input_class->description); if (stream->input_plugin->input_class->eject_media) stream->eject_class = stream->input_plugin->input_class; _x_meta_info_set_utf8(stream, XINE_META_INFO_INPUT_PLUGIN, @@ -1214,7 +1214,7 @@ static int open_internal (xine_stream_t *stream, const char *mrl) { } xine_log (stream->xine, XINE_LOG_MSG, _("xine: found demuxer plugin: %s\n"), - gettext(stream->demux_plugin->demux_class->description)); + stream->demux_plugin->demux_class->description); _x_extra_info_reset( stream->current_extra_info ); _x_extra_info_reset( stream->video_decoder_extra_info ); |