8888: Gramps Help button User Manual wiki-links
This commit is contained in:
parent
2fc9459aad
commit
dddd5b5db2
@ -59,6 +59,10 @@ URL_BUGHOME = "http://bugs.gramps-project.org"
|
||||
URL_BUGTRACKER = "http://bugs.gramps-project.org/bug_report_page.php"
|
||||
URL_WIKISTRING = "http://gramps-project.org/wiki/index.php?title="
|
||||
URL_MANUAL_PAGE = "Gramps_%s_Wiki_Manual" % major_version
|
||||
URL_MANUAL_DATA = '%s_-_Entering_and_editing_data:_detailed' % URL_MANUAL_PAGE
|
||||
URL_MANUAL_SECT1 = '%s_-_part_1' % URL_MANUAL_DATA
|
||||
URL_MANUAL_SECT2 = '%s_-_part_2' % URL_MANUAL_DATA
|
||||
URL_MANUAL_SECT3 = '%s_-_part_3' % URL_MANUAL_DATA
|
||||
WIKI_FAQ = "FAQ"
|
||||
WIKI_KEYBINDINGS = "Gramps_%s_Wiki_Manual_-_Keybindings" % major_version
|
||||
WIKI_EXTRAPLUGINS= "%s_Addons" % major_version
|
||||
|
@ -34,9 +34,6 @@ import os
|
||||
# internationalization
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
from gramps.gen.constfunc import conv_to_unicode
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -50,6 +47,9 @@ from gi.repository import GdkPixbuf
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.constfunc import conv_to_unicode
|
||||
from gramps.gen.const import ICON, THUMBSCALE, USER_HOME
|
||||
from gramps.gen.config import config
|
||||
from gramps.gen.utils.file import (media_path_full, media_path, relative_path,
|
||||
@ -60,15 +60,15 @@ from ..display import display_help
|
||||
from ..managedwindow import ManagedWindow
|
||||
from ..dialog import ErrorDialog, WarningDialog
|
||||
from ..glade import Glade
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT2
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Constants
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
WIKI_HELP_PAGE = '%s_-_Entering_and_editing_data:_detailed_-_part_2' % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('Select_a_media_object_selector')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT2
|
||||
WIKI_HELP_SEC = _('manual|Select_a_media_object_selector')
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -31,8 +31,6 @@ mechanism for the user to edit address information.
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -46,12 +44,14 @@ from gi.repository import Gtk
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from .editsecondary import EditSecondary
|
||||
from gramps.gen.lib import NoteType
|
||||
from ..glade import Glade
|
||||
from .displaytabs import CitationEmbedList, NoteTab
|
||||
from ..widgets import MonitoredDate, MonitoredEntry, PrivacyButton
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT3
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -59,8 +59,8 @@ from gramps.gen.const import URL_MANUAL_PAGE
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_3') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('Address_Editor_dialog')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT3
|
||||
WIKI_HELP_SEC = _('manual|Address_Editor_dialog')
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -30,8 +30,6 @@ mechanism for the user to edit attribute information.
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -45,12 +43,14 @@ from gi.repository import Gtk
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from .editsecondary import EditSecondary
|
||||
from gramps.gen.lib import NoteType
|
||||
from ..glade import Glade
|
||||
from .displaytabs import CitationEmbedList, NoteTab
|
||||
from ..widgets import MonitoredEntry, PrivacyButton, MonitoredDataType
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT3
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -58,8 +58,8 @@ from gramps.gen.const import URL_MANUAL_PAGE
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_3') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('Attribute_Editor_dialog')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT3
|
||||
WIKI_HELP_SEC = _('manual|Attribute_Editor_dialog')
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -30,8 +30,6 @@ mechanism for the user to edit address information.
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
import pickle
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
@ -47,6 +45,8 @@ from gi.repository import Gtk
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from .editsecondary import EditSecondary
|
||||
from gramps.gen.lib import NoteType
|
||||
from gramps.gen.errors import WindowActiveError
|
||||
@ -56,7 +56,7 @@ from gi.repository import Gdk
|
||||
from .displaytabs import CitationEmbedList, NoteTab
|
||||
from ..widgets import MonitoredDataType, PrivacyButton
|
||||
from gramps.gen.display.name import displayer as name_displayer
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT1
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -64,8 +64,8 @@ from gramps.gen.const import URL_MANUAL_PAGE
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_1') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('Child_Reference_Editor')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT1
|
||||
WIKI_HELP_SEC = _('manual|Child_Reference_Editor')
|
||||
|
||||
_RETURN = Gdk.keyval_from_name("Return")
|
||||
_KP_ENTER = Gdk.keyval_from_name("KP_Enter")
|
||||
|
@ -30,8 +30,6 @@ EditCitation class for Gramps.
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
import logging
|
||||
LOG = logging.getLogger(".citation")
|
||||
|
||||
@ -47,6 +45,8 @@ from gi.repository import Gtk
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.lib import Citation, NoteType, Source
|
||||
from gramps.gen.db import DbTxn
|
||||
from .editprimary import EditPrimary
|
||||
@ -57,7 +57,7 @@ from ..widgets import (MonitoredEntry, PrivacyButton, MonitoredMenu,
|
||||
MonitoredDate, MonitoredTagList)
|
||||
from ..dialog import ErrorDialog
|
||||
from ..glade import Glade
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT2
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -65,8 +65,8 @@ from gramps.gen.const import URL_MANUAL_PAGE
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_2') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('New_Citation_dialog')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT2
|
||||
WIKI_HELP_SEC = _('manual|New_Citation_dialog')
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -62,7 +62,7 @@ from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.lib.date import Date, DateError, calendar_has_fixed_newyear
|
||||
from gramps.gen.datehandler import displayer
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT1
|
||||
from ..display import display_help
|
||||
from ..managedwindow import ManagedWindow
|
||||
from ..glade import Glade
|
||||
@ -95,7 +95,7 @@ CAL_TO_MONTHS_NAMES = {
|
||||
Date.CAL_ISLAMIC : displayer.islamic,
|
||||
Date.CAL_SWEDISH : displayer.swedish }
|
||||
|
||||
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_1') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT1
|
||||
WIKI_HELP_SEC = _('manual|Editing_dates')
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
@ -25,8 +25,6 @@
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -40,7 +38,9 @@ from gi.repository import Gtk
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.const import URL_MANUAL_SECT2
|
||||
from gramps.gen.lib import Event, NoteType
|
||||
from gramps.gen.db import DbTxn
|
||||
from ..display import display_help
|
||||
@ -60,7 +60,7 @@ from gramps.gen.utils.db import get_participant_from_event
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
WIKI_HELP_PAGE = '%s_-_Entering_and_editing_data:_detailed_-_part_2' % URL_MANUAL_PAGE
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT2
|
||||
WIKI_HELP_SEC = _('manual|New_Event_dialog')
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
@ -33,7 +33,7 @@
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.lib import EventType, NoteType
|
||||
from gramps.gen.db import DbTxn
|
||||
from ..glade import Glade
|
||||
@ -45,7 +45,7 @@ from .editreference import RefTab, EditReference
|
||||
|
||||
from .objectentries import PlaceEntry
|
||||
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT2
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -53,8 +53,8 @@ from gramps.gen.const import URL_MANUAL_PAGE
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_2') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('Event_Reference_Editor_dialog')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT2
|
||||
WIKI_HELP_SEC = _('manual|Event_Reference_Editor_dialog')
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -42,8 +42,6 @@ log = logging.getLogger(".")
|
||||
# GTK/Gnome modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
from ..ddtargets import DdTargets
|
||||
from gi.repository import Gtk
|
||||
from gi.repository import Gdk
|
||||
@ -56,6 +54,8 @@ from gi.repository import GLib
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.config import config
|
||||
from gramps.gen.display.name import displayer as name_displayer
|
||||
from gramps.gen.lib import ChildRef, Family, Name, NoteType, Person, Surname
|
||||
@ -80,7 +80,7 @@ from gramps.gen.utils.db import (get_birth_or_fallback, get_death_or_fallback,
|
||||
get_marriage_or_fallback, preset_name, family_name)
|
||||
from ..selectors import SelectorFactory
|
||||
from gramps.gen.utils.id import create_id
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT1
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -88,8 +88,8 @@ from gramps.gen.const import URL_MANUAL_PAGE
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_1') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('Family_Editor_dialog')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT1
|
||||
WIKI_HELP_SEC = _('manual|Family_Editor_dialog')
|
||||
|
||||
SelectPerson = SelectorFactory('Person')
|
||||
|
||||
|
@ -30,8 +30,6 @@ mechanism for the user to edit personal LDS information.
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -45,6 +43,8 @@ from gi.repository import Gtk
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.lib import LdsOrd, NoteType
|
||||
from gramps.gen.display.name import displayer as name_displayer
|
||||
from gramps.gen.utils.lds import TEMPLES
|
||||
@ -55,7 +55,7 @@ from .displaytabs import CitationEmbedList,NoteTab
|
||||
from ..widgets import (PrivacyButton, MonitoredDate,
|
||||
MonitoredMenu, MonitoredStrMenu)
|
||||
from ..selectors import SelectorFactory
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT1
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -63,8 +63,8 @@ from gramps.gen.const import URL_MANUAL_PAGE
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_1') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('LDS_Ordinance_Editor')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT1
|
||||
WIKI_HELP_SEC = _('manual|LDS_Ordinance_Editor')
|
||||
|
||||
_DATA_MAP = {
|
||||
LdsOrd.BAPTISM : [
|
||||
|
@ -32,12 +32,12 @@ import re
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
_ = glocale.translation.sgettext
|
||||
from ..managedwindow import ManagedWindow
|
||||
from ..display import display_help
|
||||
from ..glade import Glade
|
||||
from gramps.gen.simple import SimpleAccess
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT2
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -45,8 +45,8 @@ from gramps.gen.const import URL_MANUAL_PAGE
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_2') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('Link_Editor')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT2
|
||||
WIKI_HELP_SEC = _('manual|Link_Editor')
|
||||
|
||||
WEB, EVENT, FAMILY, MEDIA, NOTE, PERSON, PLACE, REPOSITORY, SOURCE = list(range(9))
|
||||
OBJECT_MAP = {
|
||||
|
@ -41,7 +41,7 @@ from gi.repository import Gdk
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.constfunc import conv_to_unicode
|
||||
from ..utils import open_file_with_default_application
|
||||
from gramps.gen.lib import MediaObject, NoteType
|
||||
@ -57,7 +57,7 @@ from .displaytabs import (CitationEmbedList, MediaAttrEmbedList, NoteTab,
|
||||
from .addmedia import AddMediaObject
|
||||
from ..dialog import ErrorDialog
|
||||
from ..glade import Glade
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT2
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -65,8 +65,8 @@ from gramps.gen.const import URL_MANUAL_PAGE
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_2') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('New_Media_dialog')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT2
|
||||
WIKI_HELP_SEC = _('manual|New_Media_dialog')
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -60,7 +60,7 @@ from ..widgets import (MonitoredSpinButton, MonitoredEntry, PrivacyButton,
|
||||
MonitoredDate, MonitoredTagList, SelectionWidget, Region)
|
||||
from .editreference import RefTab, EditReference
|
||||
from .addmedia import AddMediaObject
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT2
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -68,8 +68,8 @@ from gramps.gen.const import URL_MANUAL_PAGE
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_2') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('Media_Reference_Editor_dialog')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT2
|
||||
WIKI_HELP_SEC = _('manual|Media_Reference_Editor_dialog')
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -28,8 +28,6 @@
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gi.repository import GObject
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
from copy import copy
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
@ -44,7 +42,9 @@ from gi.repository import Gtk
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.const import URL_MANUAL_SECT3
|
||||
from gramps.gen.config import config
|
||||
from gramps.gen.display.name import displayer as name_displayer
|
||||
from .editsecondary import EditSecondary
|
||||
@ -61,7 +61,7 @@ from gramps.gen.errors import ValidationError
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_3') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT3
|
||||
|
||||
|
||||
class GeneralNameTab(GrampsTab):
|
||||
@ -160,7 +160,7 @@ class EditName(EditSecondary):
|
||||
self.define_cancel_button(self.top.get_object('button119'))
|
||||
self.define_help_button(self.top.get_object('button131'),
|
||||
WIKI_HELP_PAGE,
|
||||
_('Name_Editor'))
|
||||
_('manual|Name_Editor'))
|
||||
self.define_ok_button(self.top.get_object('button118'), self.save)
|
||||
|
||||
def _validate_call(self, widget, text):
|
||||
|
@ -27,8 +27,6 @@
|
||||
# Python classes
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
import logging
|
||||
_LOG = logging.getLogger(".gui.editors.EditNote")
|
||||
|
||||
@ -46,6 +44,8 @@ from gi.repository import Pango
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.config import config
|
||||
from .editprimary import EditPrimary
|
||||
from .displaytabs import GrampsTab, NoteBackRefList
|
||||
@ -55,7 +55,7 @@ from gramps.gen.lib import Note
|
||||
from gramps.gen.db import DbTxn
|
||||
from ..dialog import ErrorDialog
|
||||
from ..glade import Glade
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT2
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -63,8 +63,8 @@ from gramps.gen.const import URL_MANUAL_PAGE
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_2') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('Editing_information_about_notes')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT2
|
||||
WIKI_HELP_SEC = _('manual|Editing_information_about_notes')
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -32,8 +32,6 @@ to edit information about a particular Person.
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from copy import copy
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
import pickle
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
@ -50,6 +48,8 @@ from gi.repository import Pango
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.utils.file import media_path_full
|
||||
from ..thumbnails import get_thumbnail_image
|
||||
from ..utils import is_right_click, open_file_with_default_application
|
||||
@ -75,7 +75,7 @@ from .displaytabs import (PersonEventEmbedList, NameEmbedList, CitationEmbedList
|
||||
WebEmbedList, PersonRefEmbedList, LdsEmbedList,
|
||||
PersonBackRefList, SurnameTab)
|
||||
from gramps.gen.plug import CATEGORY_QR_PERSON
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT1
|
||||
from gramps.gen.utils.id import create_id
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
@ -84,7 +84,7 @@ from gramps.gen.utils.id import create_id
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_1') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT1
|
||||
|
||||
_select_gender = ((True, False, False),
|
||||
(False, True, False),
|
||||
@ -243,7 +243,7 @@ class EditPerson(EditPrimary):
|
||||
self.define_ok_button(self.top.get_object("ok"), self.save)
|
||||
self.define_help_button(self.top.get_object("button134"),
|
||||
WIKI_HELP_PAGE,
|
||||
_('manpage section id|Editing_information_about_people'))
|
||||
_('manual|Editing_information_about_people'))
|
||||
|
||||
self.given.connect("focus_out_event", self._given_focus_out_event)
|
||||
self.top.get_object("editnamebtn").connect("clicked",
|
||||
|
@ -30,8 +30,6 @@ mechanism for the user to edit address information.
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
|
||||
import pickle
|
||||
|
||||
@ -47,6 +45,8 @@ from gi.repository import Gtk
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.display.name import displayer as name_displayer
|
||||
from .editsecondary import EditSecondary
|
||||
from gramps.gen.lib import NoteType
|
||||
@ -56,7 +56,7 @@ from .displaytabs import CitationEmbedList, NoteTab
|
||||
from ..glade import Glade
|
||||
from ..ddtargets import DdTargets
|
||||
from gi.repository import Gdk
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT1
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -64,8 +64,8 @@ from gramps.gen.const import URL_MANUAL_PAGE
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_1') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('Person_Reference_Editor')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT1
|
||||
WIKI_HELP_SEC = _('manual|Person_Reference_Editor')
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -26,8 +26,6 @@
|
||||
# python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
import logging
|
||||
log = logging.getLogger(".")
|
||||
|
||||
@ -43,6 +41,8 @@ from gi.repository import Gtk
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.lib import NoteType, Place
|
||||
from gramps.gen.db import DbTxn
|
||||
from .editprimary import EditPrimary
|
||||
@ -57,7 +57,7 @@ from gramps.gen.display.place import displayer as place_displayer
|
||||
from gramps.gen.config import config
|
||||
from ..dialog import ErrorDialog
|
||||
from ..glade import Glade
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT2
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -65,8 +65,8 @@ from gramps.gen.const import URL_MANUAL_PAGE
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
WIKI_HELP_PAGE = '%s_-_Entering_and_editing_data:_detailed_-_part_2' % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('Place_Editor_dialog')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT2
|
||||
WIKI_HELP_SEC = _('manual|Place_Editor_dialog')
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -37,16 +37,16 @@ from ..widgets import MonitoredDate, MonitoredEntry
|
||||
from ..dialog import ErrorDialog
|
||||
from gramps.gen.errors import ValidationError
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.const import URL_MANUAL_SECT2
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Constants
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_2') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('Place_Name_Editor_dialog')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT2
|
||||
WIKI_HELP_SEC = _('manual|Place_Name_Editor_dialog')
|
||||
|
||||
ISO_CODES = (
|
||||
'aa', 'ab', 'ae', 'af', 'ak', 'am', 'an', 'ar', 'as', 'av', 'ay', 'az',
|
||||
|
@ -24,8 +24,6 @@
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -39,6 +37,8 @@ from gi.repository import Gtk
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.lib import NoteType, Repository
|
||||
from gramps.gen.db import DbTxn
|
||||
|
||||
@ -48,7 +48,7 @@ from .displaytabs import AddrEmbedList, WebEmbedList, NoteTab, SourceBackRefList
|
||||
from .editprimary import EditPrimary
|
||||
from ..dialog import ErrorDialog
|
||||
from ..glade import Glade
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT2
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -56,8 +56,8 @@ from gramps.gen.const import URL_MANUAL_PAGE
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
WIKI_HELP_PAGE = '%s_-_Entering_and_editing_data:_detailed_-_part_2' % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('New_Repositories_dialog')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT2
|
||||
WIKI_HELP_SEC = _('manual|New_Repositories_dialog')
|
||||
|
||||
class EditRepository(EditPrimary):
|
||||
|
||||
|
@ -25,8 +25,6 @@
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
import logging
|
||||
log = logging.getLogger(".")
|
||||
LOG = logging.getLogger(".citation")
|
||||
@ -43,6 +41,8 @@ from gi.repository import Gtk
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.lib import NoteType, Source
|
||||
from gramps.gen.db import DbTxn
|
||||
from .editprimary import EditPrimary
|
||||
@ -52,7 +52,7 @@ from .displaytabs import (NoteTab, GalleryTab, SrcAttrEmbedList,
|
||||
from ..widgets import MonitoredEntry, PrivacyButton, MonitoredTagList
|
||||
from ..dialog import ErrorDialog
|
||||
from ..glade import Glade
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT2
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -60,8 +60,8 @@ from gramps.gen.const import URL_MANUAL_PAGE
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
WIKI_HELP_PAGE = '%s_-_Entering_and_editing_data:_detailed_-_part_2' % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('New_Source_dialog')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT2
|
||||
WIKI_HELP_SEC = _('manual|New_Source_dialog')
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -24,18 +24,18 @@
|
||||
# python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from .editsecondary import EditSecondary
|
||||
from ..widgets import MonitoredEntry, PrivacyButton, MonitoredDataType
|
||||
from ..glade import Glade
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT1
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -43,8 +43,8 @@ from gramps.gen.const import URL_MANUAL_PAGE
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_1') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('Internet_Address_Editor')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT1
|
||||
WIKI_HELP_SEC = _('manual|Internet_Address_Editor')
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -30,7 +30,7 @@ Provide merge capabilities for citations.
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT3
|
||||
from ..display import display_help
|
||||
from ..managedwindow import ManagedWindow
|
||||
from gramps.gen.datehandler import get_date
|
||||
@ -42,8 +42,7 @@ from gramps.gen.merge import MergeCitationQuery
|
||||
# Gramps constants
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
WIKI_HELP_PAGE = '%s_-_Entering_and_Editing_Data:_Detailed_-_part_3' % \
|
||||
URL_MANUAL_PAGE
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT3
|
||||
WIKI_HELP_SEC = _('manual|Merge_Citations')
|
||||
_GLADE_FILE = 'mergecitation.glade'
|
||||
|
||||
|
@ -29,7 +29,7 @@ Provide merge capabilities for events.
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT3
|
||||
from ..display import display_help
|
||||
from ..managedwindow import ManagedWindow
|
||||
from gramps.gen.datehandler import get_date
|
||||
@ -41,8 +41,7 @@ from gramps.gen.merge import MergeEventQuery
|
||||
# Gramps constants
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
WIKI_HELP_PAGE = '%s_-_Entering_and_Editing_Data:_Detailed_-_part_3' % \
|
||||
URL_MANUAL_PAGE
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT3
|
||||
WIKI_HELP_SEC = _('manual|Merge_Events')
|
||||
_GLADE_FILE = 'mergeevent.glade'
|
||||
|
||||
|
@ -30,7 +30,7 @@ Provide merge capabilities for families.
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.display.name import displayer as name_displayer
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT3
|
||||
from ..display import display_help
|
||||
from gramps.gen.errors import MergeError
|
||||
from ..dialog import ErrorDialog
|
||||
@ -42,8 +42,7 @@ from gramps.gen.merge import MergePersonQuery, MergeFamilyQuery
|
||||
# Gramps constants
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
WIKI_HELP_PAGE = '%s_-_Entering_and_Editing_Data:_Detailed_-_part_3' % \
|
||||
URL_MANUAL_PAGE
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT3
|
||||
WIKI_HELP_SEC = _('manual|Merge_Families')
|
||||
_GLADE_FILE = 'mergefamily.glade'
|
||||
|
||||
|
@ -29,7 +29,7 @@ Provide merge capabilities for media objects.
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT3
|
||||
from ..display import display_help
|
||||
from ..managedwindow import ManagedWindow
|
||||
from gramps.gen.datehandler import get_date
|
||||
@ -40,8 +40,7 @@ from gramps.gen.merge import MergeMediaQuery
|
||||
# Gramps constants
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
WIKI_HELP_PAGE = '%s_-_Entering_and_Editing_Data:_Detailed_-_part_3' % \
|
||||
URL_MANUAL_PAGE
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT3
|
||||
WIKI_HELP_SEC = _('manual|Merge_Media_Objects')
|
||||
_GLADE_FILE = 'mergemedia.glade'
|
||||
|
||||
|
@ -29,7 +29,7 @@ Provide merge capabilities for notes.
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT3
|
||||
from ..display import display_help
|
||||
from ..managedwindow import ManagedWindow
|
||||
from ..widgets.styledtextbuffer import StyledTextBuffer
|
||||
@ -40,8 +40,7 @@ from gramps.gen.merge import MergeNoteQuery
|
||||
# Gramps constants
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
WIKI_HELP_PAGE = '%s_-_Entering_and_Editing_Data:_Detailed_-_part_3' % \
|
||||
URL_MANUAL_PAGE
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT3
|
||||
WIKI_HELP_SEC = _('manual|Merge_Notes')
|
||||
_GLADE_FILE = 'mergenote.glade'
|
||||
|
||||
|
@ -41,7 +41,7 @@ _ = glocale.translation.sgettext
|
||||
from gramps.gen.plug.report import utils as ReportUtils
|
||||
from gramps.gen.display.name import displayer as name_displayer
|
||||
from gramps.gen.display.place import displayer as place_displayer
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT3
|
||||
from ..display import display_help
|
||||
from gramps.gen.datehandler import get_date
|
||||
from gramps.gen.errors import MergeError
|
||||
@ -54,8 +54,7 @@ from gramps.gen.merge import MergePersonQuery
|
||||
# Gramps constants
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
WIKI_HELP_PAGE = "%s_-_Entering_and_Editing_Data:_Detailed_-_part_3" % \
|
||||
URL_MANUAL_PAGE
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT3
|
||||
WIKI_HELP_SEC = _("manual|Merge_People")
|
||||
_GLADE_FILE = "mergeperson.glade"
|
||||
|
||||
|
@ -37,7 +37,7 @@ from gi.repository import Gtk
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT3
|
||||
from ..display import display_help
|
||||
from ..managedwindow import ManagedWindow
|
||||
from gramps.gen.merge import MergePlaceQuery
|
||||
@ -49,8 +49,7 @@ from gramps.gen.config import config
|
||||
# Gramps constants
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
WIKI_HELP_PAGE = '%s_-_Entering_and_Editing_Data:_Detailed_-_part_3' % \
|
||||
URL_MANUAL_PAGE
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT3
|
||||
WIKI_HELP_SEC = _('manual|Merge_Places')
|
||||
_GLADE_FILE = 'mergeplace.glade'
|
||||
PLACE_NAME = _('place|Name:')
|
||||
|
@ -30,7 +30,7 @@ Provide merge capabilities for repositories.
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT3
|
||||
from ..display import display_help
|
||||
from ..managedwindow import ManagedWindow
|
||||
from gramps.gen.merge import MergeRepositoryQuery
|
||||
@ -40,8 +40,7 @@ from gramps.gen.merge import MergeRepositoryQuery
|
||||
# Gramps constants
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
WIKI_HELP_PAGE = '%s_-_Entering_and_Editing_Data:_Detailed_-_part_3' % \
|
||||
URL_MANUAL_PAGE
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT3
|
||||
WIKI_HELP_SEC = _('manual|Merge_Repositories')
|
||||
_GLADE_FILE = 'mergerepository.glade'
|
||||
REPO_NAME = _('repo|Name:')
|
||||
|
@ -31,7 +31,7 @@ Provide merge capabilities for sources.
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT3
|
||||
from ..display import display_help
|
||||
from ..managedwindow import ManagedWindow
|
||||
from gramps.gen.merge import MergeSourceQuery
|
||||
@ -41,8 +41,7 @@ from gramps.gen.merge import MergeSourceQuery
|
||||
# Gramps constants
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
WIKI_HELP_PAGE = '%s_-_Entering_and_Editing_Data:_Detailed_-_part_3' % \
|
||||
URL_MANUAL_PAGE
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT3
|
||||
WIKI_HELP_SEC = _('manual|Merge_Sources')
|
||||
_GLADE_FILE = 'mergesource.glade'
|
||||
|
||||
|
@ -29,26 +29,26 @@ SelectCitation class for GRAMPS.
|
||||
# internationalization
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from ..views.treemodels import CitationTreeModel
|
||||
from .baseselector import BaseSelector
|
||||
from gramps.gui.display import display_help
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT2
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Constants
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_2') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('Select_Source_or_Citation_selector')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT2
|
||||
WIKI_HELP_SEC = _('manual|Select_Source_or_Citation_selector')
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -24,26 +24,26 @@
|
||||
# internationalization
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from ..views.treemodels import EventModel
|
||||
from .baseselector import BaseSelector
|
||||
from gramps.gui.display import display_help
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT1
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Constants
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_1') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('Select_Event_selector')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT1
|
||||
WIKI_HELP_SEC = _('manual|Select_Event_selector')
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -24,14 +24,14 @@
|
||||
# internationalization
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from ..views.treemodels import FamilyModel
|
||||
from .baseselector import BaseSelector
|
||||
from gramps.gui.display import display_help
|
||||
@ -42,8 +42,8 @@ from gramps.gen.const import URL_MANUAL_PAGE
|
||||
# Constants
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
WIKI_HELP_PAGE = _('%s_-_Categories') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('Select_Family_selector')
|
||||
WIKI_HELP_PAGE = '%s_-_Categories' % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('manual|Select_Family_selector')
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -27,26 +27,26 @@
|
||||
# Python Modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# GRAMPS Modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from ..views.treemodels import NoteModel
|
||||
from .baseselector import BaseSelector
|
||||
from gramps.gui.display import display_help
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT1
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Constants
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_1') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('Select_Note_selector')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT1
|
||||
WIKI_HELP_SEC = _('manual|Select_Note_selector')
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -28,8 +28,6 @@
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import gc
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -43,21 +41,23 @@ from gi.repository import Gtk
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from gramps.gen.const import THUMBSCALE
|
||||
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
|
||||
from gramps.gen.const import URL_MANUAL_SECT1
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Constants
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_1') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('Select_Media_Object_selector')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT1
|
||||
WIKI_HELP_SEC = _('manual|Select_Media_Object_selector')
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -24,8 +24,6 @@
|
||||
# internationalization
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
from gi.repository import Gdk
|
||||
from gi.repository import Gtk
|
||||
|
||||
@ -34,10 +32,12 @@ from gi.repository import Gtk
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
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
|
||||
from gramps.gen.const import URL_MANUAL_SECT1
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -46,18 +46,16 @@ from gramps.gen.const import URL_MANUAL_PAGE
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
# 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')
|
||||
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT1
|
||||
WIKI_HELP_SEC = _('manual|Select_Child_selector')
|
||||
WIKI_HELP_PAGE2 = URL_MANUAL_SECT1
|
||||
WIKI_HELP_SEC2 = _('manual|Select_Father_selector')
|
||||
WIKI_HELP_PAGE3 = URL_MANUAL_SECT1
|
||||
WIKI_HELP_SEC3 = _('manual|Select_Mother_selector')
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -25,26 +25,26 @@
|
||||
# internationalization
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
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
|
||||
from gramps.gen.const import URL_MANUAL_SECT2
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Constants
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_2') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('Select_Place_selector')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT2
|
||||
WIKI_HELP_SEC = _('manual|Select_Place_selector')
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -24,26 +24,26 @@
|
||||
# internationalization
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from ..views.treemodels import RepositoryModel
|
||||
from .baseselector import BaseSelector
|
||||
from gramps.gui.display import display_help
|
||||
from gramps.gen.const import URL_MANUAL_PAGE
|
||||
from gramps.gen.const import URL_MANUAL_SECT2
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Constants
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_2') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('Repositories')
|
||||
WIKI_HELP_PAGE = URL_MANUAL_SECT2
|
||||
WIKI_HELP_SEC = _('manual|Repositories')
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -24,14 +24,14 @@
|
||||
# internationalization
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
from ..views.treemodels import SourceModel
|
||||
from .baseselector import BaseSelector
|
||||
from gramps.gui.display import display_help
|
||||
@ -42,8 +42,8 @@ from gramps.gen.const import URL_MANUAL_PAGE
|
||||
# Constants
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
WIKI_HELP_PAGE = _('%s_-_xxx') % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('xxxx')
|
||||
WIKI_HELP_PAGE = '%s_-_xxx' % URL_MANUAL_PAGE # FIXME
|
||||
WIKI_HELP_SEC = _('manual|xxxx') # FIXME
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user