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/dxr3/dxr3_decode_spu.c | 2 +- src/dxr3/dxr3_decode_video.c | 2 +- src/dxr3/video_out_dxr3.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/dxr3') diff --git a/src/dxr3/dxr3_decode_spu.c b/src/dxr3/dxr3_decode_spu.c index ac0908266..b83f94782 100644 --- a/src/dxr3/dxr3_decode_spu.c +++ b/src/dxr3/dxr3_decode_spu.c @@ -201,7 +201,7 @@ static void *dxr3_spudec_init_plugin(xine_t *xine, void* data) this->spu_decoder_class.open_plugin = dxr3_spudec_open_plugin; this->spu_decoder_class.identifier = "dxr3-spudec"; - this->spu_decoder_class.description = _("subtitle decoder plugin using the hardware decoding capabilities of a DXR3 decoder card"); + this->spu_decoder_class.description = N_("subtitle decoder plugin using the hardware decoding capabilities of a DXR3 decoder card"); this->spu_decoder_class.dispose = dxr3_spudec_class_dispose; this->instance = 0; diff --git a/src/dxr3/dxr3_decode_video.c b/src/dxr3/dxr3_decode_video.c index 71c7fe8d7..87ea1900c 100644 --- a/src/dxr3/dxr3_decode_video.c +++ b/src/dxr3/dxr3_decode_video.c @@ -196,7 +196,7 @@ static void *dxr3_init_plugin(xine_t *xine, void *data) this->video_decoder_class.open_plugin = dxr3_open_plugin; this->video_decoder_class.identifier = "dxr3-mpeg2"; - this->video_decoder_class.description = _("MPEGI/II decoder plugin using the hardware decoding capabilities of a DXR3 decoder card."); + this->video_decoder_class.description = N_("MPEGI/II decoder plugin using the hardware decoding capabilities of a DXR3 decoder card."); this->video_decoder_class.dispose = dxr3_class_dispose; this->instance = 0; diff --git a/src/dxr3/video_out_dxr3.c b/src/dxr3/video_out_dxr3.c index c8b95febd..68a5eb0af 100644 --- a/src/dxr3/video_out_dxr3.c +++ b/src/dxr3/video_out_dxr3.c @@ -175,7 +175,7 @@ static dxr3_driver_class_t *dxr3_vo_init_plugin(xine_t *xine, void *visual_gen) this->video_driver_class.open_plugin = dxr3_vo_open_plugin; this->video_driver_class.identifier = DXR3_VO_ID; - this->video_driver_class.description = _("video output plugin displaying images through your DXR3 decoder card"); + this->video_driver_class.description = N_("video output plugin displaying images through your DXR3 decoder card"); this->video_driver_class.dispose = dxr3_vo_class_dispose; this->xine = xine; -- cgit v1.2.3