ScriptEditor: Disable auto translation of the filename label

This commit is contained in:
Haoyu Qiu 2025-03-09 10:01:26 +08:00
parent b5bdb88062
commit f329439249

View File

@ -4214,6 +4214,7 @@ ScriptEditor::ScriptEditor(WindowWrapper *p_wrapper) {
overview_vbox->add_child(buttons_hbox);
filename = memnew(Label);
filename->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
filename->set_clip_text(true);
filename->set_h_size_flags(SIZE_EXPAND_FILL);
filename->set_vertical_alignment(VERTICAL_ALIGNMENT_CENTER);