From: Clément Stenac Date: Mon, 26 Jan 2004 16:52:31 +0000 (+0000) Subject: Strings review X-Git-Tag: 0.7.1~334 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;ds=inline;h=d47b33f38a60ffe3a781e9b04d25ff9434b1f424;p=vlc Strings review Do "50%","100%", ... need translation ? They are currently translated, I did not touch this --- diff --git a/modules/gui/beos/AudioOutput.cpp b/modules/gui/beos/AudioOutput.cpp index 34db378c53..d3a9cd9e0f 100644 --- a/modules/gui/beos/AudioOutput.cpp +++ b/modules/gui/beos/AudioOutput.cpp @@ -2,7 +2,7 @@ * AudioOutput.cpp: BeOS audio output ***************************************************************************** * Copyright (C) 1999, 2000, 2001 VideoLAN - * $Id: AudioOutput.cpp,v 1.29 2003/05/08 10:40:31 titer Exp $ + * $Id: AudioOutput.cpp,v 1.30 2004/01/26 16:52:31 zorglub Exp $ * * Authors: Jean-Marc Dressler * Samuel Hocevar @@ -12,7 +12,7 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -50,7 +50,7 @@ typedef struct aout_sys_t { BSoundPlayer * p_player; mtime_t latency; - + } aout_sys_t; /***************************************************************************** @@ -69,7 +69,7 @@ int E_(OpenAudio) ( vlc_object_t * p_this ) p_aout->output.p_sys = (aout_sys_t*) malloc( sizeof( aout_sys_t ) ); if( p_aout->output.p_sys == NULL ) { - msg_Err( p_aout, "Not enough memory" ); + msg_Err( p_aout, "out of memory" ); return -1; } aout_sys_t * p_sys = p_aout->output.p_sys; @@ -84,13 +84,13 @@ int E_(OpenAudio) ( vlc_object_t * p_this ) p_aout->output.output.i_physical_channels = AOUT_CHAN_LEFT | AOUT_CHAN_RIGHT; } - + media_raw_audio_format * p_format; p_format = (media_raw_audio_format*) malloc( sizeof( media_raw_audio_format ) ); - + p_format->channel_count = i_nb_channels; - p_format->frame_rate = p_aout->output.output.i_rate; + p_format->frame_rate = p_aout->output.output.i_rate; p_format->format = media_raw_audio_format::B_AUDIO_FLOAT; #ifdef WORDS_BIGENDIAN p_format->byte_order = B_MEDIA_BIG_ENDIAN; @@ -167,7 +167,7 @@ static void Play( void * _p_aout, void * _p_buffer, size_t i_size, } /***************************************************************************** - * DoNothing + * DoNothing *****************************************************************************/ static void DoNothing( aout_instance_t *p_aout ) { diff --git a/modules/gui/beos/BeOS.cpp b/modules/gui/beos/BeOS.cpp index 8199736bb4..3f6cdfe6c3 100644 --- a/modules/gui/beos/BeOS.cpp +++ b/modules/gui/beos/BeOS.cpp @@ -2,7 +2,7 @@ * beos.cpp : BeOS plugin for vlc ***************************************************************************** * Copyright (C) 2000, 2001 VideoLAN - * $Id: BeOS.cpp,v 1.13 2003/11/05 00:39:16 gbazin Exp $ + * $Id: BeOS.cpp,v 1.14 2004/01/26 16:52:31 zorglub Exp $ * * Authors: Jean-Marc Dressler * Samuel Hocevar @@ -12,7 +12,7 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -49,16 +49,17 @@ void E_(CloseVideo) ( vlc_object_t * ); static char * ppsz_screenshotformat[] = { "TGA", "PPM", "PNG", "JPEG", "BMP" }; vlc_module_begin(); - add_bool( "beos-dvdmenus", 0, NULL, "Use DVD Menus", "", VLC_TRUE ); - add_string( "beos-screenshotpath", "/boot/home/", NULL, "Screenshot Path", "", VLC_TRUE ); - add_string( "beos-screenshotformat", "PNG", NULL, "Screenshot Format", - "", VLC_TRUE ); - change_string_list( ppsz_screenshotformat, 0, 0 ); + add_bool( "beos-dvdmenus", 0, NULL, _("Use DVD Menus"), "", VLC_TRUE ); + add_string( "beos-screenshotpath", "/boot/home/", NULL, + _("Screenshot Path"), "", VLC_TRUE ); + add_string( "beos-screenshotformat", "PNG", NULL, + _("Screenshot Format"),"", VLC_TRUE ); + change_string_list( ppsz_screenshotformat, 0, 0 ); set_description( _("BeOS standard API interface") ); set_capability( "interface", 100 ); set_callbacks( E_(OpenIntf), E_(CloseIntf) ); - add_submodule(); + add_submodule(); set_capability( "video output", 100 ); set_callbacks( E_(OpenVideo), E_(CloseVideo) ); add_submodule(); diff --git a/modules/gui/beos/Bitmaps.h b/modules/gui/beos/Bitmaps.h index 329b1a37d4..57736fe56c 100644 --- a/modules/gui/beos/Bitmaps.h +++ b/modules/gui/beos/Bitmaps.h @@ -2,7 +2,7 @@ * Bitmaps.h ***************************************************************************** * Copyright (C) 2001 VideoLAN - * $Id: Bitmaps.h,v 1.2 2002/09/30 18:30:27 titer Exp $ + * $Id: Bitmaps.h,v 1.3 2004/01/26 16:52:31 zorglub Exp $ * * Authors: Tony Castley * Stephan Aßmus @@ -11,7 +11,7 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/modules/gui/beos/DrawingTidbits.cpp b/modules/gui/beos/DrawingTidbits.cpp index 6103650cbc..5ef4ed8ee7 100644 --- a/modules/gui/beos/DrawingTidbits.cpp +++ b/modules/gui/beos/DrawingTidbits.cpp @@ -2,7 +2,7 @@ * DrawingTidbits.cpp ***************************************************************************** * Copyright (C) 2001 VideoLAN - * $Id: DrawingTidbits.cpp,v 1.3 2003/01/24 06:31:56 titer Exp $ + * $Id: DrawingTidbits.cpp,v 1.4 2004/01/26 16:52:31 zorglub Exp $ * * Authors: Tony Castley * Stephan Aßmus @@ -11,7 +11,7 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -34,12 +34,12 @@ inline uchar ShiftComponent(uchar component, float percent) { - // change the color by , make sure we aren't rounding - // off significant bits - if (percent >= 1) - return (uchar)(component * (2 - percent)); - else - return (uchar)(255 - percent * (255 - component)); + // change the color by , make sure we aren't rounding + // off significant bits + if (percent >= 1) + return (uchar)(component * (2 - percent)); + else + return (uchar)(255 - percent * (255 - component)); } // ShiftColor diff --git a/modules/gui/beos/DrawingTidbits.h b/modules/gui/beos/DrawingTidbits.h index 145c31d632..6f1b16c6e7 100644 --- a/modules/gui/beos/DrawingTidbits.h +++ b/modules/gui/beos/DrawingTidbits.h @@ -2,7 +2,7 @@ * DrawingTidbits.h ***************************************************************************** * Copyright (C) 2001 VideoLAN - * $Id: DrawingTidbits.h,v 1.2 2002/09/30 18:30:27 titer Exp $ + * $Id: DrawingTidbits.h,v 1.3 2004/01/26 16:52:31 zorglub Exp $ * * Authors: Tony Castley * Stephan Aßmus @@ -11,7 +11,7 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/modules/gui/beos/Interface.cpp b/modules/gui/beos/Interface.cpp index 929cd72d57..4a4f8ae359 100644 --- a/modules/gui/beos/Interface.cpp +++ b/modules/gui/beos/Interface.cpp @@ -2,7 +2,7 @@ * intf_beos.cpp: beos interface ***************************************************************************** * Copyright (C) 1999, 2000, 2001 VideoLAN - * $Id: Interface.cpp,v 1.15 2003/06/22 00:40:18 titer Exp $ + * $Id: Interface.cpp,v 1.16 2004/01/26 16:52:31 zorglub Exp $ * * Authors: Jean-Marc Dressler * Samuel Hocevar @@ -105,7 +105,7 @@ int E_(OpenIntf) ( vlc_object_t *p_this ) void E_(CloseIntf) ( vlc_object_t *p_this ) { intf_thread_t *p_intf = (intf_thread_t*) p_this; - + msg_Unsubscribe( p_intf, p_intf->p_sys->p_sub ); /* Destroy the interface window */ @@ -127,7 +127,7 @@ static void Run( intf_thread_t *p_intf ) { /* Update VlcWrapper internals (p_input, etc) */ p_intf->p_sys->p_wrapper->UpdateInput(); - + /* Manage the slider */ p_intf->p_sys->p_window->UpdateInterface(); diff --git a/modules/gui/beos/InterfaceWindow.cpp b/modules/gui/beos/InterfaceWindow.cpp index e6cdc7c2dd..18e27c1541 100644 --- a/modules/gui/beos/InterfaceWindow.cpp +++ b/modules/gui/beos/InterfaceWindow.cpp @@ -2,7 +2,7 @@ * InterfaceWindow.cpp: beos interface ***************************************************************************** * Copyright (C) 1999, 2000, 2001 VideoLAN - * $Id: InterfaceWindow.cpp,v 1.44 2003/12/22 02:24:52 sam Exp $ + * $Id: InterfaceWindow.cpp,v 1.45 2004/01/26 16:52:31 zorglub Exp $ * * Authors: Jean-Marc Dressler * Samuel Hocevar @@ -244,7 +244,7 @@ InterfaceWindow::InterfaceWindow( BRect frame, const char* name, fileMenu->AddItem( new BMenuItem( _AddEllipsis(_("Open Subtitles")), new BMessage( LOAD_SUBFILE ) ) ); - + fileMenu->AddSeparatorItem(); BMenuItem* item = new BMenuItem( _AddEllipsis(_("About")), new BMessage( B_ABOUT_REQUESTED ), 'A'); @@ -301,19 +301,19 @@ InterfaceWindow::InterfaceWindow( BRect frame, const char* name, /* Add the Show menu */ fShowMenu = new BMenu( _("Window") ); - fShowMenu->AddItem( new BMenuItem( _AddEllipsis(_("Play List")), + fShowMenu->AddItem( new BMenuItem( _AddEllipsis(_("Playlist")), new BMessage( OPEN_PLAYLIST ), 'P') ); fShowMenu->AddItem( new BMenuItem( _AddEllipsis(_("Messages")), new BMessage( OPEN_MESSAGES ), 'M' ) ); fShowMenu->AddItem( new BMenuItem( _AddEllipsis(_("Preferences")), new BMessage( OPEN_PREFERENCES ), 'S' ) ); - fMenuBar->AddItem( fShowMenu ); + fMenuBar->AddItem( fShowMenu ); /* Prepare fow showing */ _SetMenusEnabled( false ); p_mediaControl->SetEnabled( false ); - _RestoreSettings(); + _RestoreSettings(); Show(); } @@ -367,7 +367,7 @@ void InterfaceWindow::MessageReceived( BMessage * p_message ) } case TOGGLE_ON_TOP: break; - + case OPEN_FILE: _ShowFilePanel( B_REFS_RECEIVED, _("VLC Media Player: Open Media Files") ); break; @@ -398,7 +398,7 @@ void InterfaceWindow::MessageReceived( BMessage * p_message ) _UpdatePlaylist(); } break; - + case SUBFILE_RECEIVED: { entry_ref ref; @@ -410,7 +410,7 @@ void InterfaceWindow::MessageReceived( BMessage * p_message ) } break; } - + case STOP_PLAYBACK: // this currently stops playback not nicely if (playback_status > UNDEF_S) @@ -1108,7 +1108,7 @@ int CDMenu::GetCD( const char *directory ) /***************************************************************************** * LanguageMenu::LanguageMenu *****************************************************************************/ -LanguageMenu::LanguageMenu( const char *name, int menu_kind, +LanguageMenu::LanguageMenu( const char *name, int menu_kind, VlcWrapper *p_wrapper ) :BMenu(name) { diff --git a/modules/gui/beos/InterfaceWindow.h b/modules/gui/beos/InterfaceWindow.h index 85275e8fe4..c2932a817b 100644 --- a/modules/gui/beos/InterfaceWindow.h +++ b/modules/gui/beos/InterfaceWindow.h @@ -2,7 +2,7 @@ * InterfaceWindow.h: BeOS interface window class prototype ***************************************************************************** * Copyright (C) 1999, 2000, 2001 VideoLAN - * $Id: InterfaceWindow.h,v 1.14 2003/05/30 17:30:54 titer Exp $ + * $Id: InterfaceWindow.h,v 1.15 2004/01/26 16:52:31 zorglub Exp $ * * Authors: Jean-Marc Dressler * Tony Castley @@ -13,7 +13,7 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -72,7 +72,7 @@ class TitleMenu : public BMenu virtual ~TitleMenu(); virtual void AttachedToWindow(); - + intf_thread_t *p_intf; }; @@ -127,7 +127,7 @@ class InterfaceWindow : public BWindow PlayListWindow* fPlaylistWindow; PreferencesWindow* fPreferencesWindow; BMenuBar* fMenuBar; - BMenuItem* fGotoMenuMI; + BMenuItem* fGotoMenuMI; BMenuItem* fNextTitleMI; BMenuItem* fPrevTitleMI; BMenuItem* fNextChapterMI; diff --git a/modules/gui/beos/ListViews.cpp b/modules/gui/beos/ListViews.cpp index 04abaa3871..cdeefdaf87 100644 --- a/modules/gui/beos/ListViews.cpp +++ b/modules/gui/beos/ListViews.cpp @@ -2,7 +2,7 @@ * ListViews.h: BeOS interface list view class implementation ***************************************************************************** * Copyright (C) 1999, 2000, 2001 VideoLAN - * $Id: ListViews.cpp,v 1.5 2003/02/03 17:18:48 stippi Exp $ + * $Id: ListViews.cpp,v 1.6 2004/01/26 16:52:31 zorglub Exp $ * * Authors: Stephan Aßmus * @@ -10,7 +10,7 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/modules/gui/beos/ListViews.h b/modules/gui/beos/ListViews.h index df9104b076..962859840a 100644 --- a/modules/gui/beos/ListViews.h +++ b/modules/gui/beos/ListViews.h @@ -2,7 +2,7 @@ * ListViews.h: BeOS interface list view class prototype ***************************************************************************** * Copyright (C) 1999, 2000, 2001 VideoLAN - * $Id: ListViews.h,v 1.4 2003/02/03 17:18:48 stippi Exp $ + * $Id: ListViews.h,v 1.5 2004/01/26 16:52:31 zorglub Exp $ * * Authors: Stephan Aßmus * @@ -10,7 +10,7 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/modules/gui/beos/MessagesWindow.cpp b/modules/gui/beos/MessagesWindow.cpp index 84a34f1f5c..c54e0fd325 100644 --- a/modules/gui/beos/MessagesWindow.cpp +++ b/modules/gui/beos/MessagesWindow.cpp @@ -2,7 +2,7 @@ * MessagesWindow.cpp: beos interface ***************************************************************************** * Copyright (C) 1999, 2000, 2001 VideoLAN - * $Id: MessagesWindow.cpp,v 1.11 2003/05/18 22:30:33 titer Exp $ + * $Id: MessagesWindow.cpp,v 1.12 2004/01/26 16:52:31 zorglub Exp $ * * Authors: Eric Petit * @@ -47,7 +47,7 @@ void MessagesView::Pulse() if( fScrollBar->Value() != max ) isScrolling = true; fScrollBar->UnlockLooper(); - + } int i_start, oldLength; diff --git a/modules/gui/beos/MsgVals.h b/modules/gui/beos/MsgVals.h index 2405e50779..cd71a13797 100644 --- a/modules/gui/beos/MsgVals.h +++ b/modules/gui/beos/MsgVals.h @@ -2,7 +2,7 @@ * MsgVals.h ***************************************************************************** * Copyright (C) 2001 VideoLAN - * $Id: MsgVals.h,v 1.10 2003/12/22 11:08:00 titer Exp $ + * $Id: MsgVals.h,v 1.11 2004/01/26 16:52:31 zorglub Exp $ * * Authors: Tony Castley * Stephan Aßmus @@ -11,7 +11,7 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/modules/gui/beos/PlayListWindow.cpp b/modules/gui/beos/PlayListWindow.cpp index 2515a86437..547c09900f 100644 --- a/modules/gui/beos/PlayListWindow.cpp +++ b/modules/gui/beos/PlayListWindow.cpp @@ -2,7 +2,7 @@ * PlayListWindow.cpp: beos interface ***************************************************************************** * Copyright (C) 1999, 2000, 2001 VideoLAN - * $Id: PlayListWindow.cpp,v 1.9 2003/04/22 16:36:16 titer Exp $ + * $Id: PlayListWindow.cpp,v 1.10 2004/01/26 16:52:31 zorglub Exp $ * * Authors: Jean-Marc Dressler * Samuel Hocevar @@ -70,7 +70,7 @@ PlayListWindow::PlayListWindow( BRect frame, const char* name, p_intf = p_interface; p_wrapper = p_intf->p_sys->p_wrapper; - SetName( "playlist" ); + SetName( _("playlist") ); // set up the main menu bar fMenuBar = new BMenuBar( BRect(0.0, 0.0, frame.Width(), 15.0), "main menu", diff --git a/modules/gui/beos/PlayListWindow.h b/modules/gui/beos/PlayListWindow.h index 7694888b75..0938b5f9ed 100644 --- a/modules/gui/beos/PlayListWindow.h +++ b/modules/gui/beos/PlayListWindow.h @@ -2,7 +2,7 @@ * PlayListWindow.h: BeOS interface window class prototype ***************************************************************************** * Copyright (C) 1999, 2000, 2001 VideoLAN - * $Id: PlayListWindow.h,v 1.7 2003/02/03 17:18:48 stippi Exp $ + * $Id: PlayListWindow.h,v 1.8 2004/01/26 16:52:31 zorglub Exp $ * * Authors: Jean-Marc Dressler * Tony Castley @@ -13,7 +13,7 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/modules/gui/beos/TransportButton.cpp b/modules/gui/beos/TransportButton.cpp index 3c70a8c7e5..27dcd5427b 100644 --- a/modules/gui/beos/TransportButton.cpp +++ b/modules/gui/beos/TransportButton.cpp @@ -2,7 +2,7 @@ * TransportButton.cpp ***************************************************************************** * Copyright (C) 2001 VideoLAN - * $Id: TransportButton.cpp,v 1.3 2002/10/29 17:33:11 titer Exp $ + * $Id: TransportButton.cpp,v 1.4 2004/01/26 16:52:31 zorglub Exp $ * * Authors: Tony Castley * Stephan Aßmus @@ -11,7 +11,7 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/modules/gui/beos/TransportButton.h b/modules/gui/beos/TransportButton.h index a7febeefab..1c95b2aa12 100644 --- a/modules/gui/beos/TransportButton.h +++ b/modules/gui/beos/TransportButton.h @@ -2,7 +2,7 @@ * TransportButton.h ***************************************************************************** * Copyright (C) 2001 VideoLAN - * $Id: TransportButton.h,v 1.2 2002/09/30 18:30:27 titer Exp $ + * $Id: TransportButton.h,v 1.3 2004/01/26 16:52:31 zorglub Exp $ * * Authors: Tony Castley * @@ -10,7 +10,7 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the