UI: Adjust names for Find/Replace Set Selection

This is really doing two operation so using the ampersand makes more 
sense.
Also selection sounds better than selected.
This also adjusts the name in the text Edit menu which was an issue 
raised in T68738
This commit is contained in:
2020-06-11 14:04:50 -04:00
parent a61ba6c73d
commit a03ebe9431
2 changed files with 3 additions and 3 deletions

View File

@@ -400,7 +400,7 @@ class TEXT_MT_edit(Menu):
layout.separator()
layout.operator("text.start_find", text="Find & Replace...")
layout.operator("text.find_set_selected", text="Find Next")
layout.operator("text.find_set_selected")
layout.operator("text.jump", text="Jump To...")
layout.separator()

View File

@@ -3667,7 +3667,7 @@ static int text_find_set_selected_exec(bContext *C, wmOperator *op)
void TEXT_OT_find_set_selected(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Find Set Selected";
ot->name = "Find & Set Selection";
ot->idname = "TEXT_OT_find_set_selected";
ot->description = "Find specified text and set as selected";
@@ -3698,7 +3698,7 @@ static int text_replace_set_selected_exec(bContext *C, wmOperator *UNUSED(op))
void TEXT_OT_replace_set_selected(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Replace Set Selected";
ot->name = "Replace & Set Selection";
ot->idname = "TEXT_OT_replace_set_selected";
ot->description = "Replace text with specified text and set as selected";