LCL, LCLTranslator: reduced scope of variable, hint from Werner, bug #34181

git-svn-id: trunk@58791 -
This commit is contained in:
maxim 2018-08-27 23:19:49 +00:00
parent 1805732402
commit a16d3e7cf9

View File

@ -310,9 +310,6 @@ begin
Result := LowerCase(Result); // GetText requires same case as in .po file, which is lowercase
end;
var
lcfn: string;
{ TUpdateTranslator }
procedure TUpdateTranslator.IntUpdateTranslation(AnInstance: TPersistent; Level: integer = 0);
@ -510,7 +507,7 @@ procedure SetDefaultLang(Lang: string; Dir: string = ''; ForceUpdate: boolean =
}
var
Dot1: integer;
LCLPath: string;
LCLPath, lcfn: string;
LocalTranslator: TUpdateTranslator;
i: integer;