diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 14:02:35 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 14:02:35 +0100 |
commit | 5b812f5ae063e9e6dadb4eff65bbbe78e977c6f3 (patch) | |
tree | 06f683219d30878a3309102d09942707d63ab026 /src | |
parent | b3419984efb0af7b31c9faebb779ee412e3d02f3 (diff) | |
download | xine-lib-5b812f5ae063e9e6dadb4eff65bbbe78e977c6f3.tar.gz xine-lib-5b812f5ae063e9e6dadb4eff65bbbe78e977c6f3.tar.bz2 |
Add a textdomain field to allow using a different i18n catalog for the description translation.
Diffstat (limited to 'src')
-rw-r--r-- | src/demuxers/demux.h | 5 | ||||
-rw-r--r-- | src/input/input_plugin.h | 5 | ||||
-rw-r--r-- | src/xine-engine/audio_decoder.h | 5 | ||||
-rw-r--r-- | src/xine-engine/audio_out.h | 5 | ||||
-rw-r--r-- | src/xine-engine/post.h | 5 | ||||
-rw-r--r-- | src/xine-engine/spu_decoder.h | 5 | ||||
-rw-r--r-- | src/xine-engine/video_decoder.h | 5 | ||||
-rw-r--r-- | src/xine-engine/video_out.h | 5 |
8 files changed, 40 insertions, 0 deletions
diff --git a/src/demuxers/demux.h b/src/demuxers/demux.h index 301fe0f2b..0e57a535a 100644 --- a/src/demuxers/demux.h +++ b/src/demuxers/demux.h @@ -65,6 +65,11 @@ struct demux_class_s { */ const char *description; + /** + * @brief Optional non-standard catalog to use with dgettext() for description. + */ + const char *textdomain; + /* * return MIME types supported for this plugin */ diff --git a/src/input/input_plugin.h b/src/input/input_plugin.h index 31a4f9846..95df4be97 100644 --- a/src/input/input_plugin.h +++ b/src/input/input_plugin.h @@ -60,6 +60,11 @@ struct input_class_s { */ const char *description; + /** + * @brief Optional non-standard catalog to use with dgettext() for description. + */ + const char *textdomain; + /* * ls function, optional: may be NULL * return value: NULL => filename is a file, **char=> filename is a dir diff --git a/src/xine-engine/audio_decoder.h b/src/xine-engine/audio_decoder.h index 7ad46e2f8..df8556902 100644 --- a/src/xine-engine/audio_decoder.h +++ b/src/xine-engine/audio_decoder.h @@ -59,6 +59,11 @@ struct audio_decoder_class_s { */ const char *description; + /** + * @brief Optional non-standard catalog to use with dgettext() for description. + */ + const char *textdomain; + /* * free all class-related resources */ diff --git a/src/xine-engine/audio_out.h b/src/xine-engine/audio_out.h index 415c47cc7..32d9d5813 100644 --- a/src/xine-engine/audio_out.h +++ b/src/xine-engine/audio_out.h @@ -249,6 +249,11 @@ struct audio_driver_class_s { */ const char *description; + /** + * @brief Optional non-standard catalog to use with dgettext() for description. + */ + const char *textdomain; + /* * free all class-related resources */ diff --git a/src/xine-engine/post.h b/src/xine-engine/post.h index 006daa20c..940f269e1 100644 --- a/src/xine-engine/post.h +++ b/src/xine-engine/post.h @@ -66,6 +66,11 @@ struct post_class_s { */ const char *description; + /** + * @brief Optional non-standard catalog to use with dgettext() for description. + */ + const char *textdomain; + /* * free all class-related resources */ diff --git a/src/xine-engine/spu_decoder.h b/src/xine-engine/spu_decoder.h index 7acd8618d..badf15e41 100644 --- a/src/xine-engine/spu_decoder.h +++ b/src/xine-engine/spu_decoder.h @@ -60,6 +60,11 @@ struct spu_decoder_class_s { */ const char *description; + /** + * @brief Optional non-standard catalog to use with dgettext() for description. + */ + const char *textdomain; + /* * free all class-related resources */ diff --git a/src/xine-engine/video_decoder.h b/src/xine-engine/video_decoder.h index 7dfd10a14..249b86b4c 100644 --- a/src/xine-engine/video_decoder.h +++ b/src/xine-engine/video_decoder.h @@ -60,6 +60,11 @@ struct video_decoder_class_s { */ const char *description; + /** + * @brief Optional non-standard catalog to use with dgettext() for description. + */ + const char *textdomain; + /* * free all class-related resources */ diff --git a/src/xine-engine/video_out.h b/src/xine-engine/video_out.h index 161fbd899..e81947276 100644 --- a/src/xine-engine/video_out.h +++ b/src/xine-engine/video_out.h @@ -381,6 +381,11 @@ struct video_driver_class_s { */ const char *description; + /** + * @brief Optional non-standard catalog to use with dgettext() for description. + */ + const char *textdomain; + /* * free all class-related resources */ |