LCLTranslator: clean up

This commit is contained in:
Maxim Ganetsky 2023-06-15 03:04:09 +03:00
parent 74446557f6
commit b949b1d54f

View File

@ -84,13 +84,9 @@ function SetDefaultLang(Lang: string; Dir: string = ''; LocaleFileName: string =
implementation
type
TPersistentAccess = class(TPersistent);
var
DefaultLang: String = '';
function FindLang(var Lang: string): TLanguageID;
var
CurParam: string;
@ -592,8 +588,6 @@ begin
lcfn := '';
end;
DefaultLang := Result;
if lcfn<>'' then
TranslateLCLResourceStrings(Lang, lcfn);