Merge pull request #89978 from zaevi/editor/disable_asset_title_autotr

Editor: Disable auto-translation of titles in `AssetLib`.
This commit is contained in:
Rémi Verschelde 2024-04-04 14:35:47 +02:00
commit 8c935c8410
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -144,6 +144,7 @@ EditorAssetLibraryItem::EditorAssetLibraryItem(bool p_clickable) {
vb->set_h_size_flags(Control::SIZE_EXPAND_FILL); vb->set_h_size_flags(Control::SIZE_EXPAND_FILL);
title = memnew(LinkButton); title = memnew(LinkButton);
title->set_auto_translate_mode(AutoTranslateMode::AUTO_TRANSLATE_MODE_DISABLED);
title->set_underline_mode(LinkButton::UNDERLINE_MODE_ON_HOVER); title->set_underline_mode(LinkButton::UNDERLINE_MODE_ON_HOVER);
vb->add_child(title); vb->add_child(title);