mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 13:17:18 +02:00
IDE: for now load IdeDebugger translation earlier in order to restore translations of several menu items with captions still initialized e. g. in TMainIDEBase.SetupViewMenu method
This commit is contained in:
parent
7abe883a09
commit
6c23df0dd6
@ -511,6 +511,10 @@ begin
|
|||||||
// IDE
|
// IDE
|
||||||
TranslateUnitResourceStrings('LazarusIDEStrConsts',
|
TranslateUnitResourceStrings('LazarusIDEStrConsts',
|
||||||
Dir+'languages/lazaruside'+Ext,Lang,FallbackLang);
|
Dir+'languages/lazaruside'+Ext,Lang,FallbackLang);
|
||||||
|
// Debugger GUI (temporary needed to load translation earlier, when menu capions 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);
|
||||||
// LCL (needed to translate button captions in a dialog about config directory belonging to another Lazarus instance)
|
// LCL (needed to translate button captions in a dialog about config directory belonging to another Lazarus instance)
|
||||||
TranslateUnitResourceStrings('LCLStrConsts',
|
TranslateUnitResourceStrings('LCLStrConsts',
|
||||||
Dir+'lcl/languages/lclstrconsts'+Ext,Lang,FallbackLang);
|
Dir+'lcl/languages/lclstrconsts'+Ext,Lang,FallbackLang);
|
||||||
|
Loading…
Reference in New Issue
Block a user