diff options
author | Ankit Meel <ankitjmeel@gmail.com> | 2021-02-12 08:01:55 +0300 |
---|---|---|
committer | Ankit Meel <ankitjmeel@gmail.com> | 2021-02-12 08:01:55 +0300 |
commit | a65fb173355bca667432eab461bbbd08519ce1ae (patch) | |
tree | 4627c1de708782217b339c091349c96f04011479 /blenderkit | |
parent | ca40d35086be8e527755e09a1fc88c970e93fb6b (diff) |
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
Diffstat (limited to 'blenderkit')
-rw-r--r-- | blenderkit/__init__.py | 20 | ||||
-rw-r--r-- | blenderkit/asset_inspector.py | 2 | ||||
-rw-r--r-- | blenderkit/bkit_oauth.py | 2 | ||||
-rw-r--r-- | blenderkit/download.py | 4 | ||||
-rw-r--r-- | blenderkit/overrides.py | 2 | ||||
-rw-r--r-- | blenderkit/ratings.py | 2 | ||||
-rw-r--r-- | blenderkit/ui.py | 2 |
7 files changed, 17 insertions, 17 deletions
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): |