Tidy linkchecker intro

This commit is contained in:
Chris Mayo 2020-08-30 18:40:39 +01:00
parent 9c2542b4cc
commit a6d6fa0cd4
2 changed files with 4 additions and 5 deletions

View file

@ -38,7 +38,6 @@ HtmlAuthor = Author.replace(' ', ' ')
Copyright = "Copyright (C) 2000-2016 Bastian Kleineidam, 2010-2020 " + Author
HtmlCopyright = ("Copyright © 2000-2016 Bastian Kleineidam, 2010-2020 "
+ HtmlAuthor)
AppInfo = App + " " + Copyright
HtmlAppInfo = App + ", " + HtmlCopyright
Url = configdata.url
SupportUrl = "https://github.com/linkchecker/linkchecker/issues"
@ -46,9 +45,8 @@ UserAgent = "Mozilla/5.0 (compatible; %s/%s; +%s)" % (AppName, Version, Url)
Freeware = (
AppName
+ """ comes with ABSOLUTELY NO WARRANTY!
This is free software, and you are welcome to redistribute it
under certain conditions. Look at the file `LICENSE' within this
distribution."""
This is free software, and you are welcome to redistribute it under
certain conditions. Look at the file `LICENSE' within this distribution."""
)
Portable = configdata.portable

View file

@ -93,7 +93,8 @@ class TextLogger(_Logger):
def write_intro(self):
"""Log introduction text."""
self.writeln(configuration.AppInfo)
self.writeln(configuration.App)
self.writeln(configuration.Copyright)
self.writeln(configuration.Freeware)
self.writeln(
_("Get the newest version at %(url)s") % {'url': configuration.Url}