8888 'Gramplets' update broken wiki help links

This commit is contained in:
Sam Manzi 2015-09-09 08:05:23 +10:00
parent 428c341005
commit 80a9597e5a
6 changed files with 49 additions and 16 deletions

View File

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

View File

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

View File

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

View File

@ -20,6 +20,14 @@
# 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.gen.plug import Gramplet
from gramps.gen.utils.file import media_path_full

View File

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

View File

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