# Copyright: Damien Elmes # -*- coding: utf-8 -*- # License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html from aqt.qt import * import aqt.forms from aqt import appVersion def show(parent): dialog = QDialog(parent) abt = aqt.forms.about.Ui_About() abt.setupUi(dialog) abouttext = "
" abouttext += '

' + _("Anki is a friendly, intelligent spaced learning \ system. It's free and open source.") abouttext += '

' + _("Version %s") % appVersion + '
' abouttext += (_("Visit website") % aqt.appWebsite) + \ "" abouttext += '

' + _("Written by Damien Elmes, with patches, translation,\ testing and design from:

%(cont)s") % {'cont': u""" Andreas Klauer, Andrew Wright, Bernhard Ibertsberger, Charlene Barina, Christian Rusche, David Smith, Dave Druelinger, Dotan Cohen, Emilio Wuerges, Emmanuel Jarri, Frank Harper, H. Mijail, Ian Lewis, Iroiro, Jin Eun-Deok, Jarvik7, Jo Nakashima, Christian Krause, LaC, Laurent Steffan, Marco Giancotti, Marcus Rubeus, Mari Egami, Michael Jürges, Mark Wilbur, Matthew Duggan, Matthew Holtz, Meelis Vasser, Michael Penkov, Michael Keppler, Michal Čadil, Nathanael Law, Nick Cook, Niklas Laxström, Nguyễn Hào Khôi, Pcsl88, Petr Michalec, Piotr Kubowicz, Richard Colley, Samson Melamed, Stefaan De Pooter, Susanna Björverud, Tacutu, Timm Preetz, Timo Paulssen, Ursus, Victor Suba, and Xtru. Anki icon by Alex Fraser (CC GNU GPL) Deck icon by Laurent Baumann (CC BY-NC-SA 3.0) Deck browser icons from: http://led24.de/iconset http://p.yusukekamiyamane.com/ Other icons under LGPL or public domain. """ } abouttext += '

' + _("If you have contributed and are not on this list, \ please get in touch.") abouttext += '

' + _("A big thanks to all the people who have provided \ suggestions, bug reports and donations.") abt.label.setText(abouttext) dialog.adjustSize() dialog.show() dialog.exec_()