mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 20:59:06 +02:00
Merged revision(s) 60218 #f21f956ce1 from trunk:
Tools, UpdatePoFiles: corrected accepted resource file extension (.lrt -> .lrj) ........ git-svn-id: branches/fixes_2_0@60222 -
This commit is contained in:
parent
64941cd4a8
commit
65cd5f6bcb
@ -86,14 +86,14 @@ begin
|
|||||||
|
|
||||||
if not FileExistsUTF8(Filename) then begin
|
if not FileExistsUTF8(Filename) then begin
|
||||||
|
|
||||||
if (Ext='.rst') or (Ext='.lrt') or (Ext='.rsj') then
|
if (Ext='.rst') or (Ext='.lrj') or (Ext='.rsj') then
|
||||||
continue; // ignore resource files
|
continue; // ignore resource files
|
||||||
|
|
||||||
writeln('ERROR: file not found: ',FileName);
|
writeln('ERROR: file not found: ',FileName);
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if (Ext<>'.po') and (Ext<>'.rst') and (Ext<>'.lrt') and (Ext<>'.rsj') then begin
|
if (Ext<>'.po') and (Ext<>'.rst') and (Ext<>'.lrj') and (Ext<>'.rsj') then begin
|
||||||
writeln('ERROR: invalid extension: ',Filename);
|
writeln('ERROR: invalid extension: ',Filename);
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user