diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-06-11 21:04:50 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-06-11 21:05:57 +0300 |
commit | a03ebe9431b582c8dba4c7295d6451b02c3889b3 (patch) | |
tree | 2bcbfdc97750654fdece7c3375e27379f2711542 | |
parent | a61ba6c73dc5dd8e499fae7e911a74fe9c6bb877 (diff) |
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
-rw-r--r-- | release/scripts/startup/bl_ui/space_text.py | 2 | ||||
-rw-r--r-- | source/blender/editors/space_text/text_ops.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_text.py b/release/scripts/startup/bl_ui/space_text.py index f6f22ad464f..553d79fb349 100644 --- a/release/scripts/startup/bl_ui/space_text.py +++ b/release/scripts/startup/bl_ui/space_text.py @@ -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() diff --git a/source/blender/editors/space_text/text_ops.c b/source/blender/editors/space_text/text_ops.c index fa378954a30..e50b25de412 100644 --- a/source/blender/editors/space_text/text_ops.c +++ b/source/blender/editors/space_text/text_ops.c @@ -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"; |