From e0cc29dbda958f6d1c2c3b9a9e1694bf817ebaa4 Mon Sep 17 00:00:00 2001 From: Emyoulation or BAMaustin <69127217+emyoulation@users.noreply.github.com> Date: Sun, 10 Sep 2023 10:18:58 -0500 Subject: [PATCH] Update 5.2 built-in gramplet.gpr.py for help_url link Gramplets to new wiki landing anchor of lookup table which shows which Gramplets work in which categories --- gramps/plugins/gramplet/gramplet.gpr.py | 92 +++++++++++++++++++++++++ 1 file changed, 92 insertions(+) diff --git a/gramps/plugins/gramplet/gramplet.gpr.py b/gramps/plugins/gramplet/gramplet.gpr.py index 70497a7cb09..5d9753186af 100644 --- a/gramps/plugins/gramplet/gramplet.gpr.py +++ b/gramps/plugins/gramplet/gramplet.gpr.py @@ -27,6 +27,8 @@ _ = glocale.translation.gettext MODULE_VERSION = "5.2" +GRAMPLET_HELP = _("Gramps_5.2_Wiki_Manual_-_Gramplets#Gramplet_List") +DEBUG_HELP= _("Gramps_5.2_Wiki_Manual_-_Tools#Debug") # ------------------------------------------------------------------------ # @@ -55,6 +57,7 @@ height=200, gramplet="AgeOnDateGramplet", gramplet_title=_("Age on Date"), + help_url=GRAMPLET_HELP, ) register( @@ -72,6 +75,7 @@ detached_height=450, version="1.0.0", gramps_target_version=MODULE_VERSION, + help_url=GRAMPLET_HELP, ) register( @@ -86,6 +90,7 @@ gramplet_title=_("Calendar"), version="1.0.0", gramps_target_version=MODULE_VERSION, + help_url=GRAMPLET_HELP, ) register( @@ -104,6 +109,7 @@ version="1.0.0", gramps_target_version=MODULE_VERSION, navtypes=["Person"], + help_url=GRAMPLET_HELP, ) register( @@ -122,6 +128,7 @@ version="1.0.0", gramps_target_version=MODULE_VERSION, navtypes=["Person"], + help_url=GRAMPLET_HELP, ) register( @@ -140,6 +147,7 @@ version="1.0.0", gramps_target_version=MODULE_VERSION, navtypes=["Person"], + help_url=GRAMPLET_HELP, ) register( @@ -158,6 +166,7 @@ version="1.0.0", gramps_target_version=MODULE_VERSION, navtypes=["Person"], + help_url=GRAMPLET_HELP, ) register( @@ -178,6 +187,7 @@ version="1.0.0", gramps_target_version=MODULE_VERSION, navtypes=["Person"], + help_url=GRAMPLET_HELP, ) register( @@ -192,6 +202,7 @@ gramplet_title=_("FAQ"), version="1.0.0", gramps_target_version=MODULE_VERSION, + help_url=GRAMPLET_HELP, ) register( @@ -207,6 +218,7 @@ gramplet_title=_("Given Name Cloud"), version="1.0.0", gramps_target_version=MODULE_VERSION, + help_url=GRAMPLET_HELP, ) register( @@ -225,6 +237,7 @@ version="1.0.0", gramps_target_version=MODULE_VERSION, navtypes=["Person"], + help_url=GRAMPLET_HELP, ) register( @@ -242,6 +255,7 @@ detached_height=400, version="1.0.0", gramps_target_version=MODULE_VERSION, + help_url=GRAMPLET_HELP, ) register( @@ -259,6 +273,7 @@ version="1.0.0", gramps_target_version=MODULE_VERSION, navtypes=["Person"], + help_url=GRAMPLET_HELP, ) register( @@ -274,6 +289,7 @@ gramplet_title=_("Session Log"), version="1.0.0", gramps_target_version=MODULE_VERSION, + help_url=GRAMPLET_HELP, ) register( @@ -289,6 +305,7 @@ gramplet_title=_("Statistics"), version="1.0.0", gramps_target_version=MODULE_VERSION, + help_url=GRAMPLET_HELP, ) register( @@ -304,6 +321,7 @@ gramplet_title=_("Surname Cloud"), version="1.0.0", gramps_target_version=MODULE_VERSION, + help_url=GRAMPLET_HELP, ) register( @@ -320,6 +338,7 @@ version="1.0.0", gramps_target_version=MODULE_VERSION, navtypes=["Dashboard"], + help_url=GRAMPLET_HELP, ) register( @@ -334,6 +353,7 @@ gramplet_title=_("Top Surnames"), version="1.0.0", gramps_target_version=MODULE_VERSION, + help_url=GRAMPLET_HELP, ) register( @@ -349,6 +369,7 @@ gramplet_title=_("Welcome to Gramps!"), version="1.0.1", gramps_target_version=MODULE_VERSION, + help_url=GRAMPLET_HELP, ) register( @@ -364,6 +385,7 @@ gramplet_title=_("What's Next?"), version="1.0.0", gramps_target_version=MODULE_VERSION, + help_url=GRAMPLET_HELP, ) # ------------------------------------------------------------------------ @@ -382,6 +404,7 @@ gramplet="PersonDetails", gramplet_title=_("Details"), navtypes=["Person"], + help_url=GRAMPLET_HELP, ) register( @@ -397,6 +420,7 @@ gramplet="RepositoryDetails", gramplet_title=_("Details"), navtypes=["Repository"], + help_url=GRAMPLET_HELP, ) register( @@ -412,6 +436,7 @@ gramplet="PlaceDetails", gramplet_title=_("Details"), navtypes=["Place"], + help_url=GRAMPLET_HELP, ) register( @@ -427,6 +452,7 @@ gramplet="MediaPreview", gramplet_title=_("Media Preview"), navtypes=["Media"], + help_url=GRAMPLET_HELP, ) try: @@ -459,6 +485,7 @@ gramplet="MetadataViewer", gramplet_title=_("Image Metadata"), navtypes=["Media"], + help_url=GRAMPLET_HELP, ) else: from gramps.gen.config import config @@ -501,6 +528,7 @@ gramplet="PersonResidence", gramplet_title=_("Residence"), navtypes=["Person"], + help_url=GRAMPLET_HELP, ) register( @@ -516,6 +544,7 @@ gramplet="PersonEvents", gramplet_title=_("Events"), navtypes=["Person"], + help_url=GRAMPLET_HELP, ) register( @@ -531,6 +560,7 @@ gramplet="FamilyEvents", gramplet_title=_("Events"), navtypes=["Family"], + help_url=GRAMPLET_HELP, ) register( @@ -546,6 +576,7 @@ gramplet="PersonGallery", gramplet_title=_("Gallery"), navtypes=["Person"], + help_url=GRAMPLET_HELP, ) register( @@ -561,6 +592,7 @@ gramplet="FamilyGallery", gramplet_title=_("Gallery"), navtypes=["Family"], + help_url=GRAMPLET_HELP, ) register( @@ -576,6 +608,7 @@ gramplet="EventGallery", gramplet_title=_("Gallery"), navtypes=["Event"], + help_url=GRAMPLET_HELP, ) register( @@ -591,6 +624,7 @@ gramplet="PlaceGallery", gramplet_title=_("Gallery"), navtypes=["Place"], + help_url=GRAMPLET_HELP, ) register( @@ -606,6 +640,7 @@ gramplet="SourceGallery", gramplet_title=_("Gallery"), navtypes=["Source"], + help_url=GRAMPLET_HELP, ) register( @@ -621,6 +656,7 @@ gramplet="CitationGallery", gramplet_title=_("Gallery"), navtypes=["Citation"], + help_url=GRAMPLET_HELP, ) register( @@ -636,6 +672,7 @@ gramplet="PersonAttributes", gramplet_title=_("Attributes"), navtypes=["Person"], + help_url=GRAMPLET_HELP, ) register( @@ -651,6 +688,7 @@ gramplet="EventAttributes", gramplet_title=_("Attributes"), navtypes=["Event"], + help_url=GRAMPLET_HELP, ) register( @@ -666,6 +704,7 @@ gramplet="FamilyAttributes", gramplet_title=_("Attributes"), navtypes=["Family"], + help_url=GRAMPLET_HELP, ) register( @@ -681,6 +720,7 @@ gramplet="MediaAttributes", gramplet_title=_("Attributes"), navtypes=["Media"], + help_url=GRAMPLET_HELP, ) register( @@ -696,6 +736,7 @@ gramplet="SourceAttributes", gramplet_title=_("Attributes"), navtypes=["Source"], + help_url=GRAMPLET_HELP, ) register( @@ -711,6 +752,7 @@ gramplet="CitationAttributes", gramplet_title=_("Attributes"), navtypes=["Citation"], + help_url=GRAMPLET_HELP, ) register( @@ -726,6 +768,7 @@ gramplet="PersonNotes", gramplet_title=_("Notes"), navtypes=["Person"], + help_url=GRAMPLET_HELP, ) register( @@ -741,6 +784,7 @@ gramplet="EventNotes", gramplet_title=_("Notes"), navtypes=["Event"], + help_url=GRAMPLET_HELP, ) register( @@ -756,6 +800,7 @@ gramplet="FamilyNotes", gramplet_title=_("Notes"), navtypes=["Family"], + help_url=GRAMPLET_HELP, ) register( @@ -771,6 +816,7 @@ gramplet="PlaceNotes", gramplet_title=_("Notes"), navtypes=["Place"], + help_url=GRAMPLET_HELP, ) register( @@ -786,6 +832,7 @@ gramplet="SourceNotes", gramplet_title=_("Notes"), navtypes=["Source"], + help_url=GRAMPLET_HELP, ) register( @@ -801,6 +848,7 @@ gramplet="CitationNotes", gramplet_title=_("Notes"), navtypes=["Citation"], + help_url=GRAMPLET_HELP, ) register( @@ -816,6 +864,7 @@ gramplet="RepositoryNotes", gramplet_title=_("Notes"), navtypes=["Repository"], + help_url=GRAMPLET_HELP, ) register( @@ -831,6 +880,7 @@ gramplet="MediaNotes", gramplet_title=_("Notes"), navtypes=["Media"], + help_url=GRAMPLET_HELP, ) register( @@ -846,6 +896,7 @@ gramplet="NoteNotes", gramplet_title=_("Notes"), navtypes=["Note"], + help_url=GRAMPLET_HELP, ) register( @@ -861,6 +912,7 @@ gramplet="PersonCitations", gramplet_title=_("Citations"), navtypes=["Person"], + help_url=GRAMPLET_HELP, ) register( @@ -876,6 +928,7 @@ gramplet="EventCitations", gramplet_title=_("Citations"), navtypes=["Event"], + help_url=GRAMPLET_HELP, ) register( @@ -891,6 +944,7 @@ gramplet="FamilyCitations", gramplet_title=_("Citations"), navtypes=["Family"], + help_url=GRAMPLET_HELP, ) register( @@ -906,6 +960,7 @@ gramplet="PlaceCitations", gramplet_title=_("Citations"), navtypes=["Place"], + help_url=GRAMPLET_HELP, ) register( @@ -921,6 +976,7 @@ gramplet="MediaCitations", gramplet_title=_("Citations"), navtypes=["Media"], + help_url=GRAMPLET_HELP, ) register( @@ -936,6 +992,7 @@ gramplet="PersonChildren", gramplet_title=_("Children"), navtypes=["Person"], + help_url=GRAMPLET_HELP, ) register( @@ -951,6 +1008,7 @@ gramplet="FamilyChildren", gramplet_title=_("Children"), navtypes=["Family"], + help_url=GRAMPLET_HELP, ) register( @@ -966,6 +1024,7 @@ gramplet="PersonBacklinks", gramplet_title=_("References"), navtypes=["Person"], + help_url=GRAMPLET_HELP, ) register( @@ -981,6 +1040,7 @@ gramplet="EventBacklinks", gramplet_title=_("References"), navtypes=["Event"], + help_url=GRAMPLET_HELP, ) register( @@ -996,6 +1056,7 @@ gramplet="FamilyBacklinks", gramplet_title=_("References"), navtypes=["Family"], + help_url=GRAMPLET_HELP, ) register( @@ -1011,6 +1072,7 @@ gramplet="PlaceBacklinks", gramplet_title=_("References"), navtypes=["Place"], + help_url=GRAMPLET_HELP, ) register( @@ -1026,6 +1088,7 @@ gramplet="SourceBacklinks", gramplet_title=_("References"), navtypes=["Source"], + help_url=GRAMPLET_HELP, ) register( @@ -1041,6 +1104,7 @@ gramplet="CitationBacklinks", gramplet_title=_("References"), navtypes=["Citation"], + help_url=GRAMPLET_HELP, ) register( @@ -1056,6 +1120,7 @@ gramplet="RepositoryBacklinks", gramplet_title=_("References"), navtypes=["Repository"], + help_url=GRAMPLET_HELP, ) register( @@ -1071,6 +1136,7 @@ gramplet="MediaBacklinks", gramplet_title=_("References"), navtypes=["Media"], + help_url=GRAMPLET_HELP, ) register( @@ -1086,6 +1152,7 @@ gramplet="NoteBacklinks", gramplet_title=_("References"), navtypes=["Note"], + help_url=GRAMPLET_HELP, ) register( @@ -1101,6 +1168,7 @@ gramplet="PersonFilter", gramplet_title=_("Filter"), navtypes=["Person"], + help_url=GRAMPLET_HELP, ) register( @@ -1116,6 +1184,7 @@ gramplet="FamilyFilter", gramplet_title=_("Filter"), navtypes=["Family"], + help_url=GRAMPLET_HELP, ) register( @@ -1131,6 +1200,7 @@ gramplet="EventFilter", gramplet_title=_("Filter"), navtypes=["Event"], + help_url=GRAMPLET_HELP, ) register( @@ -1146,6 +1216,7 @@ gramplet="SourceFilter", gramplet_title=_("Filter"), navtypes=["Source"], + help_url=GRAMPLET_HELP, ) register( @@ -1161,6 +1232,7 @@ gramplet="CitationFilter", gramplet_title=_("Filter"), navtypes=["Citation"], + help_url=GRAMPLET_HELP, ) register( @@ -1176,6 +1248,7 @@ gramplet="PlaceFilter", gramplet_title=_("Filter"), navtypes=["Place"], + help_url=GRAMPLET_HELP, ) register( @@ -1191,6 +1264,7 @@ gramplet="MediaFilter", gramplet_title=_("Filter"), navtypes=["Media"], + help_url=GRAMPLET_HELP, ) register( @@ -1206,6 +1280,7 @@ gramplet="RepositoryFilter", gramplet_title=_("Filter"), navtypes=["Repository"], + help_url=GRAMPLET_HELP, ) register( @@ -1221,6 +1296,7 @@ gramplet="NoteFilter", gramplet_title=_("Filter"), navtypes=["Note"], + help_url=GRAMPLET_HELP, ) register( @@ -1238,6 +1314,7 @@ height=230, expand=True, gramplet_title=_("Records"), + help_url=GRAMPLET_HELP, ) register( @@ -1253,6 +1330,7 @@ gramplet="PersonToDo", gramplet_title=_("To Do", "gramplet"), navtypes=["Person"], + help_url=GRAMPLET_HELP, ) register( @@ -1268,6 +1346,7 @@ gramplet="EventToDo", gramplet_title=_("To Do", "gramplet"), navtypes=["Event"], + help_url=GRAMPLET_HELP, ) register( @@ -1283,6 +1362,7 @@ gramplet="FamilyToDo", gramplet_title=_("To Do", "gramplet"), navtypes=["Family"], + help_url=GRAMPLET_HELP, ) register( @@ -1298,6 +1378,7 @@ gramplet="PlaceToDo", gramplet_title=_("To Do", "gramplet"), navtypes=["Place"], + help_url=GRAMPLET_HELP, ) register( @@ -1313,6 +1394,7 @@ gramplet="SourceToDo", gramplet_title=_("To Do", "gramplet"), navtypes=["Source"], + help_url=GRAMPLET_HELP, ) register( @@ -1328,6 +1410,7 @@ gramplet="CitationToDo", gramplet_title=_("To Do", "gramplet"), navtypes=["Citation"], + help_url=GRAMPLET_HELP, ) register( @@ -1343,6 +1426,7 @@ gramplet="RepositoryToDo", gramplet_title=_("To Do", "gramplet"), navtypes=["Repository"], + help_url=GRAMPLET_HELP, ) register( @@ -1358,6 +1442,7 @@ gramplet="MediaToDo", gramplet_title=_("To Do", "gramplet"), navtypes=["Media"], + help_url=GRAMPLET_HELP, ) register( @@ -1372,6 +1457,7 @@ height=200, gramplet="PythonEvaluation", gramplet_title="Python Evaluation", + help_url=DEBUG_HELP, ) register( @@ -1386,6 +1472,7 @@ height=400, gramplet="Leak", gramplet_title="Uncollected Objects", + help_url=DEBUG_HELP, ) register( @@ -1400,6 +1487,7 @@ height=80, gramplet="SoundGen", gramplet_title=_("SoundEx"), + help_url=GRAMPLET_HELP, ) register( @@ -1415,6 +1503,7 @@ gramplet="EnclosedBy", gramplet_title=_("Enclosed By"), navtypes=["Place"], + help_url=GRAMPLET_HELP, ) register( @@ -1430,6 +1519,7 @@ gramplet="Encloses", gramplet_title=_("Encloses"), navtypes=["Place"], + help_url=GRAMPLET_HELP, ) register( @@ -1445,6 +1535,7 @@ gramplet="GeoPersonEvents", gramplet_title=_("Events Coordinates"), navtypes=["Person"], + help_url=GRAMPLET_HELP, ) register( @@ -1460,4 +1551,5 @@ gramplet="GeoFamilyEvents", gramplet_title=_("Events Coordinates"), navtypes=["Family"], + help_url=GRAMPLET_HELP, )