add py version to about

This commit is contained in:
Damien Elmes 2019-12-21 16:53:17 +10:00
parent 2c535ddd4d
commit 343e616b2d

View File

@ -1,6 +1,7 @@
# Copyright: Ankitects Pty Ltd and contributors
# -*- coding: utf-8 -*-
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import platform
import aqt.forms
from anki.lang import _
@ -50,7 +51,7 @@ system. It's free and open source.")
abouttext += "<p>"+_("Anki is licensed under the AGPL3 license. Please see "
"the license file in the source distribution for more information.")
abouttext += '<p>' + _("Version %s") % versionWithBuild() + '<br>'
abouttext += ("Qt %s PyQt %s<br>") % (QT_VERSION_STR, PYQT_VERSION_STR)
abouttext += ("Python %s Qt %s PyQt %s<br>") % (platform.python_version(), QT_VERSION_STR, PYQT_VERSION_STR)
abouttext += (_("<a href='%s'>Visit website</a>") % aqt.appWebsite) + \
"</span>"