diff --git a/components/fpdebug/fperrormessages.pas b/components/fpdebug/fperrormessages.pas index 1dd0667145..cec8434d5f 100644 --- a/components/fpdebug/fperrormessages.pas +++ b/components/fpdebug/fperrormessages.pas @@ -11,6 +11,10 @@ type TFpErrorCode = Integer; resourcestring + // menu caption from LazDebuggerFpGdbmi package + fpgdbmiDisplayGDBInsteadOfFpDebugWatches = 'Display GDB instead of FpDebug ' + +'Watches'; + // %0:s is always linebreak MsgfpErrAnyError = '%1:s'; MsgfpErrSymbolNotFound = 'Identifier not found: "%1:s"'; diff --git a/components/fpdebug/languages/fperrormessages.pot b/components/fpdebug/languages/fperrormessages.pot index 3d73b11672..d9b5997729 100644 --- a/components/fpdebug/languages/fperrormessages.pot +++ b/components/fpdebug/languages/fperrormessages.pot @@ -1,6 +1,10 @@ msgid "" msgstr "Content-Type: text/plain; charset=UTF-8" +#: fperrormessages.fpgdbmidisplaygdbinsteadoffpdebugwatches +msgid "Display GDB instead of FpDebug Watches" +msgstr "" + #: fperrormessages.msgfperraddressisnil msgid "Cannot access data, Address is NIL" msgstr "" diff --git a/components/fpdebug/languages/fperrormessages.pt_BR.po b/components/fpdebug/languages/fperrormessages.pt_BR.po index 5ba3726ce9..75d1d250e7 100644 --- a/components/fpdebug/languages/fperrormessages.pt_BR.po +++ b/components/fpdebug/languages/fperrormessages.pt_BR.po @@ -12,6 +12,10 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "Language: pt_BR\n" +#: fperrormessages.fpgdbmidisplaygdbinsteadoffpdebugwatches +msgid "Display GDB instead of FpDebug Watches" +msgstr "" + #: fperrormessages.msgfperraddressisnil msgid "Cannot access data, Address is NIL" msgstr "Impossível acessar dados, Endereço é NIL" diff --git a/components/fpdebug/languages/fperrormessages.ru.po b/components/fpdebug/languages/fperrormessages.ru.po index ca636912e3..f121ef0d74 100644 --- a/components/fpdebug/languages/fperrormessages.ru.po +++ b/components/fpdebug/languages/fperrormessages.ru.po @@ -9,7 +9,11 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" "Language: ru\n" -"X-Generator: Poedit 2.2.1\n" +"X-Generator: Poedit 2.4.3\n" + +#: fperrormessages.fpgdbmidisplaygdbinsteadoffpdebugwatches +msgid "Display GDB instead of FpDebug Watches" +msgstr "Показывать наблюдения GDB вместо FpDebug" #: fperrormessages.msgfperraddressisnil msgid "Cannot access data, Address is NIL" diff --git a/components/lazdebuggers/lazdebuggerfpgdbmi/fpgdbmidebugger.pp b/components/lazdebuggers/lazdebuggerfpgdbmi/fpgdbmidebugger.pp index a0a6f8c29f..258540eca6 100644 --- a/components/lazdebuggers/lazdebuggerfpgdbmi/fpgdbmidebugger.pp +++ b/components/lazdebuggers/lazdebuggerfpgdbmi/fpgdbmidebugger.pp @@ -1206,7 +1206,8 @@ procedure Register; begin RegisterDebugger(TFpGDBMIDebugger); - MenuCmd := RegisterIDEMenuCommand(itmRunDebugging, 'fpGdbmiToggleGDB', 'Display GDB instead of FpDebug Watches', nil, + MenuCmd := RegisterIDEMenuCommand(itmRunDebugging, 'fpGdbmiToggleGDB', + fpgdbmiDisplayGDBInsteadOfFpDebugWatches, nil, @IDEMenuClicked); MenuCmd.AutoCheck := True; MenuCmd.Checked := False;