[Bf-extensions-cvs] [a65fb173] master: Cleanup: Remove trailing period in descriptions.

Ankit Meel noreply at git.blender.org
Fri Feb 12 06:03:46 CET 2021


Commit: a65fb173355bca667432eab461bbbd08519ce1ae
Author: Ankit Meel
Date:   Fri Feb 12 10:31:55 2021 +0530
Branches: master
https://developer.blender.org/rBAa65fb173355bca667432eab461bbbd08519ce1ae

Cleanup: Remove trailing period in descriptions.

Reduces warnings while running tests.
Also fix some descriptions with strings concatenated but without a
space in between.

Reviewed by campbellbarton
Differential Revision: https://developer.blender.org/D9655

===================================================================

M	blenderkit/__init__.py
M	blenderkit/asset_inspector.py
M	blenderkit/bkit_oauth.py
M	blenderkit/download.py
M	blenderkit/overrides.py
M	blenderkit/ratings.py
M	blenderkit/ui.py
M	curve_tools/operators.py
M	io_coat3D/__init__.py
M	io_mesh_atomic/utility_gui.py
M	io_mesh_atomic/xyz_gui.py
M	mesh_tissue/colors_groups_exchanger.py
M	mesh_tools/mesh_offset_edges.py
M	precision_drawing_tools/pdt_bix.py
M	precision_drawing_tools/pdt_command.py
M	precision_drawing_tools/pdt_design.py
M	precision_drawing_tools/pdt_etof.py
M	precision_drawing_tools/pdt_library.py
M	precision_drawing_tools/pdt_pivot_point.py
M	precision_drawing_tools/pdt_view.py
M	precision_drawing_tools/pdt_xall.py
M	render_povray/__init__.py
M	render_povray/render.py
M	render_povray/ui.py

===================================================================

diff --git a/blenderkit/__init__.py b/blenderkit/__init__.py
index 8fb99fba..925f0ee2 100644
--- a/blenderkit/__init__.py
+++ b/blenderkit/__init__.py
@@ -650,12 +650,12 @@ class BlenderKitCommonUploadProps(object):
             ('PUBLIC', 'Public', '"Your asset will go into the validation process automatically')
         ),
         description="If not marked private, your asset will go into the validation process automatically\n"
-                    "Private assets are limited by quota.",
+                    "Private assets are limited by quota",
         default="PUBLIC",
     )
 
     is_procedural: BoolProperty(name="Procedural",
-                                description="Asset is procedural - has no texture.",
+                                description="Asset is procedural - has no texture",
                                 default=True
                                 )
     node_count: IntProperty(name="Node count", description="Total nodes in the asset", default=0)
@@ -664,7 +664,7 @@ class BlenderKitCommonUploadProps(object):
 
     # is_private: BoolProperty(name="Asset is Private",
     #                       description="If not marked private, your asset will go into the validation process automatically\n"
-    #                                   "Private assets are limited by quota.",
+    #                                   "Private assets are limited by quota",
     #                       default=False)
 
     is_free: BoolProperty(name="Free for Everyone",
@@ -870,7 +870,7 @@ class BlenderKitMaterialUploadProps(PropertyGroup, BlenderKitCommonUploadProps):
     thumbnail_resolution: EnumProperty(
         name="Resolution",
         items=thumbnail_resolutions,
-        description="Thumbnail resolution.",
+        description="Thumbnail resolution",
         default="512",
     )
 
@@ -1055,7 +1055,7 @@ class BlenderKitModelUploadProps(PropertyGroup, BlenderKitCommonUploadProps):
     thumbnail_resolution: EnumProperty(
         name="Resolution",
         items=thumbnail_resolutions,
-        description="Thumbnail resolution.",
+        description="Thumbnail resolution",
         default="512",
     )
 
@@ -1446,11 +1446,11 @@ class BlenderKitModelSearchProps(PropertyGroup, BlenderKitCommonSearchProps):
                                         subtype='ANGLE')
 
     perpendicular_snap: BoolProperty(name='Perpendicular snap',
-                                     description="Limit snapping that is close to perpendicular angles to be perpendicular.",
+                                     description="Limit snapping that is close to perpendicular angles to be perpendicular",
                                      default=True)
 
     perpendicular_snap_threshold: FloatProperty(name="Threshold",
-                                                description="Limit perpendicular snap to be below these values.",
+                                                description="Limit perpendicular snap to be below these values",
                                                 default=.25,
                                                 min=0,
                                                 max=.5,
@@ -1550,7 +1550,7 @@ class BlenderKitAddonPreferences(AddonPreferences):
 
     api_key_refresh: StringProperty(
         name="BlenderKit refresh API Key",
-        description="API key used to refresh the token regularly.",
+        description="API key used to refresh the token regularly",
         default="",
         subtype="PASSWORD",
     )
@@ -1569,7 +1569,7 @@ class BlenderKitAddonPreferences(AddonPreferences):
 
     refresh_in_progress: BoolProperty(
         name="Api key refresh in progress",
-        description="Api key is currently being refreshed. Don't refresh it again.",
+        description="Api key is currently being refreshed. Don't refresh it again",
         default=False
     )
 
@@ -1676,7 +1676,7 @@ class BlenderKitAddonPreferences(AddonPreferences):
 
     use_timers: BoolProperty(
         name="Use timers",
-        description="Use timers for BlenderKit. Usefull for debugging since timers seem to be unstable.",
+        description="Use timers for BlenderKit. Usefull for debugging since timers seem to be unstable",
         default=True,
         update=utils.save_prefs
     )
diff --git a/blenderkit/asset_inspector.py b/blenderkit/asset_inspector.py
index e12aa058..ecc2ccf1 100644
--- a/blenderkit/asset_inspector.py
+++ b/blenderkit/asset_inspector.py
@@ -367,7 +367,7 @@ def get_autotags():
 
 
 class AutoFillTags(bpy.types.Operator):
-    """Fill tags for asset. Now run before upload, no need to interact from user side."""
+    """Fill tags for asset. Now run before upload, no need to interact from user side"""
     bl_idname = "object.blenderkit_auto_tags"
     bl_label = "Generate Auto Tags for BlenderKit"
     bl_options = {'REGISTER', 'UNDO', 'INTERNAL'}
diff --git a/blenderkit/bkit_oauth.py b/blenderkit/bkit_oauth.py
index efcc1cc7..9524c8c4 100644
--- a/blenderkit/bkit_oauth.py
+++ b/blenderkit/bkit_oauth.py
@@ -153,7 +153,7 @@ class Logout(bpy.types.Operator):
 
 
 class CancelLoginOnline(bpy.types.Operator):
-    """Cancel login attempt."""
+    """Cancel login attempt"""
 
     bl_idname = "wm.blenderkit_login_cancel"
     bl_label = "BlenderKit login cancel"
diff --git a/blenderkit/download.py b/blenderkit/download.py
index 20e5bc14..26ae0745 100644
--- a/blenderkit/download.py
+++ b/blenderkit/download.py
@@ -1226,7 +1226,7 @@ def show_enum_values(obj, prop_name):
 
 
 class BlenderkitDownloadOperator(bpy.types.Operator):
-    """Download and link asset to scene. Only link if asset already available locally."""
+    """Download and link asset to scene. Only link if asset already available locally"""
     bl_idname = "scene.blenderkit_download"
     bl_label = "BlenderKit Asset Download"
     bl_options = {'REGISTER', 'UNDO', 'INTERNAL'}
@@ -1241,7 +1241,7 @@ class BlenderkitDownloadOperator(bpy.types.Operator):
 
     asset_base_id: StringProperty(
         name="Asset base Id",
-        description="Asset base id, used instead of search result index.",
+        description="Asset base id, used instead of search result index",
         default="")
 
     target_object: StringProperty(
diff --git a/blenderkit/overrides.py b/blenderkit/overrides.py
index cc8ca50a..c2934781 100644
--- a/blenderkit/overrides.py
+++ b/blenderkit/overrides.py
@@ -171,7 +171,7 @@ def ensure_eevee_transparency(m):
 
 
 class BringToScene(Operator):
-    """Bring linked object hierarchy to scene and make it editable."""
+    """Bring linked object hierarchy to scene and make it editable"""
 
     bl_idname = "object.blenderkit_bring_to_scene"
     bl_label = "BlenderKit bring objects to scene"
diff --git a/blenderkit/ratings.py b/blenderkit/ratings.py
index c7e3d76b..ab5dd88f 100644
--- a/blenderkit/ratings.py
+++ b/blenderkit/ratings.py
@@ -295,7 +295,7 @@ def update_ratings_work_hours_ui_1_5(self, context):
 
 
 class FastRateMenu(Operator):
-    """Fast rating of the assets directly in the asset bar - without need to download assets."""
+    """Fast rating of the assets directly in the asset bar - without need to download assets"""
     bl_idname = "wm.blenderkit_menu_rating_upload"
     bl_label = "Send Rating"
     bl_options = {'REGISTER', 'UNDO', 'INTERNAL'}
diff --git a/blenderkit/ui.py b/blenderkit/ui.py
index 4c70f14e..b0027eac 100644
--- a/blenderkit/ui.py
+++ b/blenderkit/ui.py
@@ -1860,7 +1860,7 @@ class TransferBlenderkitData(bpy.types.Operator):
     """Regenerate cobweb"""
     bl_idname = "object.blenderkit_data_trasnfer"
     bl_label = "Transfer BlenderKit data"
-    bl_description = "Transfer blenderKit metadata from one object to another when fixing uploads with wrong parenting."
+    bl_description = "Transfer blenderKit metadata from one object to another when fixing uploads with wrong parenting"
     bl_options = {'REGISTER', 'UNDO'}
 
     def execute(self, context):
diff --git a/curve_tools/operators.py b/curve_tools/operators.py
index ea11aef3..2b1fe12d 100644
--- a/curve_tools/operators.py
+++ b/curve_tools/operators.py
@@ -142,7 +142,7 @@ class OperatorSegmentsInfo(bpy.types.Operator):
 class OperatorOriginToSpline0Start(bpy.types.Operator):
     bl_idname = "curvetools.operatororigintospline0start"
     bl_label = "OriginToSpline0Start"
-    bl_description = "Sets the origin of the active/selected curve to the starting point of the (first) spline. Nice for curve modifiers."
+    bl_description = "Sets the origin of the active/selected curve to the starting point of the (first) spline. Nice for curve modifiers"
 
 
     @classmethod
@@ -327,7 +327,7 @@ class OperatorSplinesSetResolution(bpy.types.Operator):
 class OperatorSplinesRemoveZeroSegment(bpy.types.Operator):
     bl_idname = "curvetools.operatorsplinesremovezerosegment"
     bl_label = "SplinesRemoveZeroSegment"
-    bl_description = "Removes splines with no segments -- they seem to creep up, sometimes.."
+    bl_description = "Removes splines with no segments -- they seem to creep up, sometimes"
 
 
     @classmethod
diff --git a/io_coat3D/__init__.py b/io_coat3D/__init__.py
index 0a40a6d0..db0c8e0c 100644
--- a/io_coat3D/__init__.py
+++ b/io_coat3D/__init__.py
@@ -1821,7 +1821,7 @@ class SceneCoat3D(PropertyGroup):
     )
     bake_resolution: EnumProperty(
         name="Bake Resolution",
-        description="Bake resolution.",
+        description="Bake resolution",
         items=(("res_64", "64 x 64", ""),
                ("res_128", "128 x 128", ""),
                ("res_256", "256 x 256", ""),
@@ -1835,7 +1835,7 @@ class SceneCoat3D(PropertyGroup):
     )
     folder_size: EnumProperty(
         name="Applink folder size",
-        description="Applink folder size.",
+        description="Applink folder size",
         items=(("10", "10", ""),
                ("100", "100", ""),
                ("500", "500", ""),
diff --git a/io_mesh_atomic/utility_gui.py b/io_mesh_atomic/utility_gui.py
index 295d1490..0c319c63 100644
--- a/io_mesh_atomic/utility_gui.py
+++ b/io_mesh_atomic/utility_gui.py
@@ -158,7 +158,7 @@ class PanelProperties(bpy.types.PropertyGroup):
         description="Distance of 2 objects in Angstrom")
 

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-extensions-cvs mailing list