From 22e724366039ab104f14fbfdd63ca2c8be58d3fe Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Sun, 28 May 2017 17:54:46 +0100 Subject: [PATCH] 9229: Use the term "Delete" instead of "Remove" The term "Delete" should be used when an object is deleted from the database. The term "Remove" should be used when an object is removed from a list, but not actually deleted. --- gramps/gui/views/listview.py | 2 +- gramps/plugins/lib/libpersonview.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gramps/gui/views/listview.py b/gramps/gui/views/listview.py index 2409f7bec..b122cd1cc 100644 --- a/gramps/gui/views/listview.py +++ b/gramps/gui/views/listview.py @@ -209,7 +209,7 @@ class ListView(NavigationView): self.edit_action.add_actions([ ('Add', 'list-add', _("_Add..."), "Insert", self.ADD_MSG, self.add), - ('Remove', 'list-remove', _("_Remove"), "Delete", + ('Remove', 'list-remove', _("_Delete"), "Delete", self.DEL_MSG, self.remove), ('Merge', 'gramps-merge', _('_Merge...'), None, self.MERGE_MSG, self.merge), diff --git a/gramps/plugins/lib/libpersonview.py b/gramps/plugins/lib/libpersonview.py index 6bdd698f0..ecaf95e2c 100644 --- a/gramps/plugins/lib/libpersonview.py +++ b/gramps/plugins/lib/libpersonview.py @@ -123,7 +123,7 @@ class BasePersonView(ListView): ) ADD_MSG = _("Add a new person") EDIT_MSG = _("Edit the selected person") - DEL_MSG = _("Remove the selected person") + DEL_MSG = _("Delete the selected person") MERGE_MSG = _("Merge the selected persons") FILTER_TYPE = "Person" QR_CATEGORY = CATEGORY_QR_PERSON @@ -388,7 +388,7 @@ class BasePersonView(ListView): [ ('Add', 'list-add', _("_Add..."), "Insert", self.ADD_MSG, self.add), - ('Remove', 'list-remove', _("_Remove"), "Delete", + ('Remove', 'list-remove', _("_Delete"), "Delete", self.DEL_MSG, self.remove), ('Merge', 'gramps-merge', _('_Merge...'), None, self.MERGE_MSG, self.merge),