Fix T102895: Grammar in apply scale operator

"Fonts" are referred to as "Text objects" now.
This commit is contained in:
Hans Goudey 2022-12-01 15:21:59 -06:00
parent b768a2bf2f
commit e78cd27565
Notes: blender-bot 2023-02-14 09:02:40 +01:00
Referenced by issue #102895, Typo in an error message when applying transforms of text objects
1 changed files with 4 additions and 2 deletions

View File

@ -746,8 +746,10 @@ static int apply_objects_internal(bContext *C,
if (ob->type == OB_FONT) {
if (apply_rot || apply_loc) {
BKE_reportf(
reports, RPT_ERROR, "Font's can only have scale applied: \"%s\"", ob->id.name + 2);
BKE_reportf(reports,
RPT_ERROR,
"Text objects can only have scale applied: \"%s\"",
ob->id.name + 2);
changed = false;
}
}