8888 'Gramplets' update broken wiki help links

This commit is contained in:
Sam Manzi 2015-09-09 08:05:23 +10:00
parent 54cd19ea0d
commit 65c272b347
6 changed files with 43 additions and 10 deletions

View File

@ -19,11 +19,24 @@
# #
""" """
Age Stats Gramplet
This Gramplet shows textual distributions of age breakdowns of various types. This Gramplet shows textual distributions of age breakdowns of various types.
""" """
#-------------------------------------------------------------------------
#
# Python modules
#
#-------------------------------------------------------------------------
from collections import defaultdict from collections import defaultdict
#------------------------------------------------------------------------
#
# Gramps modules
#
#------------------------------------------------------------------------
from gramps.gen.plug import Gramplet from gramps.gen.plug import Gramplet
from gramps.gen.const import GRAMPS_LOCALE as glocale from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.translation.gettext _ = glocale.translation.gettext

View File

@ -18,7 +18,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# #
"""Ancestor Gramplet""" """Ancestors Gramplet"""
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #

View File

@ -80,8 +80,8 @@ register(GRAMPLET,
) )
register(GRAMPLET, register(GRAMPLET,
id = "Descendant", id = "Descendants",
name=_("Descendant"), name=_("Descendants"),
description = _("Gramplet showing active person's descendants"), description = _("Gramplet showing active person's descendants"),
status = STABLE, status = STABLE,
fname="descendant.py", fname="descendant.py",
@ -98,7 +98,7 @@ register(GRAMPLET,
register(GRAMPLET, register(GRAMPLET,
id = "Ancestor", id = "Ancestor",
name=_("Ancestor"), name=_("Ancestors"),
description = _("Gramplet showing active person's ancestors"), description = _("Gramplet showing active person's ancestors"),
status = STABLE, status = STABLE,
fname="ancestor.py", fname="ancestor.py",
@ -376,7 +376,7 @@ register(GRAMPLET,
fname="mediapreview.py", fname="mediapreview.py",
height=200, height=200,
gramplet = 'MediaPreview', gramplet = 'MediaPreview',
gramplet_title=_("Preview"), gramplet_title=_("Media Preview"),
navtypes=["Media"], navtypes=["Media"],
) )
@ -393,8 +393,8 @@ except ImportError:
if available: if available:
register(GRAMPLET, register(GRAMPLET,
id = "Metadata Viewer", id = "Image Metadata Viewer",
name = _("Metadata Viewer"), name = _("Image Metadata"),
description = _("Gramplet showing metadata for a media object"), description = _("Gramplet showing metadata for a media object"),
version = "1.0.0", version = "1.0.0",
gramps_target_version=MODULE_VERSION, gramps_target_version=MODULE_VERSION,
@ -1096,7 +1096,7 @@ register(GRAMPLET,
register(GRAMPLET, register(GRAMPLET,
id='Records Gramplet', id='Records Gramplet',
name=_("Records Gramplet"), name=_("Records"),
description=_("Shows some interesting records about people and families"), description=_("Shows some interesting records about people and families"),
version='1.0', version='1.0',
gramps_target_version=MODULE_VERSION, gramps_target_version=MODULE_VERSION,
@ -1250,7 +1250,7 @@ register(GRAMPLET,
register(GRAMPLET, register(GRAMPLET,
id="SoundEx Generator", id="SoundEx Generator",
name=_("SoundEx Generator"), name=_("SoundEx"),
description = _("Gramplet to generate SoundEx codes"), description = _("Gramplet to generate SoundEx codes"),
version="1.0.0", version="1.0.0",
gramps_target_version=MODULE_VERSION, gramps_target_version=MODULE_VERSION,

View File

@ -20,6 +20,14 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# #
"""
Image Metadata Gramplet
"""
#-------------------------------------------------------------------------
#
# Gramps modules
#
#-------------------------------------------------------------------------
from gramps.plugins.lib.libmetadata import MetadataView from gramps.plugins.lib.libmetadata import MetadataView
from gramps.gen.plug import Gramplet from gramps.gen.plug import Gramplet
from gramps.gen.utils.file import media_path_full from gramps.gen.utils.file import media_path_full

View File

@ -18,11 +18,17 @@
#------------------------------------------------------------------------ #------------------------------------------------------------------------
# #
# Gramps modules # Python modules
# #
#------------------------------------------------------------------------ #------------------------------------------------------------------------
import time import time
#------------------------------------------------------------------------
#
# Gramps modules
#
#------------------------------------------------------------------------
from gramps.gen.lib import Person, Family from gramps.gen.lib import Person, Family
from gramps.gen.db import PERSON_KEY, FAMILY_KEY, TXNDEL from gramps.gen.db import PERSON_KEY, FAMILY_KEY, TXNDEL
from gramps.gen.plug import Gramplet from gramps.gen.plug import Gramplet

View File

@ -16,6 +16,12 @@
# along with this program; if not, write to the Free Software # along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#------------------------------------------------------------------------
#
# Python modules
#
#------------------------------------------------------------------------
from collections import defaultdict from collections import defaultdict
#------------------------------------------------------------------------ #------------------------------------------------------------------------