]> git.sesse.net Git - vlc/commitdiff
Disabled the translation configuration variable on OS X since it doesn't
authorChristophe Massiot <massiot@videolan.org>
Sun, 6 Apr 2003 14:12:46 +0000 (14:12 +0000)
committerChristophe Massiot <massiot@videolan.org>
Sun, 6 Apr 2003 14:12:46 +0000 (14:12 +0000)
work.

src/libvlc.c
src/libvlc.h

index 765eafc40c2ccca528b3e7c23073fd0edfd20789..27093e4761bdd6c31b712ef0638e437370e069c3 100644 (file)
@@ -2,7 +2,7 @@
  * libvlc.c: main libvlc source
  *****************************************************************************
  * 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>
  *          Samuel Hocevar <sam@zoy.org>
@@ -322,6 +322,7 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] )
     }
 
     /* Check for translation config option */
+#ifndef SYS_DARWIN
     if( !config_GetInt( p_vlc, "translation" ) )
     {
         /* Reset the default domain */
@@ -332,6 +333,7 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] )
         textdomain( "dummy" );
 #endif
     }
+#endif
 
     /*
      * Load the builtins and plugins into the module_bank.
index 4adf67ed17552e9e04653b6eb937dfdc0a471b91..0eed79c62e85da692b7100bf4143cef848f8812d 100644 (file)
@@ -2,7 +2,7 @@
  * libvlc.h: main libvlc header
  *****************************************************************************
  * 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>
  *          Samuel Hocevar <sam@zoy.org>
@@ -448,7 +448,9 @@ vlc_module_begin();
     add_integer_with_short( "verbose", 'v', -1, NULL,
                             VERBOSE_TEXT, VERBOSE_LONGTEXT, VLC_FALSE );
     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 );
+#endif
     add_bool( "color", 0, NULL, COLOR_TEXT, COLOR_LONGTEXT, VLC_TRUE );
     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 );