mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 23:00:27 +02:00
IDE: improved PO file update error message
This commit is contained in:
parent
b64df8c3a6
commit
8c8d28e0da
@ -4673,9 +4673,8 @@ begin
|
||||
Result := mrOk;
|
||||
except
|
||||
on E:EPOFileError do begin
|
||||
IDEMessageDialog(lisCCOErrorCaption, Format(lisErrorLoadingFrom,
|
||||
[ 'Update PO file '+E.POFileName, LineEnding, E.ResFileName,
|
||||
LineEnding+LineEnding, E.Message]), mtError, [mbOk]);
|
||||
IDEMessageDialog(lisCCOErrorCaption, Format(lisErrorUpdatingFrom,
|
||||
[E.POFileName, E.ResFileName, E.Message]), mtError, [mbOk]);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
@ -67,6 +67,7 @@ resourcestring
|
||||
lisCodeToolsDefsWriteError = 'Write error';
|
||||
lisCCOErrorCaption = 'Error';
|
||||
lisErrorLoadingFrom = 'Error loading %s from%s%s%s%s';
|
||||
lisErrorUpdatingFrom = 'Error updating'+LineEnding+'%s'+LineEnding+'from'+LineEnding+'%s.'+LineEnding+LineEnding+'Error message:'+LineEnding+'%s';
|
||||
lisErrorSavingTo = 'Error saving %s to%s%s%s%s';
|
||||
lisXMLError = 'XML Error';
|
||||
lisXMLParserErrorInFileError = 'XML parser error in file %s%sError: %s';
|
||||
|
Loading…
Reference in New Issue
Block a user