From 02ca5a73b5147e9eb3b39513468ea12a0b41793d Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Tue, 9 Aug 2005 14:43:04 +0000 Subject: [PATCH] * src/const.py.in: Remove obsolete constants. svn: r5042 --- gramps2/ChangeLog | 3 +++ gramps2/src/const.py.in | 55 ----------------------------------------- 2 files changed, 3 insertions(+), 55 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index a64831fbd..d36c34476 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2005-08-09 Alex Roitman + * src/const.py.in: Remove obsolete constants. + 2005-08-09 Martin Hawlisch * src/DbState.py: change_active_person now emits the signal, change_active_handle is only a wrapper for that. diff --git a/gramps2/src/const.py.in b/gramps2/src/const.py.in index 3e9ca5950..865944f77 100644 --- a/gramps2/src/const.py.in +++ b/gramps2/src/const.py.in @@ -211,61 +211,6 @@ longopts = [ shortopts = "O:i:o:f:a:p:?" -#------------------------------------------------------------------------- -# -# Constants -# -#------------------------------------------------------------------------- - -child_rel_list = [ - _("None"), _("Birth"), _("Adopted"), _("Stepchild"), - _("Sponsored"), _("Foster"), _("Unknown"), _("Other"), ] - -child_rel_notrans = [ - "None", "Birth", "Adopted", "Stepchild", - "Sponsored", "Foster", "Unknown", "Other", ] - -child_relations = TransTable( { - _("Birth") : "Birth", - _("Adopted") : "Adopted", - _("Stepchild") : "Stepchild", - _("Sponsored") : "Sponsored", - _("Foster") : "Foster", - _("None") : "None", - _("Unknown") : "Unknown", - _("Other") : "Other", - }) - -#------------------------------------------------------------------------- -# -# Confidence -# -#------------------------------------------------------------------------- -confidence = [ - _("Very Low"), - _("Low"), - _("Normal"), - _("High"), - _("Very High"), - ] - -#------------------------------------------------------------------------- -# -# Family event string mappings -# -#------------------------------------------------------------------------- -familyConstantEvents = { - "Annulment" : "ANUL", - "Divorce Filing" : "DIVF", - "Divorce" : "DIV", - "Engagement" : "ENGA", - "Marriage Banns" : "MARB", - "Marriage Contract" : "MARC", - "Marriage License" : "MARL", - "Marriage Settlement" : "MARS", - "Marriage" : "MARR" - } - #------------------------------------------------------------------------- # #