IDE: Restored manual LCL translation callback call (allows to have LCL translated earlier in order to have translated button captions in some dialogs shown during IDE start)

This commit is contained in:
Maxim Ganetsky 2021-12-13 01:01:46 +03:00
parent 842abf97c1
commit 102e584847

View File

@ -517,6 +517,9 @@ begin
// Debugger GUI
TranslateUnitResourceStrings('DebuggerStrConst',
Dir+'languages/debuggerstrconst'+Ext,Lang,FallbackLang);
// LCL (needed to translate button captions in a dialog about config directory belonging to another Lazarus instance)
TranslateUnitResourceStrings('LCLStrConsts',
Dir+'lcl/languages/lclstrconsts'+Ext,Lang,FallbackLang);
end;
{ TLazarusTranslations }