mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Strip trailing space and tabs in aboutdialog
This commit is contained in:
parent
3d8e3f4add
commit
96d8f10080
1 changed files with 5 additions and 5 deletions
|
@ -17,9 +17,9 @@
|
|||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with deluge. If not, write to:
|
||||
# The Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor
|
||||
# Boston, MA 02110-1301, USA.
|
||||
# The Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor
|
||||
# Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# In addition, as a special exception, the copyright holders give
|
||||
# permission to link the code of portions of this program with the OpenSSL
|
||||
|
@ -285,10 +285,10 @@ class AboutDialog:
|
|||
if not client.is_classicmode():
|
||||
self.about.set_comments(
|
||||
self.about.get_comments() + _("Server:") + " %coreversion%\n")
|
||||
|
||||
|
||||
self.about.set_comments(
|
||||
self.about.get_comments() + "\n" + _("libtorrent:") + " %ltversion%\n")
|
||||
|
||||
|
||||
def on_lt_version(result):
|
||||
c = self.about.get_comments()
|
||||
c = c.replace("%ltversion%", result)
|
||||
|
|
Loading…
Add table
Reference in a new issue