Commit 4d43a6db authored by Clément Stenac's avatar Clément Stenac

wxWidgets strings (Refs:#438)

parent 46e896b2
......@@ -194,8 +194,8 @@ BookmarksDialog::BookmarksDialog( intf_thread_t *_p_intf, wxWindow *p_parent )
wxLC_REPORT | wxSUNKEN_BORDER );
list_ctrl->InsertColumn( 0, wxU(_("Description")) );
list_ctrl->SetColumnWidth( 0, 240 );
list_ctrl->InsertColumn( 1, wxU(_("Size offset")) );
list_ctrl->InsertColumn( 2, wxU(_("Time offset")) );
list_ctrl->InsertColumn( 1, wxU(_("Bytes")) );
list_ctrl->InsertColumn( 2, wxU(_("Time")) );
sizer->Add( panel, 0, wxEXPAND | wxALL, 1 );
sizer->Add( list_ctrl, 1, wxEXPAND | wxALL, 1 );
......
......@@ -923,8 +923,7 @@ void OpenDialog::UpdateMRL( int i_access_method )
{
case 0: /* DVD with menus */
case 1: /* DVD without menus */
disc_device->SetToolTip( wxU(_("Name of DVD device "
"to read from.")) );
disc_device->SetToolTip( wxU(_("DVD device to use" ) ) );
if( i_disc_type_selection == 0 )
{
mrltemp = wxT("dvd://") + disc_device->GetValue();
......@@ -963,8 +962,7 @@ void OpenDialog::UpdateMRL( int i_access_method )
config_GetInt( p_intf, "vcdx-PBC" )
? 'P' : 'E', i_disc_title );
#else
disc_device->SetToolTip( wxU(_("Name of CD-ROM device "
"to read Video CD from.")) );
disc_device->SetToolTip( wxU(_("CD-ROM device to use" ) ) );
mrltemp = wxT("vcd://") + disc_device->GetValue();
if( i_disc_title > 0 )
mrltemp += wxString::Format( wxT("@%d"), i_disc_title );
......@@ -987,8 +985,7 @@ void OpenDialog::UpdateMRL( int i_access_method )
"for a CD-ROM with an audio CD in it." )) );
mrltemp = wxT("cddax://")
#else
disc_device->SetToolTip( wxU(_("Name of CD-ROM device "
"to read audio CD from." )) );
disc_device->SetToolTip( wxU(_("CD-ROM device to use" ) ) ) ;
mrltemp = wxT("cdda://")
#endif
+ disc_device->GetValue();
......
......@@ -235,7 +235,7 @@ Playlist::Playlist( intf_thread_t *_p_intf, wxWindow *p_parent ):
wxMenu *manage_menu = new wxMenu;
manage_menu->Append( AddFile_Event, wxU(_("&Simple Add File...")) );
manage_menu->Append( AddDir_Event, wxU(_("Add &Directory...")) );
manage_menu->Append( AddMRL_Event, wxU(_("&Add MRL...")) );
manage_menu->Append( AddMRL_Event, wxU(_("&Add URL...")) );
manage_menu->AppendSeparator();
manage_menu->Append( MenuDummy_Event, wxU(_("Services discovery")),
p_sd_menu );
......@@ -250,7 +250,7 @@ Playlist::Playlist( intf_thread_t *_p_intf, wxWindow *p_parent ):
sort_menu->Append( SortTitle_Event, wxU(_("Sort by &title")) );
sort_menu->Append( RSortTitle_Event, wxU(_("&Reverse sort by title")) );
sort_menu->AppendSeparator();
sort_menu->Append( Randomize_Event, wxU(_("&Shuffle Playlist")) );
sort_menu->Append( Randomize_Event, wxU(_("&Shuffle")) );
/* Create our "Selection" menu */
wxMenu *selection_menu = new wxMenu;
......
......@@ -290,7 +290,7 @@ void PrefsDialog::OnSave( wxCommandEvent& WXUNUSED(event) )
void PrefsDialog::OnResetAll( wxCommandEvent& WXUNUSED(event) )
{
wxMessageDialog dlg( this,
wxU(_("Beware this will reset your VLC media player preferences.\n"
wxU(_("This will reset your VLC media player preferences.\n"
"Are you sure you want to continue?")),
wxU(_("Reset Preferences")), wxYES_NO|wxNO_DEFAULT|wxCENTRE );
......@@ -919,7 +919,8 @@ PrefsPanel::PrefsPanel( wxWindow* parent, intf_thread_t *_p_intf,
}
if( !p_module && !b_found )
{
msg_Warn( p_intf, "ohoh, unable to find main module" );
msg_Warn( p_intf, "unable to create preferences "
"(main module not found)" );
return;
}
}
......
......@@ -430,7 +430,9 @@ ModuleListCatConfigControl::ModuleListCatConfigControl( vlc_object_t *p_this,
text->SetToolTip( wxU(p_item->psz_longtext) );
sizer->Add(text, 0, wxEXPAND|wxALL, 5 );
sizer->Add (new wxStaticText( this, -1, wxU( vlc_wraptext( _("Select modules that you want. To get more advanced control, you can also modify the resulting chain by yourself") , 72 ) ) ) );
sizer->Add (new wxStaticText( this, -1, wxU( vlc_wraptext( _("Select "
"which modules you want to use. To get more advanced control, you "
"can also modify the resulting \"chain\" by yourself") , 72 ) ) ) );
sizer->Layout();
this->SetSizerAndFit( sizer );
......
......@@ -168,11 +168,11 @@ SoutDialog::SoutDialog( intf_thread_t *_p_intf, wxWindow* _p_parent ):
wxStaticBoxSizer *mrl_sizer = new wxStaticBoxSizer( mrl_box,
wxHORIZONTAL );
wxStaticText *mrl_label = new wxStaticText( panel, -1,
wxU(_("Destination Target:")));
wxU(_("Target:")));
mrl_combo = new wxComboBox( panel, MRL_Event, wxT(""),
wxPoint(20,25), wxSize(120, -1) );
mrl_combo->SetToolTip( wxU(_("You can use this field directly by typing "
"the full MRL you want to open.\n""Alternatively, the field will be "
"the full MRL you want to stream to.\n""Alternatively, the field will be "
"filled automatically when you use the controls below")) );
mrl_sizer->Add( mrl_label, 0, wxALL | wxALIGN_CENTER, 5 );
......@@ -459,7 +459,7 @@ wxPanel *SoutDialog::AccessPanel( wxWindow* parent )
wxSize(200, 200) );
wxStaticBox *panel_box = new wxStaticBox( panel, -1,
wxU(_("Output methods")) );
wxU(_("Outputs")) );
wxStaticBoxSizer *panel_sizer = new wxStaticBoxSizer( panel_box,
wxVERTICAL );
......@@ -575,7 +575,7 @@ wxPanel *SoutDialog::MiscPanel( wxWindow* parent )
wxSize(200, 200) );
wxStaticBox *panel_box = new wxStaticBox( panel, -1,
wxU(_("Miscellaneous options")) );
wxU(_("Miscellaneous")) );
wxStaticBoxSizer *panel_sizer = new wxStaticBoxSizer( panel_box,
wxVERTICAL );
......
......@@ -94,7 +94,7 @@ SubsFileDialog::SubsFileDialog( intf_thread_t *_p_intf, wxWindow* _p_parent ):
{
wxBoxSizer *enc_sizer_sizer = new wxBoxSizer( wxHORIZONTAL );
wxStaticBox *enc_box = new wxStaticBox( panel, -1,
wxU(_("Subtitles encoding")) );
wxU(_("Encoding")) );
wxStaticBoxSizer *enc_sizer = new wxStaticBoxSizer( enc_box,
wxHORIZONTAL );
wxStaticText *label =
......@@ -126,7 +126,7 @@ SubsFileDialog::SubsFileDialog( intf_thread_t *_p_intf, wxWindow* _p_parent ):
/* Misc Subtitles options */
wxBoxSizer *misc_sizer_sizer = new wxBoxSizer( wxHORIZONTAL );
wxStaticBox *misc_box = new wxStaticBox( panel, -1,
wxU(_("Subtitles options")) );
wxU(_("Options")) );
wxStaticBoxSizer *misc_sizer = new wxStaticBoxSizer( misc_box,
wxVERTICAL );
......
......@@ -62,7 +62,7 @@ END_EVENT_TABLE()
* Constructor.
*****************************************************************************/
UpdateVLC::UpdateVLC( intf_thread_t *_p_intf, wxWindow *p_parent ):
wxFrame( p_parent, -1, wxU(_("VLC media player - Updates")),
wxFrame( p_parent, -1, wxU(_("Updates")),
wxDefaultPosition, wxDefaultSize,
wxSYSTEM_MENU|wxCLOSE_BOX|wxFRAME_FLOAT_ON_PARENT
|wxFRAME_TOOL_WINDOW|wxCAPTION )
......@@ -75,7 +75,7 @@ UpdateVLC::UpdateVLC( intf_thread_t *_p_intf, wxWindow *p_parent ):
wxBoxSizer *main_sizer = new wxBoxSizer( wxVERTICAL );
wxButton *update_button =
new wxButton( this, CheckForUpdate_Event,
wxU(_("Check for updates now !")) );
wxU(_("Check for updates")) );
main_sizer->Add( update_button );
SetSizerAndFit( main_sizer );
......@@ -151,7 +151,9 @@ void UpdateVLC::OnCheckForUpdate( wxCommandEvent& event )
i_image );
}
main_sizer->Add( new wxStaticText( this, -1, wxU( _("\nAvailable updates and related downloads:\n(Double click on a file to download it)\n" ) ) ) );
main_sizer->Add( new wxStaticText( this, -1, wxU( _("\nAvailable "
"updates and related downloads\n"
"(Double click on a file to download it)\n" ) ) ) );
main_sizer->Add( list );
SetSizerAndFit( main_sizer );
Layout();
......
......@@ -520,7 +520,7 @@ BEGIN_EVENT_TABLE( VLMFrame, wxFrame )
END_EVENT_TABLE()
VLMFrame::VLMFrame( intf_thread_t *_p_intf, wxWindow *_p_parent ) :
wxFrame( _p_parent, -1, wxU( _("VLM configuration") ),
wxFrame( _p_parent, -1, wxU( _("VLM") ),
wxDefaultPosition, wxSize( 640,480 ), wxDEFAULT_FRAME_STYLE )
{
SetIcon( *_p_intf->p_sys->p_icon );
......
......@@ -88,18 +88,23 @@ END_EVENT_TABLE()
#define HELLO_STREAMING _("Stream to network")
#define HELLO_STREAMING_DESC _("Use this to stream on a network.")
#define HELLO_TRANSCODE _("Transcode/Save to file")
#define HELLO_TRANSCODE_DESC _("Use this to re-encode a stream and save it to a file.")
#define HELLO_NOTICE _("This wizard only gives access to a small subset of VLC's streaming and transcoding capabilities. Use the Open and Stream Output dialogs to get all of them.")
#define HELLO_TRANSCODE_DESC _("Use this to re-encode a stream and save it "\
"to a file.")
#define HELLO_NOTICE _("This wizard only gives access to a small subset " \
"of VLC's streaming and transcoding capabilities. Use the Open "\
"and Stream Output dialogs to get all of them.")
#define MOREINFO_STREAM _("Use this to stream on a network")
#define MOREINFO_TRANSCODE _("Use this to save a stream to a file. You have the possibility to reencode the stream. You can save whatever VLC can read.\nPlease notice that VLC is not very suited " \
#define MOREINFO_TRANSCODE _("Use this to save a stream to a file. You have "\
"the ability to reencode the stream. You can save whatever " \
"VLC can read.\nPlease notice that VLC is not very suited " \
"for file to file transcoding. You should use its transcoding " \
"features to save network streams, for example." )
/* Input page */
#define INPUT_TITLE _("Choose input")
#define INPUT_TEXT _("Choose here your input stream.")
#define INPUT_TITLE _("Input")
#define INPUT_TEXT _("Input stream")
#define INPUT_OPEN _("Select a stream" )
#define INPUT_PL _( "Existing playlist item" )
......@@ -117,16 +122,17 @@ END_EVENT_TABLE()
/* Transcode 1 */
#define TRANSCODE1_TITLE _("Transcode")
#define TRANSCODE1_TEXT _("If you want to change the compression format of the audio or video tracks, fill in this page. (If you only want to change the container format, proceed to next page.)")
#define TRANSCODE1_TEXT _("If you want to change the compression format " \
"of the audio or video tracks, fill in this page. " \
"(If you only want to change the container format, proceed to next " \
" page.)")
#define TR_VIDEO_TEXT0 _("If your stream has video and you want to " \
"transcode it, enable this.")
#define TR_VIDEO_TEXT _("Select your video codec. Click one to get more " \
#define TR_VIDEO_TEXT0 _("Transcode video (if your stream has some)" )
#define TR_VIDEO_TEXT _("Select the target video codec. Click one to get more " \
"information.")
#define TR_AUDIO_TEXT0 _("If your stream has audio and you want to "\
"transcode it, enable this.")
#define TR_AUDIO_TEXT _("Select your audio codec. Click one to get more " \
#define TR_AUDIO_TEXT0 _("Transcode audio (if your stream has some)"
#define TR_AUDIO_TEXT _("Select the target audio codec. Click one to get more " \
"information.")
/* Streaming 1 */
......@@ -1545,9 +1551,9 @@ void WizardDialog::Run()
if( i_action == ACTION_TRANSCODE )
{
msg_Dbg( p_intf,"Starting transcode of %s to file %s",
msg_Dbg( p_intf,"starting transcode of %s to file %s",
mrl, address);
msg_Dbg( p_intf,"Using %s (%i kbps) / %s (%i kbps),encap %s",
msg_Dbg( p_intf,"using %s (%i kbps) / %s (%i kbps),encap %s",
vcodec,vb,acodec,ab,mux);
char *psz_transcode;
......@@ -1598,7 +1604,7 @@ void WizardDialog::Run()
char *psz_sap_option = NULL;
bool v6;
msg_Dbg( p_intf, "Starting stream of %s to %s using %s, encap %s",
msg_Dbg( p_intf, "starting stream of %s to %s using %s, encap %s",
mrl, address, method, mux );
if( b_sap )
{
......
......@@ -38,9 +38,7 @@
* Local class declarations.
*****************************************************************************/
/* FIXME */
#define SMOOTH_TIP N_( "If this setting is not zero, the bands will move " \
"together when you move one. The higher the value is, the " \
#define SMOOTH_TIP N_( "Move bands together. The higher this value is, the " \
"more correlated their movement will be." )
static int IntfBandsCallback( vlc_object_t *, char const *,
......@@ -397,7 +395,7 @@ wxPanel *ExtraPanel::AudioPanel( wxWindow *parent )
wxCheckBox * headphone_check = new wxCheckBox( panel, HeadPhone_Event,
wxU(_("Headphone virtualization")));
headphone_check->SetToolTip( wxU(_("This filter gives the feeling of a "
"5.1 speaker set when using a headphone." ) ) );
"5.1 speakers set when using a headphone." ) ) );
wxCheckBox * normvol_check = new wxCheckBox( panel, NormVol_Event,
wxU(_("Volume normalization")));
......@@ -472,8 +470,8 @@ wxPanel *ExtraPanel::EqzPanel( wxWindow *parent )
eq_2p_chkbox = new wxCheckBox( panel, Eq2Pass_Event,
wxU(_("2 Pass") ) );
eq_2p_chkbox->SetToolTip( wxU(_("If you enable this setting, the "
"equalizer filter will be applied twice. The effect will be sharper.") ) );
eq_2p_chkbox->SetToolTip( wxU(_("Apply the equalizer twice. "
"The resulting effect will be sharper.") ) );
top_sizer->Add( eq_2p_chkbox, 0, wxALL, 2 );
......@@ -998,11 +996,11 @@ void ExtraPanel::OnSelectFilter(wxCommandEvent& event)
void ExtraPanel::OnFiltersInfo(wxCommandEvent& event)
{
wxMessageBox( wxU( _("Select the video effects filters to apply. "
wxMessageBox( wxU( _("Video effects filters to apply. "
"You must restart the stream for these settings to "
"take effect.\n"
"To configure the filters, go to the Preferences, "
"and go to Modules/Video Filters. "
"and go to Video/Filters. "
"You can then configure each filter.\n"
"If you want fine control over the filters ( to choose "
"the order in which they are applied ), you need to enter "
......
......@@ -602,9 +602,9 @@ void Interface::CreateOurMenuBar()
/* Create the "Help" menu */
wxMenu *help_menu = new wxMenu;
help_menu->Append( About_Event, wxU(_("About VLC media player")) );
help_menu->Append( About_Event, wxU(_("About...")) );
help_menu->AppendSeparator();
help_menu->Append( UpdateVLC_Event, wxU(_("Check for updates ...")) );
help_menu->Append( UpdateVLC_Event, wxU(_("Check for updates...")) );
/* Append the freshly created menus to the menu bar... */
wxMenuBar *menubar = new wxMenuBar();
......@@ -685,7 +685,7 @@ void Interface::CreateOurToolBar()
#define LABEL_PLAY N_("Play")
#define LABEL_PAUSE N_("Pause")
#define LABEL_PLO N_("Playlist")
#define LABEL_SPLO N_("Small playlist")
#define LABEL_SPLO N_("Embedded playlist")
#define LABEL_PLP N_("Previous")
#define LABEL_PLN N_("Next")
#define LABEL_SLOW N_("Slower")
......
......@@ -119,11 +119,11 @@ const struct codec acodecs_array[] =
const struct method methods_array[] =
{
{"rtp",N_("RTP Unicast"), N_("Use this to stream to a single computer."),
{"rtp",N_("RTP Unicast"), N_("Stream to a single computer."),
N_("Enter the address of the computer to stream to."),
{ MUX_TS, -1,-1,-1,-1,-1,-1,-1,-1 } },
{"rtp",N_("RTP Multicast"),
N_("Use this to stream to a dynamic group of computers on a "
N_("Stream to a dynamic group of computers on a "
"multicast-enabled network. This is the most efficient method "
"to stream to several computers, but it does not work over Internet."),
N_("Enter the multicast address to stream to in this field. "
......@@ -131,7 +131,7 @@ const struct method methods_array[] =
"For a private use, enter an address beginning with 239.255."),
{ MUX_TS, -1,-1,-1,-1,-1,-1,-1,-1 } },
{"http","HTTP",
N_("Use this to stream to several computers. This method is "
N_("Stream to several computers. This method is "
"less efficient, as the server needs to send the "
"stream several times."),
N_("Enter the local addresses you want to listen to. Do not enter "
......
......@@ -213,7 +213,7 @@ void *VideoWindow::GetWindow( vout_thread_t *_p_vout,
if( p_vout )
{
vlc_mutex_unlock( &lock );
msg_Dbg( p_intf, "Video window already in use" );
msg_Dbg( p_intf, "video window already in use" );
return NULL;
}
......
......@@ -86,19 +86,20 @@ private:
#define EMBED_TEXT N_("Embed video in interface")
#define EMBED_LONGTEXT N_("Embed the video inside the interface instead " \
"of having it in a separate window.")
#define BOOKMARKS_TEXT N_("Show bookmarks dialog")
#define BOOKMARKS_LONGTEXT N_("Show bookmarks dialog when the interface " \
"starts.")
#define EXTENDED_TEXT N_("Show extended GUI")
#define EXTENDED_LONGTEXT N_("Show extended GUI")
#define TASKBAR_TEXT N_("Show taskbar entry")
#define TASKBAR_LONGTEXT N_("Show taskbar entry")
#define BOOKMARKS_TEXT N_("Bookmarks dialog")
#define BOOKMARKS_LONGTEXT N_("Show bookmarks dialog at startup" )
#define EXTENDED_TEXT N_("Extended GUI")
#define EXTENDED_LONGTEXT N_("Show extended GUI (equalizer, image adjust, " \
"video filters...) at startup" )
#define TASKBAR_TEXT N_("Taskbar")
#define TASKBAR_LONGTEXT N_("Show VLC on the taskbar")
#define MINIMAL_TEXT N_("Minimal interface")
#define MINIMAL_LONGTEXT N_("Use minimal interface, no toolbar, few menus")
#define MINIMAL_LONGTEXT N_("Use minimal interface, with no toolbar and " \
"fewer menus.")
#define SIZE_TO_VIDEO_TEXT N_("Size to video")
#define SIZE_TO_VIDEO_LONGTEXT N_("Resize VLC to match the video resolution")
#define SYSTRAY_TEXT N_("Show systray icon")
#define SYSTRAY_LONGTEXT N_("Show systray icon")
#define SIZE_TO_VIDEO_LONGTEXT N_("Resize VLC to match the video resolution.")
#define SYSTRAY_TEXT N_("Systray icon")
#define SYSTRAY_LONGTEXT N_("Show a systray icon for VLC")
#define LABEL_TEXT N_("Show labels in toolbar")
#define LABEL_LONGTEXT N_("Show labels below the icons in the toolbar.")
......
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