Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYevgeny Makarov <jenkm>2019-10-01 21:15:16 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-10-01 21:18:48 +0300
commit3e8276311ed17d12e8b47b4fe8e2f68c1ce8c603 (patch)
tree8ded1a157eff21907d21f7c66b1cb903eb86d76e /source/blender/editors/physics
parent17f6b4d0f8d9b55b631fbf3fa24e81d1266c3ec8 (diff)
UI: use correct singular and plural nouns in report messages
Differential Revision: https://developer.blender.org/D5729
Diffstat (limited to 'source/blender/editors/physics')
-rw-r--r--source/blender/editors/physics/particle_edit.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c
index 19402316882..2ea0e9dc018 100644
--- a/source/blender/editors/physics/particle_edit.c
+++ b/source/blender/editors/physics/particle_edit.c
@@ -3076,7 +3076,11 @@ static int remove_doubles_exec(bContext *C, wmOperator *op)
return OPERATOR_CANCELLED;
}
- BKE_reportf(op->reports, RPT_INFO, "Removed %d double particles", totremoved);
+ BKE_reportf(op->reports,
+ RPT_INFO,
+ totremoved == 1 ? "Removed %d double particle" :
+ "Removed %d double particles",
+ totremoved);
DEG_id_tag_update(&ob->id, ID_RECALC_GEOMETRY);
WM_event_add_notifier(C, NC_OBJECT | ND_PARTICLE | NA_EDITED, ob);