mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 09:28:41 +00:00
[GTK UI]About Dialog Update year
This commit is contained in:
parent
4f17fc41a5
commit
ad27a278fd
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue