diff options
author | Hans Goudey <h.goudey@me.com> | 2020-11-19 00:14:48 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-11-19 00:14:48 +0300 |
commit | 8f30a88e63fe2c86aa004f302e6f3bd4c172ea39 (patch) | |
tree | e0bad5e526554dd254fa14c9474cbc83b72b7588 /source/blender/editors | |
parent | 038828f49a4f50901684a059fc990626c13e6949 (diff) |
Cleanup: Grammar: "Allow to" vs gerund
In cases where "Allow" is followed by an infinitive, a noun needs
to directly follow it. But it makes more sense to follow it with a
gerund instead.
Diffstat (limited to 'source/blender/editors')
4 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c index 3fb707078b8..09c33c48170 100644 --- a/source/blender/editors/animation/keyframing.c +++ b/source/blender/editors/animation/keyframing.c @@ -430,7 +430,7 @@ int insert_bezt_fcurve(FCurve *fcu, const BezTriple *bezt, eInsertKeyFlags flag) } } } - /* keyframing modes allow to not replace keyframe */ + /* Keyframing modes allow not replacing the keyframe. */ else if ((flag & INSERTKEY_REPLACE) == 0) { /* insert new - if we're not restricted to replacing keyframes only */ BezTriple *newb = MEM_callocN((fcu->totvert + 1) * sizeof(BezTriple), "beztriple"); diff --git a/source/blender/editors/interface/interface_region_popover.c b/source/blender/editors/interface/interface_region_popover.c index 1a9a663f94e..a9f72233cb1 100644 --- a/source/blender/editors/interface/interface_region_popover.c +++ b/source/blender/editors/interface/interface_region_popover.c @@ -416,7 +416,7 @@ void UI_popover_end(bContext *C, uiPopover *pup, wmKeyMap *keymap) pup->window = window; /* TODO(campbell): we may want to make this configurable. - * The begin/end stype of calling popups doesn't allow to 'can_refresh' to be set. + * The begin/end stype of calling popups doesn't allow 'can_refresh' to be set. * For now close this style of popovers when accessed. */ UI_block_flag_disable(pup->block, UI_BLOCK_KEEP_OPEN); diff --git a/source/blender/editors/physics/physics_pointcache.c b/source/blender/editors/physics/physics_pointcache.c index f0cf1f2fbf9..1d5903bf417 100644 --- a/source/blender/editors/physics/physics_pointcache.c +++ b/source/blender/editors/physics/physics_pointcache.c @@ -72,7 +72,7 @@ static bool ptcache_poll(bContext *C) } if (ID_IS_LINKED(id) && (point_cache->flag & PTCACHE_DISK_CACHE) == false) { - CTX_wm_operator_poll_msg_set(C, "Linked data-blocks do not allow to edit caches"); + CTX_wm_operator_poll_msg_set(C, "Linked data-blocks do not allow editing caches"); return false; } @@ -92,7 +92,7 @@ static bool ptcache_add_remove_poll(bContext *C) if (ID_IS_OVERRIDE_LIBRARY_REAL(id) || ID_IS_LINKED(id)) { CTX_wm_operator_poll_msg_set( - C, "Linked or library override data-blocks do not allow to add or remove caches"); + C, "Linked or library override data-blocks do not allow adding or removing caches"); return false; } diff --git a/source/blender/editors/space_node/node_select.c b/source/blender/editors/space_node/node_select.c index 5f3047fbdc2..5060ac0db8a 100644 --- a/source/blender/editors/space_node/node_select.c +++ b/source/blender/editors/space_node/node_select.c @@ -1281,7 +1281,7 @@ void NODE_OT_find_node(wmOperatorType *ot) { /* identifiers */ ot->name = "Find Node"; - ot->description = "Search for named node and allow to select and activate it"; + ot->description = "Search for a node by name and focus and select it"; ot->idname = "NODE_OT_find_node"; /* api callbacks */ |