1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:38:11 +00:00

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

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;
}