@@ -1013,16 +1013,16 @@ void CSettings::CreateGUI ( void )
1013
1013
vecTemp.fY += fLineHeight ;
1014
1014
1015
1015
// Process priority
1016
- m_pPriorityLabel = reinterpret_cast < CGUILabel* > ( pManager->CreateLabel ( pTabAdvanced, " Process priority:" ) );
1016
+ m_pPriorityLabel = reinterpret_cast < CGUILabel* > ( pManager->CreateLabel ( pTabAdvanced, _ ( " Process priority:" ) ) );
1017
1017
m_pPriorityLabel->SetPosition ( CVector2D ( vecTemp.fX , vecTemp.fY ) );
1018
1018
m_pPriorityLabel->AutoSize ( );
1019
1019
1020
1020
m_pPriorityCombo = reinterpret_cast < CGUIComboBox* > ( pManager->CreateComboBox ( pTabAdvanced, " " ) );
1021
1021
m_pPriorityCombo->SetPosition ( CVector2D ( vecTemp.fX + fIndentX , vecTemp.fY - 1 .0f ) );
1022
1022
m_pPriorityCombo->SetSize ( CVector2D ( fComboWidth , 95 .0f ) );
1023
- m_pPriorityCombo->AddItem ( " Normal" )->SetData ( (void *)0 );
1024
- m_pPriorityCombo->AddItem ( " Above normal" )->SetData ( (void *)1 );
1025
- m_pPriorityCombo->AddItem ( " High" )->SetData ( (void *)2 );
1023
+ m_pPriorityCombo->AddItem ( _ ( " Normal" ) )->SetData ( (void *)0 );
1024
+ m_pPriorityCombo->AddItem ( _ ( " Above normal" ) )->SetData ( (void *)1 );
1025
+ m_pPriorityCombo->AddItem ( _ ( " High" ) )->SetData ( (void *)2 );
1026
1026
m_pPriorityCombo->SetReadOnly ( true );
1027
1027
vecTemp.fY += 29 ;
1028
1028
@@ -2940,9 +2940,9 @@ void CSettings::LoadData ( void )
2940
2940
// Process priority
2941
2941
int iVar;
2942
2942
CVARS_GET ( " process_priority" , iVar );
2943
- if ( iVar == 0 ) m_pPriorityCombo->SetText ( " Normal" );
2944
- else if ( iVar == 1 ) m_pPriorityCombo->SetText ( " Above normal" );
2945
- else if ( iVar == 2 ) m_pPriorityCombo->SetText ( " High" );
2943
+ if ( iVar == 0 ) m_pPriorityCombo->SetText ( _ ( " Normal" ) );
2944
+ else if ( iVar == 1 ) m_pPriorityCombo->SetText ( _ ( " Above normal" ) );
2945
+ else if ( iVar == 2 ) m_pPriorityCombo->SetText ( _ ( " High" ) );
2946
2946
int PriorityClassList[] = { NORMAL_PRIORITY_CLASS, ABOVE_NORMAL_PRIORITY_CLASS, HIGH_PRIORITY_CLASS };
2947
2947
SetPriorityClass ( GetCurrentProcess (), PriorityClassList[ CVARS_GET_VALUE < int > ( " process_priority" ) % 3 ] );
2948
2948
0 commit comments