From ff926c77e63f7819a13d23713462a80934830dd1 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Mon, 25 Feb 2008 20:11:30 +0000 Subject: [PATCH] Per Nicolas Alvarez, those lines should not be flagged as printf strings. svn path=/trunk/boinc/; revision=14786 --- clientgui/DlgAdvPreferencesBase.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/clientgui/DlgAdvPreferencesBase.cpp b/clientgui/DlgAdvPreferencesBase.cpp index ea29fdd821..7a2749c333 100644 --- a/clientgui/DlgAdvPreferencesBase.cpp +++ b/clientgui/DlgAdvPreferencesBase.cpp @@ -238,7 +238,8 @@ CDlgAdvPreferencesBase::CDlgAdvPreferencesBase( wxWindow* parent, int id, wxStri m_txtProcUseCPUTime = new wxTextCtrl( m_panelProcessor, ID_TXTPOCUSECPUTIME, wxT(""), wxDefaultPosition, wxSize( 50,-1 ), wxTE_RIGHT ); fgSizer3->Add( m_txtProcUseCPUTime, 0, wxALL, 1 ); - m_staticText23 = new wxStaticText( m_panelProcessor, ID_DEFAULT, _("% CPU time"), wxDefaultPosition, wxDefaultSize, 0 ); + /*xgettext:no-c-format*/ + m_staticText23 = new wxStaticText( m_panelProcessor, ID_DEFAULT, _("% CPU time"), wxDefaultPosition, wxDefaultSize, 0 ); fgSizer3->Add( m_staticText23, 0, wxALL, 5 ); sbSizer3->Add( fgSizer3, 0, wxEXPAND, 1 ); @@ -477,6 +478,7 @@ CDlgAdvPreferencesBase::CDlgAdvPreferencesBase( wxWindow* parent, int id, wxStri fgSizerDiskUsage->Add( m_txtDiskMaxOfTotal, 0, wxALL, 1 ); + /*xgettext:no-c-format*/ m_staticText45 = new wxStaticText( m_panelDiskAndMemory, ID_DEFAULT, _("% of total disk space"), wxDefaultPosition, wxDefaultSize, 0 ); fgSizerDiskUsage->Add( m_staticText45, 0, wxALL, 5 ); @@ -495,6 +497,7 @@ CDlgAdvPreferencesBase::CDlgAdvPreferencesBase( wxWindow* parent, int id, wxStri m_txtDiskMaxSwap = new wxTextCtrl( m_panelDiskAndMemory, ID_TXTDISKWRITETODISK, wxT(""), wxDefaultPosition, wxSize( 50,-1 ), wxTE_RIGHT ); fgSizerDiskUsage->Add( m_txtDiskMaxSwap, 0, wxALL, 1 ); + /*xgettext:no-c-format*/ m_staticText49 = new wxStaticText( m_panelDiskAndMemory, ID_DEFAULT, _("% of page file (swap space)"), wxDefaultPosition, wxDefaultSize, 0 ); fgSizerDiskUsage->Add( m_staticText49, 0, wxALL, 5 );