add py version to about
This commit is contained in:
parent
2c535ddd4d
commit
343e616b2d
@ -1,6 +1,7 @@
|
|||||||
# Copyright: Ankitects Pty Ltd and contributors
|
# Copyright: Ankitects Pty Ltd and contributors
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
import platform
|
||||||
|
|
||||||
import aqt.forms
|
import aqt.forms
|
||||||
from anki.lang import _
|
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 "
|
abouttext += "<p>"+_("Anki is licensed under the AGPL3 license. Please see "
|
||||||
"the license file in the source distribution for more information.")
|
"the license file in the source distribution for more information.")
|
||||||
abouttext += '<p>' + _("Version %s") % versionWithBuild() + '<br>'
|
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) + \
|
abouttext += (_("<a href='%s'>Visit website</a>") % aqt.appWebsite) + \
|
||||||
"</span>"
|
"</span>"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user