From f21f956ce1cf55f764cb7fba9b7c536b805e3792 Mon Sep 17 00:00:00 2001 From: maxim Date: Fri, 25 Jan 2019 22:28:45 +0000 Subject: [PATCH] Tools, UpdatePoFiles: corrected accepted resource file extension (.lrt -> .lrj) git-svn-id: trunk@60218 - --- tools/updatepofiles.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/updatepofiles.pas b/tools/updatepofiles.pas index fb01bd4023..18bba4259f 100644 --- a/tools/updatepofiles.pas +++ b/tools/updatepofiles.pas @@ -85,14 +85,14 @@ 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 writeln('ERROR: file not found: ',FileName); exit; 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); exit; end;