Update a few broken help URLs

This commit is contained in:
Sam Manzi 2015-09-04 16:12:39 +10:00
parent 38c01a138b
commit f4745ff717
3 changed files with 6 additions and 5 deletions

View File

@ -95,8 +95,8 @@ CAL_TO_MONTHS_NAMES = {
Date.CAL_ISLAMIC : displayer.islamic, Date.CAL_ISLAMIC : displayer.islamic,
Date.CAL_SWEDISH : displayer.swedish } Date.CAL_SWEDISH : displayer.swedish }
WIKI_HELP_PAGE = '%s_-_Entering_and_Editing_Data:_Detailed_-_part_1' % URL_MANUAL_PAGE WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_1') % URL_MANUAL_PAGE
WIKI_HELP_SEC = _('manual|Editing_Dates') WIKI_HELP_SEC = _('manual|Editing_dates')
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #

View File

@ -59,8 +59,8 @@ from gramps.gen.utils.db import get_participant_from_event
# Constants # Constants
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
WIKI_HELP_PAGE = '%s_-_Entering_and_Editing_Data:_Detailed_-_part_2' % URL_MANUAL_PAGE WIKI_HELP_PAGE = '%s_-_Entering_and_editing_data:_detailed_-_part_2' % URL_MANUAL_PAGE
WIKI_HELP_SEC = _('manual|Editing_Information_About_Events') WIKI_HELP_SEC = _('manual|Editing_information_about_events')
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #

View File

@ -63,6 +63,7 @@ from gramps.gen.errors import ValidationError
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_3') % URL_MANUAL_PAGE WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_3') % URL_MANUAL_PAGE
class GeneralNameTab(GrampsTab): class GeneralNameTab(GrampsTab):
""" """
This class provides the tabpage of the general name tab This class provides the tabpage of the general name tab
@ -159,7 +160,7 @@ class EditName(EditSecondary):
self.define_cancel_button(self.top.get_object('button119')) self.define_cancel_button(self.top.get_object('button119'))
self.define_help_button(self.top.get_object('button131'), self.define_help_button(self.top.get_object('button131'),
WIKI_HELP_PAGE, WIKI_HELP_PAGE,
_('manpage section id|Name_Editor')) _('Name_Editor'))
self.define_ok_button(self.top.get_object('button118'), self.save) self.define_ok_button(self.top.get_object('button118'), self.save)
def _validate_call(self, widget, text): def _validate_call(self, widget, text):