8888 'baseselector's add help urls only

This commit is contained in:
Sam Manzi 2015-09-29 16:29:02 +10:00
parent b4827dc9c1
commit a8198c3ef1
9 changed files with 102 additions and 0 deletions

View File

@ -39,6 +39,16 @@ _ = glocale.translation.gettext
#-------------------------------------------------------------------------
from ..views.treemodels import CitationTreeModel
from .baseselector import BaseSelector
from gramps.gui.display import display_help
from gramps.gen.const import URL_MANUAL_PAGE
#-------------------------------------------------------------------------
#
# Constants
#
#-------------------------------------------------------------------------
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_2') % URL_MANUAL_PAGE
WIKI_HELP_SEC = _('Select_Source_or_Citation_selector')
#-------------------------------------------------------------------------
#

View File

@ -34,6 +34,16 @@ _ = glocale.translation.gettext
#-------------------------------------------------------------------------
from ..views.treemodels import EventModel
from .baseselector import BaseSelector
from gramps.gui.display import display_help
from gramps.gen.const import URL_MANUAL_PAGE
#-------------------------------------------------------------------------
#
# Constants
#
#-------------------------------------------------------------------------
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_1') % URL_MANUAL_PAGE
WIKI_HELP_SEC = _('Select_Event_selector')
#-------------------------------------------------------------------------
#

View File

@ -34,6 +34,16 @@ _ = glocale.translation.gettext
#-------------------------------------------------------------------------
from ..views.treemodels import FamilyModel
from .baseselector import BaseSelector
from gramps.gui.display import display_help
from gramps.gen.const import URL_MANUAL_PAGE
#-------------------------------------------------------------------------
#
# Constants
#
#-------------------------------------------------------------------------
WIKI_HELP_PAGE = _('%s_-_Categories') % URL_MANUAL_PAGE
WIKI_HELP_SEC = _('Select_Family_selector')
#-------------------------------------------------------------------------
#

View File

@ -37,6 +37,16 @@ _ = glocale.translation.gettext
#-------------------------------------------------------------------------
from ..views.treemodels import NoteModel
from .baseselector import BaseSelector
from gramps.gui.display import display_help
from gramps.gen.const import URL_MANUAL_PAGE
#-------------------------------------------------------------------------
#
# Constants
#
#-------------------------------------------------------------------------
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_1') % URL_MANUAL_PAGE
WIKI_HELP_SEC = _('Select_Note_selector')
#-------------------------------------------------------------------------
#

View File

@ -48,6 +48,16 @@ from gramps.gen.utils.file import media_path_full
from ..thumbnails import get_thumbnail_image
from ..views.treemodels import MediaModel
from .baseselector import BaseSelector
from gramps.gui.display import display_help
from gramps.gen.const import URL_MANUAL_PAGE
#-------------------------------------------------------------------------
#
# Constants
#
#-------------------------------------------------------------------------
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_1') % URL_MANUAL_PAGE
WIKI_HELP_SEC = _('Select_Media_Object_selector')
#-------------------------------------------------------------------------
#

View File

@ -36,6 +36,28 @@ from gi.repository import Gtk
#-------------------------------------------------------------------------
from ..views.treemodels import PeopleBaseModel, PersonTreeModel
from .baseselector import BaseSelector
from gramps.gui.display import display_help
from gramps.gen.const import URL_MANUAL_PAGE
#-------------------------------------------------------------------------
#
# Constants
#
#-------------------------------------------------------------------------
# This dialog changes depending on the string pass for the title.
# https://gramps-project.org/wiki/index.php?title=Gramps_4.2_Wiki_Manual_-_Entering_and_editing_data:_detailed_-_part_1#Select_Child_selector
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_1') % URL_MANUAL_PAGE
WIKI_HELP_SEC = _('Select_Child_selector')
# https://gramps-project.org/wiki/index.php?title=Gramps_4.2_Wiki_Manual_-_Entering_and_editing_data:_detailed_-_part_1#Select_Father_selector
WIKI_HELP_PAGE2 = _('%s_-_Entering_and_editing_data:_detailed_-_part_1') % URL_MANUAL_PAGE
WIKI_HELP_SEC2 = _('Select_Father_selector')
# https://gramps-project.org/wiki/index.php?title=Gramps_4.2_Wiki_Manual_-_Entering_and_editing_data:_detailed_-_part_1#Select_Mother_selector
WIKI_HELP_PAGE3 = _('%s_-_Entering_and_editing_data:_detailed_-_part_1') % URL_MANUAL_PAGE
WIKI_HELP_SEC3 = _('Select_Mother_selector')
#-------------------------------------------------------------------------
#

View File

@ -35,6 +35,16 @@ _ = glocale.translation.gettext
#-------------------------------------------------------------------------
from ..views.treemodels.placemodel import PlaceTreeModel
from .baseselector import BaseSelector
from gramps.gui.display import display_help
from gramps.gen.const import URL_MANUAL_PAGE
#-------------------------------------------------------------------------
#
# Constants
#
#-------------------------------------------------------------------------
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_2') % URL_MANUAL_PAGE
WIKI_HELP_SEC = _('Select_Place_selector')
#-------------------------------------------------------------------------
#

View File

@ -34,6 +34,16 @@ _ = glocale.translation.gettext
#-------------------------------------------------------------------------
from ..views.treemodels import RepositoryModel
from .baseselector import BaseSelector
from gramps.gui.display import display_help
from gramps.gen.const import URL_MANUAL_PAGE
#-------------------------------------------------------------------------
#
# Constants
#
#-------------------------------------------------------------------------
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_2') % URL_MANUAL_PAGE
WIKI_HELP_SEC = _('Repositories')
#-------------------------------------------------------------------------
#

View File

@ -34,6 +34,16 @@ _ = glocale.translation.gettext
#-------------------------------------------------------------------------
from ..views.treemodels import SourceModel
from .baseselector import BaseSelector
from gramps.gui.display import display_help
from gramps.gen.const import URL_MANUAL_PAGE
#-------------------------------------------------------------------------
#
# Constants
#
#-------------------------------------------------------------------------
WIKI_HELP_PAGE = _('%s_-_xxx') % URL_MANUAL_PAGE
WIKI_HELP_SEC = _('xxxx')
#-------------------------------------------------------------------------
#