From 49aae257413dcbb4e73a1e1cdacbf103fd533e4a Mon Sep 17 00:00:00 2001 From: Maxim Ganetsky Date: Wed, 17 May 2023 01:52:57 +0300 Subject: [PATCH] IDE: fixed i18n of some items in Messages pop-up menu --- ide/idetranslations.pas | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ide/idetranslations.pas b/ide/idetranslations.pas index 69d67184d4..08a89fbfa9 100644 --- a/ide/idetranslations.pas +++ b/ide/idetranslations.pas @@ -511,10 +511,14 @@ begin // IDE TranslateUnitResourceStrings('LazarusIDEStrConsts', Dir+'languages/lazaruside'+Ext,Lang,FallbackLang); - // Debugger GUI (temporary needed to load translation earlier, when menu capions are initialized). + // Debugger GUI (temporary needed to load translation earlier, when menu captions are initialized). // Affected captions are in `View`->`Debug`, `Run`->`Add breakpoint`, `SE popup`->`Debug`. TranslateUnitResourceStrings('IdeDebuggerStringConstants', Dir+'ide/packages/idedebugger/languages/idedebuggerstringconstants'+Ext,Lang,FallbackLang); + // IDEIntf common strings (needed to load translation earlier, when menu captions are initialized). + // Affected captions are in `Messages popup`->`Copy`, `Messages popup`->`Help`. + TranslateUnitResourceStrings('IdeIntfStrConsts', + Dir+'components/ideintf/languages/ideintfstrconsts'+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);