mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-14 09:33:09 +00:00
Tidy linkchecker intro
This commit is contained in:
parent
9c2542b4cc
commit
a6d6fa0cd4
2 changed files with 4 additions and 5 deletions
|
|
@ -38,7 +38,6 @@ HtmlAuthor = Author.replace(' ', ' ')
|
||||||
Copyright = "Copyright (C) 2000-2016 Bastian Kleineidam, 2010-2020 " + Author
|
Copyright = "Copyright (C) 2000-2016 Bastian Kleineidam, 2010-2020 " + Author
|
||||||
HtmlCopyright = ("Copyright © 2000-2016 Bastian Kleineidam, 2010-2020 "
|
HtmlCopyright = ("Copyright © 2000-2016 Bastian Kleineidam, 2010-2020 "
|
||||||
+ HtmlAuthor)
|
+ HtmlAuthor)
|
||||||
AppInfo = App + " " + Copyright
|
|
||||||
HtmlAppInfo = App + ", " + HtmlCopyright
|
HtmlAppInfo = App + ", " + HtmlCopyright
|
||||||
Url = configdata.url
|
Url = configdata.url
|
||||||
SupportUrl = "https://github.com/linkchecker/linkchecker/issues"
|
SupportUrl = "https://github.com/linkchecker/linkchecker/issues"
|
||||||
|
|
@ -46,9 +45,8 @@ UserAgent = "Mozilla/5.0 (compatible; %s/%s; +%s)" % (AppName, Version, Url)
|
||||||
Freeware = (
|
Freeware = (
|
||||||
AppName
|
AppName
|
||||||
+ """ comes with ABSOLUTELY NO WARRANTY!
|
+ """ comes with ABSOLUTELY NO WARRANTY!
|
||||||
This is free software, and you are welcome to redistribute it
|
This is free software, and you are welcome to redistribute it under
|
||||||
under certain conditions. Look at the file `LICENSE' within this
|
certain conditions. Look at the file `LICENSE' within this distribution."""
|
||||||
distribution."""
|
|
||||||
)
|
)
|
||||||
Portable = configdata.portable
|
Portable = configdata.portable
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,8 @@ class TextLogger(_Logger):
|
||||||
|
|
||||||
def write_intro(self):
|
def write_intro(self):
|
||||||
"""Log introduction text."""
|
"""Log introduction text."""
|
||||||
self.writeln(configuration.AppInfo)
|
self.writeln(configuration.App)
|
||||||
|
self.writeln(configuration.Copyright)
|
||||||
self.writeln(configuration.Freeware)
|
self.writeln(configuration.Freeware)
|
||||||
self.writeln(
|
self.writeln(
|
||||||
_("Get the newest version at %(url)s") % {'url': configuration.Url}
|
_("Get the newest version at %(url)s") % {'url': configuration.Url}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue