From 14e20f9928bfaa28e747805ab956aa0f9e64c1e0 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Wed, 21 Dec 2011 11:11:28 +0000 Subject: [PATCH] Show localized project descriptions in Attach Wizard svn path=/trunk/boinc/; revision=24854 --- clientgui/ProjectInfoPage.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/clientgui/ProjectInfoPage.cpp b/clientgui/ProjectInfoPage.cpp index de75b7e8cc..36f06bda8a 100644 --- a/clientgui/ProjectInfoPage.cpp +++ b/clientgui/ProjectInfoPage.cpp @@ -638,12 +638,12 @@ 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_strURL = wxGetTranslation(wxString(pl.projects[i]->url.c_str(), wxConvUTF8)); + pProjectInfo->m_strName = wxGetTranslation(wxString(pl.projects[i]->name.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); + pProjectInfo->m_strGeneralArea = wxGetTranslation(wxString(pl.projects[i]->general_area.c_str(), wxConvUTF8)); + pProjectInfo->m_strSpecificArea = wxGetTranslation(wxString(pl.projects[i]->specific_area.c_str(), wxConvUTF8)); + pProjectInfo->m_strOrganization = wxGetTranslation(wxString(pl.projects[i]->home.c_str(), wxConvUTF8)); // Add the category if it isn't already in the category list bCategoryFound = false;