UI: fix and improve a few messages
- "can not" -> "cannot" in many places (ambiguous, also see Writing Style guide). - "Bezier" -> "Bézier": proper spelling of the eponym. - Tool keymaps: make "Uv" all caps. - "FFMPEG" -> "FFmpeg" (official spelling) - Use MULTIPLICATION SIGN U+00D7 instead of MULTIPLICATION X U+2715. - "LClick" -> "LMB", "RClick" -> "RMB": this convention is used everywhere else. - "Save rendered the image..." -> "Save the rendered image...": typo. - "Preserve Current retiming": title case for property. - Bend status message: punctuation. - "... class used to define the panel" -> "header": copy-paste error. - "... class used to define the menu" -> "asset": copy-paste error. - "Lights user to display objects..." -> "Lights used...": typo. - "-setaudio require one argument" -> "requires": typo. Some issues reported by Joan Pujolar and Tamar Mebonia. Pull Request: https://projects.blender.org/blender/blender/pulls/117856
This commit is contained in:
committed by
Hans Goudey
parent
4f0ec384ce
commit
fa77e9142d
@@ -19,7 +19,7 @@ When is used on evaluated object all modifiers are taken into account.
|
||||
|
||||
.. note:: The result mesh is owned by the object. It can be freed by calling `object.to_mesh_clear()`.
|
||||
.. note::
|
||||
The result mesh must be treated as temporary, and can not be referenced from objects in the main
|
||||
The result mesh must be treated as temporary, and cannot be referenced from objects in the main
|
||||
database. If the mesh intended to be used in a persistent manner use bpy.data.meshes.new_from_object()
|
||||
instead.
|
||||
.. note:: If object does not have geometry (i.e. camera) the functions returns None.
|
||||
@@ -40,7 +40,7 @@ class OBJECT_OT_object_to_mesh(bpy.types.Operator):
|
||||
return {'CANCELLED'}
|
||||
# Avoid annoying None checks later on.
|
||||
if obj.type not in {'MESH', 'CURVE', 'SURFACE', 'FONT', 'META'}:
|
||||
self.report({'INFO'}, "Object can not be converted to mesh")
|
||||
self.report({'INFO'}, "Object cannot be converted to mesh")
|
||||
return {'CANCELLED'}
|
||||
depsgraph = context.evaluated_depsgraph_get()
|
||||
# Invoke to_mesh() for original object.
|
||||
|
||||
@@ -36,7 +36,7 @@ class OBJECT_OT_mesh_from_object(bpy.types.Operator):
|
||||
return {'CANCELLED'}
|
||||
# Avoid annoying None checks later on.
|
||||
if obj.type not in {'MESH', 'CURVE', 'SURFACE', 'FONT', 'META'}:
|
||||
self.report({'INFO'}, "Object can not be converted to mesh")
|
||||
self.report({'INFO'}, "Object cannot be converted to mesh")
|
||||
return {'CANCELLED'}
|
||||
depsgraph = context.evaluated_depsgraph_get()
|
||||
object_eval = obj.evaluated_get(depsgraph)
|
||||
|
||||
@@ -17,7 +17,7 @@ a text object, an error will be reported.
|
||||
|
||||
.. note:: The resulting curve is owned by the object. It can be freed by calling `object.to_curve_clear()`.
|
||||
.. note::
|
||||
The resulting curve must be treated as temporary, and can not be referenced from objects in the main
|
||||
The resulting curve must be treated as temporary, and cannot be referenced from objects in the main
|
||||
database.
|
||||
"""
|
||||
import bpy
|
||||
@@ -35,7 +35,7 @@ class OBJECT_OT_object_to_curve(bpy.types.Operator):
|
||||
self.report({'INFO'}, "No active object to convert to curve")
|
||||
return {'CANCELLED'}
|
||||
if obj.type not in {'CURVE', 'FONT'}:
|
||||
self.report({'INFO'}, "Object can not be converted to curve")
|
||||
self.report({'INFO'}, "Object cannot be converted to curve")
|
||||
return {'CANCELLED'}
|
||||
depsgraph = context.evaluated_depsgraph_get()
|
||||
# Invoke to_curve() without applying modifiers.
|
||||
|
||||
Reference in New Issue
Block a user