From 361f693adcd694379ae92b57deb84a18ff0e53ad Mon Sep 17 00:00:00 2001 From: Zae Date: Thu, 28 Mar 2024 20:39:43 +0800 Subject: [PATCH] Editor: Disable auto-translation of titles in AssetLib. --- editor/plugins/asset_library_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugins/asset_library_editor_plugin.cpp b/editor/plugins/asset_library_editor_plugin.cpp index 13bdc366bf8..e742053a075 100644 --- a/editor/plugins/asset_library_editor_plugin.cpp +++ b/editor/plugins/asset_library_editor_plugin.cpp @@ -143,6 +143,7 @@ EditorAssetLibraryItem::EditorAssetLibraryItem(bool p_clickable) { vb->set_h_size_flags(Control::SIZE_EXPAND_FILL); title = memnew(LinkButton); + title->set_auto_translate_mode(AutoTranslateMode::AUTO_TRANSLATE_MODE_DISABLED); title->set_underline_mode(LinkButton::UNDERLINE_MODE_ON_HOVER); vb->add_child(title);