diff --git a/ChangeLog b/ChangeLog index 8079748d6..b26d7754a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-02-18 Frederik De Richter + * src/Editors/_EditEvent.py + link to wiki manual + 2008-02-18 Raphael Ackermann * src/DataViews/EventView.py * src/DataViews/FamilyList.py @@ -39,7 +43,7 @@ * src/DataViews/RelationView.py * src/DataViews/PedigreeView.py * src/ReportBase/_ReportUtils.py - * src/Editors/_EditPerson.py + * * src/Editors/_EditMediaRef.py * src/DisplayTabs/_GalleryTab.py: also correct wrong popup menu * src/plugins/Summary.py diff --git a/src/Editors/_EditEvent.py b/src/Editors/_EditEvent.py index dc89f4747..40f38793c 100644 --- a/src/Editors/_EditEvent.py +++ b/src/Editors/_EditEvent.py @@ -25,8 +25,7 @@ # Python modules # #------------------------------------------------------------------------- -from gettext import gettext as _ - +from TransUtils import sgettext as _ #------------------------------------------------------------------------- # # GTK/Gnome modules @@ -57,7 +56,8 @@ from GrampsWidgets import (MonitoredEntry, PlaceEntry, PrivacyButton, # Constants # #------------------------------------------------------------------------- - +WIKI_HELP_PAGE = 'Gramps_3.0_Wiki_Manual_-_Entering_and_Editing_Data:_Detailed' +WIKI_HELP_SEC = _('manual|Editing_Information_About_Events') #------------------------------------------------------------------------- # # EditEvent class @@ -195,8 +195,8 @@ class EditEvent(EditPrimary): def help_clicked(self, obj): """Display the relevant portion of GRAMPS manual""" - GrampsDisplay.help('adv-ev') - + GrampsDisplay.help('adv-ev', webpage=WIKI_HELP_PAGE, + section=WIKI_HELP_SEC) def save(self, *obj): self.ok_button.set_sensitive(False) if self.object_is_empty():