Bug 1569723 - Show a 'Discard' dialog when canceling or leaving the edit/create mode in about:logins. r=fluent-reviewers,jaws,flod
authorTim Nguyen <ntim.bugs@gmail.com>
Thu, 01 Aug 2019 03:09:00 +0000
changeset 11848 5c6efadb9ecc9d0795fed8e2aa06334431c25cce
parent 11847 96041e5ac00909eb9ec75d9d829663be789fe7d4
child 11849 d993cb420dd16688a20ba24251d0eeb7e2cacedf
push id157
push userflodolo@mozilla.com
push dateFri, 02 Aug 2019 11:41:38 +0000
reviewersfluent-reviewers, jaws, flod
bugs1569723
Bug 1569723 - Show a 'Discard' dialog when canceling or leaving the edit/create mode in about:logins. r=fluent-reviewers,jaws,flod Differential Revision: https://phabricator.services.mozilla.com/D39984 X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: aa73bf741807e1284e446ad622cec2ade201c365 X-Channel-Repo: releases/mozilla-beta X-Channel-Revision: e5d98eda2ec359a0968c567076b1a625cb6c99ce X-Channel-Repo: releases/mozilla-release X-Channel-Revision: 2fb19d0466d2f61674c0af80813645cccd510593 X-Channel-Repo: releases/mozilla-esr68 X-Channel-Revision: a8da73ce90a4110e14caaba3e93d8a086b3a0669
browser/browser/aboutLogins.ftl
--- a/browser/browser/aboutLogins.ftl
+++ b/browser/browser/aboutLogins.ftl
@@ -98,12 +98,16 @@ enable-password-sync-preferences-button 
        *[other] Visit { -sync-brand-short-name } Preferences
     }
   .accesskey = V
 
 confirm-delete-dialog-title = Delete this login?
 confirm-delete-dialog-message = This action cannot be undone.
 confirm-delete-dialog-confirm-button = Delete
 
+confirm-discard-changes-dialog-title = Discard unsaved changes?
+confirm-discard-changes-dialog-message = All unsaved changes will be lost.
+confirm-discard-changes-dialog-confirm-button = Discard
+
 ## Breach Alert notification
 
 breach-alert-text = Passwords were leaked or stolen from this website since you last updated your login details. Change your password to protect your account.
 breach-alert-link = Learn more about this breach.