* src/EditPlace.py, src/EditSource.py: Detect new objects by

handle.
* src/const.py.in (save_frel): Return English strings.


svn: r4776
This commit is contained in:
Alex Roitman 2005-06-03 19:29:43 +00:00
parent bda1ace41f
commit 7d8f3c7dfb
2 changed files with 12 additions and 3 deletions

View File

@ -15,7 +15,9 @@
display_references using idle_add; (display_references): set display_references using idle_add; (display_references): set
cursor when done. 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 <jya@sverige.nu> 2005-06-03 Jens Arvidsson <jya@sverige.nu>
* src/po/sv.po: Minor fixes found via pochkpyvar.pl. * src/po/sv.po: Minor fixes found via pochkpyvar.pl.

View File

@ -494,6 +494,13 @@ family_relations = [
(_("Other"), _("An unspecified relationship between a man and woman")) (_("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): def save_frel(st):
try: try:
return family_relations[st][0] return family_relations_C[st]
except: except:
return _("Unknown") return "Unknown"
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #