mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 23:18:01 +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
|
||||
TranslateUnitResourceStrings('LazarusIDEStrConsts',
|
||||
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)
|
||||
TranslateUnitResourceStrings('LCLStrConsts',
|
||||
Dir+'lcl/languages/lclstrconsts'+Ext,Lang,FallbackLang);
|
||||
|
Loading…
Reference in New Issue
Block a user