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