HIG improvements

svn: r1319
This commit is contained in:
Don Allingham
2003-02-27 00:29:37 +00:00
parent b3baca9985
commit 072c64eb5e
7 changed files with 175 additions and 35 deletions

View File

@@ -1201,10 +1201,11 @@ class EditPerson:
else:
n = GrampsCfg.nameof(m[idval])
msg1 = _("GRAMPS ID value was not changed.")
msg2 = _("%(grampsid)s is already used by %(person)s") % {
msg2 = _("You have attempted to change the GRAMPS ID to a value "
"of %(grampsid)s. This value is already used by %(person)s.") % {
'grampsid' : idval,
'person' : n }
WarningDialog("%s\n%s" % (msg1,msg2))
WarningDialog(msg1,msg2)
if suffix != name.getSuffix():
name.setSuffix(suffix)