From cd577b1a385b4bcf2e29d53d514ee18707d75bea Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Wed, 23 Jul 2003 05:49:02 +0000 Subject: [PATCH] * src/SelectChild.py: Replace braces with parentheses in named format string parameter. svn: r1923 --- gramps2/ChangeLog | 4 ++++ gramps2/src/SelectChild.py | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index b05627212..a5b3f2cdc 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2003-07-22 Alex Roitman + * src/SelectChild.py: Replace braces with parentheses in named format + string parameter. + 2003-07-22 Tim Waugh * src/plugins/Ancestors.py: Mark translation strings. * src/RelLib.py: Made Person.probablyAlive() take partners into diff --git a/gramps2/src/SelectChild.py b/gramps2/src/SelectChild.py index fc62f15b5..07389c8f7 100644 --- a/gramps2/src/SelectChild.py +++ b/gramps2/src/SelectChild.py @@ -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('%s' % 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('%s' % val) self.mcombo.set_sensitive(1)