IDE: fixed i18n of some items in Messages pop-up menu

This commit is contained in:
Maxim Ganetsky 2023-05-17 01:52:57 +03:00
parent ee7c115ab3
commit 49aae25741

View File

@ -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);