I18n: Asset browser: do not translate non-editable tags #107907

Merged
Bastien Montagne merged 1 commits from pioverfour/blender:dp_asset_browser_dont_translate_tags into main 2023-05-16 10:45:21 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -810,7 +810,7 @@ class ASSETBROWSER_UL_metadata_tags(UIList):
row = layout.row(align=True)
# Non-editable entries would show grayed-out, which is bad in this specific case, so switch to mere label.
if tag.is_property_readonly("name"):
row.label(text=tag.name, icon_value=icon)
row.label(text=tag.name, icon_value=icon, translate=False)
else:
row.prop(tag, "name", text="", emboss=False, icon_value=icon)