[Bf-extensions-cvs] [2246d0d9] master: BlenderKit: fix more typos in right-click menu
Vilém Duha
noreply at git.blender.org
Wed Oct 2 16:11:36 CEST 2019
Commit: 2246d0d9831cb4cf32ebea03fbb3609385f699b6
Author: Vilém Duha
Date: Wed Oct 2 13:43:14 2019 +0200
Branches: master
https://developer.blender.org/rBA2246d0d9831cb4cf32ebea03fbb3609385f699b6
BlenderKit: fix more typos in right-click menu
===================================================================
M blenderkit/ui_panels.py
===================================================================
diff --git a/blenderkit/ui_panels.py b/blenderkit/ui_panels.py
index edd51308..3e238a71 100644
--- a/blenderkit/ui_panels.py
+++ b/blenderkit/ui_panels.py
@@ -737,19 +737,19 @@ class OBJECT_MT_blenderkit_asset_menu(bpy.types.Menu):
if a is not None:
# utils.p('author:', a)
if a.get('aboutMeUrl') is not None:
- op = layout.operator('wm.url_open', text="Open author's website")
+ op = layout.operator('wm.url_open', text="Open Author's Website")
op.url = a['aboutMeUrl']
- op = layout.operator('view3d.blenderkit_search', text="Show assets by author.")
+ op = layout.operator('view3d.blenderkit_search', text="Show Assets By Author")
op.keywords = ''
op.author_id = author_id
- op = layout.operator('view3d.blenderkit_search', text='Search similar')
+ op = layout.operator('view3d.blenderkit_search', text='Search Similar')
op.keywords = asset_data['name'] + ' ' + asset_data['description'] + ' ' + ' '.join(asset_data['tags'])
if bpy.context.active_object is not None and ui_props.asset_type == 'MODEL':
aob = bpy.context.active_object
- op = layout.operator('scene.blenderkit_download', text='Replace active ' + ui_props.asset_type.lower())
+ op = layout.operator('scene.blenderkit_download', text='Replace Active Models')
op.asset_type = ui_props.asset_type
op.asset_index = ui_props.active_index
op.model_location = aob.location
More information about the Bf-extensions-cvs
mailing list