mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
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:
parent
7849857dfb
commit
56df93bfc6
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue