Commit 64ae4f17 authored by Clément Stenac's avatar Clément Stenac

String review

parent dfa1e483
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* caca.c: Color ASCII Art video output plugin using libcaca * caca.c: Color ASCII Art video output plugin using libcaca
***************************************************************************** *****************************************************************************
* Copyright (C) 2003, 2004 VideoLAN * Copyright (C) 2003, 2004 VideoLAN
* $Id: caca.c,v 1.8 2004/01/18 04:55:19 sam Exp $ * $Id: caca.c,v 1.9 2004/01/26 16:45:02 zorglub Exp $
* *
* Authors: Sam Hocevar <sam@zoy.org> * Authors: Sam Hocevar <sam@zoy.org>
* *
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* vout.c: Windows DirectX video output display method * vout.c: Windows DirectX video output display method
***************************************************************************** *****************************************************************************
* Copyright (C) 2001-2004 VideoLAN * Copyright (C) 2001-2004 VideoLAN
* $Id: directx.c,v 1.33 2004/01/06 19:12:08 gbazin Exp $ * $Id: directx.c,v 1.34 2004/01/26 16:45:02 zorglub Exp $
* *
* Authors: Gildas Bazin <gbazin@netcourrier.com> * Authors: Gildas Bazin <gbazin@netcourrier.com>
* *
...@@ -106,16 +106,19 @@ static int FindDevicesCallback( vlc_object_t *, char const *, ...@@ -106,16 +106,19 @@ static int FindDevicesCallback( vlc_object_t *, char const *,
#define HW_YUV_LONGTEXT N_( \ #define HW_YUV_LONGTEXT N_( \
"Try to use hardware acceleration for YUV->RGB conversions. " \ "Try to use hardware acceleration for YUV->RGB conversions. " \
"This option doesn't have any effect when using overlays." ) "This option doesn't have any effect when using overlays." )
#define SYSMEM_TEXT N_("Use video buffers in system memory") #define SYSMEM_TEXT N_("Use video buffers in system memory")
#define SYSMEM_LONGTEXT N_( \ #define SYSMEM_LONGTEXT N_( \
"Create video buffers in system memory instead of video memory. This " \ "Create video buffers in system memory instead of video memory. This " \
"isn't recommended as usually using video memory allows to benefit from " \ "isn't recommended as usually using video memory allows to benefit from " \
"more hardware acceleration (like rescaling or YUV->RGB conversions). " \ "more hardware acceleration (like rescaling or YUV->RGB conversions). " \
"This option doesn't have any effect when using overlays." ) "This option doesn't have any effect when using overlays." )
#define TRIPLEBUF_TEXT N_("Use triple buffering for overlays") #define TRIPLEBUF_TEXT N_("Use triple buffering for overlays")
#define TRIPLEBUF_LONGTEXT N_( \ #define TRIPLEBUF_LONGTEXT N_( \
"Try to use triple bufferring when using YUV overlays. That results in " \ "Try to use triple bufferring when using YUV overlays. That results in " \
"much better video quality (no flickering)." ) "much better video quality (no flickering)." )
#define DEVICE_TEXT N_("Name of desired display device") #define DEVICE_TEXT N_("Name of desired display device")
#define DEVICE_LONGTEXT N_("In a multimonitor configuration, you can specify "\ #define DEVICE_LONGTEXT N_("In a multimonitor configuration, you can specify "\
"the Windows device name of the display that you want the video window " \ "the Windows device name of the display that you want the video window " \
...@@ -125,8 +128,6 @@ static char *ppsz_dev[] = { "" }; ...@@ -125,8 +128,6 @@ static char *ppsz_dev[] = { "" };
static char *ppsz_dev_text[] = { N_("Default") }; static char *ppsz_dev_text[] = { N_("Default") };
vlc_module_begin(); vlc_module_begin();
add_category_hint( N_("Video"), NULL, VLC_FALSE );
add_bool( "directx-hw-yuv", 1, NULL, HW_YUV_TEXT, HW_YUV_LONGTEXT, add_bool( "directx-hw-yuv", 1, NULL, HW_YUV_TEXT, HW_YUV_LONGTEXT,
VLC_TRUE ); VLC_TRUE );
add_bool( "directx-use-sysmem", 0, NULL, SYSMEM_TEXT, SYSMEM_LONGTEXT, add_bool( "directx-use-sysmem", 0, NULL, SYSMEM_TEXT, SYSMEM_LONGTEXT,
...@@ -582,7 +583,7 @@ static void Display( vout_thread_t *p_vout, picture_t *p_pic ) ...@@ -582,7 +583,7 @@ static void Display( vout_thread_t *p_vout, picture_t *p_pic )
if( (p_vout->p_sys->p_display == NULL) ) if( (p_vout->p_sys->p_display == NULL) )
{ {
msg_Warn( p_vout, "no display!!" ); msg_Warn( p_vout, "no display!" );
return; return;
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* fb.c : framebuffer plugin for vlc * fb.c : framebuffer plugin for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN * Copyright (C) 2000, 2001 VideoLAN
* $Id: fb.c,v 1.7 2003/10/25 00:49:14 sam Exp $ * $Id: fb.c,v 1.8 2004/01/26 16:45:02 zorglub Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -64,10 +64,15 @@ static void GfxMode ( int i_tty ); ...@@ -64,10 +64,15 @@ static void GfxMode ( int i_tty );
*****************************************************************************/ *****************************************************************************/
#define FB_DEV_VAR "fbdev" #define FB_DEV_VAR "fbdev"
#define DEVICE_TEXT N_("Framebuffer device")
#define DEVICE_LONGTEXT N_( \
"You can select here the framebuffer device that will be used " \
"for rendering (ususally /dev/fb0).")
vlc_module_begin(); vlc_module_begin();
add_category_hint( N_("Frame Buffer"), NULL, VLC_FALSE ); add_file( FB_DEV_VAR, "/dev/fb0", NULL, DEVICE_TEXT, DEVICE_LONGTEXT,
add_file( FB_DEV_VAR, "/dev/fb0", NULL, N_("framebuffer device"), NULL, VLC_FALSE ); VLC_FALSE );
set_description( _("Linux console framebuffer video output") ); set_description( _("GNU/Linux console framebuffer video output") );
set_capability( "video output", 30 ); set_capability( "video output", 30 );
set_callbacks( Create, Destroy ); set_callbacks( Create, Destroy );
vlc_module_end(); vlc_module_end();
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* ggi.c : GGI plugin for vlc * ggi.c : GGI plugin for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN * Copyright (C) 2000, 2001 VideoLAN
* $Id: ggi.c,v 1.5 2003/10/25 00:49:14 sam Exp $ * $Id: ggi.c,v 1.6 2004/01/26 16:45:02 zorglub Exp $
* *
* Authors: Vincent Seguin <seguin@via.ecp.fr> * Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org> * Samuel Hocevar <sam@zoy.org>
...@@ -54,12 +54,12 @@ static void SetPalette ( vout_thread_t *, uint16_t *, uint16_t *, uint16_t * ...@@ -54,12 +54,12 @@ static void SetPalette ( vout_thread_t *, uint16_t *, uint16_t *, uint16_t *
* Module descriptor * Module descriptor
*****************************************************************************/ *****************************************************************************/
#define DISPLAY_TEXT N_("X11 display name") #define DISPLAY_TEXT N_("X11 display name")
#define DISPLAY_LONGTEXT N_("Specify the X11 hardware display you want to use."\ #define DISPLAY_LONGTEXT N_( \
"\nBy default VLC will use the value of the DISPLAY"\ "Specify the X11 hardware display you want to use.\n" \
" environment variable.") "By default, VLC will use the value of the DISPLAY " \
"environment variable.")
vlc_module_begin(); vlc_module_begin();
add_category_hint( N_("Miscellaneous"), NULL, VLC_FALSE );
add_string( "ggi-display", NULL, NULL, DISPLAY_TEXT, DISPLAY_LONGTEXT, VLC_TRUE ); add_string( "ggi-display", NULL, NULL, DISPLAY_TEXT, DISPLAY_LONGTEXT, VLC_TRUE );
set_description( "General Graphics Interface video output" ); set_description( "General Graphics Interface video output" );
set_capability( "video output", 30 ); set_capability( "video output", 30 );
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* qte.cpp : QT Embedded plugin for vlc * qte.cpp : QT Embedded plugin for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 1998-2003 VideoLAN * Copyright (C) 1998-2003 VideoLAN
* $Id: qte.cpp,v 1.20 2003/12/22 14:32:56 sam Exp $ * $Id: qte.cpp,v 1.21 2004/01/26 16:45:02 zorglub Exp $
* *
* Authors: Gerald Hansink <gerald.hansink@ordain.nl> * Authors: Gerald Hansink <gerald.hansink@ordain.nl>
* Jean-Paul Saman <jpsaman@wxs.nl> * Jean-Paul Saman <jpsaman@wxs.nl>
...@@ -78,8 +78,8 @@ extern "C" ...@@ -78,8 +78,8 @@ extern "C"
*****************************************************************************/ *****************************************************************************/
#define DISPLAY_TEXT N_("QT Embedded display name") #define DISPLAY_TEXT N_("QT Embedded display name")
#define DISPLAY_LONGTEXT N_( \ #define DISPLAY_LONGTEXT N_( \
"Specify the Qt Embedded hardware display you want to use. By default VLC will " \ "Specify the Qt Embedded hardware display you want to use. " \
"use the value of the DISPLAY environment variable.") "By default VLC will use the value of the DISPLAY environment variable.")
/***************************************************************************** /*****************************************************************************
* Local prototypes * Local prototypes
...@@ -176,7 +176,7 @@ static void Close ( vlc_object_t *p_this ) ...@@ -176,7 +176,7 @@ static void Close ( vlc_object_t *p_this )
{ {
vout_thread_t * p_vout = (vout_thread_t *)p_this; vout_thread_t * p_vout = (vout_thread_t *)p_this;
msg_Dbg( p_vout, "Close" ); msg_Dbg( p_vout, "close" );
if( p_vout->p_sys->p_event ) if( p_vout->p_sys->p_event )
{ {
vlc_object_detach( p_vout->p_sys->p_event ); vlc_object_detach( p_vout->p_sys->p_event );
...@@ -190,7 +190,7 @@ static void Close ( vlc_object_t *p_this ) ...@@ -190,7 +190,7 @@ static void Close ( vlc_object_t *p_this )
} }
#ifdef NEED_QTE_MAIN #ifdef NEED_QTE_MAIN
msg_Dbg( p_vout, "Releasing gui-helper" ); msg_Dbg( p_vout, "releasing gui-helper" );
module_Unneed( p_vout, p_vout->p_sys->p_qte_main ); module_Unneed( p_vout, p_vout->p_sys->p_qte_main );
#endif #endif
...@@ -297,7 +297,7 @@ static void Display( vout_thread_t *p_vout, picture_t *p_pic ) ...@@ -297,7 +297,7 @@ static void Display( vout_thread_t *p_vout, picture_t *p_pic )
{ {
// shameless borrowed from opie mediaplayer.... // shameless borrowed from opie mediaplayer....
#ifndef USE_DIRECT_PAINTER #ifndef USE_DIRECT_PAINTER
msg_Dbg(p_vout, "Not using direct painter"); msg_Dbg(p_vout, "not using direct painter");
QPainter p(p_vout->p_sys->p_VideoWidget); QPainter p(p_vout->p_sys->p_VideoWidget);
/* rotate frame */ /* rotate frame */
...@@ -564,7 +564,7 @@ static int OpenDisplay( vout_thread_t *p_vout ) ...@@ -564,7 +564,7 @@ static int OpenDisplay( vout_thread_t *p_vout )
static void CloseDisplay( vout_thread_t *p_vout ) static void CloseDisplay( vout_thread_t *p_vout )
{ {
// quit qt application loop // quit qt application loop
msg_Dbg( p_vout, "Destroying Qt Window" ); msg_Dbg( p_vout, "destroying Qt Window" );
#ifdef NEED_QTE_MAIN #ifdef NEED_QTE_MAIN
if(p_vout->p_sys->p_QApplication) if(p_vout->p_sys->p_QApplication)
{ {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* x11.c : X11 plugin for vlc * x11.c : X11 plugin for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 1998-2001 VideoLAN * Copyright (C) 1998-2001 VideoLAN
* $Id: x11.c,v 1.8 2003/05/25 19:24:53 gbazin Exp $ * $Id: x11.c,v 1.9 2004/01/26 16:45:03 zorglub Exp $
* *
* Authors: Vincent Seguin <seguin@via.ecp.fr> * Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org> * Samuel Hocevar <sam@zoy.org>
...@@ -44,7 +44,7 @@ extern void E_(Deactivate) ( vlc_object_t * ); ...@@ -44,7 +44,7 @@ extern void E_(Deactivate) ( vlc_object_t * );
#define ALT_FS_LONGTEXT N_( \ #define ALT_FS_LONGTEXT N_( \
"There are two ways to make a fullscreen window, unfortunately each one " \ "There are two ways to make a fullscreen window, unfortunately each one " \
"has its drawbacks.\n" \ "has its drawbacks.\n" \
"1) Let the window manager handle your fullscreen window (default). But " \ "1) Let the window manager handle your fullscreen window (default), but " \
"things like taskbars will likely show on top of the video.\n" \ "things like taskbars will likely show on top of the video.\n" \
"2) Completly bypass the window manager, but then nothing will be able " \ "2) Completly bypass the window manager, but then nothing will be able " \
"to show on top of the video.") "to show on top of the video.")
...@@ -64,7 +64,6 @@ extern void E_(Deactivate) ( vlc_object_t * ); ...@@ -64,7 +64,6 @@ extern void E_(Deactivate) ( vlc_object_t * );
"set it to 0 for first screen, 1 for the second.") "set it to 0 for first screen, 1 for the second.")
vlc_module_begin(); vlc_module_begin();
add_category_hint( N_("X11"), NULL, VLC_TRUE );
add_string( "x11-display", NULL, NULL, DISPLAY_TEXT, DISPLAY_LONGTEXT, VLC_TRUE ); add_string( "x11-display", NULL, NULL, DISPLAY_TEXT, DISPLAY_LONGTEXT, VLC_TRUE );
add_bool( "x11-altfullscreen", 0, NULL, ALT_FS_TEXT, ALT_FS_LONGTEXT, VLC_TRUE ); add_bool( "x11-altfullscreen", 0, NULL, ALT_FS_TEXT, ALT_FS_LONGTEXT, VLC_TRUE );
#ifdef HAVE_SYS_SHM_H #ifdef HAVE_SYS_SHM_H
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* xcommon.c: Functions common to the X11 and XVideo plugins * xcommon.c: Functions common to the X11 and XVideo plugins
***************************************************************************** *****************************************************************************
* Copyright (C) 1998-2001 VideoLAN * Copyright (C) 1998-2001 VideoLAN
* $Id: xcommon.c,v 1.41 2003/12/22 14:32:56 sam Exp $ * $Id: xcommon.c,v 1.42 2004/01/26 16:45:03 zorglub Exp $
* *
* Authors: Vincent Seguin <seguin@via.ecp.fr> * Authors: Vincent Seguin <seguin@via.ecp.fr>
* Sam Hocevar <sam@zoy.org> * Sam Hocevar <sam@zoy.org>
...@@ -1357,7 +1357,7 @@ static void ToggleFullScreen ( vout_thread_t *p_vout ) ...@@ -1357,7 +1357,7 @@ static void ToggleFullScreen ( vout_thread_t *p_vout )
XineramaScreenInfo *screens; /* infos for xinerama */ XineramaScreenInfo *screens; /* infos for xinerama */
int i_num_screens; int i_num_screens;
msg_Dbg( p_vout, "Using XFree Xinerama extension"); msg_Dbg( p_vout, "using XFree Xinerama extension");
#define SCREEN p_vout->p_sys->p_win->i_screen #define SCREEN p_vout->p_sys->p_win->i_screen
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* xvideo.c : Xvideo plugin for vlc * xvideo.c : Xvideo plugin for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 1998-2001 VideoLAN * Copyright (C) 1998-2001 VideoLAN
* $Id: xvideo.c,v 1.8 2003/05/25 19:24:53 gbazin Exp $ * $Id: xvideo.c,v 1.9 2004/01/26 16:45:03 zorglub Exp $
* *
* Authors: Shane Harper <shanegh@optusnet.com.au> * Authors: Shane Harper <shanegh@optusnet.com.au>
* Vincent Seguin <seguin@via.ecp.fr> * Vincent Seguin <seguin@via.ecp.fr>
...@@ -50,7 +50,7 @@ extern void E_(Deactivate) ( vlc_object_t * ); ...@@ -50,7 +50,7 @@ extern void E_(Deactivate) ( vlc_object_t * );
#define ALT_FS_LONGTEXT N_( \ #define ALT_FS_LONGTEXT N_( \
"There are two ways to make a fullscreen window, unfortunately each one " \ "There are two ways to make a fullscreen window, unfortunately each one " \
"has its drawbacks.\n" \ "has its drawbacks.\n" \
"1) Let the window manager handle your fullscreen window (default). But " \ "1) Let the window manager handle your fullscreen window (default), but " \
"things like taskbars will likely show on top of the video.\n" \ "things like taskbars will likely show on top of the video.\n" \
"2) Completly bypass the window manager, but then nothing will be able " \ "2) Completly bypass the window manager, but then nothing will be able " \
"to show on top of the video.") "to show on top of the video.")
...@@ -69,13 +69,12 @@ extern void E_(Deactivate) ( vlc_object_t * ); ...@@ -69,13 +69,12 @@ extern void E_(Deactivate) ( vlc_object_t * );
#define SHM_LONGTEXT N_( \ #define SHM_LONGTEXT N_( \
"Use shared memory to communicate between VLC and the X server.") "Use shared memory to communicate between VLC and the X server.")
#define SCREEN_TEXT N_("choose the screen to be used for fullscreen mode.") #define SCREEN_TEXT N_("Screen to be used for fullscreen mode.")
#define SCREEN_LONGTEXT N_( \ #define SCREEN_LONGTEXT N_( \
"Choose the screen you want to use in fullscreen mode. For instance " \ "Choose the screen you want to use in fullscreen mode. For instance " \
"set it to 0 for first screen, 1 for the second.") "set it to 0 for first screen, 1 for the second.")
vlc_module_begin(); vlc_module_begin();
add_category_hint( N_("XVideo"), NULL, VLC_TRUE );
add_string( "xvideo-display", NULL, NULL, DISPLAY_TEXT, DISPLAY_LONGTEXT, VLC_TRUE ); add_string( "xvideo-display", NULL, NULL, DISPLAY_TEXT, DISPLAY_LONGTEXT, VLC_TRUE );
add_integer( "xvideo-adaptor", -1, NULL, ADAPTOR_TEXT, ADAPTOR_LONGTEXT, VLC_TRUE ); add_integer( "xvideo-adaptor", -1, NULL, ADAPTOR_TEXT, ADAPTOR_LONGTEXT, VLC_TRUE );
add_bool( "xvideo-altfullscreen", 0, NULL, ALT_FS_TEXT, ALT_FS_LONGTEXT, VLC_TRUE ); add_bool( "xvideo-altfullscreen", 0, NULL, ALT_FS_TEXT, ALT_FS_LONGTEXT, VLC_TRUE );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment