Revert "UI: use correct singular and plural nouns in report messages"

Convention is to use (s) postfix for cases where there can be one or multiple,
so stay consistent with that.

This reverts commit 3e8276311e.
This commit is contained in:
2019-10-02 12:52:58 +02:00
parent a434b30667
commit 01c824ac88
7 changed files with 11 additions and 56 deletions

View File

@@ -2044,11 +2044,7 @@ static int edbm_edge_rotate_selected_exec(bContext *C, wmOperator *op)
}
if (tot_failed_all != 0) {
BKE_reportf(op->reports,
RPT_WARNING,
tot_failed_all == 1 ? "Unable to rotate %d edge" :
"Unable to rotate %d edges",
tot_failed_all);
BKE_reportf(op->reports, RPT_WARNING, "Unable to rotate %d edge(s)", tot_failed_all);
}
return OPERATOR_FINISHED;
@@ -3165,11 +3161,7 @@ static int edbm_remove_doubles_exec(bContext *C, wmOperator *op)
}
MEM_freeN(objects);
BKE_reportf(op->reports,
RPT_INFO,
count_multi == 1 ? "Removed %d vertex" :
"Removed %d vertices",
count_multi);
BKE_reportf(op->reports, RPT_INFO, "Removed %d vertice(s)", count_multi);
return OPERATOR_FINISHED;
}