mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Desktop: Use current year in About box (in the copyright text) (#2466)
This commit is contained in:
parent
9b157c7ac3
commit
0b0ff15dde
@ -621,10 +621,11 @@ class Application extends BaseApplication {
|
||||
if ('git' in p) {
|
||||
gitInfo = _('Revision: %s (%s)', p.git.hash, p.git.branch);
|
||||
}
|
||||
const copyrightText = 'Copyright © 2016-YYYY Laurent Cozic';
|
||||
let message = [
|
||||
p.description,
|
||||
'',
|
||||
'Copyright © 2016-2019 Laurent Cozic',
|
||||
copyrightText.replace('YYYY', new Date().getFullYear()),
|
||||
_('%s %s (%s, %s)', p.name, p.version, Setting.value('env'), process.platform),
|
||||
'',
|
||||
_('Client ID: %s', Setting.value('clientId')),
|
||||
|
Loading…
Reference in New Issue
Block a user