mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-01 10:49:28 +02:00
IDE: create directory for po-files, if it doesn't exist yet
git-svn-id: trunk@10805 -
This commit is contained in:
parent
d69e8e388f
commit
94437574a3
@ -432,8 +432,10 @@ begin
|
||||
end else begin
|
||||
ContentChanged:=true;
|
||||
end;
|
||||
if ContentChanged then
|
||||
if ContentChanged then begin
|
||||
ForceDirectories(ExtractFileDir(OutFileName));
|
||||
NewContent.SaveToFile(OutFilename);
|
||||
end;
|
||||
Result:=true;
|
||||
finally
|
||||
NewContent.Free;
|
||||
@ -441,8 +443,8 @@ begin
|
||||
end;
|
||||
except
|
||||
on E: Exception do begin
|
||||
DumpExceptionBackTrace;
|
||||
DebugLn(['ConvertToGettextPO ',E.Message]);
|
||||
DumpExceptionBackTrace;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user