mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
LibGUI: Rename Close to Discard in MessageBox::ask_about_unsaved_changes
This commit is contained in:
parent
a599f68cfe
commit
411251bae9
Notes:
sideshowbarker
2024-07-17 19:53:18 +09:00
Author: https://github.com/fluxth
Commit: 411251bae9
Pull-request: https://github.com/SerenityOS/serenity/pull/12242
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ int MessageBox::ask_about_unsaved_changes(Window* parent_window, StringView path
|
|||
box->set_icon(parent_window->icon());
|
||||
|
||||
box->m_yes_button->set_text(path.is_empty() ? "Save As..." : "Save");
|
||||
box->m_no_button->set_text("Close");
|
||||
box->m_no_button->set_text("Discard");
|
||||
box->m_cancel_button->set_text("Cancel");
|
||||
|
||||
return box->exec();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue