Commit 67a25acd authored by Gildas Bazin's avatar Gildas Bazin

* modules/gui/wxwindows/*: few modifications to the strings.
parent e829402d
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* interface.cpp : wxWindows plugin for vlc * interface.cpp : wxWindows plugin for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000-2001 VideoLAN * Copyright (C) 2000-2001 VideoLAN
* $Id: interface.cpp,v 1.17 2003/03/30 19:56:11 gbazin Exp $ * $Id: interface.cpp,v 1.18 2003/04/01 00:18:29 gbazin Exp $
* *
* Authors: Gildas Bazin <gbazin@netcourrier.com> * Authors: Gildas Bazin <gbazin@netcourrier.com>
* *
...@@ -391,7 +391,7 @@ void Interface::OnAbout( wxCommandEvent& WXUNUSED(event) ) ...@@ -391,7 +391,7 @@ void Interface::OnAbout( wxCommandEvent& WXUNUSED(event) )
"\nIt can play MPEG and MPEG2 files from a file or from a " "\nIt can play MPEG and MPEG2 files from a file or from a "
"network source.")) ); "network source.")) );
wxMessageBox( msg, wxString(_("About ")) + VOUT_TITLE, wxMessageBox( msg, wxString::Format(_("About %s"), VOUT_TITLE),
wxOK | wxICON_INFORMATION, this ); wxOK | wxICON_INFORMATION, this );
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* open.cpp : wxWindows plugin for vlc * open.cpp : wxWindows plugin for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000-2001 VideoLAN * Copyright (C) 2000-2001 VideoLAN
* $Id: open.cpp,v 1.10 2003/03/30 16:26:42 gbazin Exp $ * $Id: open.cpp,v 1.11 2003/04/01 00:18:29 gbazin Exp $
* *
* Authors: Gildas Bazin <gbazin@netcourrier.com> * Authors: Gildas Bazin <gbazin@netcourrier.com>
* *
...@@ -173,7 +173,7 @@ OpenDialog::OpenDialog( intf_thread_t *_p_intf, Interface *_p_main_interface, ...@@ -173,7 +173,7 @@ OpenDialog::OpenDialog( intf_thread_t *_p_intf, Interface *_p_main_interface,
/* Create Stream Output checkox */ /* Create Stream Output checkox */
wxFlexGridSizer *sout_sizer = new wxFlexGridSizer( 2, 1, 20 ); wxFlexGridSizer *sout_sizer = new wxFlexGridSizer( 2, 1, 20 );
sout_checkbox = new wxCheckBox( panel, SoutEnable_Event, sout_checkbox = new wxCheckBox( panel, SoutEnable_Event,
_("Stream Output") ); _("Stream output") );
sout_checkbox->SetToolTip( _("Use VLC has a stream server") ); sout_checkbox->SetToolTip( _("Use VLC has a stream server") );
sout_sizer->Add( sout_checkbox, 0, sout_sizer->Add( sout_checkbox, 0,
wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL ); wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL );
...@@ -319,7 +319,7 @@ wxPanel *OpenDialog::DiscPanel( wxWindow* parent ) ...@@ -319,7 +319,7 @@ wxPanel *OpenDialog::DiscPanel( wxWindow* parent )
WXSIZEOF(disc_type_array), wxRA_SPECIFY_COLS ); WXSIZEOF(disc_type_array), wxRA_SPECIFY_COLS );
sizer_row->Add( disc_type, 0, wxEXPAND | wxALL, 5 ); sizer_row->Add( disc_type, 0, wxEXPAND | wxALL, 5 );
wxStaticText *label = new wxStaticText( panel, -1, _("Device Name") ); wxStaticText *label = new wxStaticText( panel, -1, _("Device name") );
disc_device = new wxTextCtrl( panel, DiscDevice_Event, "", disc_device = new wxTextCtrl( panel, DiscDevice_Event, "",
wxDefaultPosition, wxDefaultSize, wxDefaultPosition, wxDefaultSize,
wxTE_PROCESS_ENTER); wxTE_PROCESS_ENTER);
...@@ -378,7 +378,7 @@ wxPanel *OpenDialog::NetPanel( wxWindow* parent ) ...@@ -378,7 +378,7 @@ wxPanel *OpenDialog::NetPanel( wxWindow* parent )
subpanel_sizer = new wxFlexGridSizer( 2, 1, 20 ); subpanel_sizer = new wxFlexGridSizer( 2, 1, 20 );
label = new wxStaticText( net_subpanels[0], -1, _("Port") ); label = new wxStaticText( net_subpanels[0], -1, _("Port") );
net_ports[0] = new wxSpinCtrl( net_subpanels[0], NetPort1_Event, net_ports[0] = new wxSpinCtrl( net_subpanels[0], NetPort1_Event,
wxString::Format(_("%d"), val), wxString::Format("%d", val),
wxDefaultPosition, wxDefaultSize, wxDefaultPosition, wxDefaultSize,
wxSP_ARROW_KEYS, wxSP_ARROW_KEYS,
0, 16000, val); 0, 16000, val);
...@@ -401,7 +401,7 @@ wxPanel *OpenDialog::NetPanel( wxWindow* parent ) ...@@ -401,7 +401,7 @@ wxPanel *OpenDialog::NetPanel( wxWindow* parent )
label = new wxStaticText( net_subpanels[1], -1, _("Port") ); label = new wxStaticText( net_subpanels[1], -1, _("Port") );
net_ports[1] = new wxSpinCtrl( net_subpanels[1], NetPort2_Event, net_ports[1] = new wxSpinCtrl( net_subpanels[1], NetPort2_Event,
wxString::Format(_("%d"), val), wxString::Format("%d", val),
wxDefaultPosition, wxDefaultSize, wxDefaultPosition, wxDefaultSize,
wxSP_ARROW_KEYS, wxSP_ARROW_KEYS,
0, 16000, val); 0, 16000, val);
...@@ -423,7 +423,7 @@ wxPanel *OpenDialog::NetPanel( wxWindow* parent ) ...@@ -423,7 +423,7 @@ wxPanel *OpenDialog::NetPanel( wxWindow* parent )
label = new wxStaticText( net_subpanels[2], -1, _("Port") ); label = new wxStaticText( net_subpanels[2], -1, _("Port") );
net_ports[2] = new wxSpinCtrl( net_subpanels[2], NetPort3_Event, net_ports[2] = new wxSpinCtrl( net_subpanels[2], NetPort3_Event,
wxString::Format(_("%d"), val), wxString::Format("%d", val),
wxDefaultPosition, wxDefaultSize, wxDefaultPosition, wxDefaultSize,
wxSP_ARROW_KEYS, wxSP_ARROW_KEYS,
0, 16000, val); 0, 16000, val);
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* popup.cpp : wxWindows plugin for vlc * popup.cpp : wxWindows plugin for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000-2001 VideoLAN * Copyright (C) 2000-2001 VideoLAN
* $Id: popup.cpp,v 1.4 2003/03/11 23:56:54 gbazin Exp $ * $Id: popup.cpp,v 1.5 2003/04/01 00:18:29 gbazin Exp $
* *
* Authors: Gildas Bazin <gbazin@netcourrier.com> * Authors: Gildas Bazin <gbazin@netcourrier.com>
* *
...@@ -258,7 +258,7 @@ wxMenu *PopupMenu::CreateSubMenu( char *psz_var, vlc_object_t *p_object ) ...@@ -258,7 +258,7 @@ wxMenu *PopupMenu::CreateSubMenu( char *psz_var, vlc_object_t *p_object )
case VLC_VAR_INTEGER: case VLC_VAR_INTEGER:
menuitem = menuitem =
new wxMenuItemExt( this, i_item_id++, new wxMenuItemExt( this, i_item_id++,
wxString::Format(_("%d"), wxString::Format("%d",
val_list.p_list->p_values[i].i_int), val_list.p_list->p_values[i].i_int),
"", wxITEM_RADIO, strdup(psz_var), "", wxITEM_RADIO, strdup(psz_var),
p_object->i_object_id, p_object->i_object_id,
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* preferences.cpp : wxWindows plugin for vlc * preferences.cpp : wxWindows plugin for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000-2001 VideoLAN * Copyright (C) 2000-2001 VideoLAN
* $Id: preferences.cpp,v 1.8 2003/03/30 16:26:42 gbazin Exp $ * $Id: preferences.cpp,v 1.9 2003/04/01 00:18:29 gbazin Exp $
* *
* Authors: Gildas Bazin <gbazin@netcourrier.com> * Authors: Gildas Bazin <gbazin@netcourrier.com>
* *
...@@ -662,7 +662,7 @@ PrefsPanel::PrefsPanel( wxWindow* parent, intf_thread_t *_p_intf, ...@@ -662,7 +662,7 @@ PrefsPanel::PrefsPanel( wxWindow* parent, intf_thread_t *_p_intf,
case CONFIG_ITEM_INTEGER: case CONFIG_ITEM_INTEGER:
label = new wxStaticText(panel, -1, p_item->psz_text); label = new wxStaticText(panel, -1, p_item->psz_text);
spin = new wxSpinCtrl( panel, -1, spin = new wxSpinCtrl( panel, -1,
wxString::Format(_("%d"), p_item->i_value), wxString::Format("%d", p_item->i_value),
wxDefaultPosition, wxDefaultSize, wxDefaultPosition, wxDefaultSize,
wxSP_ARROW_KEYS, wxSP_ARROW_KEYS,
0, 16000, p_item->i_value); 0, 16000, p_item->i_value);
...@@ -677,7 +677,7 @@ PrefsPanel::PrefsPanel( wxWindow* parent, intf_thread_t *_p_intf, ...@@ -677,7 +677,7 @@ PrefsPanel::PrefsPanel( wxWindow* parent, intf_thread_t *_p_intf,
case CONFIG_ITEM_FLOAT: case CONFIG_ITEM_FLOAT:
label = new wxStaticText(panel, -1, p_item->psz_text); label = new wxStaticText(panel, -1, p_item->psz_text);
spin = new wxSpinCtrl( panel, -1, spin = new wxSpinCtrl( panel, -1,
wxString::Format(_("%d"), p_item->i_value), wxString::Format("%d", p_item->i_value),
wxDefaultPosition, wxDefaultSize, wxDefaultPosition, wxDefaultSize,
wxSP_ARROW_KEYS, wxSP_ARROW_KEYS,
0, 16000, p_item->i_value); 0, 16000, p_item->i_value);
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* streamout.cpp : wxWindows plugin for vlc * streamout.cpp : wxWindows plugin for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000-2001 VideoLAN * Copyright (C) 2000-2001 VideoLAN
* $Id: streamout.cpp,v 1.3 2003/03/29 11:15:14 gbazin Exp $ * $Id: streamout.cpp,v 1.4 2003/04/01 00:18:29 gbazin Exp $
* *
* Authors: Gildas Bazin <gbazin@netcourrier.com> * Authors: Gildas Bazin <gbazin@netcourrier.com>
* *
...@@ -126,7 +126,7 @@ END_EVENT_TABLE() ...@@ -126,7 +126,7 @@ END_EVENT_TABLE()
* Constructor. * Constructor.
*****************************************************************************/ *****************************************************************************/
SoutDialog::SoutDialog( intf_thread_t *_p_intf, Interface *_p_main_interface ): SoutDialog::SoutDialog( intf_thread_t *_p_intf, Interface *_p_main_interface ):
wxDialog( _p_main_interface, -1, _("Stream Output"), wxDefaultPosition, wxDialog( _p_main_interface, -1, _("Stream output"), wxDefaultPosition,
wxDefaultSize, wxDEFAULT_FRAME_STYLE ) wxDefaultSize, wxDEFAULT_FRAME_STYLE )
{ {
/* Initializations */ /* Initializations */
...@@ -140,7 +140,7 @@ SoutDialog::SoutDialog( intf_thread_t *_p_intf, Interface *_p_main_interface ): ...@@ -140,7 +140,7 @@ SoutDialog::SoutDialog( intf_thread_t *_p_intf, Interface *_p_main_interface ):
/* Create MRL combobox */ /* Create MRL combobox */
wxBoxSizer *mrl_sizer_sizer = new wxBoxSizer( wxHORIZONTAL ); wxBoxSizer *mrl_sizer_sizer = new wxBoxSizer( wxHORIZONTAL );
wxStaticBox *mrl_box = new wxStaticBox( panel, -1, wxStaticBox *mrl_box = new wxStaticBox( panel, -1,
_("Stream Output MRL") ); _("Stream output MRL") );
wxStaticBoxSizer *mrl_sizer = new wxStaticBoxSizer( mrl_box, wxStaticBoxSizer *mrl_sizer = new wxStaticBoxSizer( mrl_box,
wxHORIZONTAL ); wxHORIZONTAL );
wxStaticText *mrl_label = new wxStaticText( panel, -1, wxStaticText *mrl_label = new wxStaticText( panel, -1,
...@@ -302,7 +302,7 @@ wxPanel *SoutDialog::AccessPanel( wxWindow* parent ) ...@@ -302,7 +302,7 @@ wxPanel *SoutDialog::AccessPanel( wxWindow* parent )
int val = config_GetInt( p_intf, "server-port" ); int val = config_GetInt( p_intf, "server-port" );
label = new wxStaticText( access_subpanels[2], -1, _("Port") ); label = new wxStaticText( access_subpanels[2], -1, _("Port") );
net_port = new wxSpinCtrl( access_subpanels[2], NetPort_Event, net_port = new wxSpinCtrl( access_subpanels[2], NetPort_Event,
wxString::Format(_("%d"), val), wxString::Format("%d", val),
wxDefaultPosition, wxDefaultSize, wxDefaultPosition, wxDefaultSize,
wxSP_ARROW_KEYS, wxSP_ARROW_KEYS,
0, 16000, val ); 0, 16000, val );
......
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