Add message if addon has wrong version.

svn: r14710
This commit is contained in:
Peter Landgren 2010-03-09 12:49:25 +00:00
parent 6c2995cb72
commit 9d4734403b

View File

@ -569,6 +569,11 @@ class PluginStatus(ManagedWindow.ManagedWindow):
# If this version is not installed, or > installed, install it
good_gpr.add(gpr_file)
callback(" " + (_("'%s' is for this version of Gramps.") % gpr_file) + "\n")
else:
# If the plugin is for another version; inform and do nothing
callback(" " + (_("'%s' is for NOT this version of Gramps.") % gpr_file) + "\n")
callback(" " + (_("It is for version %d.%d" % vtup) + "\n"))
continue
else:
# another register function doesn't have gramps_target_version
if gpr_file in good_gpr: