LibGUI: Tweak "Overwrite file?" dialog text to use one sentence per sentence

This commit is contained in:
Nico Weber 2021-01-26 10:06:25 -05:00 committed by Andreas Kling
parent ccfb3bef75
commit 09b881797f
Notes: sideshowbarker 2024-07-18 22:50:27 +09:00

View File

@ -301,7 +301,7 @@ void FilePicker::on_file_return()
LexicalPath path(String::formatted("{}/{}", m_model->root_path(), m_filename_textbox->text()));
if (FilePicker::file_exists(path.string()) && m_mode == Mode::Save) {
auto result = MessageBox::show(this, "File already exists, overwrite?", "Existing File", MessageBox::Type::Warning, MessageBox::InputType::OKCancel);
auto result = MessageBox::show(this, "File already exists. Overwrite?", "Existing File", MessageBox::Type::Warning, MessageBox::InputType::OKCancel);
if (result == MessageBox::ExecCancel)
return;
}