Commit 954bdeb8 authored by Sam Hocevar's avatar Sam Hocevar

* ./po/*: updated locales.

parent 3ca7825a
# libvlc
include/interface.h
src/libvlc.c src/libvlc.c
src/libvlc.h src/libvlc.h
src/misc/configuration.c src/misc/configuration.c
# access modules
modules/access/dvd/dvd.c
modules/access/v4l/v4l.c
modules/access/file.c
modules/access/http.c
modules/access/rtp.c
modules/access/udp.c
modules/access/dvdread/dvdread.c
modules/access/satellite/satellite.c
modules/access/vcd/vcd.c
# audio_filter modules
modules/audio_filter/channel_mixer/trivial.c
modules/audio_filter/converter/a52tospdif.c
modules/audio_filter/converter/fixed32tofloat32.c
modules/audio_filter/converter/fixed32tos16.c
modules/audio_filter/converter/float32tos16.c
modules/audio_filter/converter/float32tos8.c
modules/audio_filter/converter/float32tou16.c
modules/audio_filter/converter/float32tou8.c
modules/audio_filter/converter/s16tofloat32.c
modules/audio_filter/converter/a52tofloat32.c
modules/audio_filter/converter/s16tofloat32swab.c
modules/audio_filter/resampler/trivial.c
modules/audio_filter/resampler/ugly.c
# audio_mixer modules
modules/audio_mixer/float32.c
modules/audio_mixer/spdif.c
modules/audio_mixer/trivial.c
# audio_output modules
modules/audio_output/alsa.c
modules/audio_output/arts.c
modules/audio_output/directx.c
modules/audio_output/esd.c
modules/audio_output/file.c
modules/audio_output/oss.c
modules/audio_output/sdl.c
modules/audio_output/waveout.c
# codec modules
modules/codec/a52.c
modules/codec/a52old/a52old.c
modules/codec/a52old/downmix/downmix.c
modules/codec/a52old/imdct/imdct.c
modules/codec/araw.c
modules/codec/dv/dv.c
modules/codec/faad/decoder.c
modules/codec/ffmpeg/ffmpeg.c
modules/codec/ffmpeg/postprocessing/postprocessing.c
modules/codec/lpcm.c
modules/codec/mad/decoder.c
modules/codec/mpeg_audio/decoder.c
modules/codec/mpeg_video/idct/idct.c
modules/codec/mpeg_video/idct/idctaltivec.c
modules/codec/mpeg_video/idct/idctclassic.c
modules/codec/mpeg_video/idct/idctmmx.c
modules/codec/mpeg_video/idct/idctmmxext.c
modules/codec/mpeg_video/motion/motion.c
modules/codec/mpeg_video/motion/motion3dnow.c
modules/codec/mpeg_video/motion/motionaltivec.c
modules/codec/mpeg_video/motion/motionmmx.c
modules/codec/mpeg_video/motion/motionmmxext.c
modules/codec/mpeg_video/parser.c
modules/codec/spudec/spudec.c
# control modules
modules/control/lirc/lirc.c
modules/control/rc/rc.c
# demux modules
modules/demux/aac/demux.c
modules/demux/mpeg/audio.c
modules/demux/mpeg/es.c
modules/demux/mpeg/ps.c
modules/demux/mpeg/system.c
modules/demux/mpeg/ts.c
modules/demux/util/id3.c
modules/demux/util/id3tag.c
# gui modules
modules/gui/beos/BeOS.cpp
modules/gui/familiar/familiar.c
modules/gui/familiar/interface.c
modules/gui/familiar/support.c
modules/gui/familiar/support.h
modules/gui/gtk/gnome.c
modules/gui/gtk/gnome_interface.c
modules/gui/gtk/gnome_support.c
modules/gui/gtk/gtk.c
modules/gui/gtk/gtk_interface.c
modules/gui/gtk/gtk_support.c
modules/gui/gtk/gtk_support.h
modules/gui/gtk/menu.c
modules/gui/gtk/preferences.c
modules/gui/kde/interface.cpp
modules/gui/kde/kde.cpp
modules/gui/kde/messages.cpp
modules/gui/kde/pluginsbox.cpp
modules/gui/macosx/intf.h
modules/gui/macosx/macosx.m
modules/gui/ncurses/ncurses.c
modules/gui/qnx/qnx.c
modules/gui/qt/qt.cpp
modules/gui/win32/misc.cpp
modules/gui/win32/win32.cpp
# misc plugins
modules/misc/dummy/dummy.c
modules/misc/dummy/interface.c
modules/misc/gtk_main.c
modules/misc/logger/logger.c
modules/misc/memcpy/memcpy.c
modules/misc/memcpy/memcpyaltivec.c
modules/misc/network/ipv4.c
modules/misc/network/ipv6.c
modules/misc/testsuite/test1.c
modules/misc/testsuite/test2.cpp
modules/misc/testsuite/test3.m
modules/misc/testsuite/test4.c
# video_chroma modules
modules/video_chroma/i420_rgb.c
modules/video_chroma/i420_ymga.c
modules/video_chroma/i420_yuy2.c
modules/video_chroma/i422_yuy2.c
# video_filter modules
modules/video_filter/clone.c
modules/video_filter/crop.c
modules/video_filter/deinterlace/deinterlace.c
modules/video_filter/distort.c
modules/video_filter/invert.c
modules/video_filter/motionblur.c
modules/video_filter/transform.c
modules/video_filter/wall.c
# video_output modules
modules/video_output/aa.c
modules/video_output/directx/directx.c
modules/video_output/fb.c
modules/video_output/ggi.c
modules/video_output/glide.c
modules/video_output/mga/mga.c
modules/video_output/mga/xmga.c
modules/video_output/qte/qte.cpp
modules/video_output/sdl.c
modules/video_output/svgalib.c
modules/video_output/x11/x11.c
modules/video_output/x11/xvideo.c
# visualization modules
modules/visualization/scope/scope.c
modules/visualization/xosd/xosd.c
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -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.40 2002/10/15 08:35:24 sam Exp $ * $Id: libvlc.c,v 1.41 2002/10/15 12:30:00 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>
...@@ -86,6 +86,7 @@ static vlc_t * p_static_vlc; ...@@ -86,6 +86,7 @@ static vlc_t * p_static_vlc;
/***************************************************************************** /*****************************************************************************
* Local prototypes * Local prototypes
*****************************************************************************/ *****************************************************************************/
static void SetLanguage ( char const * );
static int GetFilenames ( vlc_t *, int, char *[] ); static int GetFilenames ( vlc_t *, int, char *[] );
static void Usage ( vlc_t *, char const *psz_module_name ); static void Usage ( vlc_t *, char const *psz_module_name );
static void ListModules ( vlc_t * ); static void ListModules ( vlc_t * );
...@@ -222,25 +223,10 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] ) ...@@ -222,25 +223,10 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] )
return VLC_ENOOBJ; return VLC_ENOOBJ;
} }
/* Support for gettext */ /*
#if defined( ENABLE_NLS ) && defined ( HAVE_GETTEXT ) * Support for gettext
# if defined( HAVE_LOCALE_H ) && defined( HAVE_LC_MESSAGES ) */
if( !setlocale( LC_MESSAGES, "" ) ) SetLanguage( "" );
{
fprintf( stderr, "warning: unsupported locale settings\n" );
}
setlocale( LC_CTYPE, "" );
# endif
if( !bindtextdomain( PACKAGE, LOCALEDIR ) )
{
fprintf( stderr, "warning: no domain %s in directory %s\n",
PACKAGE, LOCALEDIR );
}
textdomain( PACKAGE );
#endif
/* /*
* System specific initialization code * System specific initialization code
...@@ -917,6 +903,35 @@ int VLC_FullScreen( int i_object ) ...@@ -917,6 +903,35 @@ int VLC_FullScreen( int i_object )
/* following functions are local */ /* following functions are local */
/*****************************************************************************
* SetLanguage: set the interface language.
*****************************************************************************
* We set the LC_MESSAGES locale category for interface messages and buttons,
* as well as the LC_CTYPE category for string sorting and possible wide
* character support.
*****************************************************************************/
static void SetLanguage ( char const *psz_lang )
{
#if defined( ENABLE_NLS ) && defined ( HAVE_GETTEXT )
# if defined( HAVE_LOCALE_H ) && defined( HAVE_LC_MESSAGES )
if( !setlocale( LC_MESSAGES, psz_lang ) )
{
fprintf( stderr, "warning: unsupported locale settings\n" );
}
setlocale( LC_CTYPE, psz_lang );
# endif
if( !bindtextdomain( PACKAGE, LOCALEDIR ) )
{
fprintf( stderr, "warning: no domain %s in directory %s\n",
PACKAGE, LOCALEDIR );
}
textdomain( PACKAGE );
#endif
}
/***************************************************************************** /*****************************************************************************
* GetFilenames: parse command line options which are not flags * GetFilenames: parse command line options which are not flags
***************************************************************************** *****************************************************************************
......
...@@ -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.19 2002/10/08 18:10:09 sam Exp $ * $Id: libvlc.h,v 1.20 2002/10/15 12:30:00 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>
...@@ -168,7 +168,7 @@ ...@@ -168,7 +168,7 @@
#define SERVER_PORT_LONGTEXT N_( \ #define SERVER_PORT_LONGTEXT N_( \
"This is the port used for UDP streams. By default, we chose 1234.") "This is the port used for UDP streams. By default, we chose 1234.")
#define MTU_TEXT N_("MTU of the interface") #define MTU_TEXT N_("MTU of the network interface")
#define MTU_LONGTEXT N_( \ #define MTU_LONGTEXT N_( \
"This is the typical size of UDP packets that we expect. On Ethernet " \ "This is the typical size of UDP packets that we expect. On Ethernet " \
"it is usually 1500.") "it is usually 1500.")
...@@ -302,7 +302,7 @@ ...@@ -302,7 +302,7 @@
#define DEMUX_LONGTEXT N_( \ #define DEMUX_LONGTEXT N_( \
"This is a legacy entry to let you configure demux modules") "This is a legacy entry to let you configure demux modules")
#define FAST_MUTEX_TEXT N_("fast mutex on NT/2K/XP (developpers only)") #define FAST_MUTEX_TEXT N_("fast mutex on NT/2K/XP (developers only)")
#define FAST_MUTEX_LONGTEXT N_( \ #define FAST_MUTEX_LONGTEXT N_( \
"On Windows NT/2K/XP we use a slow mutex implementation but which " \ "On Windows NT/2K/XP we use a slow mutex implementation but which " \
"allows us to correctely implement condition variables. " \ "allows us to correctely implement condition variables. " \
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* variables.c: routines for object variables handling * variables.c: routines for object variables handling
***************************************************************************** *****************************************************************************
* Copyright (C) 2002 VideoLAN * Copyright (C) 2002 VideoLAN
* $Id: variables.c,v 1.4 2002/10/15 08:35:24 sam Exp $ * $Id: variables.c,v 1.5 2002/10/15 12:30:01 sam Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -130,7 +130,6 @@ int __var_Destroy( vlc_object_t *p_this, const char *psz_name ) ...@@ -130,7 +130,6 @@ int __var_Destroy( vlc_object_t *p_this, const char *psz_name )
if( i_del < 0 ) if( i_del < 0 )
{ {
msg_Err( p_this, "variable %s was not found", psz_name );
vlc_mutex_unlock( &p_this->var_lock ); vlc_mutex_unlock( &p_this->var_lock );
return VLC_ENOVAR; return VLC_ENOVAR;
} }
......
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