mirror of https://github.com/BOINC/boinc.git
Manager: tweak strings in adv prefs dialog
This commit is contained in:
parent
d2c760f102
commit
4756475cfc
|
@ -940,7 +940,7 @@ void CDlgAdvPreferences::OnClear(wxCommandEvent& ev) {
|
||||||
|
|
||||||
bool CDlgAdvPreferences::ConfirmClear() {
|
bool CDlgAdvPreferences::ConfirmClear() {
|
||||||
int res = wxGetApp().SafeMessageBox(_(
|
int res = wxGetApp().SafeMessageBox(_(
|
||||||
"Do you really want to discard all local preferences and return to using web-based preferences?"),
|
"Discard local preferences and use web-based preferences?"),
|
||||||
_("Confirmation"),wxCENTER | wxICON_QUESTION | wxYES_NO | wxNO_DEFAULT,this);
|
_("Confirmation"),wxCENTER | wxICON_QUESTION | wxYES_NO | wxNO_DEFAULT,this);
|
||||||
|
|
||||||
return res==wxYES;
|
return res==wxYES;
|
||||||
|
|
|
@ -70,15 +70,15 @@ CDlgAdvPreferencesBase::CDlgAdvPreferencesBase( wxWindow* parent, int id, wxStri
|
||||||
if (usingLocalPrefs) {
|
if (usingLocalPrefs) {
|
||||||
legendSizer->Add(
|
legendSizer->Add(
|
||||||
new wxStaticText( topControlsStaticBox, ID_DEFAULT,
|
new wxStaticText( topControlsStaticBox, ID_DEFAULT,
|
||||||
_("This computer is using local preferences.\n"
|
_("Using local preferences.\n"
|
||||||
"Click \"Use web prefs\" if you want to use web-based preferences from:"
|
"Click \"Use web prefs\" to use web-based preferences from"
|
||||||
), wxDefaultPosition, wxDefaultSize, 0 ),
|
), wxDefaultPosition, wxDefaultSize, 0 ),
|
||||||
0, wxALL, 1
|
0, wxALL, 1
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
legendSizer->Add(
|
legendSizer->Add(
|
||||||
new wxStaticText( topControlsStaticBox, ID_DEFAULT,
|
new wxStaticText( topControlsStaticBox, ID_DEFAULT,
|
||||||
_("This computer is using web-based preferences from:"),
|
_("Using web-based preferences from"),
|
||||||
wxDefaultPosition, wxDefaultSize, 0 ),
|
wxDefaultPosition, wxDefaultSize, 0 ),
|
||||||
0, wxALL, 1
|
0, wxALL, 1
|
||||||
);
|
);
|
||||||
|
@ -95,9 +95,8 @@ CDlgAdvPreferencesBase::CDlgAdvPreferencesBase( wxWindow* parent, int id, wxStri
|
||||||
if (!usingLocalPrefs) {
|
if (!usingLocalPrefs) {
|
||||||
legendSizer->Add(
|
legendSizer->Add(
|
||||||
new wxStaticText( topControlsStaticBox, ID_DEFAULT,
|
new wxStaticText( topControlsStaticBox, ID_DEFAULT,
|
||||||
_("Click OK if you want to edit preferences locally.\n"
|
_("Set values and click OK to use local preferences instead."),
|
||||||
"(Changes to web-based preferences won't affect this computer)."
|
wxDefaultPosition, wxDefaultSize, 0 ),
|
||||||
), wxDefaultPosition, wxDefaultSize, 0 ),
|
|
||||||
0, wxALL, 1
|
0, wxALL, 1
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue