mirror of https://github.com/BOINC/boinc.git
- Manager: made some strings translatable
svn path=/trunk/boinc/; revision=13142
This commit is contained in:
parent
6cd9f9bdef
commit
afe62aeaea
|
@ -7104,7 +7104,7 @@ David 7 July 2007
|
|||
lib/
|
||||
filesys.C
|
||||
|
||||
Janus 8 July 2007
|
||||
Janus 8 July 2007
|
||||
- Fixed an issue causing people to appear anonymous in the top hosts
|
||||
pages on projects with no automatic MySQL connection set up.
|
||||
|
||||
|
@ -7183,3 +7183,11 @@ Charlie 11 July 2007
|
|||
postupgrade
|
||||
release_boinc.sh
|
||||
release_GridRepublic.sh
|
||||
|
||||
David 11 July 2007
|
||||
- Manager: make various strings translatable (from Mifistor)
|
||||
|
||||
clientgui/
|
||||
AccountInfoPage.cpp
|
||||
sg_ImageButton.cpp
|
||||
sg_ViewTabPage.cpp
|
||||
|
|
|
@ -375,7 +375,7 @@ void CAccountInfoPage::OnPageChanged( wxWizardExEvent& event ) {
|
|||
if (!((CBOINCBaseWizard*)GetParent())->project_name.IsEmpty()) {
|
||||
wxString strQuestion;
|
||||
strQuestion.Printf(
|
||||
_T("Are you already running %s?"),
|
||||
_("Are you already running %s?"),
|
||||
((CBOINCBaseWizard*)GetParent())->project_name.c_str()
|
||||
);
|
||||
m_pAccountQuestionStaticCtrl->SetLabel(strQuestion);
|
||||
|
|
|
@ -69,7 +69,7 @@ void CImageButton::OnPaint(wxPaintEvent& WXUNUSED(event))
|
|||
dc.DrawText(GetStatusText(), wxPoint(7, y-height-4));
|
||||
// display show graphics text (if available)
|
||||
if(m_enableShowGraphics) {
|
||||
wxString text = wxString(wxT("Graphics Available"));
|
||||
wxString text = wxString(_T("Graphics Available"));
|
||||
dc.GetTextExtent(text, &width, &height);
|
||||
dc.DrawText(text, wxPoint(x-width-7,y-height-4));
|
||||
}
|
||||
|
@ -87,21 +87,21 @@ int CImageButton::GetStatus() {
|
|||
|
||||
wxString CImageButton::GetStatusText() {
|
||||
if ( status == TAB_STATUS_RUNNING ) {
|
||||
return wxString(_T("Running"));
|
||||
return wxString(_("Running"));
|
||||
} else if ( status == TAB_STATUS_PREEMPTED ) {
|
||||
return wxString(_T("Paused: Other work running"));
|
||||
return wxString(_("Paused: Other work running"));
|
||||
} else if ( status == TAB_STATUS_PAUSED_USER_REQ ) {
|
||||
return wxString(_T("Paused: User initiatied. Click 'Resume' to continue"));
|
||||
return wxString(_("Paused: User initiatied. Click 'Resume' to continue"));
|
||||
} else if ( status == TAB_STATUS_PAUSED_USER_ACTIVE ) {
|
||||
return wxString(_T("Paused: User active"));
|
||||
return wxString(_("Paused: User active"));
|
||||
} else if ( status == TAB_STATUS_PAUSED_POWER ) {
|
||||
return wxString(_T("Paused: Computer on battery"));
|
||||
return wxString(_("Paused: Computer on battery"));
|
||||
} else if ( status == TAB_STATUS_PAUSED_TIME_OF_DAY ) {
|
||||
return wxString(_T("Paused: Time of Day"));
|
||||
return wxString(_("Paused: Time of Day"));
|
||||
} else if ( status == TAB_STATUS_PAUSED_BENCHMARKS ) {
|
||||
return wxString(_T("Paused: Benchmarks running"));
|
||||
return wxString(_("Paused: Benchmarks running"));
|
||||
} else if ( status == TAB_STATUS_PAUSED ) {
|
||||
return wxString(_T("Paused"));
|
||||
return wxString(_("Paused"));
|
||||
} else {
|
||||
return wxEmptyString;
|
||||
}
|
||||
|
@ -129,7 +129,7 @@ void CImageButton::OnLeftUp(wxMouseEvent& WXUNUSED(event))
|
|||
|
||||
void CImageButton::SetToolTip() {
|
||||
if ( m_enableShowGraphics ) {
|
||||
wxPanel::SetToolTip(new wxToolTip(_T("Click to show project graphics")));
|
||||
wxPanel::SetToolTip(new wxToolTip(_("Click to show project graphics")));
|
||||
} else {
|
||||
wxPanel::SetToolTip(NULL);
|
||||
}
|
||||
|
|
|
@ -450,8 +450,8 @@ void CViewTabPage::WriteText(wxDC* dc) {
|
|||
dc->GetTextExtent(_("Time Remaining: "), &width, &height);
|
||||
width = width + 20; // add the starting x position
|
||||
|
||||
FormatText(wxT("Elapsed Time: "), elapsedTimeValue, dc, wxPoint(20,230), width);
|
||||
FormatText(wxT("Time Remaining: "), timeRemainingValue, dc, wxPoint(20,255), width);
|
||||
FormatText(_("Elapsed Time: "), elapsedTimeValue, dc, wxPoint(20,230), width);
|
||||
FormatText(_("Time Remaining: "), timeRemainingValue, dc, wxPoint(20,255), width);
|
||||
|
||||
dc->DrawText(gaugePercent, wxPoint(290,283));
|
||||
|
||||
|
|
Loading…
Reference in New Issue