From 71526da47673a8243b354c5e7ea09a329876979a Mon Sep 17 00:00:00 2001 From: maxim Date: Thu, 5 Sep 2013 16:27:25 +0000 Subject: [PATCH] IDE, All compiler options: improved localization git-svn-id: trunk@42620 - --- ide/allcompileroptions.pas | 6 ++++-- ide/lazarusidestrconsts.pas | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ide/allcompileroptions.pas b/ide/allcompileroptions.pas index 5206ffc910..ee1f02c8f4 100644 --- a/ide/allcompileroptions.pas +++ b/ide/allcompileroptions.pas @@ -79,10 +79,12 @@ procedure TfrmAllCompilerOptions.FormShow(Sender: TObject); begin Caption:=lisAllOptions; edOptionsFilter.Enabled := False; // Until the options are read. - edOptionsFilter.Hint := 'Filter the available options list'; + edOptionsFilter.Hint := lisFilterTheAvailableOptionsList; btnResetOptionsFilter.LoadGlyphFromLazarusResource(ResBtnListFilter); btnResetOptionsFilter.Enabled := False; - btnResetOptionsFilter.Hint := 'Clear the filter for options'; + btnResetOptionsFilter.Hint := lisClearTheFilterForOptions; + cbShowModified.Caption:=lisShowOnlyModified; + cbUseComments.Caption:=lisUseCommentsInCustomOptions; FEffectiveFilter:=#1; // Set an impossible value first, makes sure options are filtered. FRenderedOnce := False; IdleConnected := True; diff --git a/ide/lazarusidestrconsts.pas b/ide/lazarusidestrconsts.pas index 05f8bddda6..1cbb891fe2 100644 --- a/ide/lazarusidestrconsts.pas +++ b/ide/lazarusidestrconsts.pas @@ -2104,6 +2104,10 @@ resourcestring dlgUseFpcCfg = 'Use standard compiler config file (fpc.cfg)'; dlgUseCustomConfig = 'Use additional compiler config file'; lisAllOptions = 'All Options'; + lisFilterTheAvailableOptionsList = 'Filter the available options list'; + lisClearTheFilterForOptions = 'Clear the filter for options'; + lisShowOnlyModified = 'Show only modified'; + lisUseCommentsInCustomOptions = 'Use comments in custom options'; lisCustomOptions2 = 'Custom options'; lisCustomOptHint = 'These options are passed to the compiler after' +' comments are deleted and macros are replaced.';