diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2019-06-28 22:44:19 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2019-06-28 22:44:19 +0300 |
commit | 5762137f3522c03b62b02f49ab25cfb205d60679 (patch) | |
tree | 99cef0ed6c676097b73f9499e5878d8a6520e09a | |
parent | daf8e73886947a24896cff3eb9099ffd1b5a6fcb (diff) |
Fix T66224: Grammar in Key Set error messages
-rw-r--r-- | source/blender/editors/animation/keyframing.c | 6 | ||||
-rw-r--r-- | source/blender/editors/animation/keyingsets.c | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c index 89d85388981..31f7a337d57 100644 --- a/source/blender/editors/animation/keyframing.c +++ b/source/blender/editors/animation/keyframing.c @@ -2034,7 +2034,7 @@ static int delete_key_exec(bContext *C, wmOperator *op) int type = RNA_property_enum_get(op->ptr, op->type->prop); ks = ANIM_keyingset_get_from_enum_type(scene, type); if (ks == NULL) { - BKE_report(op->reports, RPT_ERROR, "No active keying set"); + BKE_report(op->reports, RPT_ERROR, "No active Keying Set"); return OPERATOR_CANCELLED; } } @@ -2044,7 +2044,7 @@ static int delete_key_exec(bContext *C, wmOperator *op) ks = ANIM_keyingset_get_from_idname(scene, type_id); if (ks == NULL) { - BKE_reportf(op->reports, RPT_ERROR, "No active keying set '%s' not found", type_id); + BKE_reportf(op->reports, RPT_ERROR, "Active Keying Set '%s' not found", type_id); return OPERATOR_CANCELLED; } } @@ -3000,7 +3000,7 @@ static KeyingSet *keyingset_get_from_op_with_error(wmOperator *op, PropertyRNA * int type = RNA_property_enum_get(op->ptr, prop); ks = ANIM_keyingset_get_from_enum_type(scene, type); if (ks == NULL) { - BKE_report(op->reports, RPT_ERROR, "No active keying set"); + BKE_report(op->reports, RPT_ERROR, "No active Keying Set"); } } else if (prop_type == PROP_STRING) { diff --git a/source/blender/editors/animation/keyingsets.c b/source/blender/editors/animation/keyingsets.c index ab5e3186c47..0cb83c79c85 100644 --- a/source/blender/editors/animation/keyingsets.c +++ b/source/blender/editors/animation/keyingsets.c @@ -154,7 +154,7 @@ static int remove_active_keyingset_exec(bContext *C, wmOperator *op) * - return error if it doesn't exist */ if (scene->active_keyingset == 0) { - BKE_report(op->reports, RPT_ERROR, "No active keying set to remove"); + BKE_report(op->reports, RPT_ERROR, "No active Keying Set to remove"); return OPERATOR_CANCELLED; } else if (scene->active_keyingset < 0) { @@ -203,7 +203,7 @@ static int add_empty_ks_path_exec(bContext *C, wmOperator *op) * - return error if it doesn't exist */ if (scene->active_keyingset == 0) { - BKE_report(op->reports, RPT_ERROR, "No active keying set to add empty path to"); + BKE_report(op->reports, RPT_ERROR, "No active Keying Set to add empty path to"); return OPERATOR_CANCELLED; } else { @@ -253,12 +253,12 @@ static int remove_active_ks_path_exec(bContext *C, wmOperator *op) ks->active_path--; } else { - BKE_report(op->reports, RPT_ERROR, "No active keying set path to remove"); + BKE_report(op->reports, RPT_ERROR, "No active Keying Set path to remove"); return OPERATOR_CANCELLED; } } else { - BKE_report(op->reports, RPT_ERROR, "No active keying set to remove a path from"); + BKE_report(op->reports, RPT_ERROR, "No active Keying Set to remove a path from"); return OPERATOR_CANCELLED; } @@ -409,7 +409,7 @@ static int remove_keyingset_button_exec(bContext *C, wmOperator *op) * - return error if it doesn't exist */ if (scene->active_keyingset == 0) { - BKE_report(op->reports, RPT_ERROR, "No active keying set to remove property from"); + BKE_report(op->reports, RPT_ERROR, "No active Keying Set to remove property from"); return OPERATOR_CANCELLED; } else if (scene->active_keyingset < 0) { |