Commit 4f6c862b authored by Sam Hocevar's avatar Sam Hocevar

  * ALL: internationalized all configuration strings.
  * ./src/interface/main.c: we now set LC_CTYPE to get the right charset.
  * ./src/misc/configuration.c: lots of simplifications in the code.
  * ./po/vlc/pot: updated translations.
parent 46b2dec0
......@@ -4,7 +4,10 @@
HEAD
* Nothing yet.
* ALL: internationalized all configuration strings.
* ./src/interface/main.c: we now set LC_CTYPE to get the right charset.
* ./src/misc/configuration.c: lots of simplifications in the code.
* ./po/vlc/pot: updated translations.
0.3.1
Thu, 18 Apr 2002 06:43:42 +0200
......
......@@ -3,7 +3,7 @@
* Collection of useful common types and macros definitions
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: common.h,v 1.94 2002/04/17 11:43:31 sam Exp $
* $Id: common.h,v 1.95 2002/04/19 13:56:10 sam Exp $
*
* Authors: Samuel Hocevar <sam@via.ecp.fr>
* Vincent Seguin <seguin@via.ecp.fr>
......@@ -519,7 +519,7 @@ typedef struct module_symbols_s
int ( * config_LoadConfigFile ) ( const char * );
int ( * config_SaveConfigFile ) ( const char * );
struct module_config_s * ( * config_FindConfig ) ( const char * );
struct module_config_s * ( * config_Duplicate ) ( struct module_s * );
struct module_config_s * ( * config_Duplicate ) ( struct module_config_s* );
struct intf_subscription_s * ( * intf_MsgSub ) ( void );
void ( * intf_MsgUnsub ) ( struct intf_subscription_s * );
......
......@@ -4,7 +4,7 @@
* It includes functions allowing to declare, get or set configuration options.
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: configuration.h,v 1.4 2002/03/21 07:11:57 gbazin Exp $
* $Id: configuration.h,v 1.5 2002/04/19 13:56:10 sam Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
......@@ -72,7 +72,7 @@ void config_PutPszVariable( const char *psz_name, char *psz_value );
int config_LoadConfigFile( const char *psz_module_name );
int config_SaveConfigFile( const char *psz_module_name );
module_config_t *config_FindConfig( const char *psz_name );
module_config_t *config_Duplicate ( module_t *p_module );
module_config_t *config_Duplicate ( module_config_t * );
char *config_GetHomeDir( void );
int config_LoadCmdLine( int *pi_argc, char *ppsz_argv[],
boolean_t b_ignore_errors );
......
......@@ -2,7 +2,7 @@
* modules.h : Module management functions.
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: modules.h,v 1.46 2002/03/20 03:43:51 sam Exp $
* $Id: modules.h,v 1.47 2002/04/19 13:56:10 sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -130,9 +130,7 @@ typedef struct module_s
* Variables set by the module to store its config options
*/
struct module_config_s *p_config; /* Module configuration structure */
struct module_config_s *p_config_orig; /* original module config data */
vlc_mutex_t config_lock; /* lock used to modify the config */
unsigned int i_config_lines; /* number of configuration lines */
unsigned int i_config_items; /* number of configuration items */
/*
......@@ -346,7 +344,7 @@ void module_EndBank ( void );
void module_ResetBank ( void );
void module_ManageBank ( void );
module_t * module_Need ( int, char *, void * );
void module_Unneed ( module_t * p_module );
void module_Unneed ( module_t * );
#else
# define module_Need p_symbols->module_Need
......
......@@ -2,7 +2,7 @@
* modules_inner.h : Macros used from within a module.
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: modules_inner.h,v 1.13 2002/03/11 07:23:09 gbazin Exp $
* $Id: modules_inner.h,v 1.14 2002/04/19 13:56:10 sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -77,12 +77,12 @@
*/
#define MODULE_INIT_START \
DECLARE_SYMBOLS; \
\
int __VLC_SYMBOL( InitModule ) ( module_t *p_module ) \
{ \
int i_shortcut = 0; \
struct module_config_s* p_item; \
p_module->psz_name = MODULE_STRING; \
p_module->psz_longname = MODULE_STRING; \
p_module->psz_longname = _( MODULE_STRING ); \
p_module->psz_program = NULL; \
p_module->i_capabilities = 0; \
p_module->i_cpu_capabilities = 0;
......@@ -91,24 +91,27 @@
STORE_SYMBOLS; \
p_module->pp_shortcuts[ i_shortcut ] = NULL; \
p_module->i_config_items = 0; \
for( p_module->i_config_lines = 0; \
p_module->i_config_lines < (sizeof(p_config)/ \
sizeof(module_config_t)); \
p_module->i_config_lines++ ) \
for( p_item = p_config; \
p_item->i_type != MODULE_CONFIG_HINT_END; \
p_item++ ) \
{ \
if( p_config[p_module->i_config_lines].i_type & \
MODULE_CONFIG_ITEM ) \
if( p_item->i_type & MODULE_CONFIG_ITEM ) \
p_module->i_config_items++; \
} \
vlc_mutex_init( &p_module->config_lock ); \
p_module->p_config_orig = p_config; \
p_module->p_config = config_Duplicate( p_module ); \
p_module->p_config = config_Duplicate( p_config ); \
if( p_module->p_config == NULL ) \
{ \
intf_ErrMsg( MODULE_STRING \
" InitModule error: can't duplicate p_config" ); \
return( -1 ); \
} \
for( p_item = p_module->p_config; \
p_item->i_type != MODULE_CONFIG_HINT_END; \
p_item++ ) \
{ \
p_item->p_lock = &p_module->config_lock; \
} \
return( 0 ); \
}
......@@ -140,7 +143,6 @@
{ \
p_module->p_functions = \
( module_functions_t * )malloc( sizeof( module_functions_t ) ); \
p_module->p_config_orig = p_config; \
if( p_module->p_functions == NULL ) \
{ \
return( -1 ); \
......@@ -159,7 +161,6 @@
#define MODULE_DEACTIVATE_START \
int __VLC_SYMBOL( DeactivateModule )( module_t *p_module ) \
{ \
p_module->p_config_orig = NULL; \
free( p_module->p_functions );
#define MODULE_DEACTIVATE_STOP \
......
......@@ -4,7 +4,7 @@
* (http://liba52.sf.net/).
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: a52.c,v 1.6 2002/03/12 20:39:50 gbazin Exp $
* $Id: a52.c,v 1.7 2002/04/19 13:56:10 sam Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
......@@ -73,7 +73,7 @@ MODULE_CONFIG_START
MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION( "a52 ATSC A/52 aka AC-3 audio decoder plugin" )
SET_DESCRIPTION( _("a52 ATSC A/52 aka AC-3 audio decoder module") )
ADD_CAPABILITY( DECODER, 40 )
ADD_SHORTCUT( "a52" )
MODULE_INIT_STOP
......
......@@ -2,7 +2,7 @@
* vout_aa.c: Aa video output display method for testing purposes
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: aa.c,v 1.2 2002/04/10 00:04:04 sam Exp $
* $Id: aa.c,v 1.3 2002/04/19 13:56:10 sam Exp $
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
*
......@@ -48,7 +48,7 @@ MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION( "ASCII-art video output module" )
SET_DESCRIPTION( _("ASCII-art video output module") )
ADD_CAPABILITY( VOUT, 10 )
ADD_SHORTCUT( "aa" )
ADD_SHORTCUT( "aalib" )
......
......@@ -2,7 +2,7 @@
* ac3_adec.c: ac3 decoder module main file
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: ac3_adec.c,v 1.24 2002/04/05 01:05:22 gbazin Exp $
* $Id: ac3_adec.c,v 1.25 2002/04/19 13:56:10 sam Exp $
*
* Authors: Michel Lespinasse <walken@zoy.org>
*
......@@ -74,15 +74,15 @@ void _M( adec_getfunctions )( function_list_t * p_function_list )
#define IMDCT_METHOD_VAR "ac3_imdct"
MODULE_CONFIG_START
ADD_CATEGORY_HINT( "Misc Options", NULL)
ADD_CATEGORY_HINT( N_("Miscellaneous"), NULL)
ADD_PLUGIN ( DOWNMIX_METHOD_VAR, MODULE_CAPABILITY_DOWNMIX, NULL, NULL,
"AC3 downmix method", NULL )
N_("AC3 downmix method"), NULL )
ADD_PLUGIN ( IMDCT_METHOD_VAR, MODULE_CAPABILITY_IMDCT, NULL, NULL,
"AC3 IMDCT method", NULL )
N_("AC3 IMDCT method"), NULL )
MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION( "software AC3 decoder" )
SET_DESCRIPTION( _("software AC3 decoder") )
ADD_CAPABILITY( DECODER, 50 )
ADD_SHORTCUT( "ac3_adec" )
ADD_SHORTCUT( "ac3" )
......
......@@ -2,7 +2,7 @@
* ac3_spdif.c: ac3 pass-through to external decoder with enabled soundcard
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: ac3_spdif.c,v 1.21 2002/03/15 01:47:16 stef Exp $
* $Id: ac3_spdif.c,v 1.22 2002/04/19 13:56:10 sam Exp $
*
* Authors: Stphane Borel <stef@via.ecp.fr>
* Juha Yrjola <jyrjola@cc.hut.fi>
......@@ -116,7 +116,7 @@ MODULE_CONFIG_START
MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION( "SPDIF pass-through AC3 decoder" )
SET_DESCRIPTION( _("SPDIF pass-through AC3 decoder") )
ADD_CAPABILITY( DECODER, 0 )
ADD_SHORTCUT( "ac3_spdif" )
ADD_SHORTCUT( "pass_through" )
......
......@@ -2,7 +2,7 @@
* file.c: file input (file: access plug-in)
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: file.c,v 1.4 2002/04/10 16:26:21 jobi Exp $
* $Id: file.c,v 1.5 2002/04/19 13:56:10 sam Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
......@@ -57,7 +57,7 @@ MODULE_CONFIG_START
MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION( "Standard filesystem file reading" )
SET_DESCRIPTION( _("Standard filesystem file reading") )
ADD_CAPABILITY( ACCESS, 50 )
ADD_SHORTCUT( "file" )
ADD_SHORTCUT( "stream" )
......
......@@ -2,7 +2,7 @@
* http.c: HTTP access plug-in
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: http.c,v 1.7 2002/04/03 23:24:42 massiot Exp $
* $Id: http.c,v 1.8 2002/04/19 13:56:10 sam Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
......@@ -62,7 +62,7 @@ MODULE_CONFIG_START
MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION( "HTTP access plug-in" )
SET_DESCRIPTION( _("HTTP access plug-in") )
ADD_CAPABILITY( ACCESS, 0 )
ADD_SHORTCUT( "http" )
ADD_SHORTCUT( "http4" )
......
......@@ -2,7 +2,7 @@
* udp.c: raw UDP access plug-in
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: udp.c,v 1.8 2002/04/17 17:00:58 jobi Exp $
* $Id: udp.c,v 1.9 2002/04/19 13:56:10 sam Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
......@@ -59,7 +59,7 @@ MODULE_CONFIG_START
MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION( "Raw UDP access plug-in" )
SET_DESCRIPTION( _("Raw UDP access plug-in") )
ADD_CAPABILITY( ACCESS, 0 )
ADD_SHORTCUT( "udp" )
ADD_SHORTCUT( "udpstream" )
......
......@@ -2,7 +2,7 @@
* alsa.c : alsa plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: alsa.c,v 1.15 2002/03/20 03:43:51 sam Exp $
* $Id: alsa.c,v 1.16 2002/04/19 13:56:10 sam Exp $
*
* Authors: Henri Fallon <henri@videolan.org> - Original Author
* Jeffrey Baker <jwbaker@acm.org> - Port to ALSA 1.0 API
......@@ -55,7 +55,7 @@ MODULE_CONFIG_START
MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION( "Alsa audio module" )
SET_DESCRIPTION( _("Alsa audio module") )
ADD_CAPABILITY( AOUT, 50 )
ADD_SHORTCUT( "alsa" )
MODULE_INIT_STOP
......
......@@ -40,7 +40,7 @@ MODULE_CONFIG_START
MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION( "aRts audio module" )
SET_DESCRIPTION( _("aRts audio module") )
ADD_CAPABILITY( AOUT, 50 )
ADD_SHORTCUT( "arts" )
MODULE_INIT_STOP
......
......@@ -2,7 +2,7 @@
* beos.cpp : BeOS plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: beos.cpp,v 1.17 2002/02/24 20:51:09 gbazin Exp $
* $Id: beos.cpp,v 1.18 2002/04/19 13:56:10 sam Exp $
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
......@@ -46,7 +46,7 @@ MODULE_CONFIG_START
MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION( "BeOS standard API module" )
SET_DESCRIPTION( _("BeOS standard API module") )
ADD_CAPABILITY( INTF, 100 )
ADD_CAPABILITY( VOUT, 100 )
ADD_CAPABILITY( AOUT, 100 )
......
......@@ -2,7 +2,7 @@
* i420_rgb.c : YUV to bitmap RGB conversion module for vlc
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: i420_rgb.c,v 1.7 2002/03/17 17:00:38 sam Exp $
* $Id: i420_rgb.c,v 1.8 2002/04/19 13:56:10 sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -61,10 +61,12 @@ MODULE_CONFIG_STOP
MODULE_INIT_START
#if defined (MODULE_NAME_IS_chroma_i420_rgb)
SET_DESCRIPTION( "I420,IYUV,YV12 to RGB,RV15,RV16,RV24,RV32 conversions" )
SET_DESCRIPTION( _("I420,IYUV,YV12 to "
"RGB,RV15,RV16,RV24,RV32 conversions") )
ADD_CAPABILITY( CHROMA, 80 )
#elif defined (MODULE_NAME_IS_chroma_i420_rgb_mmx)
SET_DESCRIPTION( "MMX I420,IYUV,YV12 to RV15,RV16,RV24,RV32 conversions" )
SET_DESCRIPTION( _( "MMX I420,IYUV,YV12 to "
"RV15,RV16,RV24,RV32 conversions") )
ADD_CAPABILITY( CHROMA, 100 )
ADD_REQUIREMENT( MMX )
#endif
......
......@@ -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.4 2002/04/02 10:17:08 sam Exp $
* $Id: i420_ymga.c,v 1.5 2002/04/19 13:56:10 sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -54,10 +54,10 @@ MODULE_CONFIG_STOP
MODULE_INIT_START
#if defined (MODULE_NAME_IS_chroma_i420_ymga)
SET_DESCRIPTION( "conversions from " SRC_FOURCC " to " DEST_FOURCC )
SET_DESCRIPTION( _("conversions from " SRC_FOURCC " to " DEST_FOURCC) )
ADD_CAPABILITY( CHROMA, 80 )
#elif defined (MODULE_NAME_IS_chroma_i420_ymga_mmx)
SET_DESCRIPTION( "MMX conversions from " SRC_FOURCC " to " DEST_FOURCC )
SET_DESCRIPTION( _("MMX conversions from " SRC_FOURCC " to " DEST_FOURCC) )
ADD_CAPABILITY( CHROMA, 100 )
ADD_REQUIREMENT( MMX )
#endif
......
......@@ -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 2002/04/02 10:17:08 sam Exp $
* $Id: i420_yuy2.c,v 1.5 2002/04/19 13:56:10 sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -68,10 +68,10 @@ MODULE_CONFIG_STOP
MODULE_INIT_START
#if defined (MODULE_NAME_IS_chroma_i420_yuy2)
SET_DESCRIPTION( "conversions from " SRC_FOURCC " to " DEST_FOURCC )
SET_DESCRIPTION( _("conversions from " SRC_FOURCC " to " DEST_FOURCC) )
ADD_CAPABILITY( CHROMA, 80 )
#elif defined (MODULE_NAME_IS_chroma_i420_yuy2_mmx)
SET_DESCRIPTION( "MMX conversions from " SRC_FOURCC " to " DEST_FOURCC )
SET_DESCRIPTION( _("MMX conversions from " SRC_FOURCC " to " DEST_FOURCC) )
ADD_CAPABILITY( CHROMA, 100 )
ADD_REQUIREMENT( MMX )
#endif
......
......@@ -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 2002/04/02 10:17:08 sam Exp $
* $Id: i422_yuy2.c,v 1.5 2002/04/19 13:56:10 sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -67,10 +67,10 @@ MODULE_CONFIG_STOP
MODULE_INIT_START
#if defined (MODULE_NAME_IS_chroma_i422_yuy2)
SET_DESCRIPTION( "conversions from " SRC_FOURCC " to " DEST_FOURCC )
SET_DESCRIPTION( _("conversions from " SRC_FOURCC " to " DEST_FOURCC) )
ADD_CAPABILITY( CHROMA, 80 )
#elif defined (MODULE_NAME_IS_chroma_i422_yuy2_mmx)
SET_DESCRIPTION( "MMX conversions from " SRC_FOURCC " to " DEST_FOURCC )
SET_DESCRIPTION( _("MMX conversions from " SRC_FOURCC " to " DEST_FOURCC) )
ADD_CAPABILITY( CHROMA, 100 )
ADD_REQUIREMENT( MMX )
#endif
......
......@@ -2,7 +2,7 @@
* directx.c : Windows DirectX plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: directx.c,v 1.6 2002/02/24 20:51:09 gbazin Exp $
* $Id: directx.c,v 1.7 2002/04/19 13:56:10 sam Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
......@@ -47,7 +47,7 @@ MODULE_CONFIG_START
MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION( "DirectX extension module" )
SET_DESCRIPTION( _("DirectX extension module") )
ADD_CAPABILITY( AOUT, 150 )
ADD_CAPABILITY( VOUT, 150 )
ADD_SHORTCUT( "directx" )
......
......@@ -2,7 +2,7 @@
* downmix.c : AC3 downmix module
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: downmix.c,v 1.7 2002/02/15 13:32:53 sam Exp $
* $Id: downmix.c,v 1.8 2002/04/19 13:56:10 sam Exp $
*
* Authors: Renaud Dartus <reno@via.ecp.fr>
*
......@@ -44,7 +44,7 @@ MODULE_CONFIG_START
MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION( "AC3 downmix module" )
SET_DESCRIPTION( _("AC3 downmix module") )
ADD_CAPABILITY( DOWNMIX, 50 )
ADD_SHORTCUT( "c" )
ADD_SHORTCUT( "downmix" )
......
......@@ -2,7 +2,7 @@
* downmix3dn.c : accelerated 3D Now! AC3 downmix module
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: downmix3dn.c,v 1.8 2002/02/15 13:32:53 sam Exp $
* $Id: downmix3dn.c,v 1.9 2002/04/19 13:56:10 sam Exp $
*
* Authors: Renaud Dartus <reno@via.ecp.fr>
*
......@@ -44,7 +44,7 @@ MODULE_CONFIG_START
MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION( "3D Now! AC3 downmix module" )
SET_DESCRIPTION( _("3D Now! AC3 downmix module") )
ADD_CAPABILITY( DOWNMIX, 200 )
ADD_REQUIREMENT( 3DNOW )
ADD_SHORTCUT( "3dn" )
......
......@@ -2,7 +2,7 @@
* downmixsse.c : accelerated SSE AC3 downmix module
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: downmixsse.c,v 1.8 2002/02/15 13:32:53 sam Exp $
* $Id: downmixsse.c,v 1.9 2002/04/19 13:56:10 sam Exp $
*
* Authors: Renaud Dartus <reno@via.ecp.fr>
*
......@@ -44,7 +44,7 @@ MODULE_CONFIG_START
MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION( "SSE AC3 downmix module" )
SET_DESCRIPTION( _("SSE AC3 downmix module") )
ADD_CAPABILITY( DOWNMIX, 200 )
ADD_REQUIREMENT( SSE )
ADD_SHORTCUT( "sse" )
......
......@@ -2,7 +2,7 @@
* dsp.c : OSS /dev/dsp module for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: dsp.c,v 1.14 2002/02/27 18:19:21 sam Exp $
* $Id: dsp.c,v 1.15 2002/04/19 13:56:10 sam Exp $
*
* Authors: Michel Kaempf <maxx@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
......@@ -39,12 +39,12 @@ void _M( aout_getfunctions )( function_list_t * p_function_list );
* Build configuration tree.
*****************************************************************************/
MODULE_CONFIG_START
ADD_CATEGORY_HINT( "Misc Options", NULL )
ADD_FILE ( "dsp_dev", "/dev/dsp", NULL,"OSS dsp device",NULL )
ADD_CATEGORY_HINT( N_("Miscellaneous"), NULL )
ADD_FILE ( "dsp_dev", "/dev/dsp", NULL, N_("OSS dsp device"), NULL )
MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION( "Linux OSS /dev/dsp module" )
SET_DESCRIPTION( _("Linux OSS /dev/dsp module") )
ADD_CAPABILITY( AOUT, 100 )
ADD_SHORTCUT( "dsp" )
MODULE_INIT_STOP
......
......@@ -2,7 +2,7 @@
* dummy.c : dummy plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: dummy.c,v 1.17 2002/03/01 00:33:18 massiot Exp $
* $Id: dummy.c,v 1.18 2002/04/19 13:56:10 sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -46,7 +46,7 @@ MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION( "dummy functions module" )
SET_DESCRIPTION( _("dummy functions module") )
/* Capability score set to 0 because we don't want to be spawned
* unless explicitly requested to */
ADD_CAPABILITY( AOUT, 0 )
......
......@@ -2,7 +2,7 @@
* null.c : NULL module for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: null.c,v 1.5 2002/02/24 20:51:09 gbazin Exp $
* $Id: null.c,v 1.6 2002/04/19 13:56:10 sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -49,7 +49,7 @@ MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION( "the Null module that does nothing" )
SET_DESCRIPTION( _("the Null module that does nothing") )
ADD_SHORTCUT( "null" )
MODULE_INIT_STOP
......
......@@ -2,7 +2,7 @@
* dvd.c : DVD input module for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: dvd.c,v 1.30 2002/04/06 04:22:27 sam Exp $
* $Id: dvd.c,v 1.31 2002/04/19 13:56:10 sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -63,16 +63,16 @@ static void UnprobeLibDVDCSS( void );
* Build configuration tree.
*****************************************************************************/
MODULE_CONFIG_START
ADD_CATEGORY_HINT( "[dvd:][device][@raw_device][@[title][,[chapter][,angle]]]", NULL )
ADD_CATEGORY_HINT( N_("[dvd:][device][@raw_device][@[title][,[chapter][,angle]]]"), NULL )
MODULE_CONFIG_STOP
MODULE_INIT_START
ADD_CAPABILITY( DEMUX, 0 )
#ifdef GOD_DAMN_DMCA
SET_DESCRIPTION( "DVD input module, uses libdvdcss if present" )
SET_DESCRIPTION( _("DVD input module, uses libdvdcss if present") )
ADD_CAPABILITY( ACCESS, 90 )
#else
SET_DESCRIPTION( "DVD input module, uses libdvdcss" )
SET_DESCRIPTION( _("DVD input module, uses libdvdcss") )
ADD_CAPABILITY( ACCESS, 100 )
#endif
ADD_SHORTCUT( "dvd" )
......
......@@ -2,7 +2,7 @@
* dvdread.c : DvdRead input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: dvdread.c,v 1.14 2002/04/16 23:00:54 massiot Exp $
* $Id: dvdread.c,v 1.15 2002/04/19 13:56:10 sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -39,11 +39,11 @@ void _M( demux_getfunctions)( function_list_t * p_function_list );
* Build configuration tree.
*****************************************************************************/
MODULE_CONFIG_START
ADD_CATEGORY_HINT( "[dvdread:][device][@[title][,[chapter][,angle]]]", NULL )
ADD_CATEGORY_HINT( N_("[dvdread:][device][@[title][,[chapter][,angle]]]"), NULL )
MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION( "DVDRead input module" )
SET_DESCRIPTION( _("DVDRead input module") )
ADD_CAPABILITY( DEMUX, 0 )
ADD_CAPABILITY( ACCESS, 110 )
ADD_SHORTCUT( "dvdread" )
......
......@@ -2,7 +2,7 @@
* esd.c : EsounD module
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: esd.c,v 1.13 2002/02/24 20:51:09 gbazin Exp $
* $Id: esd.c,v 1.14 2002/04/19 13:56:10 sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -41,7 +41,7 @@ MODULE_CONFIG_START
MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION( "EsounD audio module" )
SET_DESCRIPTION( _("EsounD audio module") )
ADD_CAPABILITY( AOUT, 50 )
ADD_SHORTCUT( "esd" )
ADD_SHORTCUT( "esound" )
......
......@@ -2,7 +2,7 @@
* fb.c : framebuffer plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: fb.c,v 1.16 2002/03/17 17:00:38 sam Exp $
* $Id: fb.c,v 1.17 2002/04/19 13:56:11 sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -69,12 +69,12 @@ static void GfxMode ( int i_tty );
#define FB_DEV_VAR "fb_dev"
MODULE_CONFIG_START
ADD_CATEGORY_HINT( "Misc Options", NULL )
ADD_STRING ( FB_DEV_VAR, "/dev/fb0", NULL,"framebuffer device",NULL )
ADD_CATEGORY_HINT( N_("Miscellaneous"), NULL )
ADD_STRING ( FB_DEV_VAR, "/dev/fb0", NULL, N_("framebuffer device"), NULL )
MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION( "Linux console framebuffer module" )
SET_DESCRIPTION( _("Linux console framebuffer module") )
ADD_CAPABILITY( VOUT, 30 )
ADD_SHORTCUT( "fb" )
MODULE_INIT_STOP
......
......@@ -2,7 +2,7 @@
* deinterlace.c : deinterlacer plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: deinterlace.c,v 1.8 2002/03/19 00:30:44 sam Exp $
* $Id: deinterlace.c,v 1.9 2002/04/19 13:56:11 sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -52,7 +52,7 @@ MODULE_CONFIG_START
MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION( "deinterlacing module" )
SET_DESCRIPTION( _("deinterlacing module") )
/* Capability score set to 0 because we don't want to be spawned
* as a video output unless explicitly requested to */
ADD_CAPABILITY( VOUT, 0 )
......
......@@ -2,7 +2,7 @@
* distort.c : Misc video effects plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: distort.c,v 1.9 2002/03/11 07:23:09 gbazin Exp $
* $Id: distort.c,v 1.10 2002/04/19 13:56:11 sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -52,7 +52,7 @@ MODULE_CONFIG_START
MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION( "miscellaneous video effects module" )
SET_DESCRIPTION( _("miscellaneous video effects module") )
/* Capability score set to 0 because we don't want to be spawned
* as a video output unless explicitly requested to */
ADD_CAPABILITY( VOUT, 0 )
......
......@@ -2,7 +2,7 @@
* invert.c : Invert video plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: invert.c,v 1.9 2002/03/11 07:23:09 gbazin Exp $
* $Id: invert.c,v 1.10 2002/04/19 13:56:11 sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -47,7 +47,7 @@ MODULE_CONFIG_START
MODULE_CONFIG_STOP
MODULE_INIT_START
SET_DESCRIPTION( "invert video module" )
SET_DESCRIPTION( _("invert video module") )
/* Capability score set to 0 because we don't want to be spawned
* as a video output unless explicitly requested to */
ADD_CAPABILITY( VOUT, 0 )
......