- manager: change text for buffer-size fields in advanced prefs dialog

svn path=/trunk/boinc/; revision=25168
This commit is contained in:
David Anderson 2012-01-30 18:19:54 +00:00
parent 65b5930423
commit a542bde3e4
2 changed files with 32 additions and 7 deletions

View File

@ -1135,3 +1135,9 @@ Charlie 30 Jan 2012
cpu_sched.cpp
lib/
coproc.h
David 30 Jan 2012
- manager: change text for buffer-size fields in advanced prefs dialog
clientgui/
DlgAdvPreferencesBase.cpp

View File

@ -423,24 +423,43 @@ wxPanel* CDlgAdvPreferencesBase::createNetworkTab(wxNotebook* notebook)
// buffer sizes
m_staticText30 = new wxStaticText( networkTab, ID_DEFAULT, _("Connect about every"), wxDefaultPosition, wxDefaultSize, 0 );
m_staticText30 = new wxStaticText(
networkTab, ID_DEFAULT,
_("Minimum work buffer"), wxDefaultPosition, wxDefaultSize, 0
);
networkGeneralGridSizer->Add( m_staticText30, 0, wxALL, 5 );
m_txtNetConnectInterval = new wxTextCtrl( networkTab, ID_TXTNETCONNECTINTERVAL, wxT(""), wxDefaultPosition, wxSize( 50,-1 ), wxTE_RIGHT );
m_txtNetConnectInterval->SetToolTip( _("this computer is connected to the Internet about every X days\n(0 if it's always connected)") );
m_txtNetConnectInterval = new wxTextCtrl(
networkTab, ID_TXTNETCONNECTINTERVAL, wxT(""),
wxDefaultPosition, wxSize( 50,-1 ), wxTE_RIGHT
);
m_txtNetConnectInterval->SetToolTip(
_("Try to maintain enough tasks to keep busy for this many days")
);
networkGeneralGridSizer->Add( m_txtNetConnectInterval, 0, wxALL, 1 );
m_staticText31 = new wxStaticText( networkTab, ID_DEFAULT, _("days"), wxDefaultPosition, wxDefaultSize, 0 );
m_staticText31 = new wxStaticText(
networkTab, ID_DEFAULT, _("days"), wxDefaultPosition, wxDefaultSize, 0
);
networkGeneralGridSizer->Add( m_staticText31, 0, wxALL, 5 );
m_staticText331 = new wxStaticText( networkTab, ID_DEFAULT, _("Additional work buffer"), wxDefaultPosition, wxDefaultSize, 0 );
m_staticText331 = new wxStaticText(
networkTab, ID_DEFAULT,
_("Max additional work buffer"), wxDefaultPosition, wxDefaultSize, 0
);
networkGeneralGridSizer->Add( m_staticText331, 0, wxALIGN_RIGHT|wxALL, 5 );
m_txtNetAdditionalDays = new wxTextCtrl( networkTab, ID_TXTNETADDITIONALDAYS, wxT(""), wxDefaultPosition, wxSize( 50,-1 ), wxTE_RIGHT );
m_txtNetAdditionalDays = new wxTextCtrl(
networkTab, ID_TXTNETADDITIONALDAYS, wxT(""),
wxDefaultPosition, wxSize( 50,-1 ), wxTE_RIGHT
);
m_txtNetAdditionalDays->SetToolTip(
_("In addition, maintain enough tasks for up to this many days")
);
networkGeneralGridSizer->Add( m_txtNetAdditionalDays, 0, wxALL, 1 );
m_staticText341 = new wxStaticText( networkTab, ID_DEFAULT, _("days (max. 10)"), wxDefaultPosition, wxDefaultSize, 0 );
m_staticText341 = new wxStaticText( networkTab, ID_DEFAULT, _("days"), wxDefaultPosition, wxDefaultSize, 0 );
networkGeneralGridSizer->Add( m_staticText341, 0, wxALL, 5 );
m_chkNetSkipImageVerification = new wxCheckBox( networkTab, ID_CHKNETSKIPIMAGEVERIFICATION, _("Skip image file verification"), wxDefaultPosition, wxDefaultSize, 0 );