diff --git a/ide/editormacrolistviewer.pas b/ide/editormacrolistviewer.pas index abfe7ea335..c05980723f 100644 --- a/ide/editormacrolistviewer.pas +++ b/ide/editormacrolistviewer.pas @@ -870,13 +870,13 @@ begin if lbRecordedView.ItemIndex < 0 then exit; M := CurrentEditorMacroList.Macros[lbRecordedView.ItemIndex]; s := M.MacroName; - if InputQuery(lisNewMacroname2, Format(lisEnterNewMaweForMacroS, [m.MacroName]), s) + if InputQuery(lisNewMacroname2, Format(lisEnterNewNameForMacroS, [m.MacroName]), s) then begin while (s <> '') and (CurrentEditorMacroList.IndexOfName(s) >= 0) do begin case MessageDlg(lisDuplicateName, lisAMacroWithThisNameAlreadyExists, mtWarning, mbOKCancel, 0) of mrOK: - if not InputQuery(lisNewMacroname2, Format(lisEnterNewMaweForMacroS, [m.MacroName]), s) + if not InputQuery(lisNewMacroname2, Format(lisEnterNewNameForMacroS, [m.MacroName]), s) then s := ''; else s := ''; diff --git a/ide/lazarusidestrconsts.pas b/ide/lazarusidestrconsts.pas index b7d1a113e6..76dc450abb 100644 --- a/ide/lazarusidestrconsts.pas +++ b/ide/lazarusidestrconsts.pas @@ -5568,7 +5568,7 @@ resourcestring lisDuplicateName = 'Duplicate Name'; lisAMacroWithThisNameAlreadyExists = 'A macro with this name already exists.'; lisNewMacroname2 = 'New Macroname'; - lisEnterNewMaweForMacroS = 'Enter new mawe for Macro "%s"'; + lisEnterNewNameForMacroS = 'Enter new name for Macro "%s"'; implementation