I18n: Asset browser: do not translate non-editable tags
Asset tags are data and should not be translated, even if they are built-in data such as hair nodes. Issue reported by @SatoshiYamasaki in #43295. Pull Request: https://projects.blender.org/blender/blender/pulls/107907
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user