From 4b77d8520bfb1dbfb6d95b63e571b552e8be108c Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Sun, 9 Mar 2025 10:01:26 +0800 Subject: [PATCH] ScriptEditor: Disable auto translation of the filename label (cherry picked from commit f329439249b28e11d6ddab08fccc755a2535aadc) --- editor/plugins/script_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index d9bb5d79c5..45b921fad6 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -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);