diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 028775e04..655ced05c 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -15,7 +15,9 @@ display_references using idle_add; (display_references): set cursor when done. - * src/EditPlace.py, src/EditSource.py: Detect new objects by handle. + * src/EditPlace.py, src/EditSource.py: Detect new objects by + handle. + * src/const.py.in (save_frel): Return English strings. 2005-06-03 Jens Arvidsson * src/po/sv.po: Minor fixes found via pochkpyvar.pl. diff --git a/gramps2/src/const.py.in b/gramps2/src/const.py.in index 006a9e92d..2146d115e 100644 --- a/gramps2/src/const.py.in +++ b/gramps2/src/const.py.in @@ -494,6 +494,13 @@ family_relations = [ (_("Other"), _("An unspecified relationship between a man and woman")) ] +family_relations_C = [ + "Married", + "Unmarried", + "Civil Union", + "Unknown", + "Other", + ] #------------------------------------------------------------------------- # # @@ -501,9 +508,9 @@ family_relations = [ #------------------------------------------------------------------------- def save_frel(st): try: - return family_relations[st][0] + return family_relations_C[st] except: - return _("Unknown") + return "Unknown" #------------------------------------------------------------------------- #