diff --git a/src/plugins/FindDupes.py b/src/plugins/FindDupes.py index 3e5894677..71297dedb 100644 --- a/src/plugins/FindDupes.py +++ b/src/plugins/FindDupes.py @@ -28,7 +28,6 @@ # #------------------------------------------------------------------------- import os -from gettext import gettext as _ #------------------------------------------------------------------------- # @@ -54,7 +53,7 @@ import GrampsDisplay import ManagedWindow from PluginUtils import Tool, register_tool from QuestionDialog import ErrorDialog, RunDatabaseRepair - +from TransUtils import sgettext as _ #------------------------------------------------------------------------- # # Constants @@ -66,6 +65,8 @@ _val2label = { 2.0 : _("High"), } +WIKI_HELP_PAGE = 'Gramps_3.0_Wiki_Manual_-_Tools' +WIKI_HELP_SEC = _('manual|Find_Possible_Duplicate_People...') #------------------------------------------------------------------------- # # @@ -146,7 +147,8 @@ class Merge(Tool.Tool,ManagedWindow.ManagedWindow): def on_help_clicked(self, obj): """Display the relevant portion of GRAMPS manual""" - GrampsDisplay.help() + + GrampsDisplay.help(WIKI_HELP_PAGE , WIKI_HELP_SEC) def ancestors_of(self,p1_id,id_list): if (not p1_id) or (p1_id in id_list): @@ -583,8 +585,8 @@ class ShowMatches(ManagedWindow.ManagedWindow): def on_help_clicked(self, obj): """Display the relevant portion of GRAMPS manual""" - GrampsDisplay.help() - + + GrampsDisplay.help(WIKI_HELP_PAGE , WIKI_HELP_SEC) def redraw(self): list = [] for p1key in self.map.keys():