Commit 82a67660 authored by Felix Paul Kühne's avatar Felix Paul Kühne

string review by Christophe Mutricy aka xtophe

parent 1e67ea66
......@@ -2,7 +2,7 @@
* http.c
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id: http.c,v 1.9 2004/01/15 22:58:12 gbazin Exp $
* $Id: http.c,v 1.10 2004/01/25 17:20:18 kuehne Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
......@@ -356,7 +356,7 @@ static int Write( sout_access_out_t *p_access, sout_buffer_t *p_buffer )
*****************************************************************************/
static int Seek( sout_access_out_t *p_access, off_t i_pos )
{
msg_Err( p_access, "http sout access cannot seek" );
msg_Err( p_access, "HTTP sout access cannot seek" );
return( VLC_EGENERIC );
}
......@@ -2,7 +2,7 @@
* udp.c
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: udp.c,v 1.17 2004/01/23 17:56:14 gbazin Exp $
* $Id: udp.c,v 1.18 2004/01/25 17:20:18 kuehne Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org>
......@@ -70,10 +70,10 @@ static sout_buffer_t *NewUDPPacket( sout_access_out_t *, mtime_t );
/*****************************************************************************
* Module descriptor
*****************************************************************************/
#define CACHING_TEXT N_("caching value in ms")
#define CACHING_TEXT N_("Caching value (ms)")
#define CACHING_LONGTEXT N_( \
"Allows you to modify the default caching value for udp streams. This " \
"value should be set in miliseconds units." )
"value should be set in milliseconds." )
vlc_module_begin();
set_description( _("UDP stream ouput") );
......@@ -142,7 +142,7 @@ static int Open( vlc_object_t *p_this )
if( p_access->psz_access != NULL &&
!strcmp( p_access->psz_access, "rtp" ) )
{
msg_Warn( p_access, "becarefull that rtp ouput work only with ts "
msg_Warn( p_access, "be carefull that rtp ouput work only with ts "
"payload(not an error)" );
p_sys->b_rtpts = 1;
}
......@@ -358,7 +358,7 @@ static int WriteRaw( sout_access_out_t *p_access, sout_buffer_t *p_buffer )
*****************************************************************************/
static int Seek( sout_access_out_t *p_access, off_t i_pos )
{
msg_Err( p_access, "udp sout access cannot seek" );
msg_Err( p_access, "UDP sout access cannot seek" );
return( -1 );
}
......
......@@ -2,7 +2,7 @@
* float32.c : precise float32 audio mixer implementation
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: float32.c,v 1.9 2003/03/30 18:14:36 gbazin Exp $
* $Id: float32.c,v 1.10 2004/01/25 17:20:18 kuehne Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
......@@ -42,7 +42,7 @@ static void DoWork ( aout_instance_t *, aout_buffer_t * );
* Module descriptor
*****************************************************************************/
vlc_module_begin();
set_description( _("float32 audio mixer") );
set_description( _("Float32 audio mixer") );
set_capability( "audio mixer", 10 );
set_callbacks( Create, NULL );
vlc_module_end();
......
......@@ -2,7 +2,7 @@
* spdif.c : dummy mixer for S/PDIF output (1 input only)
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: spdif.c,v 1.9 2003/03/30 18:14:36 gbazin Exp $
* $Id: spdif.c,v 1.10 2004/01/25 17:20:18 kuehne Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
......@@ -42,7 +42,7 @@ static void DoWork ( aout_instance_t *, aout_buffer_t * );
* Module descriptor
*****************************************************************************/
vlc_module_begin();
set_description( _("dummy spdif audio mixer") );
set_description( _("Dummy spdif audio mixer") );
set_capability( "audio mixer", 1 );
set_callbacks( Create, NULL );
vlc_module_end();
......
......@@ -2,7 +2,7 @@
* trivial.c : trivial mixer plug-in (1 input, no downmixing)
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: trivial.c,v 1.13 2003/10/25 00:49:13 sam Exp $
* $Id: trivial.c,v 1.14 2004/01/25 17:20:18 kuehne Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
......@@ -42,7 +42,7 @@ static void DoWork ( aout_instance_t *, aout_buffer_t * );
* Module descriptor
*****************************************************************************/
vlc_module_begin();
set_description( _("trivial audio mixer") );
set_description( _("Trivial audio mixer") );
set_capability( "audio mixer", 1 );
set_callbacks( Create, NULL );
vlc_module_end();
......
......@@ -2,7 +2,7 @@
* cmd_input.hpp
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: cmd_input.hpp,v 1.2 2004/01/18 19:54:45 asmax Exp $
* $Id: cmd_input.hpp,v 1.3 2004/01/25 17:20:18 kuehne Exp $
*
* Authors: Cyril Deguet <asmax@via.ecp.fr>
* Olivier Teulière <ipkiss@via.ecp.fr>
......@@ -28,9 +28,9 @@
#include "cmd_generic.hpp"
/// Commands to control the input
DEFINE_COMMAND( Play, "play" )
DEFINE_COMMAND( Play, "Play" )
DEFINE_COMMAND( Pause, "pause" )
DEFINE_COMMAND( Stop, "stop" )
DEFINE_COMMAND( Stop, "Stop" )
DEFINE_COMMAND( Slower, "slower" )
DEFINE_COMMAND( Faster, "faster" )
......
......@@ -2,7 +2,7 @@
* builder.cpp
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: builder.cpp,v 1.3 2004/01/25 11:44:19 asmax Exp $
* $Id: builder.cpp,v 1.4 2004/01/25 17:20:18 kuehne Exp $
*
* Authors: Cyril Deguet <asmax@via.ecp.fr>
* Olivier Teulire <ipkiss@via.ecp.fr>
......@@ -103,7 +103,7 @@ Theme *Builder::build()
pBmp = m_pTheme->m_bitmaps[id].get(); \
if( pBmp == NULL ) \
{ \
msg_Err( getIntf(), "Unknown Bitmap id: %s", id.c_str() ); \
msg_Err( getIntf(), "unknown bitmap id: %s", id.c_str() ); \
return; \
} \
}
......@@ -152,7 +152,7 @@ void Builder::addLayout( const BuilderData::Layout &rData )
GenericWindow *pWin = m_pTheme->m_windows[rData.m_windowId].get();
if( pWin == NULL )
{
msg_Err( getIntf(), "Unknown Window id: %s", rData.m_windowId.c_str() );
msg_Err( getIntf(), "unknown window id: %s", rData.m_windowId.c_str() );
return;
}
......@@ -178,7 +178,7 @@ void Builder::addAnchor( const BuilderData::Anchor &rData )
GenericWindow *pWin = m_pTheme->m_windows[rData.m_windowId].get();
if( pWin == NULL )
{
msg_Err( getIntf(), "Unknown Window id: %s", rData.m_windowId.c_str() );
msg_Err( getIntf(), "unknown window id: %s", rData.m_windowId.c_str() );
return;
}
......@@ -203,7 +203,7 @@ void Builder::addButton( const BuilderData::Button &rData )
GenericLayout *pLayout = m_pTheme->m_layouts[rData.m_layoutId].get();
if( pLayout == NULL )
{
msg_Err( getIntf(), "Unknown Layout id: %s", rData.m_layoutId.c_str() );
msg_Err( getIntf(), "unknown layout id: %s", rData.m_layoutId.c_str() );
return;
}
......@@ -255,7 +255,7 @@ void Builder::addCheckbox( const BuilderData::Checkbox &rData )
GenericLayout *pLayout = m_pTheme->m_layouts[rData.m_layoutId].get();
if( pLayout == NULL )
{
msg_Err( getIntf(), "Unknown Layout id: %s", rData.m_layoutId.c_str() );
msg_Err( getIntf(), "unknown layout id: %s", rData.m_layoutId.c_str() );
return;
}
......@@ -310,14 +310,14 @@ void Builder::addImage( const BuilderData::Image &rData )
GenericLayout *pLayout = m_pTheme->m_layouts[rData.m_layoutId].get();
if( pLayout == NULL )
{
msg_Err( getIntf(), "Unknown Layout id: %s", rData.m_layoutId.c_str() );
msg_Err( getIntf(), "unknown layout id: %s", rData.m_layoutId.c_str() );
return;
}
GenericWindow *pWindow = m_pTheme->m_windows[rData.m_windowId].get();
if( pWindow == NULL )
{
msg_Err( getIntf(), "Unknown Window id: %s", rData.m_windowId.c_str() );
msg_Err( getIntf(), "unknown window id: %s", rData.m_windowId.c_str() );
return;
}
......@@ -357,7 +357,7 @@ void Builder::addText( const BuilderData::Text &rData )
GenericLayout *pLayout = m_pTheme->m_layouts[rData.m_layoutId].get();
if( pLayout == NULL )
{
msg_Err( getIntf(), "Unknown Layout id: %s", rData.m_layoutId.c_str() );
msg_Err( getIntf(), "unknown layout id: %s", rData.m_layoutId.c_str() );
return;
}
......@@ -397,7 +397,7 @@ void Builder::addRadialSlider( const BuilderData::RadialSlider &rData )
GenericLayout *pLayout = m_pTheme->m_layouts[rData.m_layoutId].get();
if( pLayout == NULL )
{
msg_Err( getIntf(), "Unknown Layout id: %s", rData.m_layoutId.c_str() );
msg_Err( getIntf(), "unknown layout id: %s", rData.m_layoutId.c_str() );
return;
}
......@@ -444,7 +444,7 @@ void Builder::addSlider( const BuilderData::Slider &rData )
GenericLayout *pLayout = m_pTheme->m_layouts[rData.m_layoutId].get();
if( pLayout == NULL )
{
msg_Err( getIntf(), "Unknown Layout id: %s", rData.m_layoutId.c_str() );
msg_Err( getIntf(), "unknown layout id: %s", rData.m_layoutId.c_str() );
return;
}
......@@ -500,7 +500,7 @@ void Builder::addList( const BuilderData::List &rData )
GenericLayout *pLayout = m_pTheme->m_layouts[rData.m_layoutId].get();
if( pLayout == NULL )
{
msg_Err( getIntf(), "Unknown Layout id: %s", rData.m_layoutId.c_str() );
msg_Err( getIntf(), "unknown layout id: %s", rData.m_layoutId.c_str() );
return;
}
......
......@@ -2,7 +2,7 @@
* dialogs.cpp
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: dialogs.cpp,v 1.1 2004/01/03 23:31:33 asmax Exp $
* $Id: dialogs.cpp,v 1.2 2004/01/25 17:20:19 kuehne Exp $
*
* Authors: Cyril Deguet <asmax@via.ecp.fr>
* Olivier Teulire <ipkiss@via.ecp.fr>
......@@ -169,9 +169,9 @@ void Dialogs::showChangeSkin()
p_arg->b_blocking = false;
p_arg->psz_title = strdup( _("Open a skin file") );
p_arg->psz_title = strdup( _("Open a skin file.") );
p_arg->psz_extensions =
strdup( "Skin files (*.vlt)|*.vlt|Skin files (*.xml)|*.xml|" );
strdup( _("Skin files (*.vlt)|*.vlt|Skin files (*.xml)|*.xml|") );
p_arg->p_arg = getIntf();
p_arg->pf_callback = showChangeSkinCB;
......
......@@ -2,7 +2,7 @@
* skin_main.cpp
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: skin_main.cpp,v 1.3 2004/01/25 13:59:33 asmax Exp $
* $Id: skin_main.cpp,v 1.4 2004/01/25 17:20:19 kuehne Exp $
*
* Authors: Cyril Deguet <asmax@via.ecp.fr>
* Olivier Teulire <ipkiss@via.ecp.fr>
......@@ -212,7 +212,7 @@ static void Run( intf_thread_t *p_intf )
// Module descriptor
//---------------------------------------------------------------------------
#define DEFAULT_SKIN N_("Last skin used")
#define DEFAULT_SKIN_LONG N_("Select the path to the last skin used")
#define DEFAULT_SKIN_LONG N_("Select the path to the last skin used.")
vlc_module_begin();
// XXX
......
......@@ -2,7 +2,7 @@
* dummy.c : dummy plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: dummy.c,v 1.12 2003/12/22 02:24:52 sam Exp $
* $Id: dummy.c,v 1.13 2004/01/25 17:20:19 kuehne Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -55,7 +55,7 @@
#endif
vlc_module_begin();
set_description( _("dummy interface function") );
set_description( _("Dummy interface function") );
set_capability( "interface", 0 );
add_shortcut( "vlc" );
set_callbacks( E_(OpenIntf), NULL );
......@@ -64,34 +64,34 @@ vlc_module_begin();
add_bool( "dummy-quiet", 0, NULL, QUIET_TEXT, QUIET_LONGTEXT, VLC_FALSE );
#endif
add_submodule();
set_description( _("dummy access function") );
set_description( _("Dummy access function") );
set_capability( "access", 0 );
set_callbacks( E_(OpenAccess), NULL );
add_submodule();
set_description( _("dummy demux function") );
set_description( _("Dummy demux function") );
set_capability( "demux", 0 );
set_callbacks( E_(OpenDemux), E_(CloseDemux) );
add_submodule();
set_description( _("dummy decoder function") );
set_description( _("Dummy decoder function") );
set_capability( "decoder", 0 );
set_callbacks( E_(OpenDecoder), E_(CloseDecoder) );
add_bool( "dummy-save-es", 0, NULL, SAVE_TEXT, SAVE_LONGTEXT, VLC_FALSE );
add_submodule();
set_description( _("dummy encoder function") );
set_description( _("Dummy encoder function") );
set_capability( "encoder", 0 );
set_callbacks( E_(OpenEncoder), E_(CloseEncoder) );
add_submodule();
set_description( _("dummy audio output function") );
set_description( _("Dummy audio output function") );
set_capability( "audio output", 1 );
set_callbacks( E_(OpenAudio), NULL );
add_submodule();
set_description( _("dummy video output function") );
set_description( _("Dummy video output function") );
set_capability( "video output", 1 );
set_callbacks( E_(OpenVideo), NULL );
add_category_hint( N_("Video"), NULL, VLC_FALSE );
add_string( "dummy-chroma", NULL, NULL, CHROMA_TEXT, CHROMA_LONGTEXT, VLC_FALSE );
add_submodule();
set_description( _("dummy font renderer function") );
set_description( _("Dummy font renderer function") );
set_capability( "text renderer", 1 );
set_callbacks( E_(OpenRenderer), NULL );
vlc_module_end();
......
......@@ -2,7 +2,7 @@
* intf_dummy.c: dummy interface plugin
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: interface.c,v 1.3 2003/02/20 16:07:38 gbazin Exp $
* $Id: interface.c,v 1.4 2004/01/25 17:20:19 kuehne Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -49,7 +49,7 @@ int E_(OpenIntf) ( vlc_object_t *p_this )
CONSOLE_INTRO_MSG;
#endif
msg_Info( p_intf, _("Using the dummy interface plugin...") );
msg_Info( p_intf, "Using the dummy interface module..." );
p_intf->pf_run = Run;
......
......@@ -2,7 +2,7 @@
* logger.c : file logging plugin for vlc
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: logger.c,v 1.9 2003/11/05 00:39:16 gbazin Exp $
* $Id: logger.c,v 1.10 2004/01/25 17:20:19 kuehne Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -85,15 +85,15 @@ static char *mode_list[] = { "text", "html" };
static char *mode_list_text[] = { N_("Text"), N_("Html") };
#define LOGMODE_TEXT N_("Log format")
#define LOGMODE_LONGTEXT N_("Specify the log format. Available choices are \"text\" (default) and \"html\"")
#define LOGMODE_LONGTEXT N_("Specify the log format. Available choices are \"text\" (default) and \"html\".")
vlc_module_begin();
add_category_hint( N_("Miscellaneous"), NULL, VLC_FALSE );
add_file( "logfile", NULL, NULL, N_("log filename"), N_("Specify the log filename."), VLC_FALSE );
add_file( "logfile", NULL, NULL, N_("Log filename"), N_("Specify the log filename."), VLC_FALSE );
add_string( "logmode", "text", NULL, LOGMODE_TEXT, LOGMODE_LONGTEXT,
VLC_FALSE );
change_string_list( mode_list, mode_list_text, 0 );
set_description( _("file logging interface") );
set_description( _("File logging interface") );
set_capability( "interface", 0 );
set_callbacks( Open, Close );
vlc_module_end();
......@@ -107,7 +107,7 @@ static int Open( vlc_object_t *p_this )
char *psz_mode, *psz_file;
CONSOLE_INTRO_MSG;
msg_Info( p_intf, _("Using the logger interface plugin...") );
msg_Info( p_intf, "Using the logger interface module..." );
/* Allocate instance and initialize some members */
p_intf->p_sys = (intf_sys_t *)malloc( sizeof( intf_sys_t ) );
......@@ -156,7 +156,7 @@ static int Open( vlc_object_t *p_this )
break;
}
msg_Warn( p_intf, "no log filename provided, using `%s'", psz_file );
msg_Warn( p_intf, no log filename provided, using `%s'", psz_file );
}
/* Open the log file and remove any buffering for the stream */
......
......@@ -2,7 +2,7 @@
* ipv6.c: IPv6 network abstraction layer
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: ipv6.c,v 1.14 2003/07/31 23:44:49 fenrir Exp $
* $Id: ipv6.c,v 1.15 2004/01/25 17:20:19 kuehne Exp $
*
* Authors: Alexis Guillard <alexis.guillard@bt.com>
* Christophe Massiot <massiot@via.ecp.fr>
......@@ -188,7 +188,7 @@ static int BuildAddr( vlc_object_t * p_this, struct sockaddr_in6 * p_socket,
/* We have a fqdn, try to find its address */
if ( (p_hostent = gethostbyname2( psz_address, AF_INET6 )) == NULL )
{
msg_Warn( p_this, "ipv6 error: unknown host %s", psz_address );
msg_Warn( p_this, "IPv6 error: unknown host %s", psz_address );
free( psz_backup );
return( -1 );
}
......@@ -210,7 +210,7 @@ static int BuildAddr( vlc_object_t * p_this, struct sockaddr_in6 * p_socket,
_freeaddrinfo( res );
#else
msg_Warn( p_this, "ipv6 error: IPv6 address %s is invalid",
msg_Warn( p_this, "IPv6 error: IPv6 address %s is invalid",
psz_address );
free( psz_backup );
return( -1 );
......@@ -291,7 +291,7 @@ static int OpenUDP( vlc_object_t * p_this, network_socket_t * p_socket )
}
else if( i_opt < 0x80000 )
{
msg_Warn( p_this, "socket buffer size is 0x%x instead of 0x%x",
msg_Warn( p_this, "Socket buffer size is 0x%x instead of 0x%x",
i_opt, 0x80000 );
}
......@@ -334,7 +334,7 @@ static int OpenUDP( vlc_object_t * p_this, network_socket_t * p_socket )
if( setsockopt( i_handle, SOL_SOCKET, SO_BROADCAST,
(void*) &i_opt, sizeof( i_opt ) ) == -1 )
{
msg_Warn( p_this, "ipv6 warning: cannot configure socket "
msg_Warn( p_this, "IPv6 warning: cannot configure socket "
"(SO_BROADCAST: %s)", strerror(errno) );
}
}
......
......@@ -2,7 +2,7 @@
* i420_ymga.c : YUV to YUV conversion module for vlc
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: i420_ymga.c,v 1.2 2003/08/29 18:58:05 fenrir Exp $
* $Id: i420_ymga.c,v 1.3 2004/01/25 17:20:18 kuehne Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -45,7 +45,7 @@ static void I420_YMGA ( vout_thread_t *, picture_t *, picture_t * );
*****************************************************************************/
vlc_module_begin();
#if defined (MODULE_NAME_IS_i420_ymga)
set_description( _("conversions from " SRC_FOURCC " to " DEST_FOURCC) );
set_description( _("Conversions from " SRC_FOURCC " to " DEST_FOURCC) );
set_capability( "chroma", 80 );
#elif defined (MODULE_NAME_IS_i420_ymga_mmx)
set_description( _("MMX conversions from " SRC_FOURCC " to " DEST_FOURCC) );
......
......@@ -2,7 +2,7 @@
* i420_yuy2.c : YUV to YUV conversion module for vlc
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: i420_yuy2.c,v 1.4 2003/10/25 00:49:14 sam Exp $
* $Id: i420_yuy2.c,v 1.5 2004/01/25 17:20:18 kuehne Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -64,7 +64,7 @@ static uint64_t i_80w;
*****************************************************************************/
vlc_module_begin();
#if defined (MODULE_NAME_IS_i420_yuy2)
set_description( _("conversions from " SRC_FOURCC " to " DEST_FOURCC) );
set_description( _("Conversions from " SRC_FOURCC " to " DEST_FOURCC) );
set_capability( "chroma", 80 );
#elif defined (MODULE_NAME_IS_i420_yuy2_mmx)
set_description( _("MMX conversions from " SRC_FOURCC " to " DEST_FOURCC) );
......
......@@ -2,7 +2,7 @@
* i422_yuy2.c : YUV to YUV conversion module for vlc
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: i422_yuy2.c,v 1.4 2003/11/06 17:08:12 nitrox Exp $
* $Id: i422_yuy2.c,v 1.5 2004/01/25 17:20:18 kuehne Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -60,7 +60,7 @@ static void I422_YV12 ( vout_thread_t *, picture_t *, picture_t * );
*****************************************************************************/
vlc_module_begin();
#if defined (MODULE_NAME_IS_i422_yuy2)
set_description( _("conversions from " SRC_FOURCC " to " DEST_FOURCC) );
set_description( _("Conversions from " SRC_FOURCC " to " DEST_FOURCC) );
set_capability( "chroma", 80 );
#elif defined (MODULE_NAME_IS_i422_yuy2_mmx)
set_description( _("MMX conversions from " SRC_FOURCC " to " DEST_FOURCC) );
......
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