[GTK UI]About Dialog Update year
This commit is contained in:
parent
4f17fc41a5
commit
ad27a278fd
@ -6,6 +6,8 @@
|
|||||||
# See LICENSE for more details.
|
# See LICENSE for more details.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
from datetime import date
|
||||||
|
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
|
|
||||||
import deluge.component as component
|
import deluge.component as component
|
||||||
@ -35,7 +37,7 @@ class AboutDialog:
|
|||||||
|
|
||||||
self.about.set_copyright(
|
self.about.set_copyright(
|
||||||
_('Copyright %(year_start)s-%(year_end)s Deluge Team')
|
_('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(
|
self.about.set_comments(
|
||||||
_('A peer-to-peer file sharing program\nutilizing the BitTorrent protocol.')
|
_('A peer-to-peer file sharing program\nutilizing the BitTorrent protocol.')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user