From 996a6dcc55d3da92bc6b202b728d5970617ec8dc Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Wed, 21 Dec 2011 11:00:31 +0000 Subject: [PATCH] Show localized project descriptions in Attach Wizard svn path=/trunk/boinc/; revision=24849 --- checkin_notes | 1 + clientgui/ProjectInfoPage.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index b38be26765..614a4113d5 100644 --- a/checkin_notes +++ b/checkin_notes @@ -9210,6 +9210,7 @@ Charlie 21 Dec 2011 - MGR: Display project descriptions in Attach Wizard using wxTextCtrl instead of wxHtmlWindow to support screen readers for accessibility, after converting all occurrences of "n" to "^n". + Show localized project descriptions in Attach Wizard. clientgui/ ProjectInfoPage.cpp,.h diff --git a/clientgui/ProjectInfoPage.cpp b/clientgui/ProjectInfoPage.cpp index 2f18423897..de75b7e8cc 100644 --- a/clientgui/ProjectInfoPage.cpp +++ b/clientgui/ProjectInfoPage.cpp @@ -640,7 +640,7 @@ void CProjectInfoPage::OnPageChanged( wxWizardExEvent& event ) { // Convert the easy stuff pProjectInfo->m_strURL = wxString(pl.projects[i]->url.c_str(), wxConvUTF8); pProjectInfo->m_strName = wxString(pl.projects[i]->name.c_str(), wxConvUTF8); - pProjectInfo->m_strDescription = wxString(pl.projects[i]->description.c_str(), wxConvUTF8); + pProjectInfo->m_strDescription = wxGetTranslation(wxString(pl.projects[i]->description.c_str(), wxConvUTF8)); pProjectInfo->m_strGeneralArea = wxString(pl.projects[i]->general_area.c_str(), wxConvUTF8); pProjectInfo->m_strSpecificArea = wxString(pl.projects[i]->specific_area.c_str(), wxConvUTF8); pProjectInfo->m_strOrganization = wxString(pl.projects[i]->home.c_str(), wxConvUTF8);