mirror of https://github.com/BOINC/boinc.git
Show localized project descriptions in Attach Wizard
svn path=/trunk/boinc/; revision=24849
This commit is contained in:
parent
195d393d24
commit
996a6dcc55
|
@ -9210,6 +9210,7 @@ Charlie 21 Dec 2011
|
||||||
- MGR: Display project descriptions in Attach Wizard using wxTextCtrl
|
- MGR: Display project descriptions in Attach Wizard using wxTextCtrl
|
||||||
instead of wxHtmlWindow to support screen readers for accessibility,
|
instead of wxHtmlWindow to support screen readers for accessibility,
|
||||||
after converting all occurrences of "<sup>n</sup>" to "^n".
|
after converting all occurrences of "<sup>n</sup>" to "^n".
|
||||||
|
Show localized project descriptions in Attach Wizard.
|
||||||
|
|
||||||
clientgui/
|
clientgui/
|
||||||
ProjectInfoPage.cpp,.h
|
ProjectInfoPage.cpp,.h
|
||||||
|
|
|
@ -640,7 +640,7 @@ void CProjectInfoPage::OnPageChanged( wxWizardExEvent& event ) {
|
||||||
// Convert the easy stuff
|
// Convert the easy stuff
|
||||||
pProjectInfo->m_strURL = wxString(pl.projects[i]->url.c_str(), wxConvUTF8);
|
pProjectInfo->m_strURL = wxString(pl.projects[i]->url.c_str(), wxConvUTF8);
|
||||||
pProjectInfo->m_strName = wxString(pl.projects[i]->name.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_strGeneralArea = wxString(pl.projects[i]->general_area.c_str(), wxConvUTF8);
|
||||||
pProjectInfo->m_strSpecificArea = wxString(pl.projects[i]->specific_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_strOrganization = wxString(pl.projects[i]->home.c_str(), wxConvUTF8);
|
||||||
|
|
Loading…
Reference in New Issue