Commit 17f4d010 authored by Sam Hocevar's avatar Sam Hocevar

* ./src/libvlc.c: strings in the main module are now translated (fixes: #92).

parent 61411b1c
...@@ -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.59 2003/01/27 17:41:01 ipkiss Exp $ * $Id: libvlc.c,v 1.60 2003/01/31 13:52:26 sam 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>
...@@ -167,6 +167,11 @@ int VLC_Create( void ) ...@@ -167,6 +167,11 @@ int VLC_Create( void )
msg_Dbg( &libvlc, COPYRIGHT_MESSAGE ); msg_Dbg( &libvlc, COPYRIGHT_MESSAGE );
msg_Dbg( &libvlc, "libvlc was configured with %s", CONFIGURE_LINE ); msg_Dbg( &libvlc, "libvlc was configured with %s", CONFIGURE_LINE );
/* Set language now, otherwise the main module's strings will not
* be translated. FIXME: this is a hack, the correct way is to have
* SetLanguage dynamically retranslate all module strings. */
SetLanguage( "" );
/* Initialize the module bank and load the configuration of the /* Initialize the module bank and load the configuration of the
* main module. We need to do this at this stage to be able to display * main module. We need to do this at this stage to be able to display
* a short help if required by the user. (short help == main module * a short help if required by the user. (short help == main module
......
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