From 7e10e05583e6336f8c92a764781fe5a4e4df3808 Mon Sep 17 00:00:00 2001 From: Reef Turner Date: Mon, 13 Feb 2017 11:35:38 +0100 Subject: [PATCH 1/2] Change wording of delete profile confirmation fixes #6851 --- source/gui/configProfiles.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/gui/configProfiles.py b/source/gui/configProfiles.py index 05f0850d58e..c0a8aa506aa 100644 --- a/source/gui/configProfiles.py +++ b/source/gui/configProfiles.py @@ -171,11 +171,11 @@ def onDelete(self, evt): index = self.profileList.Selection if gui.messageBox( # Translators: The confirmation prompt displayed when the user requests to delete a configuration profile. - _("Are you sure you want to delete this profile? This cannot be undone."), + _("This profile will be permanently deleted, this action cannot be undone."), # Translators: The title of the confirmation dialog for deletion of a configuration profile. _("Confirm Deletion"), - wx.YES | wx.NO | wx.ICON_QUESTION, self - ) == wx.NO: + wx.OK | wx.CANCEL | wx.ICON_QUESTION, self + ) != wx.OK: return name = self.profileNames[index] try: From 15df76e91cce3e946fc81521e99055f7d21e2a25 Mon Sep 17 00:00:00 2001 From: Reef Turner Date: Tue, 14 Feb 2017 14:07:53 +0100 Subject: [PATCH 2/2] Review actions for #6884 --- source/gui/configProfiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/gui/configProfiles.py b/source/gui/configProfiles.py index c0a8aa506aa..18ea1d3e72a 100644 --- a/source/gui/configProfiles.py +++ b/source/gui/configProfiles.py @@ -171,7 +171,7 @@ def onDelete(self, evt): index = self.profileList.Selection if gui.messageBox( # Translators: The confirmation prompt displayed when the user requests to delete a configuration profile. - _("This profile will be permanently deleted, this action cannot be undone."), + _("This profile will be permanently deleted. This action cannot be undone."), # Translators: The title of the confirmation dialog for deletion of a configuration profile. _("Confirm Deletion"), wx.OK | wx.CANCEL | wx.ICON_QUESTION, self