From e2a10c5fdaed1f45040fb3d737ab79f0e5d774d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Tue, 11 Dec 2007 14:12:35 +0100 Subject: Use N_() rather than _(), passing the string just once to gettext(). This way the gettext code for description does not need to be repeated by every plugin. --- src/libxinevdec/bitplane.c | 2 +- src/libxinevdec/foovideo.c | 2 +- src/libxinevdec/gdkpixbuf.c | 2 +- src/libxinevdec/image.c | 2 +- src/libxinevdec/rgb.c | 2 +- src/libxinevdec/yuv.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/libxinevdec') diff --git a/src/libxinevdec/bitplane.c b/src/libxinevdec/bitplane.c index 1c7f387c6..a3c314b0b 100644 --- a/src/libxinevdec/bitplane.c +++ b/src/libxinevdec/bitplane.c @@ -1554,7 +1554,7 @@ static void *init_plugin (xine_t *xine, void *data) { this->decoder_class.open_plugin = open_plugin; this->decoder_class.identifier = "bitplane"; - this->decoder_class.description = _("Raw bitplane video decoder plugin"); + this->decoder_class.description = N_("Raw bitplane video decoder plugin"); this->decoder_class.dispose = dispose_class; return this; diff --git a/src/libxinevdec/foovideo.c b/src/libxinevdec/foovideo.c index dfcb8630d..29ad2e11e 100644 --- a/src/libxinevdec/foovideo.c +++ b/src/libxinevdec/foovideo.c @@ -244,7 +244,7 @@ static void *init_plugin (xine_t *xine, void *data) { this->decoder_class.open_plugin = open_plugin; this->decoder_class.identifier = "foovideo"; - this->decoder_class.description = _("foovideo: reference xine video decoder plugin"); + this->decoder_class.description = N_("foovideo: reference xine video decoder plugin"); this->decoder_class.dispose = dispose_class; return this; diff --git a/src/libxinevdec/gdkpixbuf.c b/src/libxinevdec/gdkpixbuf.c index bbd66f42f..1b30489f5 100644 --- a/src/libxinevdec/gdkpixbuf.c +++ b/src/libxinevdec/gdkpixbuf.c @@ -273,7 +273,7 @@ static void *init_class (xine_t *xine, void *data) { this->decoder_class.open_plugin = open_plugin; this->decoder_class.identifier = "gdkpixbuf"; - this->decoder_class.description = _("gdk-pixbuf image video decoder plugin"); + this->decoder_class.description = N_("gdk-pixbuf image video decoder plugin"); this->decoder_class.dispose = dispose_class; /* diff --git a/src/libxinevdec/image.c b/src/libxinevdec/image.c index 2807fc5d6..7fbafe70e 100644 --- a/src/libxinevdec/image.c +++ b/src/libxinevdec/image.c @@ -251,7 +251,7 @@ static void *init_class (xine_t *xine, void *data) { this->decoder_class.open_plugin = open_plugin; this->decoder_class.identifier = "imagevdec"; - this->decoder_class.description = _("image video decoder plugin"); + this->decoder_class.description = N_("image video decoder plugin"); this->decoder_class.dispose = dispose_class; /* diff --git a/src/libxinevdec/rgb.c b/src/libxinevdec/rgb.c index 54adeeec1..490069643 100644 --- a/src/libxinevdec/rgb.c +++ b/src/libxinevdec/rgb.c @@ -428,7 +428,7 @@ static void *init_plugin (xine_t *xine, void *data) { this->decoder_class.open_plugin = open_plugin; this->decoder_class.identifier = "RGB"; - this->decoder_class.description = _("Raw RGB video decoder plugin"); + this->decoder_class.description = N_("Raw RGB video decoder plugin"); this->decoder_class.dispose = dispose_class; return this; diff --git a/src/libxinevdec/yuv.c b/src/libxinevdec/yuv.c index bcbb4bbe7..56f97be5d 100644 --- a/src/libxinevdec/yuv.c +++ b/src/libxinevdec/yuv.c @@ -351,7 +351,7 @@ static void *init_plugin (xine_t *xine, void *data) { this->decoder_class.open_plugin = open_plugin; this->decoder_class.identifier = "YUV"; - this->decoder_class.description = _("Raw YUV video decoder plugin"); + this->decoder_class.description = N_("Raw YUV video decoder plugin"); this->decoder_class.dispose = dispose_class; return this; -- cgit v1.2.3