* src/const.py.in: Remove obsolete constants.

svn: r5042
This commit is contained in:
Alex Roitman 2005-08-09 14:43:04 +00:00
parent 3a8f1f3039
commit 621761ef5c
2 changed files with 3 additions and 55 deletions

View File

@ -1,3 +1,6 @@
2005-08-09 Alex Roitman <shura@gramps-project.org>
* src/const.py.in: Remove obsolete constants.
2005-08-09 Martin Hawlisch <Martin.Hawlisch@gmx.de> 2005-08-09 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* src/DbState.py: change_active_person now emits the signal, * src/DbState.py: change_active_person now emits the signal,
change_active_handle is only a wrapper for that. change_active_handle is only a wrapper for that.

View File

@ -211,61 +211,6 @@ longopts = [
shortopts = "O:i:o:f:a:p:?" 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"
}
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
# #