IDE, All compiler options: improved localization

git-svn-id: trunk@42620 -
This commit is contained in:
maxim 2013-09-05 16:27:25 +00:00
parent b50ea63b2f
commit 71526da476
2 changed files with 8 additions and 2 deletions

View File

@ -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;

View File

@ -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.';