mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 04:19:09 +02:00
Tools, UpdatePoFiles: corrected accepted resource file extension (.lrt -> .lrj)
git-svn-id: trunk@60218 -
This commit is contained in:
parent
ba5f61002e
commit
f21f956ce1
@ -85,14 +85,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<>'.pot') and (Ext<>'.rst') and (Ext<>'.lrt') and (Ext<>'.rsj') then begin
|
if (Ext<>'.pot') 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