diff options
| author | saturneric <[email protected]> | 2026-09-20 22:27:15 +0200 |
|---|---|---|
| committer | saturneric <[email protected]> | 2026-09-20 22:27:15 +0200 |
| commit | 94487610112e512db08259892e0f1f6aa2b62ff9 (patch) | |
| tree | 76b2efaa0a28425f869df69d063c90cf5785fedb | |
| parent | feat(pgp): add OpenPGP structure inspector (diff) | |
| download | modules-94487610112e512db08259892e0f1f6aa2b62ff9.tar.gz modules-94487610112e512db08259892e0f1f6aa2b62ff9.zip | |
fix(pgp-inspect): clarify structure inspector action text
- rename the menu action to identify the OpenPGP structure inspector
- simplify the tooltip by removing the decryption detail
| -rw-r--r-- | src/m_pgp_inspect/PGPInspectModule.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/m_pgp_inspect/PGPInspectModule.cpp b/src/m_pgp_inspect/PGPInspectModule.cpp index 22dcccd..2130cda 100644 --- a/src/m_pgp_inspect/PGPInspectModule.cpp +++ b/src/m_pgp_inspect/PGPInspectModule.cpp @@ -81,13 +81,12 @@ auto OnMainWindowMenuMounted(const GFEvent &event) -> GFEventResult { QMetaObject::invokeMethod( QApplication::instance(), [=]() -> void { - auto *action = new QAction( - QCoreApplication::translate("GTrC", "Inspect OpenPGP Structure"), - nullptr); + auto *action = + new QAction(QCoreApplication::translate( + "GTrC", "Open OpenPGP Structure Inspector"), + nullptr); action->setToolTip(QCoreApplication::translate( - "GTrC", - "Show the packet structure of the current tab, without " - "decrypting it")); + "GTrC", "Show the packet structure of the current tab")); QObject::connect(action, &QAction::triggered, main_window, [=]() { RaiseInspectDialog(main_window); }); advance_menu->addAction(action); |
