Final updates for 0.7.3 - translations and pychecker fixes

svn: r974
This commit is contained in:
Don Allingham 2002-05-07 02:10:13 +00:00
parent ad456e1865
commit 12d3b5ed7a
13 changed files with 2798 additions and 1963 deletions

View File

@ -232,8 +232,6 @@ class DelSrcQuery:
object.setSourceRefList(l) object.setSourceRefList(l)
def query_response(self): def query_response(self):
if ans == 1:
return
del self.db.getSourceMap()[self.source.getId()] del self.db.getSourceMap()[self.source.getId()]
Utils.modified() Utils.modified()

View File

@ -115,11 +115,11 @@ class SelectChild:
slist = [] slist = []
for f in self.person.getParentList(): for f in self.person.getParentList():
if f: if f:
if f.getFather(): if f[0].getFather():
slist.append(f.getFather()) slist.append(f[0].getFather())
elif f.getMother(): elif f[0].getMother():
slist.append(f.getMother()) slist.append(f[0].getMother())
for c in f.getChildList(): for c in f[0].getChildList():
slist.append(c) slist.append(c)
person_list = [] person_list = []

View File

@ -93,7 +93,7 @@ startup = 1
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
progName = "GRAMPS" progName = "GRAMPS"
version = "0.7.3" version = "0.7.3"
copyright = "© 2001 Donald N. Allingham" copyright = "© 2001-2002 Donald N. Allingham"
authors = ["Donald N. Allingham", "David Hampton","Donald A. Peterson"] authors = ["Donald N. Allingham", "David Hampton","Donald A. Peterson"]
comments = _("GRAMPS (Genealogical Research and Analysis " comments = _("GRAMPS (Genealogical Research and Analysis "
"Management Programming System) is a personal " "Management Programming System) is a personal "

View File

@ -434,6 +434,7 @@ class Gramps:
"""Display the GRAMPS manual""" """Display the GRAMPS manual"""
import gnome.help import gnome.help
url = gnome.help.file_find_file("gramps-manual","gramps-manual.sgml") url = gnome.help.file_find_file("gramps-manual","gramps-manual.sgml")
if url:
url = "gnome-help:"+url url = "gnome-help:"+url
gnome.help.goto(url) gnome.help.goto(url)
@ -441,6 +442,7 @@ class Gramps:
"""Display the Extending GRAMPS manual""" """Display the Extending GRAMPS manual"""
import gnome.help import gnome.help
url = gnome.help.file_find_file("extending-gramps","extending-gramps.sgml") url = gnome.help.file_find_file("extending-gramps","extending-gramps.sgml")
if url:
url = "gnome-help:"+url url = "gnome-help:"+url
gnome.help.goto(url) gnome.help.goto(url)
@ -1568,7 +1570,7 @@ class Gramps:
self.spouse_edit.set_sensitive(0) self.spouse_edit.set_sensitive(0)
self.spouse_del.set_sensitive(0) self.spouse_del.set_sensitive(0)
msg = _("No Relationship") msg = _("No Relationship")
self.gtop.get_widget('rel_frame').set_label() self.gtop.get_widget('rel_frame').set_label(msg)
if number_of_families > 0: if number_of_families > 0:
if not family: if not family:

View File

@ -144,7 +144,7 @@ class EventComparison:
if len(plist) == 0: if len(plist) == 0:
gnome.ui.GnomeWarningDialog(_("No matches were found")) gnome.ui.GnomeWarningDialog(_("No matches were found"))
else: else:
DisplayChart(p_list) DisplayChart(plist)
#------------------------------------------------------------------------ #------------------------------------------------------------------------
# #

View File

@ -1029,6 +1029,7 @@ class GedcomParser:
elif matches[1] == "FAMC": elif matches[1] == "FAMC":
ord.setFamily(self.db.findFamily(matches[2],self.fmap)) ord.setFamily(self.db.findFamily(matches[2],self.fmap))
elif matches[1] == "PLAC": elif matches[1] == "PLAC":
val = matches[2]
if self.placemap.has_key(val): if self.placemap.has_key(val):
place = self.placemap[val] place = self.placemap[val]
else: else:

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -753,7 +753,7 @@ msgstr "Inga"
#: EditPerson.py:393 EditSource.py:138 #: EditPerson.py:393 EditSource.py:138
msgid "%(father)s and %(mother)s" msgid "%(father)s and %(mother)s"
msgstr "%(fader)ns och %(moder)ns" msgstr "%(fader)s och %(moder)s"
#: EditPerson.py:730 EditPerson.py:739 #: EditPerson.py:730 EditPerson.py:739
msgid "Are you sure you want to abandon your changes?" msgid "Are you sure you want to abandon your changes?"
@ -765,7 +765,7 @@ msgstr "GRAMPS ID har inte
#: EditPerson.py:1072 #: EditPerson.py:1072
msgid "%(grampsid)s is already used by %(person)s" msgid "%(grampsid)s is already used by %(person)s"
msgstr "%(grampsid) används redan av %(person)s" msgstr "%(grampsid)s används redan av %(person)s"
#: EditPerson.py:1177 #: EditPerson.py:1177
msgid "Changing the gender caused problems with marriage information." msgid "Changing the gender caused problems with marriage information."
@ -3410,15 +3410,15 @@ msgstr "Import fr
#: plugins/RelCalc.py:60 #: plugins/RelCalc.py:60
msgid "%(p1)s is the first cousin of %(p2)s." msgid "%(p1)s is the first cousin of %(p2)s."
msgstr "%(p1)s är %(p2)ss första kusin." msgstr "%(p1)s är %(p2)s första kusin."
#: plugins/RelCalc.py:63 #: plugins/RelCalc.py:63
msgid "%(p1)s is the first cousin once removed of %(p2)s." msgid "%(p1)s is the first cousin once removed of %(p2)s."
msgstr "%(p1)s är %(p2)ss första syssling." msgstr "%(p1)s är %(p2)s första syssling."
#: plugins/RelCalc.py:66 #: plugins/RelCalc.py:66
msgid "%(p1)s is the first cousin twice removed of %(p2)s." msgid "%(p1)s is the first cousin twice removed of %(p2)s."
msgstr "%(p1)s är %(p2)ss första brylling." msgstr "%(p1)s är %(p2)s första brylling."
#: plugins/RelCalc.py:69 #: plugins/RelCalc.py:69
msgid "%(p1)s is the first cousin %(removed)d times removed of %(p2)s." msgid "%(p1)s is the first cousin %(removed)d times removed of %(p2)s."
@ -3430,7 +3430,7 @@ msgstr "%(p1)s
#: plugins/RelCalc.py:76 #: plugins/RelCalc.py:76
msgid "%(p1)s is the second cousin once removed of %(p2)s." msgid "%(p1)s is the second cousin once removed of %(p2)s."
msgstr "%(p1)s är %(p2)ss första syssling." msgstr "%(p1)s är %(p2)s första syssling."
#: plugins/RelCalc.py:79 #: plugins/RelCalc.py:79
msgid "%(p1)s is the second cousin twice removed of %(p2)s." msgid "%(p1)s is the second cousin twice removed of %(p2)s."
@ -3442,15 +3442,15 @@ msgstr "%(p1)s
#: plugins/RelCalc.py:86 #: plugins/RelCalc.py:86
msgid "%(p1)s is the third cousin of %(p2)s." msgid "%(p1)s is the third cousin of %(p2)s."
msgstr "%(p1)s är %(p2)ss tredje kusin." msgstr "%(p1)s är %(p2)s tredje kusin."
#: plugins/RelCalc.py:89 #: plugins/RelCalc.py:89
msgid "%(p1)s is the third cousin once removed of %(p2)s." msgid "%(p1)s is the third cousin once removed of %(p2)s."
msgstr "%(p1)s är %(p2)ss tredje syssling." msgstr "%(p1)s är %(p2)s tredje syssling."
#: plugins/RelCalc.py:92 #: plugins/RelCalc.py:92
msgid "%(p1)s is the third cousin twice removed of %(p2)s." msgid "%(p1)s is the third cousin twice removed of %(p2)s."
msgstr "%(p1)s är %(p2)ss tredje brylling." msgstr "%(p1)s är %(p2)s tredje brylling."
#: plugins/RelCalc.py:95 #: plugins/RelCalc.py:95
msgid "%(p1)s is the third cousin %(removed)d times removed of %(p2)s." msgid "%(p1)s is the third cousin %(removed)d times removed of %(p2)s."
@ -3458,19 +3458,19 @@ msgstr "%(p1)s
#: plugins/RelCalc.py:99 #: plugins/RelCalc.py:99
msgid "%(p1)s is the %(level)dth cousin of %(p2)s." msgid "%(p1)s is the %(level)dth cousin of %(p2)s."
msgstr "%(p1s är %(p2)ss %(level)d:e kusin." msgstr "%(p1)s är %(p2)s %(level)d:e kusin."
#: plugins/RelCalc.py:102 #: plugins/RelCalc.py:102
msgid "%(p1)s is the %(level)dth cousin once removed of %(p2)s." msgid "%(p1)s is the %(level)dth cousin once removed of %(p2)s."
msgstr "%(p1s är %(p2)ss %(level)d:e syssling." msgstr "%(p1)s är %(p2)s %(level)d:e syssling."
#: plugins/RelCalc.py:105 #: plugins/RelCalc.py:105
msgid "%(p1)s is the %(level)dth cousin twice removed of %(p2)s." msgid "%(p1)s is the %(level)dth cousin twice removed of %(p2)s."
msgstr "%(p1s är %(p2)ss %(level)d:e brylling." msgstr "%(p1)s är %(p2)s %(level)d:e brylling."
#: plugins/RelCalc.py:108 #: plugins/RelCalc.py:108
msgid "%(p1)s is the %(level)dth cousin %(removed)d times removed of %(p2)s." msgid "%(p1)s is the %(level)dth cousin %(removed)d times removed of %(p2)s."
msgstr "%(p1)s är %(p2)ss %(level)d:e släkting i %(removed)d led." msgstr "%(p1)s är %(p2)s %(level)d:e släkting i %(removed)d led."
#: plugins/RelCalc.py:113 #: plugins/RelCalc.py:113
msgid "%(p1)s is the father of %(p2)s." msgid "%(p1)s is the father of %(p2)s."
@ -3518,7 +3518,7 @@ msgstr "%(p2)s
#: plugins/RelCalc.py:148 #: plugins/RelCalc.py:148
msgid "%(p1)s is the %(level)dth great grandson of %(p2)s." msgid "%(p1)s is the %(level)dth great grandson of %(p2)s."
msgstr "%(p1) är %(p2)ss manliga ättling i %(level)d led." msgstr "%(p1)s är %(p2)s manliga ättling i %(level)d led."
#: plugins/RelCalc.py:153 #: plugins/RelCalc.py:153
msgid "%(p1)s is the mother of %(p2)s." msgid "%(p1)s is the mother of %(p2)s."
@ -3526,7 +3526,7 @@ msgstr "%(p1)s
#: plugins/RelCalc.py:156 #: plugins/RelCalc.py:156
msgid "%(p1)s is the grandmother of %(p2)s." msgid "%(p1)s is the grandmother of %(p2)s."
msgstr "%(p1) är mor- eller farmor till %(p2)s." msgstr "%(p1)s är mor- eller farmor till %(p2)s."
#: plugins/RelCalc.py:159 #: plugins/RelCalc.py:159
msgid "%(p1)s is the great grandmother of %(p2)s." msgid "%(p1)s is the great grandmother of %(p2)s."
@ -3534,15 +3534,15 @@ msgstr "%(p1)s
#: plugins/RelCalc.py:162 #: plugins/RelCalc.py:162
msgid "%(p1)s is the second great grandmother of %(p2)s." msgid "%(p1)s is the second great grandmother of %(p2)s."
msgstr "%(p1)s är %(p2)ss andra gammelfarmor eller gammelmormor." msgstr "%(p1)s är %(p2)s andra gammelfarmor eller gammelmormor."
#: plugins/RelCalc.py:165 #: plugins/RelCalc.py:165
msgid "%(p1)s is the third great grandmother of %(p2)s." msgid "%(p1)s is the third great grandmother of %(p2)s."
msgstr "%(p1)s är %(p2)ss tredje gammelfarmor eller gammelmormor." msgstr "%(p1)s är %(p2)s tredje gammelfarmor eller gammelmormor."
#: plugins/RelCalc.py:168 #: plugins/RelCalc.py:168
msgid "%(p1)s is the %(level)dth great grandmother of %(p2)s." msgid "%(p1)s is the %(level)dth great grandmother of %(p2)s."
msgstr "%(p1)s är %(p2)ss kvinnliga ana i %(level)d:e led." msgstr "%(p1)s är %(p2)s kvinnliga ana i %(level)d:e led."
#: plugins/RelCalc.py:173 #: plugins/RelCalc.py:173
msgid "%(p1)s is the daughter of %(p2)s." msgid "%(p1)s is the daughter of %(p2)s."
@ -3550,23 +3550,23 @@ msgstr "%(p1)s
#: plugins/RelCalc.py:176 #: plugins/RelCalc.py:176
msgid "%(p1)s is the granddaughter of %(p2)s." msgid "%(p1)s is the granddaughter of %(p2)s."
msgstr "%(p1) är son- eller dotterdotter till %(p2)s." msgstr "%(p1)s är son- eller dotterdotter till %(p2)s."
#: plugins/RelCalc.py:179 #: plugins/RelCalc.py:179
msgid "%(p1)s is the great granddaughter of %(p2)s." msgid "%(p1)s is the great granddaughter of %(p2)s."
msgstr "%(p1) är %(p2)ss kvinnliga barnbarnsbarn." msgstr "%(p1)s är %(p2)s kvinnliga barnbarnsbarn."
#: plugins/RelCalc.py:182 #: plugins/RelCalc.py:182
msgid "%(p1)s is the second great granddaughter of %(p2)s." msgid "%(p1)s is the second great granddaughter of %(p2)s."
msgstr "%(p1) är %(p2)ss andra kvinnliga barnbarnsbarn." msgstr "%(p1)s är %(p2)s andra kvinnliga barnbarnsbarn."
#: plugins/RelCalc.py:185 #: plugins/RelCalc.py:185
msgid "%(p1)s is the third great granddaughter of %(p2)s." msgid "%(p1)s is the third great granddaughter of %(p2)s."
msgstr " %(p1) är %(p2)ss tredje kvinnliga barnbarnsbarn." msgstr " %(p1)s är %(p2)s tredje kvinnliga barnbarnsbarn."
#: plugins/RelCalc.py:188 #: plugins/RelCalc.py:188
msgid "%(p1)s is the %(level)dth great granddaughter of %(p2)s." msgid "%(p1)s is the %(level)dth great granddaughter of %(p2)s."
msgstr "%(p1)s är %(p2)ss kvinnliga ättling i %(level)d:e led." msgstr "%(p1)s är %(p2)s kvinnliga ättling i %(level)d:e led."
#: plugins/RelCalc.py:193 #: plugins/RelCalc.py:193
msgid "%(p1)s is the sister of %(p2)s." msgid "%(p1)s is the sister of %(p2)s."
@ -3578,7 +3578,7 @@ msgstr "%(p1)s
#: plugins/RelCalc.py:199 #: plugins/RelCalc.py:199
msgid "%(p1)s is the grandaunt of %(p2)s." msgid "%(p1)s is the grandaunt of %(p2)s."
msgstr "%s(p1) är gammelmoster eller -faster till %(p2)s." msgstr "%(p1)s är gammelmoster eller -faster till %(p2)s."
#: plugins/RelCalc.py:202 #: plugins/RelCalc.py:202
msgid "%(p1)s is the great grandaunt of %(p2)s." msgid "%(p1)s is the great grandaunt of %(p2)s."
@ -3622,7 +3622,7 @@ msgstr "%(p1)s
#: plugins/RelCalc.py:234 #: plugins/RelCalc.py:234
msgid "%(p1)s is the %(level)dth great granduncle of %(p2)s." msgid "%(p1)s is the %(level)dth great granduncle of %(p2)s."
msgstr "%(p1) är mor- eller farbror i %(level)d:e led till %(p2)s." msgstr "%(p1)s är mor- eller farbror i %(level)d:e led till %(p2)s."
#: plugins/RelCalc.py:239 #: plugins/RelCalc.py:239
msgid "%(p1)s is the nephew of %(p2)s." msgid "%(p1)s is the nephew of %(p2)s."
@ -3634,23 +3634,23 @@ msgstr "%(p1)s
#: plugins/RelCalc.py:245 #: plugins/RelCalc.py:245
msgid "%(p1)s is the great grandnephew of %(p2)s." msgid "%(p1)s is the great grandnephew of %(p2)s."
msgstr " i en ålder av %d %s" msgstr " i en ålder av"
#: plugins/RelCalc.py:248 #: plugins/RelCalc.py:248
msgid "%(p1)s is the second great grandnephew of %(p2)s." msgid "%(p1)s is the second great grandnephew of %(p2)s."
msgstr "%(p1)s är %(p2)ss andra manliga barnbarnsbarn till syskon." msgstr "%(p1)s är %(p2)s andra manliga barnbarnsbarn till syskon."
#: plugins/RelCalc.py:251 #: plugins/RelCalc.py:251
msgid "%(p1)s is the third great grandnephew of %(p2)s." msgid "%(p1)s is the third great grandnephew of %(p2)s."
msgstr "%(p1)s är %(p2)ss tredje manliga barnbarnsbarn till syskon." msgstr "%(p1)s är %(p2)s tredje manliga barnbarnsbarn till syskon."
#: plugins/RelCalc.py:254 #: plugins/RelCalc.py:254
msgid "%(p1)s is the %(level)dth great grandnephew of %(p2)s." msgid "%(p1)s is the %(level)dth great grandnephew of %(p2)s."
msgstr "%(p1)s är %(p2)ss manliga barnbarnsbarn till syskon i %(level)d:e led." msgstr "%(p1)s är %(p2)s manliga barnbarnsbarn till syskon i %(level)d:e led."
#: plugins/RelCalc.py:259 #: plugins/RelCalc.py:259
msgid "%(p1)s is the niece of %(p2)s." msgid "%(p1)s is the niece of %(p2)s."
msgstr "%8p1)s är brors- eller systerdotter till %(p2)s." msgstr "%(p1)s är brors- eller systerdotter till %(p2)s."
#: plugins/RelCalc.py:262 #: plugins/RelCalc.py:262
msgid "%(p1)s is the grandniece of %(p2)s." msgid "%(p1)s is the grandniece of %(p2)s."
@ -3658,19 +3658,19 @@ msgstr "%(p1)s
#: plugins/RelCalc.py:265 #: plugins/RelCalc.py:265
msgid "%(p1)s is the great grandniece of %(p2)s." msgid "%(p1)s is the great grandniece of %(p2)s."
msgstr " %(p1)s är %(p2)ss kvinnliga barnbarnsbarn till syskon." msgstr " %(p1)s är %(p2)s kvinnliga barnbarnsbarn till syskon."
#: plugins/RelCalc.py:268 #: plugins/RelCalc.py:268
msgid "%(p1)s is the second great grandniece of %(p2)s." msgid "%(p1)s is the second great grandniece of %(p2)s."
msgstr "%(p1)s är %(p2)ss andra kvinnliga barnbarnsbarn till syskon." msgstr "%(p1)s är %(p2)s andra kvinnliga barnbarnsbarn till syskon."
#: plugins/RelCalc.py:271 #: plugins/RelCalc.py:271
msgid "%(p1)s is the third great grandniece of %(p2)s." msgid "%(p1)s is the third great grandniece of %(p2)s."
msgstr "%(p1)s är %(p2)ss tredje kvinnliga barnbarnsbarn till syskon." msgstr "%(p1)s är %(p2)s tredje kvinnliga barnbarnsbarn till syskon."
#: plugins/RelCalc.py:274 #: plugins/RelCalc.py:274
msgid "%(p1)s is the %(level)dth great grandniece of %(p2)s." msgid "%(p1)s is the %(level)dth great grandniece of %(p2)s."
msgstr "%(p1)s är %(p2)ss kvinnliga barnbarnsbarn till syskon i %(level)d:e led." msgstr "%(p1)s är %(p2)s kvinnliga barnbarnsbarn till syskon i %(level)d:e led."
#: plugins/RelCalc.py:363 #: plugins/RelCalc.py:363
msgid "Their common ancestor is %s." msgid "Their common ancestor is %s."