Commit e8325b39 authored by Christophe Massiot's avatar Christophe Massiot

Disabled the translation configuration variable on OS X since it doesn't

work.
parent 0c512e55
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* libvlc.c: main libvlc source * libvlc.c: main libvlc source
***************************************************************************** *****************************************************************************
* Copyright (C) 1998-2002 VideoLAN * Copyright (C) 1998-2002 VideoLAN
* $Id: libvlc.c,v 1.72 2003/03/29 12:22:15 gbazin Exp $ * $Id: libvlc.c,v 1.73 2003/04/06 14:12:46 massiot 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>
...@@ -322,6 +322,7 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] ) ...@@ -322,6 +322,7 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] )
} }
/* Check for translation config option */ /* Check for translation config option */
#ifndef SYS_DARWIN
if( !config_GetInt( p_vlc, "translation" ) ) if( !config_GetInt( p_vlc, "translation" ) )
{ {
/* Reset the default domain */ /* Reset the default domain */
...@@ -332,6 +333,7 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] ) ...@@ -332,6 +333,7 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] )
textdomain( "dummy" ); textdomain( "dummy" );
#endif #endif
} }
#endif
/* /*
* Load the builtins and plugins into the module_bank. * Load the builtins and plugins into the module_bank.
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* libvlc.h: main libvlc header * libvlc.h: main libvlc header
***************************************************************************** *****************************************************************************
* Copyright (C) 1998-2002 VideoLAN * Copyright (C) 1998-2002 VideoLAN
* $Id: libvlc.h,v 1.53 2003/03/30 16:26:42 gbazin Exp $ * $Id: libvlc.h,v 1.54 2003/04/06 14:12:46 massiot 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>
...@@ -448,7 +448,9 @@ vlc_module_begin(); ...@@ -448,7 +448,9 @@ vlc_module_begin();
add_integer_with_short( "verbose", 'v', -1, NULL, add_integer_with_short( "verbose", 'v', -1, NULL,
VERBOSE_TEXT, VERBOSE_LONGTEXT, VLC_FALSE ); VERBOSE_TEXT, VERBOSE_LONGTEXT, VLC_FALSE );
add_bool_with_short( "quiet", 'q', 0, NULL, QUIET_TEXT, QUIET_LONGTEXT, VLC_TRUE ); add_bool_with_short( "quiet", 'q', 0, NULL, QUIET_TEXT, QUIET_LONGTEXT, VLC_TRUE );
#ifndef SYS_DARWIN
add_bool( "translation", 1, NULL, TRANSLATION_TEXT, TRANSLATION_LONGTEXT, VLC_FALSE ); add_bool( "translation", 1, NULL, TRANSLATION_TEXT, TRANSLATION_LONGTEXT, VLC_FALSE );
#endif
add_bool( "color", 0, NULL, COLOR_TEXT, COLOR_LONGTEXT, VLC_TRUE ); add_bool( "color", 0, NULL, COLOR_TEXT, COLOR_LONGTEXT, VLC_TRUE );
add_bool( "advanced", 0, NULL, ADVANCED_TEXT, ADVANCED_LONGTEXT, VLC_FALSE ); add_bool( "advanced", 0, NULL, ADVANCED_TEXT, ADVANCED_LONGTEXT, VLC_FALSE );
add_string( "search-path", NULL, NULL, INTF_PATH_TEXT, INTF_PATH_LONGTEXT, VLC_TRUE ); add_string( "search-path", NULL, NULL, INTF_PATH_TEXT, INTF_PATH_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