mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-11 02:48:31 +02:00
LCL, LCLTranslator: reduced scope of variable, hint from Werner, bug #34181
git-svn-id: trunk@58791 -
This commit is contained in:
parent
1805732402
commit
a16d3e7cf9
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user