Browse Source

ScriptEditor: Disable auto translation of the filename label

Haoyu Qiu 5 months ago
parent
commit
f329439249
1 changed files with 1 additions and 0 deletions
  1. 1 0
      editor/plugins/script_editor_plugin.cpp

+ 1 - 0
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);