diff --git a/gramps/gen/config.py b/gramps/gen/config.py index 098c9f6b7..a2b8472b1 100644 --- a/gramps/gen/config.py +++ b/gramps/gen/config.py @@ -23,7 +23,7 @@ # """ -This package implements access to GRAMPS configuration. +This package implements access to Gramps configuration. """ #--------------------------------------------------------------- diff --git a/gramps/gen/datehandler/_date_hu.py b/gramps/gen/datehandler/_date_hu.py index be210d2e5..27d513fd5 100644 --- a/gramps/gen/datehandler/_date_hu.py +++ b/gramps/gen/datehandler/_date_hu.py @@ -33,7 +33,7 @@ import re #------------------------------------------------------------------------- # -# GRAMPS modules +# Gramps modules # #------------------------------------------------------------------------- from ..lib.date import Date diff --git a/gramps/gen/datehandler/_date_is.py b/gramps/gen/datehandler/_date_is.py index 180a339c7..1e7847782 100644 --- a/gramps/gen/datehandler/_date_is.py +++ b/gramps/gen/datehandler/_date_is.py @@ -33,7 +33,7 @@ import re #------------------------------------------------------------------------- # -# GRAMPS modules +# Gramps modules # #------------------------------------------------------------------------- from ..lib.date import Date diff --git a/gramps/gen/db/generic.py b/gramps/gen/db/generic.py index c29ebe342..11347843a 100644 --- a/gramps/gen/db/generic.py +++ b/gramps/gen/db/generic.py @@ -888,7 +888,7 @@ class DbGeneric(DbWriteBase, DbReadBase, UpdateCallback, Callback): def set_person_id_prefix(self, val): """ - Set the naming template for GRAMPS Person ID values. + Set the naming template for Gramps Person ID values. The string is expected to be in the form of a simple text string, or in a format that contains a C/Python style format string using %d, @@ -899,7 +899,7 @@ class DbGeneric(DbWriteBase, DbReadBase, UpdateCallback, Callback): def set_citation_id_prefix(self, val): """ - Set the naming template for GRAMPS Citation ID values. + Set the naming template for Gramps Citation ID values. The string is expected to be in the form of a simple text string, or in a format that contains a C/Python style format string using %d, @@ -910,7 +910,7 @@ class DbGeneric(DbWriteBase, DbReadBase, UpdateCallback, Callback): def set_source_id_prefix(self, val): """ - Set the naming template for GRAMPS Source ID values. + Set the naming template for Gramps Source ID values. The string is expected to be in the form of a simple text string, or in a format that contains a C/Python style format string using %d, @@ -921,7 +921,7 @@ class DbGeneric(DbWriteBase, DbReadBase, UpdateCallback, Callback): def set_media_id_prefix(self, val): """ - Set the naming template for GRAMPS Media ID values. + Set the naming template for Gramps Media ID values. The string is expected to be in the form of a simple text string, or in a format that contains a C/Python style format string using %d, @@ -932,7 +932,7 @@ class DbGeneric(DbWriteBase, DbReadBase, UpdateCallback, Callback): def set_place_id_prefix(self, val): """ - Set the naming template for GRAMPS Place ID values. + Set the naming template for Gramps Place ID values. The string is expected to be in the form of a simple text string, or in a format that contains a C/Python style format string using %d, @@ -943,7 +943,7 @@ class DbGeneric(DbWriteBase, DbReadBase, UpdateCallback, Callback): def set_family_id_prefix(self, val): """ - Set the naming template for GRAMPS Family ID values. The string is + Set the naming template for Gramps Family ID values. The string is expected to be in the form of a simple text string, or in a format that contains a C/Python style format string using %d, such as F%d or F%04d. @@ -953,7 +953,7 @@ class DbGeneric(DbWriteBase, DbReadBase, UpdateCallback, Callback): def set_event_id_prefix(self, val): """ - Set the naming template for GRAMPS Event ID values. + Set the naming template for Gramps Event ID values. The string is expected to be in the form of a simple text string, or in a format that contains a C/Python style format string using %d, @@ -964,7 +964,7 @@ class DbGeneric(DbWriteBase, DbReadBase, UpdateCallback, Callback): def set_repository_id_prefix(self, val): """ - Set the naming template for GRAMPS Repository ID values. + Set the naming template for Gramps Repository ID values. The string is expected to be in the form of a simple text string, or in a format that contains a C/Python style format string using %d, @@ -975,7 +975,7 @@ class DbGeneric(DbWriteBase, DbReadBase, UpdateCallback, Callback): def set_note_id_prefix(self, val): """ - Set the naming template for GRAMPS Note ID values. + Set the naming template for Gramps Note ID values. The string is expected to be in the form of a simple text string, or in a format that contains a C/Python style format string using %d, diff --git a/gramps/gen/filters/__init__.py b/gramps/gen/filters/__init__.py index d4bee52cb..572553104 100644 --- a/gramps/gen/filters/__init__.py +++ b/gramps/gen/filters/__init__.py @@ -19,7 +19,7 @@ # """ -Package providing filtering framework for GRAMPS. +Package providing filtering framework for Gramps. """ #SystemFilters = None diff --git a/gramps/gen/filters/_genericfilter.py b/gramps/gen/filters/_genericfilter.py index c264c0539..453e367e2 100644 --- a/gramps/gen/filters/_genericfilter.py +++ b/gramps/gen/filters/_genericfilter.py @@ -21,7 +21,7 @@ # """ -Package providing filtering framework for GRAMPS. +Package providing filtering framework for Gramps. """ #------------------------------------------------------------------------ diff --git a/gramps/gen/filters/_paramfilter.py b/gramps/gen/filters/_paramfilter.py index d47ea8e7a..67de2c069 100644 --- a/gramps/gen/filters/_paramfilter.py +++ b/gramps/gen/filters/_paramfilter.py @@ -19,7 +19,7 @@ # """ -Package providing filtering framework for GRAMPS. +Package providing filtering framework for Gramps. """ #------------------------------------------------------------------------- diff --git a/gramps/gen/filters/_searchfilter.py b/gramps/gen/filters/_searchfilter.py index 6b8cc9954..c5d7dbaf5 100644 --- a/gramps/gen/filters/_searchfilter.py +++ b/gramps/gen/filters/_searchfilter.py @@ -19,7 +19,7 @@ # """ -Package providing filtering framework for GRAMPS. +Package providing filtering framework for Gramps. """ class SearchFilter: diff --git a/gramps/gen/filters/rules/__init__.py b/gramps/gen/filters/rules/__init__.py index 660786fc7..470a214aa 100644 --- a/gramps/gen/filters/rules/__init__.py +++ b/gramps/gen/filters/rules/__init__.py @@ -21,7 +21,7 @@ # """ -Package providing filter rules for GRAMPS. +Package providing filter rules for Gramps. The following filters are provided in gen.filters.rules. diff --git a/gramps/gen/filters/rules/_hasgrampsid.py b/gramps/gen/filters/rules/_hasgrampsid.py index d4e9fab72..706515020 100644 --- a/gramps/gen/filters/rules/_hasgrampsid.py +++ b/gramps/gen/filters/rules/_hasgrampsid.py @@ -40,7 +40,7 @@ from . import Rule # #------------------------------------------------------------------------- class HasGrampsId(Rule): - """Rule that checks for an object with a specific GRAMPS ID.""" + """Rule that checks for an object with a specific Gramps ID.""" labels = [ _('ID:') ] name = 'Object with ' diff --git a/gramps/gen/filters/rules/citation/__init__.py b/gramps/gen/filters/rules/citation/__init__.py index d1314d37b..a5537a7e7 100644 --- a/gramps/gen/filters/rules/citation/__init__.py +++ b/gramps/gen/filters/rules/citation/__init__.py @@ -21,7 +21,7 @@ # """ -Package providing filter rules for GRAMPS. +Package providing filter rules for Gramps. """ from ._hascitation import HasCitation diff --git a/gramps/gen/filters/rules/citation/_hasidof.py b/gramps/gen/filters/rules/citation/_hasidof.py index e73b7d69c..1472ba22a 100644 --- a/gramps/gen/filters/rules/citation/_hasidof.py +++ b/gramps/gen/filters/rules/citation/_hasidof.py @@ -40,7 +40,7 @@ from .. import HasGrampsId # #------------------------------------------------------------------------- class HasIdOf(HasGrampsId): - """Rule that checks for a citation with a specific GRAMPS ID""" + """Rule that checks for a citation with a specific Gramps ID""" name = _('Citation with ') description = _("Matches a citation with a specified Gramps ID") diff --git a/gramps/gen/filters/rules/citation/_hassourceidof.py b/gramps/gen/filters/rules/citation/_hassourceidof.py index ba5e26873..0d2aa6946 100644 --- a/gramps/gen/filters/rules/citation/_hassourceidof.py +++ b/gramps/gen/filters/rules/citation/_hassourceidof.py @@ -41,7 +41,7 @@ from .._hasgrampsid import HasGrampsId #------------------------------------------------------------------------- class HasSourceIdOf(HasGrampsId): """Rule that checks for a citation with a source which has a specific - GRAMPS ID""" + Gramps ID""" name = _('Citation with Source ') description = _("Matches a citation with a source with a specified Gramps " diff --git a/gramps/gen/filters/rules/citation/_regexpidof.py b/gramps/gen/filters/rules/citation/_regexpidof.py index f7e7c25a5..0fd3d101c 100644 --- a/gramps/gen/filters/rules/citation/_regexpidof.py +++ b/gramps/gen/filters/rules/citation/_regexpidof.py @@ -41,7 +41,7 @@ from .._regexpidbase import RegExpIdBase #------------------------------------------------------------------------- class RegExpIdOf(RegExpIdBase): """ - Rule that checks for a citation whose GRAMPS ID + Rule that checks for a citation whose Gramps ID matches regular expression. """ diff --git a/gramps/gen/filters/rules/citation/_regexpsourceidof.py b/gramps/gen/filters/rules/citation/_regexpsourceidof.py index f9963eae8..b7341dec8 100644 --- a/gramps/gen/filters/rules/citation/_regexpsourceidof.py +++ b/gramps/gen/filters/rules/citation/_regexpsourceidof.py @@ -41,7 +41,7 @@ from .._regexpidbase import RegExpIdBase #------------------------------------------------------------------------- class RegExpSourceIdOf(RegExpIdBase): """ - Rule that checks for a citation whose GRAMPS ID + Rule that checks for a citation whose Gramps ID matches regular expression. """ diff --git a/gramps/gen/filters/rules/event/__init__.py b/gramps/gen/filters/rules/event/__init__.py index 41ce604dc..8cfbd1ce7 100644 --- a/gramps/gen/filters/rules/event/__init__.py +++ b/gramps/gen/filters/rules/event/__init__.py @@ -21,7 +21,7 @@ # """ -Package providing filter rules for GRAMPS. +Package providing filter rules for Gramps. """ from .._haseventbase import HasEventBase as HasEvent diff --git a/gramps/gen/filters/rules/event/_hasidof.py b/gramps/gen/filters/rules/event/_hasidof.py index aa2188d53..99f875982 100644 --- a/gramps/gen/filters/rules/event/_hasidof.py +++ b/gramps/gen/filters/rules/event/_hasidof.py @@ -39,7 +39,7 @@ from .. import HasGrampsId # #------------------------------------------------------------------------- class HasIdOf(HasGrampsId): - """Rule that checks for a family with a specific GRAMPS ID""" + """Rule that checks for a family with a specific Gramps ID""" name = _('Event with ') description = _("Matches an event with a specified Gramps ID") diff --git a/gramps/gen/filters/rules/event/_regexpidof.py b/gramps/gen/filters/rules/event/_regexpidof.py index cedb75bb8..f692e8a4e 100644 --- a/gramps/gen/filters/rules/event/_regexpidof.py +++ b/gramps/gen/filters/rules/event/_regexpidof.py @@ -40,7 +40,7 @@ from .._regexpidbase import RegExpIdBase #------------------------------------------------------------------------- class RegExpIdOf(RegExpIdBase): """ - Rule that checks for an event whose GRAMPS ID + Rule that checks for an event whose Gramps ID matches regular expression. """ diff --git a/gramps/gen/filters/rules/family/__init__.py b/gramps/gen/filters/rules/family/__init__.py index 8fac878ae..f5a246b84 100644 --- a/gramps/gen/filters/rules/family/__init__.py +++ b/gramps/gen/filters/rules/family/__init__.py @@ -21,7 +21,7 @@ # """ -Package providing filter rules for GRAMPS. +Package providing filter rules for Gramps. """ from ._searchfathername import SearchFatherName diff --git a/gramps/gen/filters/rules/family/_childhasidof.py b/gramps/gen/filters/rules/family/_childhasidof.py index 30bad39f8..b870fba50 100644 --- a/gramps/gen/filters/rules/family/_childhasidof.py +++ b/gramps/gen/filters/rules/family/_childhasidof.py @@ -40,7 +40,7 @@ from ._memberbase import child_base # #------------------------------------------------------------------------- class ChildHasIdOf(RegExpIdBase): - """Rule that checks for a person with a specific GRAMPS ID""" + """Rule that checks for a person with a specific Gramps ID""" labels = [ _('Person ID:') ] name = _('Families having child with Id containing ') diff --git a/gramps/gen/filters/rules/family/_fatherhasidof.py b/gramps/gen/filters/rules/family/_fatherhasidof.py index 481f255bb..248665779 100644 --- a/gramps/gen/filters/rules/family/_fatherhasidof.py +++ b/gramps/gen/filters/rules/family/_fatherhasidof.py @@ -40,7 +40,7 @@ from ._memberbase import father_base # #------------------------------------------------------------------------- class FatherHasIdOf(RegExpIdBase): - """Rule that checks for a person with a specific GRAMPS ID""" + """Rule that checks for a person with a specific Gramps ID""" labels = [ _('Person ID:') ] name = _('Families having father with Id containing ') diff --git a/gramps/gen/filters/rules/family/_hasidof.py b/gramps/gen/filters/rules/family/_hasidof.py index 147d2bab9..a977b1efc 100644 --- a/gramps/gen/filters/rules/family/_hasidof.py +++ b/gramps/gen/filters/rules/family/_hasidof.py @@ -39,7 +39,7 @@ from .. import HasGrampsId # #------------------------------------------------------------------------- class HasIdOf(HasGrampsId): - """Rule that checks for a family with a specific GRAMPS ID""" + """Rule that checks for a family with a specific Gramps ID""" name = _('Family with ') description = _("Matches a family with a specified Gramps ID") diff --git a/gramps/gen/filters/rules/family/_motherhasidof.py b/gramps/gen/filters/rules/family/_motherhasidof.py index aa5c6f7f1..3a432bcee 100644 --- a/gramps/gen/filters/rules/family/_motherhasidof.py +++ b/gramps/gen/filters/rules/family/_motherhasidof.py @@ -40,7 +40,7 @@ from ._memberbase import mother_base # #------------------------------------------------------------------------- class MotherHasIdOf(RegExpIdBase): - """Rule that checks for a person with a specific GRAMPS ID""" + """Rule that checks for a person with a specific Gramps ID""" labels = [ _('Person ID:') ] name = _('Families having mother with Id containing ') diff --git a/gramps/gen/filters/rules/family/_regexpidof.py b/gramps/gen/filters/rules/family/_regexpidof.py index 3c90f27f5..f3749e3bd 100644 --- a/gramps/gen/filters/rules/family/_regexpidof.py +++ b/gramps/gen/filters/rules/family/_regexpidof.py @@ -40,7 +40,7 @@ from .._regexpidbase import RegExpIdBase #------------------------------------------------------------------------- class RegExpIdOf(RegExpIdBase): """ - Rule that checks for a family whose GRAMPS ID + Rule that checks for a family whose Gramps ID matches regular expression. """ diff --git a/gramps/gen/filters/rules/media/__init__.py b/gramps/gen/filters/rules/media/__init__.py index 70c055d7f..189383e42 100644 --- a/gramps/gen/filters/rules/media/__init__.py +++ b/gramps/gen/filters/rules/media/__init__.py @@ -19,7 +19,7 @@ # """ -Package providing filter rules for GRAMPS. +Package providing filter rules for Gramps. """ from ._allmedia import AllMedia diff --git a/gramps/gen/filters/rules/media/_hasidof.py b/gramps/gen/filters/rules/media/_hasidof.py index bfd40bf3f..60ce470c5 100644 --- a/gramps/gen/filters/rules/media/_hasidof.py +++ b/gramps/gen/filters/rules/media/_hasidof.py @@ -39,7 +39,7 @@ from .. import HasGrampsId # #------------------------------------------------------------------------- class HasIdOf(HasGrampsId): - """Rule that checks for a media object with a specific GRAMPS ID""" + """Rule that checks for a media object with a specific Gramps ID""" name = _('Media object with ') description = _("Matches a media object with a specified Gramps ID") diff --git a/gramps/gen/filters/rules/media/_regexpidof.py b/gramps/gen/filters/rules/media/_regexpidof.py index baa39b28b..89af082e0 100644 --- a/gramps/gen/filters/rules/media/_regexpidof.py +++ b/gramps/gen/filters/rules/media/_regexpidof.py @@ -40,7 +40,7 @@ from .._regexpidbase import RegExpIdBase #------------------------------------------------------------------------- class RegExpIdOf(RegExpIdBase): """ - Rule that checks for a media object whose GRAMPS ID + Rule that checks for a media object whose Gramps ID matches regular expression. """ diff --git a/gramps/gen/filters/rules/note/__init__.py b/gramps/gen/filters/rules/note/__init__.py index 4185754fc..0860e35e0 100644 --- a/gramps/gen/filters/rules/note/__init__.py +++ b/gramps/gen/filters/rules/note/__init__.py @@ -20,7 +20,7 @@ # """ -Package providing filter rules for GRAMPS. +Package providing filter rules for Gramps. """ from ._allnotes import AllNotes diff --git a/gramps/gen/filters/rules/note/_hasidof.py b/gramps/gen/filters/rules/note/_hasidof.py index ef769bcb9..a2ad963c1 100644 --- a/gramps/gen/filters/rules/note/_hasidof.py +++ b/gramps/gen/filters/rules/note/_hasidof.py @@ -39,7 +39,7 @@ from .. import HasGrampsId # #------------------------------------------------------------------------- class HasIdOf(HasGrampsId): - """Rule that checks for a note with a specific GRAMPS ID""" + """Rule that checks for a note with a specific Gramps ID""" name = _('Note with ') description = _("Matches a note with a specified Gramps ID") diff --git a/gramps/gen/filters/rules/note/_regexpidof.py b/gramps/gen/filters/rules/note/_regexpidof.py index 95ca0e3c0..def5c8a84 100644 --- a/gramps/gen/filters/rules/note/_regexpidof.py +++ b/gramps/gen/filters/rules/note/_regexpidof.py @@ -40,7 +40,7 @@ from .._regexpidbase import RegExpIdBase #------------------------------------------------------------------------- class RegExpIdOf(RegExpIdBase): """ - Rule that checks for a note whose GRAMPS ID + Rule that checks for a note whose Gramps ID matches regular expression. """ diff --git a/gramps/gen/filters/rules/person/__init__.py b/gramps/gen/filters/rules/person/__init__.py index 903fb1a46..23834fbc3 100644 --- a/gramps/gen/filters/rules/person/__init__.py +++ b/gramps/gen/filters/rules/person/__init__.py @@ -22,7 +22,7 @@ # """ -Package providing filter rules for GRAMPS. +Package providing filter rules for Gramps. """ from ._disconnected import Disconnected diff --git a/gramps/gen/filters/rules/person/_hasidof.py b/gramps/gen/filters/rules/person/_hasidof.py index fbac9d63b..dd7602a3d 100644 --- a/gramps/gen/filters/rules/person/_hasidof.py +++ b/gramps/gen/filters/rules/person/_hasidof.py @@ -39,7 +39,7 @@ from .. import HasGrampsId # #------------------------------------------------------------------------- class HasIdOf(HasGrampsId): - """Rule that checks for a person with a specific GRAMPS ID""" + """Rule that checks for a person with a specific Gramps ID""" name = _('Person with ') description = _("Matches person with a specified Gramps ID") diff --git a/gramps/gen/filters/rules/person/_matchidof.py b/gramps/gen/filters/rules/person/_matchidof.py index 8b95e3e52..535b3994a 100644 --- a/gramps/gen/filters/rules/person/_matchidof.py +++ b/gramps/gen/filters/rules/person/_matchidof.py @@ -39,7 +39,7 @@ from .. import Rule # #------------------------------------------------------------------------- class MatchIdOf(Rule): - """Rule that checks for a person with a specific GRAMPS ID""" + """Rule that checks for a person with a specific Gramps ID""" labels = [ _('ID:') ] name = _('Person with ') diff --git a/gramps/gen/filters/rules/person/_regexpidof.py b/gramps/gen/filters/rules/person/_regexpidof.py index dc2939fc6..a50d8ad67 100644 --- a/gramps/gen/filters/rules/person/_regexpidof.py +++ b/gramps/gen/filters/rules/person/_regexpidof.py @@ -39,7 +39,7 @@ from .._regexpidbase import RegExpIdBase # #------------------------------------------------------------------------- class RegExpIdOf(RegExpIdBase): - """Rule that checks for a person whose GRAMPS ID + """Rule that checks for a person whose Gramps ID matches regular expression. """ diff --git a/gramps/gen/filters/rules/place/__init__.py b/gramps/gen/filters/rules/place/__init__.py index fb5959b69..601347b7b 100644 --- a/gramps/gen/filters/rules/place/__init__.py +++ b/gramps/gen/filters/rules/place/__init__.py @@ -20,7 +20,7 @@ # """ -Package providing filter rules for GRAMPS. +Package providing filter rules for Gramps. """ from ._allplaces import AllPlaces diff --git a/gramps/gen/filters/rules/place/_hasidof.py b/gramps/gen/filters/rules/place/_hasidof.py index bbc571c61..3fc099115 100644 --- a/gramps/gen/filters/rules/place/_hasidof.py +++ b/gramps/gen/filters/rules/place/_hasidof.py @@ -39,7 +39,7 @@ from .. import HasGrampsId # #------------------------------------------------------------------------- class HasIdOf(HasGrampsId): - """Rule that checks for a place with a specific GRAMPS ID""" + """Rule that checks for a place with a specific Gramps ID""" name = _('Place with ') description = _("Matches a place with a specified Gramps ID") diff --git a/gramps/gen/filters/rules/place/_regexpidof.py b/gramps/gen/filters/rules/place/_regexpidof.py index d13c9144d..f1493b24d 100644 --- a/gramps/gen/filters/rules/place/_regexpidof.py +++ b/gramps/gen/filters/rules/place/_regexpidof.py @@ -40,7 +40,7 @@ from .._regexpidbase import RegExpIdBase #------------------------------------------------------------------------- class RegExpIdOf(RegExpIdBase): """ - Rule that checks for a place whose GRAMPS ID + Rule that checks for a place whose Gramps ID matches regular expression. """ diff --git a/gramps/gen/filters/rules/repository/__init__.py b/gramps/gen/filters/rules/repository/__init__.py index fbab90219..71b26030b 100644 --- a/gramps/gen/filters/rules/repository/__init__.py +++ b/gramps/gen/filters/rules/repository/__init__.py @@ -19,7 +19,7 @@ # """ -Package providing filter rules for GRAMPS. +Package providing filter rules for Gramps. """ from ._allrepos import AllRepos diff --git a/gramps/gen/filters/rules/repository/_hasidof.py b/gramps/gen/filters/rules/repository/_hasidof.py index 501784854..31e4b88e0 100644 --- a/gramps/gen/filters/rules/repository/_hasidof.py +++ b/gramps/gen/filters/rules/repository/_hasidof.py @@ -39,7 +39,7 @@ from .. import HasGrampsId # #------------------------------------------------------------------------- class HasIdOf(HasGrampsId): - """Rule that checks for a repo with a specific GRAMPS ID""" + """Rule that checks for a repo with a specific Gramps ID""" name = _('Repository with ') description = _("Matches a repository with a specified Gramps ID") diff --git a/gramps/gen/filters/rules/repository/_regexpidof.py b/gramps/gen/filters/rules/repository/_regexpidof.py index 9f1d0a73b..cedcde5c2 100644 --- a/gramps/gen/filters/rules/repository/_regexpidof.py +++ b/gramps/gen/filters/rules/repository/_regexpidof.py @@ -40,7 +40,7 @@ from .._regexpidbase import RegExpIdBase #------------------------------------------------------------------------- class RegExpIdOf(RegExpIdBase): """ - Rule that checks for a repo whose GRAMPS ID + Rule that checks for a repo whose Gramps ID matches regular expression. """ diff --git a/gramps/gen/filters/rules/source/__init__.py b/gramps/gen/filters/rules/source/__init__.py index e1e5d99e0..38b6d2f9b 100644 --- a/gramps/gen/filters/rules/source/__init__.py +++ b/gramps/gen/filters/rules/source/__init__.py @@ -21,7 +21,7 @@ # """ -Package providing filter rules for GRAMPS. +Package providing filter rules for Gramps. """ from .._hassourcebase import HasSourceBase as HasSource diff --git a/gramps/gen/filters/rules/source/_hasidof.py b/gramps/gen/filters/rules/source/_hasidof.py index 679fafbe1..29bb769ce 100644 --- a/gramps/gen/filters/rules/source/_hasidof.py +++ b/gramps/gen/filters/rules/source/_hasidof.py @@ -39,7 +39,7 @@ from .. import HasGrampsId # #------------------------------------------------------------------------- class HasIdOf(HasGrampsId): - """Rule that checks for a source with a specific GRAMPS ID""" + """Rule that checks for a source with a specific Gramps ID""" name = _('Source with ') description = _("Matches a source with a specified Gramps ID") diff --git a/gramps/gen/filters/rules/source/_regexpidof.py b/gramps/gen/filters/rules/source/_regexpidof.py index f77dd2099..72114ed29 100644 --- a/gramps/gen/filters/rules/source/_regexpidof.py +++ b/gramps/gen/filters/rules/source/_regexpidof.py @@ -40,7 +40,7 @@ from .._regexpidbase import RegExpIdBase #------------------------------------------------------------------------- class RegExpIdOf(RegExpIdBase): """ - Rule that checks for a source whose GRAMPS ID + Rule that checks for a source whose Gramps ID matches regular expression. """ diff --git a/gramps/gen/lib/note.py b/gramps/gen/lib/note.py index b43c6c4f3..a56f283d1 100644 --- a/gramps/gen/lib/note.py +++ b/gramps/gen/lib/note.py @@ -39,7 +39,7 @@ _ = glocale.translation.gettext #------------------------------------------------------------------------- # -# Class for notes used throughout the majority of GRAMPS objects +# Class for notes used throughout the majority of Gramps objects # #------------------------------------------------------------------------- class Note(BasicPrimaryObject): diff --git a/gramps/gen/lib/srcattribute.py b/gramps/gen/lib/srcattribute.py index 728a226b3..c1ff97bb0 100644 --- a/gramps/gen/lib/srcattribute.py +++ b/gramps/gen/lib/srcattribute.py @@ -20,7 +20,7 @@ # """ -Source Attribute class for GRAMPS. +Source Attribute class for Gramps. """ #------------------------------------------------------------------------- diff --git a/gramps/gen/plug/_pluginreg.py b/gramps/gen/plug/_pluginreg.py index 1fd84262f..6a786c0c0 100644 --- a/gramps/gen/plug/_pluginreg.py +++ b/gramps/gen/plug/_pluginreg.py @@ -217,7 +217,7 @@ class PluginData: .. attribute:: supported Bool value indicating if the plugin is still supported, default=True .. attribute:: load_on_reg - bool value, if True, the plugin is loaded on GRAMPS startup. Some + bool value, if True, the plugin is loaded on Gramps startup. Some plugins. Only set this value if for testing you want the plugin to be loaded immediately on startup. default=False .. attribute: icons diff --git a/gramps/gen/proxy/private.py b/gramps/gen/proxy/private.py index ea56e091b..5898a98f3 100644 --- a/gramps/gen/proxy/private.py +++ b/gramps/gen/proxy/private.py @@ -264,7 +264,7 @@ class PrivateProxyDb(ProxyDbBase): def get_person_from_gramps_id(self, val): """ - Finds a Person in the database from the passed GRAMPS ID. + Finds a Person in the database from the passed Gramps ID. If no such Person exists, None is returned. """ person = self.db.get_person_from_gramps_id(val) @@ -274,7 +274,7 @@ class PrivateProxyDb(ProxyDbBase): def get_family_from_gramps_id(self, val): """ - Finds a Family in the database from the passed GRAMPS ID. + Finds a Family in the database from the passed Gramps ID. If no such Family exists, None is returned. """ family = self.db.get_family_from_gramps_id(val) @@ -284,7 +284,7 @@ class PrivateProxyDb(ProxyDbBase): def get_event_from_gramps_id(self, val): """ - Finds an Event in the database from the passed GRAMPS ID. + Finds an Event in the database from the passed Gramps ID. If no such Event exists, None is returned. """ event = self.db.get_event_from_gramps_id(val) diff --git a/gramps/gen/proxy/proxybase.py b/gramps/gen/proxy/proxybase.py index 8f4da999f..5ba5d9235 100644 --- a/gramps/gen/proxy/proxybase.py +++ b/gramps/gen/proxy/proxybase.py @@ -690,7 +690,7 @@ class ProxyDbBase(DbReadBase): def get_person_from_gramps_id(self, val): """ - Finds a Person in the database from the passed GRAMPS ID. + Finds a Person in the database from the passed Gramps ID. If no such Person exists, None is returned. """ return self.gfilter(self.include_person, @@ -698,7 +698,7 @@ class ProxyDbBase(DbReadBase): def get_family_from_gramps_id(self, val): """ - Finds a Family in the database from the passed GRAMPS ID. + Finds a Family in the database from the passed Gramps ID. If no such Family exists, None is returned. """ return self.gfilter(self.include_family, @@ -706,7 +706,7 @@ class ProxyDbBase(DbReadBase): def get_event_from_gramps_id(self, val): """ - Finds an Event in the database from the passed GRAMPS ID. + Finds an Event in the database from the passed Gramps ID. If no such Event exists, None is returned. """ return self.gfilter(self.include_event, diff --git a/gramps/gen/utils/file.py b/gramps/gen/utils/file.py index 81091cca6..24efdf76a 100644 --- a/gramps/gen/utils/file.py +++ b/gramps/gen/utils/file.py @@ -152,7 +152,7 @@ def relative_path(original, base): def expand_path(path, normalize = True): """ Expand environment variables in a path - Uses both the environment variables and the GRAMPS environment + Uses both the environment variables and the Gramps environment The expansion uses the str.format, e.g. "~/{GRAMPSHOME}/{VERSION}/filename.txt" We make the assumption that the user will not use a path that contain variable names (it is technically possible to use characters "{", "}" in paths) diff --git a/gramps/gen/utils/thumbnails.py b/gramps/gen/utils/thumbnails.py index b9e6e95ca..2d17b05fc 100644 --- a/gramps/gen/utils/thumbnails.py +++ b/gramps/gen/utils/thumbnails.py @@ -19,7 +19,7 @@ # """ -Handles generation and access to thumbnails used in GRAMPS. +Handles generation and access to thumbnails used in Gramps. """ #------------------------------------------------------------------------- @@ -133,7 +133,7 @@ def __build_thumb_path(path, rectangle=None, size=SIZE_NORMAL): Convert the specified path into a corresponding path for the thumbnail image. We do this by converting the original path into an MD5SUM value (which should be unique), adding the '.png' extension, and prepending - with the GRAMPS thumbnail directory. + with the Gramps thumbnail directory. :type path: unicode :param path: filename of the source file diff --git a/gramps/gui/clipboard.py b/gramps/gui/clipboard.py index 7d0ffce95..0a413c60c 100644 --- a/gramps/gui/clipboard.py +++ b/gramps/gui/clipboard.py @@ -1250,7 +1250,7 @@ class ClipboardListView: if mac(): # context is empty on mac due to a bug, work around this # Note that this workaround code works fine in linux too as - # we know very well inside of GRAMPS what sel_data can be, so + # we know very well inside of Gramps what sel_data can be, so # we can anticipate on it, instead of letting the wrapper handle # it. This is less clean however ! # See http://www.gramps-project.org/bugs/view.php?id=3089 for @@ -1447,7 +1447,7 @@ class ClipboardWindow(ManagedWindow): self.clear_btn.set_sensitive(True) def on_help_clicked(self, obj): - """Display the relevant portion of GRAMPS manual""" + """Display the relevant portion of Gramps manual""" display_help(webpage=WIKI_HELP_PAGE, section=WIKI_HELP_SEC) def on_clear_clicked(self, obj): diff --git a/gramps/gui/displaystate.py b/gramps/gui/displaystate.py index 827e62c3d..50a637fc9 100644 --- a/gramps/gui/displaystate.py +++ b/gramps/gui/displaystate.py @@ -517,7 +517,7 @@ class DisplayState(Callback): def set_gendepth(self, value): """ Set the generations we search back for showing relationships - on GRAMPS interface. Value must be integer > 0 + on Gramps interface. Value must be integer > 0 This method will be used by the preference editor when user changes the generations. """ diff --git a/gramps/gui/editors/displaytabs/grampstab.py b/gramps/gui/editors/displaytabs/grampstab.py index d7cb152f2..2ec5e99fc 100644 --- a/gramps/gui/editors/displaytabs/grampstab.py +++ b/gramps/gui/editors/displaytabs/grampstab.py @@ -40,7 +40,7 @@ _RIGHT = Gdk.keyval_from_name("Right") class GrampsTab(Gtk.Box): """ This class provides the base level class for 'tabs', which are used to - fill in notebook tabs for GRAMPS edit dialogs. + fill in notebook tabs for Gramps edit dialogs. Each tab returns a gtk container widget which can be inserted into a Gtk.Notebook by the instantiating object. diff --git a/gramps/gui/editors/editevent.py b/gramps/gui/editors/editevent.py index ba8d95be0..f2726f292 100644 --- a/gramps/gui/editors/editevent.py +++ b/gramps/gui/editors/editevent.py @@ -228,7 +228,7 @@ class EditEvent(EditPrimary): return (_('Edit Event'), self.get_menu_title()) def help_clicked(self, obj): - """Display the relevant portion of GRAMPS manual""" + """Display the relevant portion of Gramps manual""" display_help(webpage=WIKI_HELP_PAGE, section=WIKI_HELP_SEC) def save(self, *obj): diff --git a/gramps/gui/editors/editperson.py b/gramps/gui/editors/editperson.py index a39eff8c0..5210eb684 100644 --- a/gramps/gui/editors/editperson.py +++ b/gramps/gui/editors/editperson.py @@ -22,7 +22,7 @@ # """ -EditPerson Dialog. Provide the interface to allow the GRAMPS program +EditPerson Dialog. Provide the interface to allow the Gramps program to edit information about a particular Person. """ diff --git a/gramps/gui/editors/editprimary.py b/gramps/gui/editors/editprimary.py index 5f46d6104..90cd58ced 100644 --- a/gramps/gui/editors/editprimary.py +++ b/gramps/gui/editors/editprimary.py @@ -339,9 +339,9 @@ class EditPrimary(ManagedWindow, DbGUIElement, metaclass=abc.ABCMeta): def _uses_duplicate_id(self): """ - Check whether a changed or added GRAMPS ID already exists in the DB. + Check whether a changed or added Gramps ID already exists in the DB. - Return True if a duplicate GRAMPS ID has been detected. + Return True if a duplicate Gramps ID has been detected. """ idval = self.obj.get_gramps_id() diff --git a/gramps/gui/filters/__init__.py b/gramps/gui/filters/__init__.py index 615b60477..72fafbf51 100644 --- a/gramps/gui/filters/__init__.py +++ b/gramps/gui/filters/__init__.py @@ -19,7 +19,7 @@ # """ -Package providing filtering framework for GRAMPS. +Package providing filtering framework for Gramps. """ from ._filtercombobox import FilterComboBox diff --git a/gramps/gui/filters/_filtercombobox.py b/gramps/gui/filters/_filtercombobox.py index de8743ea2..548d7700b 100644 --- a/gramps/gui/filters/_filtercombobox.py +++ b/gramps/gui/filters/_filtercombobox.py @@ -19,7 +19,7 @@ # """ -Package providing filtering framework for GRAMPS. +Package providing filtering framework for Gramps. """ #------------------------------------------------------------------------- diff --git a/gramps/gui/filters/_filterstore.py b/gramps/gui/filters/_filterstore.py index af0679e8c..e5d0c9d1e 100644 --- a/gramps/gui/filters/_filterstore.py +++ b/gramps/gui/filters/_filterstore.py @@ -19,7 +19,7 @@ # """ -Package providing filtering framework for GRAMPS. +Package providing filtering framework for Gramps. """ #------------------------------------------------------------------------- diff --git a/gramps/gui/filters/_searchbar.py b/gramps/gui/filters/_searchbar.py index 986a67390..b34f889ed 100644 --- a/gramps/gui/filters/_searchbar.py +++ b/gramps/gui/filters/_searchbar.py @@ -20,7 +20,7 @@ from gi.repository import GObject """ -Package providing filtering framework for GRAMPS. +Package providing filtering framework for Gramps. """ #------------------------------------------------------------------------- diff --git a/gramps/gui/filters/sidebar/__init__.py b/gramps/gui/filters/sidebar/__init__.py index e1c0f6e8a..ce589576f 100644 --- a/gramps/gui/filters/sidebar/__init__.py +++ b/gramps/gui/filters/sidebar/__init__.py @@ -20,7 +20,7 @@ # """ -Package providing sidebar filters for GRAMPS. +Package providing sidebar filters for Gramps. """ from ._sidebarfilter import SidebarFilter diff --git a/gramps/gui/managedwindow.py b/gramps/gui/managedwindow.py index 7bd190b42..c35c202ff 100644 --- a/gramps/gui/managedwindow.py +++ b/gramps/gui/managedwindow.py @@ -20,7 +20,7 @@ # """ -Provide the managed window interface, which allows GRAMPS to track +Provide the managed window interface, which allows Gramps to track the create/deletion of dialog windows. """ @@ -78,7 +78,7 @@ def get_object(self,value): class GrampsWindowManager: """ - Manage hierarchy of open GRAMPS windows. + Manage hierarchy of open Gramps windows. This class's purpose is to manage the hierarchy of open windows. The idea is to maintain the tree of branches and leaves. @@ -372,7 +372,7 @@ class ManagedWindow: return (menu_label, submenu_label) :param uistate: gramps uistate - :param track: {list of parent windows, [] if the main GRAMPS window + :param track: {list of parent windows, [] if the main Gramps window is the parent} :param obj: The object that is used to id the managed window, The inheriting object needs a method diff --git a/gramps/gui/selectors/selectcitation.py b/gramps/gui/selectors/selectcitation.py index 1b2432605..d8faaa015 100644 --- a/gramps/gui/selectors/selectcitation.py +++ b/gramps/gui/selectors/selectcitation.py @@ -21,7 +21,7 @@ # """ -SelectCitation class for GRAMPS. +SelectCitation class for Gramps. """ #------------------------------------------------------------------------- diff --git a/gramps/gui/viewmanager.py b/gramps/gui/viewmanager.py index af6d57942..18d7aa182 100644 --- a/gramps/gui/viewmanager.py +++ b/gramps/gui/viewmanager.py @@ -267,7 +267,7 @@ class ViewManager(CLIManager): def __init__(self, dbstate, view_category_order, user=None): """ - The viewmanager is initialised with a dbstate on which GRAMPS is + The viewmanager is initialised with a dbstate on which Gramps is working, and a fixed view_category_order, which is the order in which the view categories are accessible in the sidebar. """ @@ -1557,7 +1557,7 @@ def key_bindings(obj): def manual_activate(obj): """ - Display the GRAMPS manual + Display the Gramps manual """ display_help(webpage=WIKI_HELP_PAGE_MAN) @@ -1569,7 +1569,7 @@ def report_bug_activate(obj): def home_page_activate(obj): """ - Display the GRAMPS home page + Display the Gramps home page """ display_url(URL_HOMEPAGE) diff --git a/gramps/gui/views/bookmarks.py b/gramps/gui/views/bookmarks.py index fa4d5751a..b45f54df7 100644 --- a/gramps/gui/views/bookmarks.py +++ b/gramps/gui/views/bookmarks.py @@ -350,7 +350,7 @@ class BookmarksDialog(ManagedWindow): self.modified = True def help_clicked(self): - """Display the relevant portion of GRAMPS manual.""" + """Display the relevant portion of Gramps manual.""" display_help(webpage=WIKI_HELP_PAGE, section=WIKI_HELP_SEC) def build_menu_names(self, obj): # this is meaningless while it's modal diff --git a/gramps/gui/views/pageview.py b/gramps/gui/views/pageview.py index 254b10984..5d56d43a8 100644 --- a/gramps/gui/views/pageview.py +++ b/gramps/gui/views/pageview.py @@ -60,7 +60,7 @@ from ..actiongroup import ActionGroup #------------------------------------------------------------------------------ class PageView(DbGUIElement, metaclass=ABCMeta): """ - The PageView class is the base class for all Data Views in GRAMPS. All + The PageView class is the base class for all Data Views in Gramps. All Views should derive from this class. The ViewManager understands the public interface of this class diff --git a/gramps/gui/views/treemodels/citationbasemodel.py b/gramps/gui/views/treemodels/citationbasemodel.py index d925a6680..d5df60179 100644 --- a/gramps/gui/views/treemodels/citationbasemodel.py +++ b/gramps/gui/views/treemodels/citationbasemodel.py @@ -20,7 +20,7 @@ # """ -CitationBaseModel classes for GRAMPS. +CitationBaseModel classes for Gramps. """ #------------------------------------------------------------------------- diff --git a/gramps/gui/views/treemodels/citationlistmodel.py b/gramps/gui/views/treemodels/citationlistmodel.py index 992c1ebcf..e8b0e01a7 100644 --- a/gramps/gui/views/treemodels/citationlistmodel.py +++ b/gramps/gui/views/treemodels/citationlistmodel.py @@ -20,7 +20,7 @@ # """ -CitationListModel class for GRAMPS. +CitationListModel class for Gramps. """ #------------------------------------------------------------------------- diff --git a/gramps/gui/views/treemodels/citationtreemodel.py b/gramps/gui/views/treemodels/citationtreemodel.py index c7763a3ef..770f50bde 100644 --- a/gramps/gui/views/treemodels/citationtreemodel.py +++ b/gramps/gui/views/treemodels/citationtreemodel.py @@ -20,7 +20,7 @@ # """ -CitationTreeModel classes for GRAMPS. +CitationTreeModel classes for Gramps. """ #------------------------------------------------------------------------- diff --git a/gramps/gui/views/treemodels/flatbasemodel.py b/gramps/gui/views/treemodels/flatbasemodel.py index bf05c4f57..af31d044a 100644 --- a/gramps/gui/views/treemodels/flatbasemodel.py +++ b/gramps/gui/views/treemodels/flatbasemodel.py @@ -23,7 +23,7 @@ """ This module provides the flat treemodel that is used for all flat treeviews. -For performance, GRAMPS does not use Gtk.TreeStore, as that would mean keeping +For performance, Gramps does not use Gtk.TreeStore, as that would mean keeping the entire database table of an object in memory. Instead, it suffices to keep in memory the sortkey and the matching handle, as well as a map of sortkey,handle to treeview path, and vice versa. diff --git a/gramps/gui/views/treemodels/peoplemodel.py b/gramps/gui/views/treemodels/peoplemodel.py index 2e4db0da7..69884f59e 100644 --- a/gramps/gui/views/treemodels/peoplemodel.py +++ b/gramps/gui/views/treemodels/peoplemodel.py @@ -22,7 +22,7 @@ # """ -TreeModel for the GRAMPS Person tree. +TreeModel for the Gramps Person tree. """ #------------------------------------------------------------------------- diff --git a/gramps/gui/widgets/fanchart2way.py b/gramps/gui/widgets/fanchart2way.py index 954d4a206..50dd6ce34 100644 --- a/gramps/gui/widgets/fanchart2way.py +++ b/gramps/gui/widgets/fanchart2way.py @@ -48,7 +48,7 @@ from cgi import escape #------------------------------------------------------------------------- # -# GRAMPS modules +# Gramps modules # #------------------------------------------------------------------------- from gramps.gen.display.name import displayer as name_displayer diff --git a/gramps/gui/widgets/grampletpane.py b/gramps/gui/widgets/grampletpane.py index 748fbaf7e..76a8e8f7e 100644 --- a/gramps/gui/widgets/grampletpane.py +++ b/gramps/gui/widgets/grampletpane.py @@ -275,7 +275,7 @@ class GrampletWindow(ManagedWindow): def build_menu_names(self, obj): """ - Part of the GRAMPS window interface. + Part of the Gramps window interface. """ return (self.title, 'Gramplet') @@ -1143,7 +1143,7 @@ class GrampletPane(Gtk.ScrolledWindow): gramplet.expand, True, 0) # set height on gramplet.scrolledwindow here: gramplet.scrolledwindow.set_size_request(-1, gramplet.height) - # Can't minimize here, because GRAMPS calls show_all later: + # Can't minimize here, because Gramps calls show_all later: #if gramplet.gstate == "minimized": # starts max, change to min it # gramplet.set_state("minimized") # minimize it # set minimized is called in page subclass hack (above) diff --git a/gramps/plugins/docgen/htmldoc.py b/gramps/plugins/docgen/htmldoc.py index 75ca7aec5..cb99e0c64 100644 --- a/gramps/plugins/docgen/htmldoc.py +++ b/gramps/plugins/docgen/htmldoc.py @@ -150,7 +150,7 @@ class HtmlDoc(BaseDoc, TextDoc): fname2 = '/'.join([self._backend.datadir(), _TEXTDOCSCREEN]) fname3 = '/'.join([self._backend.datadir(), _HTMLSCREEN]) - # links for GRAMPS favicon and stylesheets + # links for Gramps favicon and stylesheets links = Html('link', rel='shortcut icon', href=fname1, type='image/x-icon') + ( Html('link', rel='stylesheet', href=fname2, diff --git a/gramps/plugins/docgen/latexdoc.py b/gramps/plugins/docgen/latexdoc.py index ea041a63a..4278f564f 100644 --- a/gramps/plugins/docgen/latexdoc.py +++ b/gramps/plugins/docgen/latexdoc.py @@ -87,7 +87,7 @@ _LATEX_TEMPLATE = '''% \\usepackage[T1]{fontenc}% % % We use latin1 encoding at a minimum by default. -% GRAMPS uses unicode UTF-8 encoding for its +% Gramps uses unicode UTF-8 encoding for its % international support. LaTeX can deal gracefully % with unicode encoding by using the ucs style invoked % when utf8 is specified as an option to the inputenc diff --git a/gramps/plugins/drawreport/ancestortree.py b/gramps/plugins/drawreport/ancestortree.py index ad49a5fe8..7b3ea8145 100644 --- a/gramps/plugins/drawreport/ancestortree.py +++ b/gramps/plugins/drawreport/ancestortree.py @@ -547,7 +547,7 @@ class AncestorTree(Report): The arguments are: - database - the GRAMPS database instance + database - the Gramps database instance options - instance of the Options class for this report user - a gen.user.User() instance """ diff --git a/gramps/plugins/drawreport/descendtree.py b/gramps/plugins/drawreport/descendtree.py index aaaefa2a1..257a77788 100644 --- a/gramps/plugins/drawreport/descendtree.py +++ b/gramps/plugins/drawreport/descendtree.py @@ -1279,7 +1279,7 @@ class DescendTree(Report): Create DescendTree object that produces the report. The arguments are: - database - the GRAMPS database instance + database - the Gramps database instance options - instance of the Options class for this report user - a gen.user.User() instance diff --git a/gramps/plugins/drawreport/fanchart.py b/gramps/plugins/drawreport/fanchart.py index 9465f5b66..74d6e3419 100644 --- a/gramps/plugins/drawreport/fanchart.py +++ b/gramps/plugins/drawreport/fanchart.py @@ -154,7 +154,7 @@ class FanChart(Report): The arguments are: - database - the GRAMPS database instance + database - the Gramps database instance options - instance of the Options class for this report user - a gen.user.User instance diff --git a/gramps/plugins/drawreport/statisticschart.py b/gramps/plugins/drawreport/statisticschart.py index c7775f9b3..5e9c98a8c 100644 --- a/gramps/plugins/drawreport/statisticschart.py +++ b/gramps/plugins/drawreport/statisticschart.py @@ -210,7 +210,7 @@ def estimate_age(dbase, person, and lower bounds of the person's age is returned. If either the birth or death date is missing, a (-1, -1) is returned. - @param dbase: GRAMPS database to which the Person object belongs + @param dbase: Gramps database to which the Person object belongs @type dbase: DbBase @param person: Person object to calculate the age of @type person: Person @@ -575,7 +575,7 @@ class Extract: for child_ref in fam.get_child_ref_list(): children.append(child_ref.ref) # TODO: it would be good to return only biological children, - # but GRAMPS doesn't offer any efficient way to check that + # but Gramps doesn't offer any efficient way to check that # (I don't want to check each children's parent family mother # and father relations as that would make this *much* slower) if children: @@ -642,7 +642,7 @@ class Extract: """goes through the database and collects the selected personal data persons fitting the filter and birth year criteria. The arguments are: - dbase - the GRAMPS database + dbase - the Gramps database people - a list of filtered people options - report options_dict which sets which methods are used genders - which gender(s) to include into statistics @@ -729,7 +729,7 @@ class StatisticsChart(Report): The arguments are: - database - the GRAMPS database instance + database - the Gramps database instance options - instance of the Options class for this report user - a gen.user.User() instance incl_private - Whether to include private data diff --git a/gramps/plugins/drawreport/timeline.py b/gramps/plugins/drawreport/timeline.py index 34e2cd320..db5d79164 100644 --- a/gramps/plugins/drawreport/timeline.py +++ b/gramps/plugins/drawreport/timeline.py @@ -79,7 +79,7 @@ class TimeLine(Report): The arguments are: - database - the GRAMPS database instance + database - the Gramps database instance options - instance of the Options class for this report user - instance of gen.user.User() diff --git a/gramps/plugins/export/exportpkg.py b/gramps/plugins/export/exportpkg.py index 11f76b4bc..08fd978a8 100644 --- a/gramps/plugins/export/exportpkg.py +++ b/gramps/plugins/export/exportpkg.py @@ -22,7 +22,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -"Export to GRAMPS package" +"Export to Gramps package" #------------------------------------------------------------------------- # diff --git a/gramps/plugins/gramplet/fanchart2waygramplet.py b/gramps/plugins/gramplet/fanchart2waygramplet.py index 06680de2b..c1b7c670b 100644 --- a/gramps/plugins/gramplet/fanchart2waygramplet.py +++ b/gramps/plugins/gramplet/fanchart2waygramplet.py @@ -39,7 +39,7 @@ except ImportError: #------------------------------------------------------------------------- # -# GRAMPS modules +# Gramps modules # #------------------------------------------------------------------------- from gramps.gen.const import GRAMPS_LOCALE as glocale diff --git a/gramps/plugins/graph/gvfamilylines.py b/gramps/plugins/graph/gvfamilylines.py index f85b16102..110fc174b 100644 --- a/gramps/plugins/graph/gvfamilylines.py +++ b/gramps/plugins/graph/gvfamilylines.py @@ -329,7 +329,7 @@ class FamilyLinesReport(Report): The arguments are: - database - the GRAMPS database instance + database - the Gramps database instance options - instance of the FamilyLinesOptions class for this report user - a gen.user.User() instance name_format - Preferred format to display names diff --git a/gramps/plugins/graph/gvrelgraph.py b/gramps/plugins/graph/gvrelgraph.py index 9c491a0fd..6dffcb4c9 100644 --- a/gramps/plugins/graph/gvrelgraph.py +++ b/gramps/plugins/graph/gvrelgraph.py @@ -91,7 +91,7 @@ class RelGraphReport(Report): The arguments are: - database - the GRAMPS database instance + database - the Gramps database instance options - instance of the Options class for this report user - a gen.user.User() instance diff --git a/gramps/plugins/importer/importprogen.py b/gramps/plugins/importer/importprogen.py index 075be721e..beabf4d04 100644 --- a/gramps/plugins/importer/importprogen.py +++ b/gramps/plugins/importer/importprogen.py @@ -539,7 +539,7 @@ class ProgenParser(UpdateCallback): Pro-Gen defines his own set of (static) person and family identifiers. """ UpdateCallback.__init__(self, user.callback) - # Sometime their match the GRAMPS localisation, sometimes not. To be on + # Sometime their match the Gramps localisation, sometimes not. To be on # a safe and uniform path person and family identifiers for (alphabetical) # German (de), English (en) and Dutch (nl) language defined here. self.bname, ext = os.path.splitext(file_name) @@ -754,7 +754,7 @@ class ProgenParser(UpdateCallback): Finds or creates a Person based on the Pro-Gen ID. """ # If the ID is already used (= is in the database), we return the item in - # the DB. Otherwise, we create a new person, assign the handle and GRAMPS ID. + # the DB. Otherwise, we create a new person, assign the handle and Gramps ID. person = Person() intid = self.gid2id.get(progen_id) if self.dbase.has_person_handle(intid): diff --git a/gramps/plugins/lib/libgedcom.py b/gramps/plugins/lib/libgedcom.py index 4c4af2451..dcc4d90be 100644 --- a/gramps/plugins/lib/libgedcom.py +++ b/gramps/plugins/lib/libgedcom.py @@ -53,7 +53,7 @@ parser contains: Level, Token, Token text, Data, and line number. The Data field is typically text, but in some cases, it may be a integer -value representing an enumerated type or a GRAMPS object (in the case of +value representing an enumerated type or a Gramps object (in the case of dates). The parser works on the current level. Each context and level has a an @@ -595,7 +595,7 @@ LDS_STATUS = { # otherwise handled by the code, the tag itself is used for display and # export. For example "_XYZ" is not in the table and will be displayed as # "_XYZ" and exported as an EVEN.TYPE=_XYZ -# As Custom entries, they do not appear in GRAMPS Events add choice unless +# As Custom entries, they do not appear in Gramps Events add choice unless # already imported via GEDCOM. # # ------------------------------------------------------------------------- @@ -629,7 +629,7 @@ DEL_AND_C1 = dict.fromkeys(list(range(0x7F, 0x9F))) #------------------------------------------------------------------------- # -# GEDCOM events to GRAMPS events conversion +# GEDCOM events to Gramps events conversion # #------------------------------------------------------------------------- GED_TO_GRAMPS_EVENT = {} @@ -1029,7 +1029,7 @@ class GedLine: """ Checks to see if the token maps a known GEDCOM event. If so, we change the type from UNKNOWN to TOKEN_GEVENT (gedcom event), and - the data is assigned to the associated GRAMPS EventType + the data is assigned to the associated Gramps EventType """ token = GED_TO_GRAMPS_EVENT.get(self.token_text) if token: @@ -1703,7 +1703,7 @@ class GedcomParser(UpdateCallback): @staticmethod def __find_from_handle(gramps_id, table): """ - Find a handle corresponding to the specified GRAMPS ID. + Find a handle corresponding to the specified Gramps ID. The passed table contains the mapping. If the value is found, we return it, otherwise we create a new handle, store it, and return it. @@ -2665,33 +2665,33 @@ class GedcomParser(UpdateCallback): def __find_person_handle(self, gramps_id): """ - Return the database handle associated with the person's GRAMPS ID + Return the database handle associated with the person's Gramps ID """ return self.__find_from_handle(gramps_id, self.gid2id) def __find_family_handle(self, gramps_id): """ - Return the database handle associated with the family's GRAMPS ID + Return the database handle associated with the family's Gramps ID """ return self.__find_from_handle(gramps_id, self.fid2id) def __find_media_handle(self, gramps_id): """ - Return the database handle associated with the media object's GRAMPS ID + Return the database handle associated with the media object's Gramps ID """ return self.__find_from_handle(gramps_id, self.oid2id) def __find_note_handle(self, gramps_id): """ - Return the database handle associated with the media object's GRAMPS ID + Return the database handle associated with the media object's Gramps ID """ return self.__find_from_handle(gramps_id, self.nid2id) def __find_or_create_person(self, gramps_id): """ - Finds or creates a person based on the GRAMPS ID. If the ID is + Finds or creates a person based on the Gramps ID. If the ID is already used (is in the db), we return the item in the db. Otherwise, - we create a new person, assign the handle and GRAMPS ID. + we create a new person, assign the handle and Gramps ID. """ person = Person() intid = self.gid2id.get(gramps_id) @@ -2705,9 +2705,9 @@ class GedcomParser(UpdateCallback): def __find_or_create_family(self, gramps_id): """ - Finds or creates a family based on the GRAMPS ID. If the ID is + Finds or creates a family based on the Gramps ID. If the ID is already used (is in the db), we return the item in the db. Otherwise, - we create a new family, assign the handle and GRAMPS ID. + we create a new family, assign the handle and Gramps ID. """ family = Family() # Add a counter for reordering the children later: @@ -2723,9 +2723,9 @@ class GedcomParser(UpdateCallback): def __find_or_create_media(self, gramps_id): """ - Finds or creates a media object based on the GRAMPS ID. If the ID is + Finds or creates a media object based on the Gramps ID. If the ID is already used (is in the db), we return the item in the db. Otherwise, - we create a new media object, assign the handle and GRAMPS ID. + we create a new media object, assign the handle and Gramps ID. """ obj = Media() intid = self.oid2id.get(gramps_id) @@ -2739,10 +2739,10 @@ class GedcomParser(UpdateCallback): def __find_or_create_source(self, gramps_id): """ - Find or create a source based on the GRAMPS ID. + Find or create a source based on the Gramps ID. If the ID is already used (is in the db), we return the item in the - db. Otherwise, we create a new source, assign the handle and GRAMPS ID. + db. Otherwise, we create a new source, assign the handle and Gramps ID. """ obj = Source() @@ -2757,9 +2757,9 @@ class GedcomParser(UpdateCallback): def __find_or_create_repository(self, gramps_id): """ - Finds or creates a repository based on the GRAMPS ID. If the ID is + Finds or creates a repository based on the Gramps ID. If the ID is already used (is in the db), we return the item in the db. Otherwise, - we create a new repository, assign the handle and GRAMPS ID. + we create a new repository, assign the handle and Gramps ID. Some GEDCOM "flavors" destroy the specification, and declare the repository inline instead of in a object. @@ -2776,10 +2776,10 @@ class GedcomParser(UpdateCallback): def __find_or_create_note(self, gramps_id): """ - Finds or creates a note based on the GRAMPS ID. If the ID is + Finds or creates a note based on the Gramps ID. If the ID is already used (is in the db), we return the item in the db. Otherwise, - we create a new note, assign the handle and GRAMPS ID. - If no GRAMPS ID is passed in, we not only make a Note with GID, we + we create a new note, assign the handle and Gramps ID. + If no Gramps ID is passed in, we not only make a Note with GID, we commit it. """ note = Note() @@ -3793,7 +3793,7 @@ class GedcomParser(UpdateCallback): def __person_std_event(self, line, state): """ - Parses GEDCOM event types that map to a GRAMPS standard type. Additional + Parses GEDCOM event types that map to a Gramps standard type. Additional parsing required is for the event detail: +1 <> {0:1} p.* @@ -3843,8 +3843,8 @@ class GedcomParser(UpdateCallback): def __person_birt(self, line, state): """ - Parses GEDCOM BIRT tag into a GRAMPS birth event. Additional work - must be done, since additional handling must be done by GRAMPS to set + Parses GEDCOM BIRT tag into a Gramps birth event. Additional work + must be done, since additional handling must be done by Gramps to set this up as a birth reference event. n BIRT [Y|] {1:1} @@ -3888,8 +3888,8 @@ class GedcomParser(UpdateCallback): def __person_deat(self, line, state): """ - Parses GEDCOM DEAT tag into a GRAMPS birth event. Additional work - must be done, since additional handling must be done by GRAMPS to set + Parses GEDCOM DEAT tag into a Gramps birth event. Additional work + must be done, since additional handling must be done by Gramps to set this up as a death reference event. n DEAT [Y|] {1:1} @@ -4323,7 +4323,7 @@ class GedcomParser(UpdateCallback): def __person_std_attr(self, line, state): """ - Parses an TOKEN that GRAMPS recognizes as an Attribute + Parses an TOKEN that Gramps recognizes as an Attribute @param line: The current line in GedLine format @type line: GedLine @@ -4341,7 +4341,7 @@ class GedcomParser(UpdateCallback): def __person_fact(self, line, state): """ - Parses an TOKEN that GRAMPS recognizes as an Attribute + Parses an TOKEN that Gramps recognizes as an Attribute @param line: The current line in GedLine format @type line: GedLine @@ -4363,7 +4363,7 @@ class GedcomParser(UpdateCallback): def __person_bapl(self, line, state): """ - Parses an BAPL TOKEN, producing a GRAMPS LdsOrd instance + Parses an BAPL TOKEN, producing a Gramps LdsOrd instance @param line: The current line in GedLine format @type line: GedLine @@ -4374,7 +4374,7 @@ class GedcomParser(UpdateCallback): def __person_conl(self, line, state): """ - Parses an CONL TOKEN, producing a GRAMPS LdsOrd instance + Parses an CONL TOKEN, producing a Gramps LdsOrd instance @param line: The current line in GedLine format @type line: GedLine @@ -4385,7 +4385,7 @@ class GedcomParser(UpdateCallback): def __person_endl(self, line, state): """ - Parses an ENDL TOKEN, producing a GRAMPS LdsOrd instance + Parses an ENDL TOKEN, producing a Gramps LdsOrd instance @param line: The current line in GedLine format @type line: GedLine @@ -4396,7 +4396,7 @@ class GedcomParser(UpdateCallback): def __person_slgc(self, line, state): """ - Parses an SLGC TOKEN, producing a GRAMPS LdsOrd instance + Parses an SLGC TOKEN, producing a Gramps LdsOrd instance @param line: The current line in GedLine format @type line: GedLine @@ -4639,7 +4639,7 @@ class GedcomParser(UpdateCallback): def __person_famc_sour(self, line, state): """ - Parses the SOUR tag on an INDI.FAMC tag. GRAMPS has no corresponding + Parses the SOUR tag on an INDI.FAMC tag. Gramps has no corresponding record on its family relationship, so we add the source to the Person record. @@ -4844,7 +4844,7 @@ class GedcomParser(UpdateCallback): def __family_std_event(self, line, state): """ - Parses GEDCOM event types that map to a GRAMPS standard type. Additional + Parses GEDCOM event types that map to a Gramps standard type. Additional parsing required is for the event detail: +1 <> {0:1} p.* @@ -4889,7 +4889,7 @@ class GedcomParser(UpdateCallback): def __family_even(self, line, state): """ - Parses GEDCOM event types that map to a GRAMPS standard type. Additional + Parses GEDCOM event types that map to a Gramps standard type. Additional parsing required is for the event detail: +1 <> {0:1} p.* @@ -7554,7 +7554,7 @@ class GedcomParser(UpdateCallback): > +1 <> {0:M} The Note structure is ignored, since we have nothing - corresponding in GRAMPS. + corresponding in Gramps. Based on the values calculated, attempt to convert to a valid change time using time.strptime. If this fails (and it shouldn't @@ -7961,7 +7961,7 @@ class GedcomStageOne: #------------------------------------------------------------------------- def make_gedcom_date(subdate, calendar, mode, quality): """ - Convert a GRAMPS date structure into a GEDCOM compatible date. + Convert a Gramps date structure into a GEDCOM compatible date. """ retval = "" (day, mon, year) = subdate[0:3] diff --git a/gramps/plugins/lib/libholiday.py b/gramps/plugins/lib/libholiday.py index 1167deb40..e527c6a88 100644 --- a/gramps/plugins/lib/libholiday.py +++ b/gramps/plugins/lib/libholiday.py @@ -47,7 +47,7 @@ from gramps.gen.lib.gcalendar import (gregorian_ymd, hebrew_sdn) # #------------------------------------------------------------------------ def g2iso(dow): - """ Converst GRAMPS day of week to ISO day of week """ + """ Converst Gramps day of week to ISO day of week """ # Gramps: SUN = 1 # ISO: MON = 1 return (dow + 5) % 7 + 1 diff --git a/gramps/plugins/rel/rel_de.py b/gramps/plugins/rel/rel_de.py index 613d162e4..fa4f403ac 100644 --- a/gramps/plugins/rel/rel_de.py +++ b/gramps/plugins/rel/rel_de.py @@ -25,7 +25,7 @@ # by Don Allingham and on valuable input from Dr. Martin Senftleben # Modified by Joachim Breitner to not use „Großcousine“, in accordance with # http://de.wikipedia.org/wiki/Verwandtschaftsbeziehung -# Rewritten from scratch for GRAMPS 3 by Stefan Siegel, +# Rewritten from scratch for Gramps 3 by Stefan Siegel, # loosely based on rel_fr.py """ German-specific classes for relationships. diff --git a/gramps/plugins/rel/rel_is.py b/gramps/plugins/rel/rel_is.py index 67c7d4238..ab663a286 100644 --- a/gramps/plugins/rel/rel_is.py +++ b/gramps/plugins/rel/rel_is.py @@ -30,7 +30,7 @@ Icelandic-Specific classes for relationships. #------------------------------------------------------------------------- # -# GRAMPS modules +# Gramps modules # #------------------------------------------------------------------------- diff --git a/gramps/plugins/textreport/alphabeticalindex.py b/gramps/plugins/textreport/alphabeticalindex.py index e45e43be9..498f931df 100644 --- a/gramps/plugins/textreport/alphabeticalindex.py +++ b/gramps/plugins/textreport/alphabeticalindex.py @@ -52,7 +52,7 @@ class AlphabeticalIndex(Report): The arguments are: - database - the GRAMPS database instance + database - the Gramps database instance options - instance of the Options class for this report user - a gen.user.User() instance """ diff --git a/gramps/plugins/textreport/ancestorreport.py b/gramps/plugins/textreport/ancestorreport.py index 48b01605e..3ab70dc96 100644 --- a/gramps/plugins/textreport/ancestorreport.py +++ b/gramps/plugins/textreport/ancestorreport.py @@ -77,7 +77,7 @@ class AncestorReport(Report): The arguments are: - database - the GRAMPS database instance + database - the Gramps database instance options - instance of the Options class for this report user - a gen.user.User() instance diff --git a/gramps/plugins/textreport/custombooktext.py b/gramps/plugins/textreport/custombooktext.py index ef5736d21..1878b759b 100644 --- a/gramps/plugins/textreport/custombooktext.py +++ b/gramps/plugins/textreport/custombooktext.py @@ -65,7 +65,7 @@ class CustomText(Report): The arguments are: - database - the GRAMPS database instance + database - the Gramps database instance options - instance of the Options class for this report user - a gen.user.User() instance diff --git a/gramps/plugins/textreport/descendreport.py b/gramps/plugins/textreport/descendreport.py index 1709ab316..6ed68df01 100644 --- a/gramps/plugins/textreport/descendreport.py +++ b/gramps/plugins/textreport/descendreport.py @@ -407,7 +407,7 @@ class DescendantReport(Report): The arguments are: - database - the GRAMPS database instance + database - the Gramps database instance options - instance of the Options class for this report user - a gen.user.User() instance diff --git a/gramps/plugins/textreport/detancestralreport.py b/gramps/plugins/textreport/detancestralreport.py index 8865771a9..014b8a603 100644 --- a/gramps/plugins/textreport/detancestralreport.py +++ b/gramps/plugins/textreport/detancestralreport.py @@ -84,7 +84,7 @@ class DetAncestorReport(Report): The arguments are: - database - the GRAMPS database instance + database - the Gramps database instance options - instance of the Options class for this report user - a gen.user.User() instance diff --git a/gramps/plugins/textreport/detdescendantreport.py b/gramps/plugins/textreport/detdescendantreport.py index feedcb535..e56cfbcce 100644 --- a/gramps/plugins/textreport/detdescendantreport.py +++ b/gramps/plugins/textreport/detdescendantreport.py @@ -87,7 +87,7 @@ class DetDescendantReport(Report): The arguments are: - database - the GRAMPS database instance + database - the Gramps database instance options - instance of the Options class for this report user - a gen.user.User() instance diff --git a/gramps/plugins/textreport/endoflinereport.py b/gramps/plugins/textreport/endoflinereport.py index bbc6b8d1e..c02f17355 100644 --- a/gramps/plugins/textreport/endoflinereport.py +++ b/gramps/plugins/textreport/endoflinereport.py @@ -62,7 +62,7 @@ class EndOfLineReport(Report): The arguments are: - database - the GRAMPS database instance + database - the Gramps database instance options - instance of the Options class for this report user - a gen.user.User() instance diff --git a/gramps/plugins/textreport/familygroup.py b/gramps/plugins/textreport/familygroup.py index 4bd24eed1..12c717de7 100644 --- a/gramps/plugins/textreport/familygroup.py +++ b/gramps/plugins/textreport/familygroup.py @@ -66,7 +66,7 @@ class FamilyGroup(Report): The arguments are: - database - the GRAMPS database instance + database - the Gramps database instance options - instance of the Options class for this report user - a gen.user.User() instance diff --git a/gramps/plugins/textreport/indivcomplete.py b/gramps/plugins/textreport/indivcomplete.py index cc2bd62e7..6593e3961 100644 --- a/gramps/plugins/textreport/indivcomplete.py +++ b/gramps/plugins/textreport/indivcomplete.py @@ -99,7 +99,7 @@ class IndivCompleteReport(Report): The arguments are: - database - the GRAMPS database instance + database - the Gramps database instance options - instance of the Options class for this report user - a gen.user.User() instance diff --git a/gramps/plugins/textreport/kinshipreport.py b/gramps/plugins/textreport/kinshipreport.py index 88272a640..6a09eef16 100644 --- a/gramps/plugins/textreport/kinshipreport.py +++ b/gramps/plugins/textreport/kinshipreport.py @@ -65,7 +65,7 @@ class KinshipReport(Report): The arguments are: - database - the GRAMPS database instance + database - the Gramps database instance options - instance of the Options class for this report user - a gen.user.User() instance diff --git a/gramps/plugins/textreport/numberofancestorsreport.py b/gramps/plugins/textreport/numberofancestorsreport.py index 2779374f3..98055d55d 100644 --- a/gramps/plugins/textreport/numberofancestorsreport.py +++ b/gramps/plugins/textreport/numberofancestorsreport.py @@ -65,7 +65,7 @@ class NumberOfAncestorsReport(Report): The arguments are: - database - the GRAMPS database instance + database - the Gramps database instance options - instance of the Options class for this report user - a gen.user.User() instance diff --git a/gramps/plugins/textreport/placereport.py b/gramps/plugins/textreport/placereport.py index f35d75c2e..0466f3f37 100644 --- a/gramps/plugins/textreport/placereport.py +++ b/gramps/plugins/textreport/placereport.py @@ -61,7 +61,7 @@ class PlaceReport(Report): The arguments are: - database - the GRAMPS database instance + database - the Gramps database instance options - instance of the Options class for this report user - instance of a gen.user.User class diff --git a/gramps/plugins/textreport/simplebooktitle.py b/gramps/plugins/textreport/simplebooktitle.py index afffa2540..3e7c05a47 100644 --- a/gramps/plugins/textreport/simplebooktitle.py +++ b/gramps/plugins/textreport/simplebooktitle.py @@ -58,7 +58,7 @@ class SimpleBookTitle(Report): The arguments are: - database - the GRAMPS database instance + database - the Gramps database instance options - instance of the Options class for this report user - a gen.user.User() instance diff --git a/gramps/plugins/textreport/summary.py b/gramps/plugins/textreport/summary.py index 41095846d..f8f6afc79 100644 --- a/gramps/plugins/textreport/summary.py +++ b/gramps/plugins/textreport/summary.py @@ -66,7 +66,7 @@ class SummaryReport(Report): The arguments are: - database - the GRAMPS database instance + database - the Gramps database instance options - instance of the Options class for this report user - a gen.user.User() instance incl_private - Whether to count private data diff --git a/gramps/plugins/textreport/tableofcontents.py b/gramps/plugins/textreport/tableofcontents.py index 30f07d39a..47e2c1923 100644 --- a/gramps/plugins/textreport/tableofcontents.py +++ b/gramps/plugins/textreport/tableofcontents.py @@ -52,7 +52,7 @@ class TableOfContents(Report): The arguments are: - database - the GRAMPS database instance + database - the Gramps database instance options - instance of the Options class for this report user - a gen.user.User() instance """ diff --git a/gramps/plugins/textreport/tagreport.py b/gramps/plugins/textreport/tagreport.py index 378ea02a6..66718a7c6 100644 --- a/gramps/plugins/textreport/tagreport.py +++ b/gramps/plugins/textreport/tagreport.py @@ -67,7 +67,7 @@ class TagReport(Report): The arguments are: - database - the GRAMPS database instance + database - the Gramps database instance options - instance of the Options class for this report user - a gen.user.User() instance diff --git a/gramps/plugins/tool/changenames.py b/gramps/plugins/tool/changenames.py index e22cd7fe2..a0ab5082d 100644 --- a/gramps/plugins/tool/changenames.py +++ b/gramps/plugins/tool/changenames.py @@ -229,7 +229,7 @@ class ChangeNames(tool.BatchTool, ManagedWindow): return (self.label,None) def on_help_clicked(self, obj): - """Display the relevant portion of GRAMPS manual""" + """Display the relevant portion of Gramps manual""" display_help(WIKI_HELP_PAGE , WIKI_HELP_SEC) def on_ok_clicked(self, obj): diff --git a/gramps/plugins/tool/eventcmp.py b/gramps/plugins/tool/eventcmp.py index 23666941a..d974ffd40 100644 --- a/gramps/plugins/tool/eventcmp.py +++ b/gramps/plugins/tool/eventcmp.py @@ -161,7 +161,7 @@ class EventComparison(tool.Tool,ManagedWindow): self.filters.set_active(0) def on_help_clicked(self, obj): - """Display the relevant portion of GRAMPS manual""" + """Display the relevant portion of Gramps manual""" display_help(webpage=WIKI_HELP_PAGE, section=WIKI_HELP_SEC) def build_menu_names(self, obj): @@ -271,7 +271,7 @@ class EventComparisonResults(ManagedWindow): pass def on_help_clicked(self, obj): - """Display the relevant portion of GRAMPS manual""" + """Display the relevant portion of Gramps manual""" display_help(webpage=WIKI_HELP_PAGE, section=WIKI_HELP_SEC) def build_menu_names(self, obj): diff --git a/gramps/plugins/tool/finddupes.py b/gramps/plugins/tool/finddupes.py index c570f6332..476131a1d 100644 --- a/gramps/plugins/tool/finddupes.py +++ b/gramps/plugins/tool/finddupes.py @@ -143,7 +143,7 @@ class DuplicatePeopleTool(tool.Tool, ManagedWindow): return (_("Tool settings"),_("Find Duplicates tool")) def on_help_clicked(self, obj): - """Display the relevant portion of GRAMPS manual""" + """Display the relevant portion of Gramps manual""" display_help(WIKI_HELP_PAGE , WIKI_HELP_SEC) @@ -583,7 +583,7 @@ class DuplicatePeopleToolMatches(ManagedWindow): return (_("Merge candidates"), _("Merge persons")) def on_help_clicked(self, obj): - """Display the relevant portion of GRAMPS manual""" + """Display the relevant portion of Gramps manual""" display_help(WIKI_HELP_PAGE , WIKI_HELP_SEC) def redraw(self): diff --git a/gramps/plugins/tool/mergecitations.py b/gramps/plugins/tool/mergecitations.py index f3567a4b0..0dcee46cc 100644 --- a/gramps/plugins/tool/mergecitations.py +++ b/gramps/plugins/tool/mergecitations.py @@ -164,7 +164,7 @@ class MergeCitations(tool.BatchTool,ManagedWindow): return (_("Tool settings"),_("Merge citations tool")) def on_help_clicked(self, obj): - """Display the relevant portion of GRAMPS manual""" + """Display the relevant portion of Gramps manual""" display_help(WIKI_HELP_PAGE , WIKI_HELP_SEC) diff --git a/gramps/plugins/tool/notrelated.py b/gramps/plugins/tool/notrelated.py index d8d52b031..7cda82e1b 100644 --- a/gramps/plugins/tool/notrelated.py +++ b/gramps/plugins/tool/notrelated.py @@ -230,7 +230,7 @@ class NotRelated(tool.ActivePersonTool, ManagedWindow) : pass def on_help_clicked(self, obj): - """Display the relevant portion of GRAMPS manual""" + """Display the relevant portion of Gramps manual""" display_help(WIKI_HELP_PAGE , WIKI_HELP_SEC) diff --git a/gramps/plugins/tool/ownereditor.py b/gramps/plugins/tool/ownereditor.py index 90fab537d..73cc1c1f9 100644 --- a/gramps/plugins/tool/ownereditor.py +++ b/gramps/plugins/tool/ownereditor.py @@ -151,7 +151,7 @@ class OwnerEditor(tool.Tool, ManagedWindow): self.close() def on_help_button_clicked(self, obj): - """Display the relevant portion of GRAMPS manual""" + """Display the relevant portion of Gramps manual""" display_help(webpage=WIKI_HELP_PAGE, section=WIKI_HELP_SEC) def on_button_press_event(self, obj, event): diff --git a/gramps/plugins/tool/patchnames.py b/gramps/plugins/tool/patchnames.py index c173f4336..8c15fad92 100644 --- a/gramps/plugins/tool/patchnames.py +++ b/gramps/plugins/tool/patchnames.py @@ -489,7 +489,7 @@ class PatchNames(tool.BatchTool, ManagedWindow): self.show() def on_help_clicked(self, obj): - """Display the relevant portion of GRAMPS manual""" + """Display the relevant portion of Gramps manual""" display_help(webpage=WIKI_HELP_PAGE, section=WIKI_HELP_SEC) def on_ok_clicked(self, obj): diff --git a/gramps/plugins/tool/tools.gpr.py b/gramps/plugins/tool/tools.gpr.py index 46acdead8..5e570d0d3 100644 --- a/gramps/plugins/tool/tools.gpr.py +++ b/gramps/plugins/tool/tools.gpr.py @@ -366,7 +366,7 @@ tool_modes = [TOOL_MODE_GUI] #------------------------------------------------------------------------ # -# Reorder GRAMPS IDs +# Reorder Gramps IDs # #------------------------------------------------------------------------ diff --git a/gramps/plugins/tool/verify.py b/gramps/plugins/tool/verify.py index 1b6c58ae9..2ef8128e0 100644 --- a/gramps/plugins/tool/verify.py +++ b/gramps/plugins/tool/verify.py @@ -347,7 +347,7 @@ class Verify(tool.Tool, ManagedWindow, UpdateCallback): return (_("Tool settings"), self.label) def on_help_clicked(self, obj): - """ Display the relevant portion of GRAMPS manual """ + """ Display the relevant portion of Gramps manual """ display_help(webpage=WIKI_HELP_PAGE, section=WIKI_HELP_SEC) def on_apply_clicked(self, obj): diff --git a/gramps/plugins/view/mediaview.py b/gramps/plugins/view/mediaview.py index 630d75edf..2644af1a3 100644 --- a/gramps/plugins/view/mediaview.py +++ b/gramps/plugins/view/mediaview.py @@ -74,7 +74,7 @@ from gramps.gen.plug import CATEGORY_QR_MEDIA #------------------------------------------------------------------------- class MediaView(ListView): """ - Provide the Media View interface on the GRAMPS main window. This allows + Provide the Media View interface on the Gramps main window. This allows people to manage all media items in their database. This is very similar to the other list based views, with the exception that it also has a thumbnail image at the top of the view that must be updated when the diff --git a/gramps/plugins/webreport/narrativeweb.py b/gramps/plugins/webreport/narrativeweb.py index aacb0c712..2c5875af1 100644 --- a/gramps/plugins/webreport/narrativeweb.py +++ b/gramps/plugins/webreport/narrativeweb.py @@ -1417,7 +1417,7 @@ class BasePage: if cindex: hyper.attr += ' name ="sref%d"' % cindex - # add GRAMPS ID + # add Gramps ID if not self.noid and gid: hyper += Html("span", ' [%s]' % gid, class_="grampsid", inline=True) return hyper @@ -1789,7 +1789,7 @@ class BasePage: fname = "/".join(["css", _NARRATIVEPRINT]) url3 = self.report.build_url_fname(fname, None, self.uplink) - # Link to GRAMPS favicon + # Link to Gramps favicon fname = "/".join(['images', 'favicon2.ico']) url4 = self.report.build_url_image("favicon2.ico", "images", self.uplink) @@ -2122,7 +2122,7 @@ class BasePage: def media_ref_rect_regions(self, handle): """ - GRAMPS feature #2634 -- attempt to highlight subregions in media + Gramps feature #2634 -- attempt to highlight subregions in media objects and link back to the relevant web page. This next section of code builds up the "records" we'll need to @@ -4000,7 +4000,7 @@ class PlacePages(BasePage): placedetail += urllinks # add place map here - # Link to GRAMPS marker + # Link to Gramps marker fname = "/".join(['images', 'marker.png']) marker_path = self.report.build_url_image("marker.png", "images", self.uplink) @@ -6729,7 +6729,7 @@ class PersonPages(BasePage): type="text/javascript", indent=False) as jsc: head += jsc - # Link to GRAMPS marker + # Link to Gramps marker fname = "/".join(['images', 'marker.png']) marker_path = self.report.build_url_image("marker.png", "images", @@ -8253,7 +8253,7 @@ class NavWebReport(Report): """ def __init__(self, database, options, user): """ - @param: database -- The GRAMPS database instance + @param: database -- The Gramps database instance @param: options -- Instance of the Options class for this report @param: user -- Instance of a gen.user.User() """ @@ -9124,7 +9124,7 @@ class NavWebReport(Report): fdir, fname = os.path.split(from_path) self.copy_file(from_path, fname, "images") - # copy GRAMPS marker icon for openstreetmap + # copy Gramps marker icon for openstreetmap fname = CSS["marker"]["filename"] self.copy_file(fname, "marker.png", "images") diff --git a/gramps/plugins/webreport/webcal.py b/gramps/plugins/webreport/webcal.py index db20635a1..71d7ddc02 100644 --- a/gramps/plugins/webreport/webcal.py +++ b/gramps/plugins/webreport/webcal.py @@ -448,7 +448,7 @@ class WebCalReport(Report): # _CALENDARSCREEN stylesheet fname2 = "/".join(subdirs + ["css", _CALENDARSCREEN]) - # links for GRAMPS favicon and stylesheets + # links for Gramps favicon and stylesheets links = Html("link", rel='shortcut icon', href=fname1, type="image/x-icon") + ( Html("link", href=fname2, type="text/css", diff --git a/gramps/test/regrtest.py b/gramps/test/regrtest.py index 5b112a802..6d38e5602 100755 --- a/gramps/test/regrtest.py +++ b/gramps/test/regrtest.py @@ -23,7 +23,7 @@ # (jgs: revised for embedded "test" subdirs as regrtest.py ) """ -Testing framework for performing a variety of unttests for GRAMPS. +Testing framework for performing a variety of unttests for Gramps. """ # TODO: review whether logging is really useful for unittest