MGR: Change strings in Simple View to match changes in Advanced View: "Remaining" -> "Remaining (Estimated)", "Home page"

svn path=/trunk/boinc/; revision=25352
This commit is contained in:
Charlie Fenton 2012-02-28 11:58:30 +00:00
parent f18ffd6fe7
commit 17bfefda26
3 changed files with 11 additions and 2 deletions

View File

@ -2316,3 +2316,12 @@ David 27 Feb 2012
vda/
vda.cpp
sched_vda.cpp,h
Charlie 28 Feb 2012
- MGR: Change strings in Simple View to match changes in Advanced View:
"Remaining" -> "Remaining (Estimated)", "Home page" instead of project
name in web links.
clientgui/
sg_ProjectWebSitesPopup.cpp
sg_TaskPanel.cpp

View File

@ -64,7 +64,7 @@ void CSimpleProjectWebSitesPopupButton::AddMenuItems()
size_t urlCount = project->gui_urls.size();
// Add the home page link
wxMenuItem *urlItem = new wxMenuItem(m_ProjectWebSitesPopUpMenu, WEBSITE_URL_MENU_ID_HOMEPAGE,wxString(project->project_name.c_str(), wxConvUTF8));
wxMenuItem *urlItem = new wxMenuItem(m_ProjectWebSitesPopUpMenu, WEBSITE_URL_MENU_ID_HOMEPAGE, wxString("Home page", wxConvUTF8));
Connect( WEBSITE_URL_MENU_ID_HOMEPAGE, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(CSimpleProjectWebSitesPopupButton::OnMenuLinkClicked) );
m_ProjectWebSitesPopUpMenu->Append(urlItem);

View File

@ -836,7 +836,7 @@ wxString CSimpleTaskPanel::GetTimeRemainingString(double f) {
} else {
s = FormatTime(f);
}
str.Printf(_("Remaining: %s"), s.c_str());
str.Printf(_("Remaining (Estimated): %s"), s.c_str());
return str;
}