Merged revision(s) 55044 #10feb7c68a from trunk:

IDE: improved i18n in messages window, fixed some typos
........

git-svn-id: branches/fixes_1_8@55055 -
This commit is contained in:
maxim 2017-05-22 23:08:26 +00:00
parent e4cb11d517
commit 9334f660e4
2 changed files with 4 additions and 1 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

@ -6341,6 +6341,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"';