From 102e584847c84f5f4712659484470e265d63ef2e Mon Sep 17 00:00:00 2001 From: Maxim Ganetsky Date: Mon, 13 Dec 2021 01:01:46 +0300 Subject: [PATCH] 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) --- ide/idetranslations.pas | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ide/idetranslations.pas b/ide/idetranslations.pas index 5168ac2c40..bb256c7441 100644 --- a/ide/idetranslations.pas +++ b/ide/idetranslations.pas @@ -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 }