[GTK UI]About Dialog Update year

This commit is contained in:
tbkizle 2022-01-13 18:15:50 -05:00 committed by Calum Lind
parent 4f17fc41a5
commit ad27a278fd
No known key found for this signature in database
GPG Key ID: 90597A687B836BA3
1 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,8 @@
# See LICENSE for more details.
#
from datetime import date
from gi.repository import Gtk
import deluge.component as component
@ -35,7 +37,7 @@ class AboutDialog:
self.about.set_copyright(
_('Copyright %(year_start)s-%(year_end)s Deluge Team')
% {'year_start': 2007, 'year_end': 2019}
% {'year_start': 2007, 'year_end': date.today().year}
)
self.about.set_comments(
_('A peer-to-peer file sharing program\nutilizing the BitTorrent protocol.')