From 56df93bfc61896e4c0d67f9bb52ca089feb11eeb Mon Sep 17 00:00:00 2001 From: Damien Picard Date: Sat, 13 May 2023 13:58:52 +0200 Subject: [PATCH] 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 --- scripts/startup/bl_ui/space_filebrowser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/startup/bl_ui/space_filebrowser.py b/scripts/startup/bl_ui/space_filebrowser.py index df13bb26e0c..b9c3e6f7924 100644 --- a/scripts/startup/bl_ui/space_filebrowser.py +++ b/scripts/startup/bl_ui/space_filebrowser.py @@ -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)