From 9492cdfddc8fdb129c823c9b791e984996e3d3cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Susanna=20Bj=C3=B6rverud?= Date: Thu, 25 Jun 2009 11:25:20 +0200 Subject: [PATCH] Split up about string into several, moving html that does not need to be translated out. --- ankiqt/ui/about.py | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/ankiqt/ui/about.py b/ankiqt/ui/about.py index 1bb4b579a..9e947fdc9 100644 --- a/ankiqt/ui/about.py +++ b/ankiqt/ui/about.py @@ -10,21 +10,14 @@ def show(parent): dialog = QDialog(parent) abt = ankiqt.forms.about.Ui_About() abt.setupUi(dialog) - abt.label.setText(_(""" -
-

-Anki is a friendly, intelligent spaced learning system. It's free and open -source.

-Version %(ver)s
-Visit website -

-Written by Damien Elmes, with patches, translation, testing and design from:

%(cont)s -

-If you have contributed and are not on this list, please get in touch. -

-A big thanks to all the people who have provided suggestions, bug reports and -donations.""") % { - 'cont': u""" + abouttext = "

" + abouttext += '

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

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

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

%(cont)s") % {'cont': u""" Alex Fraser, Andreas Klauer, Andrew Wright, Bernhard Ibertsberger, Charlene Barina, Christian Rusche, David Smith, Dave Druelinger, Emilio Wuerges, @@ -33,10 +26,13 @@ Jarvik7, Jo Nakashima, Christian Krause, LaC, Laurent Steffan, Marco Giancotti, Mari Egami, Michael Jürges, Mark Wilbur, Meelis Vasser, Michael Penkov, Michael Keppler, Michal Čadil, Nathanael Law, Nick Cook, Niklas Laxström, Pcsl88, Piotr Kubowicz, Richard Colley, Samson Melamed, Susanna -Björverud, Timm Preetz, Timo Paulssen, Victor Suba, and Xtru. - -""", - 'ver': appVersion}) +Björverud, Timm Preetz, Timo Paulssen, Victor Suba, and Xtru.""" +} + 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.show() dialog.adjustSize() dialog.exec_()