edit_window: Let the save changes text make sense

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/576>
This commit is contained in:
Sophie Herold 2026-06-22 14:52:27 +02:00 • committed by Marge Bot
parent 6b4d057167
commit da60453335

View file

@ -508,9 +508,9 @@ impl LpEditWindow {
pub async fn ensure_saved(&self) -> glib::Propagation { pub async fn ensure_saved(&self) -> glib::Propagation {
if self.has_unsaved_changes() { if self.has_unsaved_changes() {
let dialog = adw::AlertDialog::new( let dialog = adw::AlertDialog::new(
Some(&gettext("Unsaved Changes")), Some(&gettext("Save Changes?")),
Some(&gettext( Some(&gettext(
"Changes which are not lost will be permanently lost", "There are unsaved image editing changes. Closing without saving will permanently lose these modifications.",
)), )),
); );