* src/SelectChild.py: Replace braces with parentheses in named format

string parameter.


svn: r1923
This commit is contained in:
Alex Roitman 2003-07-23 05:49:02 +00:00
parent 26cab7e1a3
commit c2d84159b0
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2003-07-22 Alex Roitman <shura@alex.neuro.umn.edu>
* src/SelectChild.py: Replace braces with parentheses in named format
string parameter.
2003-07-22 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Mark translation strings.
* src/RelLib.py: Made Person.probablyAlive() take partners into

View File

@ -1,7 +1,7 @@
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2000 Donald N. Allingham
# Copyright (C) 2000-2003 Donald N. Allingham
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -334,7 +334,7 @@ class EditRel:
if father:
fname = father.getPrimaryName().getName()
val = _("Relationship to %{father}s") % {
val = _("Relationship to %(father)s") % {
'father' : fname }
self.fdesc.set_text('<b>%s</b>' % val)
self.fcombo.set_sensitive(1)
@ -345,7 +345,7 @@ class EditRel:
if mother:
mname = mother.getPrimaryName().getName()
val = _("Relationship to %{mother}s") % {
val = _("Relationship to %(mother)s") % {
'mother' : mname }
self.mdesc.set_text('<b>%s</b>' % val)
self.mcombo.set_sensitive(1)