IDE: improved i18n in messages window, fixed some typos

git-svn-id: trunk@55044 -
This commit is contained in:
maxim 2017-05-22 22:14:19 +00:00
parent 675c59e5e6
commit 10feb7c68a
2 changed files with 6 additions and 3 deletions

View File

@ -314,7 +314,8 @@ begin
for i:=0 to Fixes.LineCount-1 do begin
Msg:=Fixes.Lines[i];
if not IsApplicable(Msg,MsgID,Tool) then continue;
aCaption:='Hide message by inserting {$warn '+IntToStr(MsgID)+' off} to unit "'+ExtractFilename(Tool.MainFilename)+'"';
aCaption:=Format(lisHideMessageByInsertingWarnOffToUnit, [IntToStr(MsgID),
ExtractFilename(Tool.MainFilename)]);
Fixes.AddMenuItem(Self,Msg,aCaption);
end;
end;

View File

@ -2157,8 +2157,8 @@ resourcestring
dlgIdentifierCompletion = 'Identifier Completion';
dlgJumpingETC = 'Jumping (e.g. Method Jumping)';
dlgAdjustTopLine = 'Adjust top line due to comment in front';
dlgJumpSingleLinePos = 'Vertical position for a single line jump in %. (0=top, 100=bottom)';
dlgJumpCodeBlockPos = 'Vertical position for a code block jump in %. (0=top, 100=bottom)';
dlgJumpSingleLinePos = 'Vertical position for a single line jump in % (0=top, 100=bottom)';
dlgJumpCodeBlockPos = 'Vertical position for a code block jump in % (0=top, 100=bottom)';
dlgAvoidUnnecessaryJumps = 'Avoid unnecessary jumps';
dlgCursorBeyondEOL = 'Cursor beyond EOL';
dlgSkipForwardClassDeclarations = 'Skip forward class declarations';
@ -6350,6 +6350,8 @@ resourcestring
lisMultiplePack = ', multiple packages: ';
lisQuickFixError = 'QuickFix error';
lisPositionOutsideOfSource = '%s (position outside of source)';
lisHideMessageByInsertingWarnOffToUnit = 'Hide message by inserting {$warn %'
+'s off} to unit "%s"';
lisHideWithProjectOptionVm = 'Hide with project option (-vm%s)';
lisHideWithPackageOptionVm = 'Hide with package option (-vm%s)';
lisRemoveLocalVariable3 = 'Remove local variable "%s"';