diff --git a/docs/source/user-docs/menus/disassembly-context-menu.rst b/docs/source/user-docs/menus/disassembly-context-menu.rst index e745ffd3..4b82199c 100644 --- a/docs/source/user-docs/menus/disassembly-context-menu.rst +++ b/docs/source/user-docs/menus/disassembly-context-menu.rst @@ -69,11 +69,11 @@ Rename Flag/Function/Variable **Shortcut:** :kbd:`Shift` + :kbd:`N` -Re-type function local variables +Re-type Local Variables ---------------------------------------- **Description:** Rename or set the types of the function's variables and arguments. -**Steps:** Right click anywhere inside a function and then choose ``Re-type function local vars``. +**Steps:** Right click anywhere inside a function and then choose ``Re-type Local Variables``. **Shortcut:** :kbd:`Y` diff --git a/src/menus/DisassemblyContextMenu.cpp b/src/menus/DisassemblyContextMenu.cpp index 14e20c38..6fd9656c 100644 --- a/src/menus/DisassemblyContextMenu.cpp +++ b/src/menus/DisassemblyContextMenu.cpp @@ -102,7 +102,7 @@ DisassemblyContextMenu::DisassemblyContextMenu(QWidget *parent, MainWindow *main SLOT(on_actionRenameUsedHere_triggered()), getRenameUsedHereSequence()); addAction(&actionRenameUsedHere); - initAction(&actionSetFunctionVarTypes, tr("Re-type function local vars"), + initAction(&actionSetFunctionVarTypes, tr("Re-type Local Variables"), SLOT(on_actionSetFunctionVarTypes_triggered()), getRetypeSequence()); addAction(&actionSetFunctionVarTypes); @@ -860,7 +860,7 @@ void DisassemblyContextMenu::on_actionSetFunctionVarTypes_triggered() RAnalFunction *fcn = Core()->functionIn(offset); if (!fcn) { - QMessageBox::critical(this, tr("Re-type function local vars"), + QMessageBox::critical(this, tr("Re-type Local Variables"), tr("You must be in a function to define variable types.")); return; }