Manager: tweaks to translatable strings; add comments for gettext

This commit is contained in:
David Anderson 2015-05-01 14:04:25 -07:00
parent e008f50151
commit 7ad5aa180f
2 changed files with 2 additions and 6 deletions

View File

@ -200,17 +200,13 @@ void CDlgAbout::CreateControls() {
itemBoxSizer2->Add(itemBoxSizer3, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 0);
wxStaticText* itemStaticText15 = new wxStaticText;
itemStaticText15->Create( itemDialog1, wxID_STATIC, _("Visit "), wxDefaultPosition, wxDefaultSize, 0 );
itemStaticText15->Create( itemDialog1, wxID_STATIC, _("For more information, visit "), wxDefaultPosition, wxDefaultSize, 0 );
itemBoxSizer3->Add(itemStaticText15, 0, wxALIGN_CENTER|wxALL, 5);
m_AboutBOINCURLCtrl = new wxHyperlinkCtrl;
m_AboutBOINCURLCtrl->Create( itemDialog1, ID_ABOUTBOINCLINK, wxT("http://boinc.berkeley.edu/"), wxT("http://boinc.berkeley.edu/"), wxDefaultPosition, wxDefaultSize, wxNO_BORDER | wxHL_ALIGN_CENTRE | wxHL_CONTEXTMENU );
itemBoxSizer3->Add(m_AboutBOINCURLCtrl, 0, wxALIGN_CENTER|wxALL, 0);
wxStaticText* itemStaticText16 = new wxStaticText;
itemStaticText16->Create( itemDialog1, wxID_STATIC, _("for more information."), wxDefaultPosition, wxDefaultSize, 0 );
itemBoxSizer3->Add(itemStaticText16, 0, wxALIGN_CENTER|wxALL, 5);
wxStaticLine* itemStaticLine15 = new wxStaticLine;
itemStaticLine15->Create( itemDialog1, wxID_STATIC, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
itemBoxSizer2->Add(itemStaticLine15, 0, wxGROW|wxALL, 5);

View File

@ -323,7 +323,7 @@ wxPanel* CDlgAdvPreferencesBase::createProcessorTab(wxNotebook* notebook)
// max CPU load
wxString MaxLoadCheckBoxText = wxEmptyString;
MaxLoadCheckBoxText.Printf(_("Suspend when non-%s CPU usage is above"), pSkinAdvanced->GetApplicationShortName().c_str());
MaxLoadCheckBoxText.Printf(_("Suspend when non-BOINC CPU usage is above"));
wxString MaxLoadTT(_("Suspend computing when your computer is busy running other programs."));
m_chkMaxLoad = new wxCheckBox(