@@ -4391,28 +4391,28 @@ ScriptEditor::ScriptEditor(WindowWrapper *p_wrapper) {
43914391
43924392 disk_changed = memnew (ConfirmationDialog);
43934393 {
4394- disk_changed->set_title (TTR (" Files have been modified on disk " ));
4394+ disk_changed->set_title (TTR (" Files have been modified outside Godot " ));
43954395
43964396 VBoxContainer *vbc = memnew (VBoxContainer);
43974397 disk_changed->add_child (vbc);
43984398
43994399 Label *files_are_newer_label = memnew (Label);
4400- files_are_newer_label->set_text (TTR (" The following files are newer on disk. " ));
4400+ files_are_newer_label->set_text (TTR (" The following files are newer on disk: " ));
44014401 vbc->add_child (files_are_newer_label);
44024402
4403- Label *what_action_label = memnew (Label);
4404- what_action_label->set_text (TTR (" What action should be taken?:" ));
4405- vbc->add_child (what_action_label);
4406-
44074403 disk_changed_list = memnew (Tree);
44084404 vbc->add_child (disk_changed_list);
44094405 disk_changed_list->set_auto_translate_mode (AUTO_TRANSLATE_MODE_DISABLED);
44104406 disk_changed_list->set_v_size_flags (SIZE_EXPAND_FILL);
44114407
4408+ Label *what_action_label = memnew (Label);
4409+ what_action_label->set_text (TTR (" What action should be taken?" ));
4410+ vbc->add_child (what_action_label);
4411+
44124412 disk_changed->connect (SceneStringName (confirmed), callable_mp (this , &ScriptEditor::reload_scripts).bind (false ));
4413- disk_changed->set_ok_button_text (TTR (" Discard local changes and reload " ));
4413+ disk_changed->set_ok_button_text (TTR (" Reload from disk " ));
44144414
4415- disk_changed->add_button (TTR (" Keep local changes and overwrite " ), !DisplayServer::get_singleton ()->get_swap_cancel_ok (), " resave" );
4415+ disk_changed->add_button (TTR (" Ignore external changes" ), !DisplayServer::get_singleton ()->get_swap_cancel_ok (), " resave" );
44164416 disk_changed->connect (" custom_action" , callable_mp (this , &ScriptEditor::_resave_scripts));
44174417 }
44184418
0 commit comments