Skip to content

Commit 507df7b

Browse files
committed
Merge pull request #103842 from timothyqiu/script-filename-no-i18n
ScriptEditor: Disable auto translation of the filename label
2 parents 0ca46bf + f329439 commit 507df7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

editor/plugins/script_editor_plugin.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4214,6 +4214,7 @@ ScriptEditor::ScriptEditor(WindowWrapper *p_wrapper) {
42144214
overview_vbox->add_child(buttons_hbox);
42154215

42164216
filename = memnew(Label);
4217+
filename->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
42174218
filename->set_clip_text(true);
42184219
filename->set_h_size_flags(SIZE_EXPAND_FILL);
42194220
filename->set_vertical_alignment(VERTICAL_ALIGNMENT_CENTER);

0 commit comments

Comments
 (0)