5621: better named_arguments for Bidirectional Text support and when more than one argument into string

svn: r20783
This commit is contained in:
Jérôme Rapinat 2012-12-15 09:46:18 +00:00
parent c2443c74d4
commit 3c285ad02e

View File

@ -63,11 +63,11 @@ MIN_PYGOBJECT_VERSION = (3, 3, 2)
if not GObject.pygobject_version >= MIN_PYGOBJECT_VERSION : if not GObject.pygobject_version >= MIN_PYGOBJECT_VERSION :
print((_("Your pygobject version does not meet the " print((_("Your pygobject version does not meet the "
"requirements. At least pygobject " "requirements. At least pygobject "
"%(major)d.%(bug)d.%(minor)d is needed to" "%(major)d.%(feature)d.%(minor)d is needed to"
" start Gramps with a GUI.\n\n" " start Gramps with a GUI.\n\n"
"Gramps will terminate now.") % "Gramps will terminate now.") %
{'major':MIN_PYGOBJECT_VERSION[0], {'major':MIN_PYGOBJECT_VERSION[0],
'bug':MIN_PYGOBJECT_VERSION[1], 'feature':MIN_PYGOBJECT_VERSION[1],
'minor':MIN_PYGOBJECT_VERSION[2]})) 'minor':MIN_PYGOBJECT_VERSION[2]}))
sys.exit(0) sys.exit(0)