mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 05:58:06 +02:00
LCLTranslator: clean up
This commit is contained in:
parent
74446557f6
commit
b949b1d54f
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user