From 7ad5aa180f114d6d00d780dbe074e3e6e8862cfc Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 1 May 2015 14:04:25 -0700 Subject: [PATCH] Manager: tweaks to translatable strings; add comments for gettext --- clientgui/DlgAbout.cpp | 6 +----- clientgui/DlgAdvPreferencesBase.cpp | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/clientgui/DlgAbout.cpp b/clientgui/DlgAbout.cpp index 8e4d0d5209..a573dfd016 100644 --- a/clientgui/DlgAbout.cpp +++ b/clientgui/DlgAbout.cpp @@ -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); diff --git a/clientgui/DlgAdvPreferencesBase.cpp b/clientgui/DlgAdvPreferencesBase.cpp index 9ee7e878b7..bff3976870 100644 --- a/clientgui/DlgAdvPreferencesBase.cpp +++ b/clientgui/DlgAdvPreferencesBase.cpp @@ -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(