Merge pull request #50270 from akien-mga/filedialog-overwrite-capitalization
FileDialog: Fix capitalization for overwrite prompt
This commit is contained in:
commit
66aadc2981
|
@ -450,7 +450,7 @@ void EditorFileDialog::_action_pressed() {
|
|||
}
|
||||
|
||||
if (dir_access->file_exists(f) && !disable_overwrite_warning) {
|
||||
confirm_save->set_text(TTR("File Exists, Overwrite?"));
|
||||
confirm_save->set_text(TTR("File exists, overwrite?"));
|
||||
confirm_save->popup_centered(Size2(200, 80));
|
||||
} else {
|
||||
_save_to_recent();
|
||||
|
|
|
@ -265,7 +265,7 @@ void FileDialog::_action_pressed() {
|
|||
}
|
||||
|
||||
if (dir_access->file_exists(f)) {
|
||||
confirm_save->set_text(RTR("File Exists, Overwrite?"));
|
||||
confirm_save->set_text(RTR("File exists, overwrite?"));
|
||||
confirm_save->popup_centered(Size2(200, 80));
|
||||
} else {
|
||||
emit_signal("file_selected", f);
|
||||
|
|
Loading…
Reference in New Issue