* 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:
parent
bda1ace41f
commit
7d8f3c7dfb
@ -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.
|
||||||
|
@ -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"
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user