Rename a context menu item (#2267)

This commit is contained in:
Surendrajat 2020-06-28 00:21:05 +05:30 committed by GitHub
parent e88ad82968
commit 4685f4faaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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`

View File

@ -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;
}