From 9b017678ad4a41532c4fcf4b778ac46bad6be3e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Thu, 26 Feb 2009 09:23:40 +0000 Subject: [PATCH] 2748: Some URLs still point user to wiki manual version 3.0 svn: r12127 --- src/Bookmarks.py | 3 ++- src/DateEdit.py | 2 +- src/ScratchPad.py | 2 +- src/ViewManager.py | 6 +++--- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/Bookmarks.py b/src/Bookmarks.py index c755fdaa6..79de7d4ea 100644 --- a/src/Bookmarks.py +++ b/src/Bookmarks.py @@ -54,6 +54,7 @@ import GrampsDisplay from BasicUtils import name_displayer import ListModel import Utils +import const from TransUtils import sgettext as _ #------------------------------------------------------------------------- @@ -61,7 +62,7 @@ from TransUtils import sgettext as _ # Constants # #------------------------------------------------------------------------- -WIKI_HELP_PAGE = 'Gramps_3.0_Wiki_Manual_-_Navigation' +WIKI_HELP_PAGE = '%s_-_Navigation' % const.URL_MANUAL_PAGE WIKI_HELP_SEC = _('manual|Bookmarks') #------------------------------------------------------------------------- diff --git a/src/DateEdit.py b/src/DateEdit.py index 21ab5a728..ce2ea8ad3 100644 --- a/src/DateEdit.py +++ b/src/DateEdit.py @@ -98,7 +98,7 @@ CAL_TO_MONTHS_NAMES = { Date.CAL_ISLAMIC : DateHandler.displayer.islamic, Date.CAL_SWEDISH : DateHandler.displayer.swedish } -WIKI_HELP_PAGE = 'Gramps_3.0_Wiki_Manual_-_Entering_and_Editing_Data:_Detailed' +WIKI_HELP_PAGE = '%s_-_Entering_and_Editing_Data:_Detailed_-_part_1' % const.URL_MANUAL_PAGE WIKI_HELP_SEC = _('manual|Editing_Dates') #------------------------------------------------------------------------- # diff --git a/src/ScratchPad.py b/src/ScratchPad.py index 97ebbac6a..e494cba77 100644 --- a/src/ScratchPad.py +++ b/src/ScratchPad.py @@ -65,7 +65,7 @@ from DdTargets import DdTargets # Constants # #------------------------------------------------------------------------- -WIKI_HELP_PAGE = 'Gramps_3.0_Wiki_Manual_-_Navigation' +WIKI_HELP_PAGE = '%s_-_Navigation' % const.URL_MANUAL_PAGE WIKI_HELP_SEC = _('manual|Using_the_Clipboard') #------------------------------------------------------------------------- diff --git a/src/ViewManager.py b/src/ViewManager.py index e21a620b7..022079fa3 100644 --- a/src/ViewManager.py +++ b/src/ViewManager.py @@ -175,9 +175,9 @@ UIDEFAULT = ''' ''' -WIKI_HELP_PAGE_FAQ = 'Gramps_3.0_Wiki_Manual_-_FAQ' -WIKI_HELP_PAGE_KEY = 'Gramps_3.0_Wiki_Manual_-_Keybindings' -WIKI_HELP_PAGE_MAN = 'Gramps_3.0_Wiki_Manual' +WIKI_HELP_PAGE_FAQ = '%s_-_FAQ' % const.URL_MANUAL_PAGE +WIKI_HELP_PAGE_KEY = '%s_-_Keybindings' % const.URL_MANUAL_PAGE +WIKI_HELP_PAGE_MAN = '%s' % const.URL_MANUAL_PAGE #------------------------------------------------------------------------- # # ViewManager