diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 9ed5dd894..784edc393 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -10,6 +10,7 @@ expand and collapse all node menu entries 2006-05-01 Alex Roitman + * src/plugins/rel_sk.py: Typo. * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Skip broken witness. * src/GrampsDb/_GrampsDbBase.py (find_backlink_handles): Correctly loop over all primary classes looking for a given handle. diff --git a/gramps2/src/plugins/rel_sk.py b/gramps2/src/plugins/rel_sk.py index 3c3662cd9..dea245970 100644 --- a/gramps2/src/plugins/rel_sk.py +++ b/gramps2/src/plugins/rel_sk.py @@ -31,7 +31,7 @@ import RelLib import Relationship import types -from gettext import gettext as _ +from PluginUtils import register_relcalc #------------------------------------------------------------------------- # @@ -225,7 +225,5 @@ class RelationshipCalculator(Relationship.RelationshipCalculator): # Register this class with the Plugins system # #------------------------------------------------------------------------- -from PluginMgr import register_relcalc - register_relcalc(RelationshipCalculator, ["sk", "SK", "sk_SK", "slovensky", "slovak", "Slovak", "sk_SK.UTF8", "sk_SK.UTF-8", "sk_SK.utf-8", "sk_SK.utf8"])