[GTK UI]About Dialog Update year
This commit is contained in:
parent
4f17fc41a5
commit
ad27a278fd
|
@ -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.')
|
||||
|
|
Loading…
Reference in New Issue