diff options
| author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 14:12:35 +0100 |
|---|---|---|
| committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 14:12:35 +0100 |
| commit | e2a10c5fdaed1f45040fb3d737ab79f0e5d774d9 (patch) | |
| tree | cc7c221e8fd397385481dea66f3f3a30feaaee18 /src/video_out | |
| parent | c17489d9fc412f779631fad1ad97b15fbffa5276 (diff) | |
| download | xine-lib-e2a10c5fdaed1f45040fb3d737ab79f0e5d774d9.tar.gz xine-lib-e2a10c5fdaed1f45040fb3d737ab79f0e5d774d9.tar.bz2 | |
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.
Diffstat (limited to 'src/video_out')
| -rw-r--r-- | src/video_out/video_out_aa.c | 2 | ||||
| -rw-r--r-- | src/video_out/video_out_caca.c | 2 | ||||
| -rw-r--r-- | src/video_out/video_out_directfb.c | 4 | ||||
| -rw-r--r-- | src/video_out/video_out_directx.c | 2 | ||||
| -rw-r--r-- | src/video_out/video_out_fb.c | 2 | ||||
| -rw-r--r-- | src/video_out/video_out_macosx.m | 2 | ||||
| -rw-r--r-- | src/video_out/video_out_none.c | 2 | ||||
| -rw-r--r-- | src/video_out/video_out_opengl.c | 2 | ||||
| -rw-r--r-- | src/video_out/video_out_pgx32.c | 2 | ||||
| -rw-r--r-- | src/video_out/video_out_pgx64.c | 2 | ||||
| -rw-r--r-- | src/video_out/video_out_sdl.c | 2 | ||||
| -rw-r--r-- | src/video_out/video_out_stk.c | 2 | ||||
| -rw-r--r-- | src/video_out/video_out_syncfb.c | 2 | ||||
| -rw-r--r-- | src/video_out/video_out_vidix.c | 4 | ||||
| -rw-r--r-- | src/video_out/video_out_xcbshm.c | 2 | ||||
| -rw-r--r-- | src/video_out/video_out_xcbxv.c | 2 | ||||
| -rw-r--r-- | src/video_out/video_out_xshm.c | 2 | ||||
| -rw-r--r-- | src/video_out/video_out_xv.c | 2 | ||||
| -rw-r--r-- | src/video_out/video_out_xvmc.c | 2 | ||||
| -rw-r--r-- | src/video_out/video_out_xxmc.c | 2 |
20 files changed, 22 insertions, 22 deletions
diff --git a/src/video_out/video_out_aa.c b/src/video_out/video_out_aa.c index 74d19b6f6..38fb9f646 100644 --- a/src/video_out/video_out_aa.c +++ b/src/video_out/video_out_aa.c @@ -312,7 +312,7 @@ static void *init_class (xine_t *xine, void *visual_gen) { this->driver_class.open_plugin = open_plugin; this->driver_class.identifier = "AA"; - this->driver_class.description = _("xine video output plugin using the ascii-art library"); + this->driver_class.description = N_("xine video output plugin using the ascii-art library"); this->driver_class.dispose = dispose_class; this->config = xine->config; diff --git a/src/video_out/video_out_caca.c b/src/video_out/video_out_caca.c index b7ea21ba1..6384ed1aa 100644 --- a/src/video_out/video_out_caca.c +++ b/src/video_out/video_out_caca.c @@ -318,7 +318,7 @@ static void *init_class (xine_t *xine, void *visual_gen) { this->driver_class.open_plugin = open_plugin; this->driver_class.identifier = "CACA"; - this->driver_class.description = _("xine video output plugin using the Color AsCii Art library"); + this->driver_class.description = N_("xine video output plugin using the Color AsCii Art library"); this->driver_class.dispose = dispose_class; this->config = xine->config; diff --git a/src/video_out/video_out_directfb.c b/src/video_out/video_out_directfb.c index fc4757680..f75c6ae94 100644 --- a/src/video_out/video_out_directfb.c +++ b/src/video_out/video_out_directfb.c @@ -1903,7 +1903,7 @@ static void *init_class_fb (xine_t *xine, void *visual_gen) { this = (directfb_class_t *) xine_xmalloc (sizeof (directfb_class_t)); this->driver_class.open_plugin = open_plugin_fb; this->driver_class.identifier = "DirectFB"; - this->driver_class.description = _("xine video output plugin using DirectFB."); + this->driver_class.description = N_("xine video output plugin using DirectFB."); this->driver_class.dispose = dispose_class_fb; this->xine = xine; @@ -2114,7 +2114,7 @@ static void *init_class_x11 (xine_t *xine, void *visual_gen) { this = (directfb_class_t *) xine_xmalloc (sizeof (directfb_class_t)); this->driver_class.open_plugin = open_plugin_x11; this->driver_class.identifier = "XDirectFB"; - this->driver_class.description = _("xine video output plugin using DirectFB under XDirectFB."); + this->driver_class.description = N_("xine video output plugin using DirectFB under XDirectFB."); this->driver_class.dispose = dispose_class_x11; this->visual_type = XINE_VISUAL_TYPE_X11; diff --git a/src/video_out/video_out_directx.c b/src/video_out/video_out_directx.c index 9494a2194..e39acd435 100644 --- a/src/video_out/video_out_directx.c +++ b/src/video_out/video_out_directx.c @@ -1245,7 +1245,7 @@ static void *init_class (xine_t *xine, void *visual_gen) { directx->driver_class.open_plugin = open_plugin; directx->driver_class.identifier = "DirectX"; - directx->driver_class.description = _("xine video output plugin for win32 using directx"); + directx->driver_class.description = N_("xine video output plugin for win32 using directx"); directx->driver_class.dispose = dispose_class; directx->xine = xine; diff --git a/src/video_out/video_out_fb.c b/src/video_out/video_out_fb.c index e061ab781..e08661fa2 100644 --- a/src/video_out/video_out_fb.c +++ b/src/video_out/video_out_fb.c @@ -1058,7 +1058,7 @@ static void *fb_init_class(xine_t *xine, void *visual_gen) this->driver_class.open_plugin = fb_open_plugin; this->driver_class.identifier = "fb"; - this->driver_class.description = _("Xine video output plugin using the Linux frame buffer device"); + this->driver_class.description = N_("Xine video output plugin using the Linux frame buffer device"); this->driver_class.dispose = fb_dispose_class; this->config = xine->config; diff --git a/src/video_out/video_out_macosx.m b/src/video_out/video_out_macosx.m index 27e9814a2..316d0b2ee 100644 --- a/src/video_out/video_out_macosx.m +++ b/src/video_out/video_out_macosx.m @@ -363,7 +363,7 @@ static void *init_class (xine_t *xine, void *visual) { this->driver_class.open_plugin = open_plugin; this->driver_class.identifier = "MacOSX"; - this->driver_class.description = _("xine video output plugin for Mac OS X"); + this->driver_class.description = N_("xine video output plugin for Mac OS X"); this->driver_class.dispose = dispose_class; this->config = xine->config; diff --git a/src/video_out/video_out_none.c b/src/video_out/video_out_none.c index f97c5abab..d339f280d 100644 --- a/src/video_out/video_out_none.c +++ b/src/video_out/video_out_none.c @@ -282,7 +282,7 @@ static void *init_class (xine_t *xine, void *visual) { this->driver_class.open_plugin = open_plugin; this->driver_class.identifier = "none"; - this->driver_class.description = _("xine video output plugin which displays nothing"); + this->driver_class.description = N_("xine video output plugin which displays nothing"); this->driver_class.dispose = dispose_class; this->config = xine->config; diff --git a/src/video_out/video_out_opengl.c b/src/video_out/video_out_opengl.c index d86ef80f3..1bb582636 100644 --- a/src/video_out/video_out_opengl.c +++ b/src/video_out/video_out_opengl.c @@ -1966,7 +1966,7 @@ static void *opengl_init_class (xine_t *xine, void *visual_gen) { this->driver_class.open_plugin = opengl_open_plugin; this->driver_class.identifier = "opengl"; - this->driver_class.description = _("xine video output plugin using the OpenGL 3D graphics API"); + this->driver_class.description = N_("xine video output plugin using the OpenGL 3D graphics API"); this->driver_class.dispose = opengl_dispose_class; this->xine = xine; diff --git a/src/video_out/video_out_pgx32.c b/src/video_out/video_out_pgx32.c index d8504e711..ae4be4431 100644 --- a/src/video_out/video_out_pgx32.c +++ b/src/video_out/video_out_pgx32.c @@ -868,7 +868,7 @@ static void *pgx32_init_class(xine_t *xine, void *visual_gen) class->vo_driver_class.open_plugin = pgx32_init_driver; class->vo_driver_class.identifier = "pgx32"; - class->vo_driver_class.description = _("xine video output plugin for Sun PGX32 framebuffers"); + class->vo_driver_class.description = N_("xine video output plugin for Sun PGX32 framebuffers"); class->vo_driver_class.dispose = pgx32_dispose_class; class->xine = xine; diff --git a/src/video_out/video_out_pgx64.c b/src/video_out/video_out_pgx64.c index a706872cd..84a8af85c 100644 --- a/src/video_out/video_out_pgx64.c +++ b/src/video_out/video_out_pgx64.c @@ -1492,7 +1492,7 @@ static void *pgx64_init_class(xine_t *xine, void *visual_gen) class->vo_driver_class.open_plugin = pgx64_init_driver; class->vo_driver_class.identifier = "pgx64"; - class->vo_driver_class.description = _("xine video output plugin for Sun XVR100/PGX64/PGX24 framebuffers"); + class->vo_driver_class.description = N_("xine video output plugin for Sun XVR100/PGX64/PGX24 framebuffers"); class->vo_driver_class.dispose = pgx64_dispose_class; class->xine = xine; diff --git a/src/video_out/video_out_sdl.c b/src/video_out/video_out_sdl.c index 95c937326..c04d54138 100644 --- a/src/video_out/video_out_sdl.c +++ b/src/video_out/video_out_sdl.c @@ -584,7 +584,7 @@ static void *init_class (xine_t *xine, void *visual_gen) { this->driver_class.open_plugin = open_plugin; this->driver_class.identifier = "SDL"; - this->driver_class.description = _("xine video output plugin using the Simple Direct Media Layer"); + this->driver_class.description = N_("xine video output plugin using the Simple Direct Media Layer"); this->driver_class.dispose = dispose_class; this->config = xine->config; diff --git a/src/video_out/video_out_stk.c b/src/video_out/video_out_stk.c index ba357cd73..ad4769dcd 100644 --- a/src/video_out/video_out_stk.c +++ b/src/video_out/video_out_stk.c @@ -457,7 +457,7 @@ static void *init_class (xine_t *xine, void *visual_gen) { this->driver_class.open_plugin = open_plugin; this->driver_class.identifier = "stk"; - this->driver_class.description = _("xine video output plugin using the Libstk Surface Set-top Toolkit"); + this->driver_class.description = N_("xine video output plugin using the Libstk Surface Set-top Toolkit"); this->driver_class.dispose = dispose_class; this->config = xine->config; diff --git a/src/video_out/video_out_syncfb.c b/src/video_out/video_out_syncfb.c index f133d52d7..a73aca39f 100644 --- a/src/video_out/video_out_syncfb.c +++ b/src/video_out/video_out_syncfb.c @@ -1089,7 +1089,7 @@ static void *init_class (xine_t *xine, void *visual_gen) { this->driver_class.open_plugin = open_plugin; this->driver_class.identifier = "SyncFB"; - this->driver_class.description = _("xine video output plugin using the SyncFB module for Matrox G200/G400 cards"); + this->driver_class.description = N_("xine video output plugin using the SyncFB module for Matrox G200/G400 cards"); this->driver_class.dispose = dispose_class; this->config = xine->config; diff --git a/src/video_out/video_out_vidix.c b/src/video_out/video_out_vidix.c index f8e004583..772b779fa 100644 --- a/src/video_out/video_out_vidix.c +++ b/src/video_out/video_out_vidix.c @@ -1200,7 +1200,7 @@ static void *vidix_init_class (xine_t *xine, void *visual_gen) { if(this) { this->driver_class.open_plugin = vidix_open_plugin; this->driver_class.identifier = "vidix"; - this->driver_class.description = _("xine video output plugin using libvidix for x11"); + this->driver_class.description = N_("xine video output plugin using libvidix for x11"); this->driver_class.dispose = dispose_class; } @@ -1274,7 +1274,7 @@ static void *vidixfb_init_class (xine_t *xine, void *visual_gen) { if(this) { this->driver_class.open_plugin = vidixfb_open_plugin; this->driver_class.identifier = "vidixfb"; - this->driver_class.description = _("xine video output plugin using libvidix for linux frame buffer"); + this->driver_class.description = N_("xine video output plugin using libvidix for linux frame buffer"); this->driver_class.dispose = dispose_class; } diff --git a/src/video_out/video_out_xcbshm.c b/src/video_out/video_out_xcbshm.c index 87b5a9b92..645a23c97 100644 --- a/src/video_out/video_out_xcbshm.c +++ b/src/video_out/video_out_xcbshm.c @@ -1241,7 +1241,7 @@ static void *xshm_init_class (xine_t *xine, void *visual_gen) { this->driver_class.open_plugin = xshm_open_plugin; this->driver_class.identifier = "XShm"; - this->driver_class.description = _("xine video output plugin using the MIT X shared memory extension"); + this->driver_class.description = N_("xine video output plugin using the MIT X shared memory extension"); this->driver_class.dispose = xshm_dispose_class; this->config = xine->config; this->xine = xine; diff --git a/src/video_out/video_out_xcbxv.c b/src/video_out/video_out_xcbxv.c index 67890bd6d..cc5eb602d 100644 --- a/src/video_out/video_out_xcbxv.c +++ b/src/video_out/video_out_xcbxv.c @@ -1381,7 +1381,7 @@ static void *init_class (xine_t *xine, void *visual_gen) { this->driver_class.open_plugin = open_plugin; this->driver_class.identifier = "Xv"; - this->driver_class.description = _("xine video output plugin using the MIT X video extension"); + this->driver_class.description = N_("xine video output plugin using the MIT X video extension"); this->driver_class.dispose = dispose_class; this->config = xine->config; diff --git a/src/video_out/video_out_xshm.c b/src/video_out/video_out_xshm.c index 775211098..528435b37 100644 --- a/src/video_out/video_out_xshm.c +++ b/src/video_out/video_out_xshm.c @@ -1302,7 +1302,7 @@ static void *xshm_init_class (xine_t *xine, void *visual_gen) { this->driver_class.open_plugin = xshm_open_plugin_old; this->driver_class.identifier = "XShm"; - this->driver_class.description = _("xine video output plugin using the MIT X shared memory extension"); + this->driver_class.description = N_("xine video output plugin using the MIT X shared memory extension"); this->driver_class.dispose = xshm_dispose_class; this->config = xine->config; this->xine = xine; diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c index 21d4aa0c4..4949fe843 100644 --- a/src/video_out/video_out_xv.c +++ b/src/video_out/video_out_xv.c @@ -1464,7 +1464,7 @@ static void *init_class (xine_t *xine, void *visual_gen) { this->driver_class.open_plugin = open_plugin_old; this->driver_class.identifier = "Xv"; - this->driver_class.description = _("xine video output plugin using the MIT X video extension"); + this->driver_class.description = N_("xine video output plugin using the MIT X video extension"); this->driver_class.dispose = dispose_class; this->config = xine->config; diff --git a/src/video_out/video_out_xvmc.c b/src/video_out/video_out_xvmc.c index 8dab2fb83..cd667fe51 100644 --- a/src/video_out/video_out_xvmc.c +++ b/src/video_out/video_out_xvmc.c @@ -1667,7 +1667,7 @@ static void *init_class (xine_t *xine, void *visual_gen) { this->driver_class.open_plugin = open_plugin; this->driver_class.identifier = "XvMC"; - this->driver_class.description = _("xine video output plugin using the XvMC X video extension"); + this->driver_class.description = N_("xine video output plugin using the XvMC X video extension"); this->driver_class.dispose = dispose_class; this->display = display; diff --git a/src/video_out/video_out_xxmc.c b/src/video_out/video_out_xxmc.c index 89c8f58ed..e77a4b6b7 100644 --- a/src/video_out/video_out_xxmc.c +++ b/src/video_out/video_out_xxmc.c @@ -2761,7 +2761,7 @@ static void *init_class (xine_t *xine, void *visual_gen) { this->driver_class.open_plugin = open_plugin; this->driver_class.identifier = "XxMC"; - this->driver_class.description = _("xine video output plugin using the MIT X video extension"); + this->driver_class.description = N_("xine video output plugin using the MIT X video extension"); this->driver_class.dispose = dispose_class; this->config = xine->config; |
