~ubuntu-branches/ubuntu/lucid/anki/lucid-updates

« back to all changes in this revision

Viewing changes to ankiqt/ui/about.py

  • Committer: Bazaar Package Importer
  • Author(s): Mackenzie Morgan
  • Date: 2010-05-31 15:55:50 UTC
  • mfrom: (7.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100531155550-wj3tag8bvp6fwhpo
Tags: 0.9.9.8.6-2~lucid1
Backport from maverick to fix FTBFS (LP: #550145)

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
    dialog = QDialog(parent)
11
11
    abt = ankiqt.forms.about.Ui_About()
12
12
    abt.setupUi(dialog)
13
 
    abt.label.setText(_("""
14
 
<center><img src=":/icons/anki-logo-thin.png"></center>
15
 
<p>
16
 
Anki is a friendly, intelligent spaced learning system. It's free and open
17
 
source.<p>
18
 
Version %(ver)s<br>
19
 
<a href="http://ichi2.net/anki/">Visit website</a></span>
20
 
<p>
21
 
Written by Damien Elmes, with patches, translation, testing and design from:<p>%(cont)s
22
 
<p>
23
 
If you have contributed and are not on this list, please get in touch.
24
 
<p>
25
 
A big thanks to all the people who have provided suggestions, bug reports and
26
 
donations.""") % {
27
 
    'cont': u"""
 
13
    abouttext = "<center><img src=':/icons/anki-logo-thin.png'></center>"
 
14
    abouttext += '<p>' + _("Anki is a friendly, intelligent spaced learning \
 
15
system. It's free and open source.")
 
16
    abouttext += '<p>' + _("Version %s") % appVersion + '<br>'
 
17
    abouttext += _("<a href='http://ichi2.net/anki/'>Visit website</a>") + \
 
18
"</span>"
 
19
    abouttext += '<p>' + _("Written by Damien Elmes, with patches, translation,\
 
20
 testing and design from:<p>%(cont)s") %  {'cont': u"""
28
21
 
29
22
Alex Fraser, Andreas Klauer, Andrew Wright, Bernhard Ibertsberger, Charlene
30
 
Barina, Christian Rusche, David Smith, Dave Druelinger, Emmanuel Jarri, Frank
31
 
Harper, H. Mijail, Ian Lewis, Iroiro, Jin Eun-Deok, Jo Nakashima, Krause Chr,
32
 
LaC, Laurent Steffan, Marco Giancotti, Mark Wilbur, Meelis Vasser, Michael
33
 
Penkov, Michael Keppler, Michal Čadil, Nathanael Law, Nick Cook, Niklas
34
 
Laxström, Pcsl88, Piotr Kubowicz, Richard Colley, Samson Melamed, Susanna
35
 
Björverud, Timm Preetz, Timo Paulssen, Victor Suba, and Xtru.
 
23
Barina, Christian Rusche, David Smith, Dave Druelinger, Dotan Cohen, Emilio
 
24
Wuerges, Emmanuel Jarri, Frank Harper, H. Mijail, Ian Lewis, Iroiro, Jin
 
25
Eun-Deok, Jarvik7, Jo Nakashima, Christian Krause, LaC, Laurent Steffan, Marco
 
26
Giancotti, Mari Egami, Michael Jürges, Mark Wilbur, Matthew Holtz, Meelis
 
27
Vasser, Michael Penkov, Michael Keppler, Michal Čadil, Nathanael Law, Nick
 
28
Cook, Niklas Laxström, Pcsl88, Petr Michalec, Piotr Kubowicz, Richard Colley,
 
29
Samson Melamed, Stefaan Depooter, Susanna Björverud, Tacutu, Timm Preetz, Timo
 
30
Paulssen, Ursus, Victor Suba, and Xtru."""
36
31
 
37
 
""",
38
 
    'ver': appVersion})
 
32
}
 
33
    abouttext += '<p>' + _("If you have contributed and are not on this list, \
 
34
please get in touch.")
 
35
    abouttext += '<p>' + _("A big thanks to all the people who have provided \
 
36
suggestions, bug reports and donations.")
 
37
    abt.label.setText(abouttext)
39
38
    dialog.show()
40
39
    dialog.adjustSize()
41
40
    dialog.exec_()