UI: Capitalize "Python" in UI messages, improve a few others

- "... (matches pythons ...)": capitalize and use possessive ('s).
- "Layer Proxy Protection": replace proxy by override, following 2.80.
- "Enable Plane Trim": expand description.
- "Make curve path children to rotate along the path": remove "to".
- "Option for curve-deform: make deformed child to stretch along
  entire path": remove "to".
- "... apply the curve radius with path following it and deforming":
  rephrase unclear description.
- "Custom light falloff curve" : unrelated to lights, used in Grease
  Pencil modifiers.
- "Grease Pencil layer assigned to the generated strokes": rephrase
  because a GP stroke is assigned to a layer, not the other way
  around.
- "Attribute domain where the attribute domain is stored in the
  simulation state": remove second "domain" (typo).

Pull Request: blender/blender#107916
This commit is contained in:
2023-05-14 15:23:43 +02:00
committed by Hans Goudey
parent 018f3dbf85
commit d17f9f4872
28 changed files with 66 additions and 61 deletions

View File

@@ -475,7 +475,7 @@ static PyObject *Vector_resize(VectorObject *self, PyObject *value)
if (self->flag & BASE_MATH_FLAG_IS_WRAP) {
PyErr_SetString(PyExc_TypeError,
"Vector.resize(): "
"cannot resize wrapped data - only python vectors");
"cannot resize wrapped data - only Python vectors");
return NULL;
}
if (self->cb_user) {
@@ -559,7 +559,7 @@ static PyObject *Vector_resize_2d(VectorObject *self)
if (self->flag & BASE_MATH_FLAG_IS_WRAP) {
PyErr_SetString(PyExc_TypeError,
"Vector.resize_2d(): "
"cannot resize wrapped data - only python vectors");
"cannot resize wrapped data - only Python vectors");
return NULL;
}
if (self->cb_user) {
@@ -590,7 +590,7 @@ static PyObject *Vector_resize_3d(VectorObject *self)
if (self->flag & BASE_MATH_FLAG_IS_WRAP) {
PyErr_SetString(PyExc_TypeError,
"Vector.resize_3d(): "
"cannot resize wrapped data - only python vectors");
"cannot resize wrapped data - only Python vectors");
return NULL;
}
if (self->cb_user) {
@@ -625,7 +625,7 @@ static PyObject *Vector_resize_4d(VectorObject *self)
if (self->flag & BASE_MATH_FLAG_IS_WRAP) {
PyErr_SetString(PyExc_TypeError,
"Vector.resize_4d(): "
"cannot resize wrapped data - only python vectors");
"cannot resize wrapped data - only Python vectors");
return NULL;
}
if (self->cb_user) {