Ticket #2001: about.patch
File about.patch, 1.4 KB (added by , 14 years ago) |
---|
-
aboutdialog.py
old new 56 56 57 57 version = deluge.common.get_version() 58 58 59 self.about.set_copyright( u'Copyright \u00A9 2007-2011 Deluge Team')60 self.about.set_comments( 59 self.about.set_copyright(_(u'Copyright \u00A9 2007-2011 Deluge Team')) 60 self.about.set_comments(_( 61 61 "A peer-to-peer file sharing program\nutilizing the BitTorrent " 62 "protocol\n\n" 63 "Client Version: %s\n"% version)62 "protocol\n\n") 63 _("Client Version: %s\n") % version) 64 64 self.about.set_version(version) 65 65 self.about.set_authors([ 66 66 "Current Developers:", "Andrew Resch", "Damien Churchill", … … 285 285 if client.connected(): 286 286 if not client.is_classicmode(): 287 287 self.about.set_comments( 288 self.about.get_comments() + "Server Version: %coreversion%\n")288 self.about.get_comments() + _("Server Version: %coreversion%\n")) 289 289 290 290 self.about.set_comments( 291 self.about.get_comments() + "Libtorrent Version: %ltversion%\n")291 self.about.get_comments() + _("Libtorrent Version: %ltversion%\n")) 292 292 293 293 def on_lt_version(result): 294 294 c = self.about.get_comments()