Two typos
svn: r9939
This commit is contained in:
parent
7100461229
commit
8731e42173
@ -153,6 +153,7 @@ def rd(line_number, row, col, key, default = None):
|
|||||||
|
|
||||||
def cleanup_column_name(column):
|
def cleanup_column_name(column):
|
||||||
""" Handle column aliases """
|
""" Handle column aliases """
|
||||||
|
retval = column
|
||||||
if retval in ["Lastname",
|
if retval in ["Lastname",
|
||||||
"Surname", _("Surname")]:
|
"Surname", _("Surname")]:
|
||||||
return "surname"
|
return "surname"
|
||||||
@ -204,7 +205,7 @@ def cleanup_column_name(column):
|
|||||||
# ----------------------------------
|
# ----------------------------------
|
||||||
elif retval in ["Mother", _("Mother"),
|
elif retval in ["Mother", _("Mother"),
|
||||||
"Wife", _("Wife"),
|
"Wife", _("Wife"),
|
||||||
"Parent2", _("Parent2")):
|
"Parent2", _("Parent2")]:
|
||||||
return "wife"
|
return "wife"
|
||||||
elif retval in ["Father", _("Father"),
|
elif retval in ["Father", _("Father"),
|
||||||
"Husband", _("Husband"),
|
"Husband", _("Husband"),
|
||||||
@ -268,7 +269,7 @@ def cleanup_column_name(column):
|
|||||||
# ----------------------------------
|
# ----------------------------------
|
||||||
elif retval in ["mother", _("mother"),
|
elif retval in ["mother", _("mother"),
|
||||||
"wife", _("wife"),
|
"wife", _("wife"),
|
||||||
"parent2", _("parent2")):
|
"parent2", _("parent2")]:
|
||||||
return "wife"
|
return "wife"
|
||||||
elif retval in ["father", _("father"),
|
elif retval in ["father", _("father"),
|
||||||
"husband", _("husband"),
|
"husband", _("husband"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user