Revision: 610
http://fclient.svn.sourceforge.net/fclient/?rev=610&view=rev
Author: jUrner
Date: 2008-07-13 07:13:57 -0700 (Sun, 13 Jul 2008)
Log Message:
-----------
add 'homepage' kw ++ tr the stuff
Modified Paths:
--------------
trunk/fclient/src/fclient/lib/qt4ex/dlgabout.py
Modified: trunk/fclient/src/fclient/lib/qt4ex/dlgabout.py
===================================================================
--- trunk/fclient/src/fclient/lib/qt4ex/dlgabout.py 2008-07-13 14:13:13 UTC (rev 609)
+++ trunk/fclient/src/fclient/lib/qt4ex/dlgabout.py 2008-07-13 14:13:57 UTC (rev 610)
@@ -28,6 +28,7 @@
email=None,
licence=None,
copyright=None,
+ homepage=None,
):
"""
@param state: formerly saved state of the dialog or None
@@ -49,19 +50,21 @@
if appName is not None:
text += '<h3>%s</h3>\n' % appName
if description is not None:
- text += '<hr>%s<hr>\n' % description
+ text += '%s<hr>\n' % description
text += '<ul>\n'
if version is not None:
- text += ' <li>Version: %s\n' % version
+ text += ' <li>%s %s\n' % (self.trUtf8('Version:'), version)
if author is not None:
- text += ' <li>Author: %s\n' % author
+ text += ' <li>%s %s\n' % (self.trUtf8('Author:'), author)
if email is not None:
- text += ' <li>Email: %s\n' % email
+ text += ' <li>%s %s\n' % (self.trUtf8('Email:'), email)
if licence is not None:
- text += ' <li>Licence: %s\n' % licence
+ text += ' <li>%s %s\n' % (self.trUtf8('Licence:'), licence)
if copyright is not None:
- text += ' <li>Copyright: %s\n' % copyright
+ text += ' <li>%s %s\n' % (self.trUtf8('Copyright:'), copyright)
+ if homepage is not None:
+ text += ' <li>%s %s\n' % (self.trUtf8('Homepage:'), homepage)
for name, version in tools.versionInfo():
text += ' <li>%s: %s\n' % (name, version)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|