Added new option --user-agent to set the User-Agent header.

This commit is contained in:
Bastian Kleineidam 2011-07-25 21:09:49 +02:00
parent 552c71a3ca
commit 51bcccfdfe
16 changed files with 870 additions and 761 deletions

View file

@ -148,6 +148,8 @@
#clamavconf=/etc/clamav/clamd.conf
# Send and store cookies
#cookies=1
# User-Agent header string to send to HTTP web servers
#useragent=Mozilla/4.0
##################### filtering options ##########################

View file

@ -13,6 +13,11 @@ Fixes:
authentication.
Closes: SF bug #3377193
Features:
- checking: New option --user-agent to set the User-Agent header
string sent to HTTP web servers. Note that this does not change
or prevent robots.txt checking.
7.0 "Plots with a View" (released 28.5.2011)

579
doc/de.po

File diff suppressed because it is too large Load diff

View file

@ -230,6 +230,11 @@ zwischen Verbindungen.
Gibt ein NNTP Rechner für \fBnews:\fP Links. Standard ist die Umgebungsvariable
\fBNNTP_SERVER\fP. Falls kein Rechner angegeben ist, wird lediglich auf
korrekte Syntax des Links geprüft.
.TP
\fB\-\-user\-agent=\fP\fISTRING\fP
Gibt den User\-Agent an, der zu HTTP\-Servern geschickt wird,
z.B. "Mozilla/4.0". Der Standard ist "LinkChecker/X.Y", wobei X.Y die
aktuelle Version von LinkChecker ist.
.SH KONFIGURATIONSDATEIEN
Konfigurationsdateien können alle obigen Optionen enthalten. Sie können

View file

@ -64,6 +64,13 @@ korrekte Syntax des Links geprüft.
.br
Kommandozeilenoption: \fB\-\-nntp\-server\fP
.TP
\fBuseragent=\fP\fISTRING\fP
Gibt den User\-Agent an, der zu HTTP\-Servern geschickt wird,
z.B. "Mozilla/4.0". Der Standard ist "LinkChecker/X.Y", wobei X.Y die
aktuelle Version von LinkChecker ist.
.br
Kommandozeilenoption: \fB\-\-user\-agent\fP
.TP
\fBcheckhtml=\fP[\fB0\fP|\fB1\fP]
Prüfe Syntax von HTML URLs mit lokaler Bibliothek (HTML tidy).
.br

View file

@ -227,6 +227,11 @@ requests to the same host. Default is no pause between requests.
Specify an NNTP server for \fBnews:\fP links. Default is the
environment variable \fBNNTP_SERVER\fP. If no host is given,
only the syntax of the link is checked.
.TP
\fB\-\-user\-agent=\fP\fISTRING\fP
Specify the User-Agent string to send to the HTTP server, for example
"Mozilla/4.0". The default is "LinkChecker/X.Y" where X.Y is the current
version of LinkChecker.
.SH "CONFIGURATION FILES"
Configuration files can specify all options above. They can also

View file

@ -58,6 +58,13 @@ only the syntax of the link is checked.
.br
Command line option: \fB\-\-nntp\-server\fP
.TP
\fBuseragent=\fP\fISTRING\fP
Specify the User-Agent string to send to the HTTP server, for example
"Mozilla/4.0". The default is "LinkChecker/X.Y" where X.Y is the current
version of LinkChecker.
.br
Command line option: \fB\-\-user\-agent\fP
.TP
\fBcheckhtml=\fP[\fB0\fP|\fB1\fP]
Check syntax of HTML URLs with local library (HTML tidy).
.br

File diff suppressed because it is too large Load diff

View file

@ -27,8 +27,7 @@ import socket
from cStringIO import StringIO
from .. import (log, LOG_CHECK, gzip2 as gzip, strformat, url as urlutil,
httplib2 as httplib, LinkCheckerError, configuration, get_link_pat,
httputil)
httplib2 as httplib, LinkCheckerError, get_link_pat, httputil)
from . import (internpaturl, proxysupport, httpheaders as headers, urlbase,
get_url_from)
# import warnings
@ -542,7 +541,8 @@ class HttpUrl (internpaturl.InternPatternUrl, proxysupport.ProxySupport):
if (self.parent_url and
self.parent_url.startswith(('http://', 'https://'))):
self.url_connection.putheader("Referer", self.parent_url)
self.url_connection.putheader("User-Agent", configuration.UserAgent)
self.url_connection.putheader("User-Agent",
self.aggregate.config["useragent"])
self.url_connection.putheader("Accept-Encoding",
"gzip;q=1.0, deflate;q=0.9, identity;q=0.5")
if self.aggregate.config['sendcookies']:

View file

@ -190,6 +190,7 @@ class Configuration (dict):
self["checkcssw3"] = False
self["scanvirus"] = False
self["clamavconf"] = clamav.canonical_clamav_conf()
self["useragent"] = UserAgent
def init_logging (self, status_logger, debug=None, handler=None):
"""

View file

@ -129,6 +129,8 @@ class LCConfigParser (ConfigParser.RawConfigParser, object):
self.config["warnsizebytes"] = int(val)
if self.has_option(section, "nntpserver"):
self.config["nntpserver"] = self.get(section, "nntpserver")
if self.has_option(section, "useragent"):
self.config["useragent"] = self.get(section, "useragent")
self.read_check_options(section)
def read_check_options (self, section):

View file

@ -502,6 +502,12 @@ group.add_option("-N", "--nntp-server", type="string", dest="nntpserver",
"""Specify an NNTP server for 'news:...' links. Default is the
environment variable NNTP_SERVER. If no host is given,
only the syntax of the link is checked."""))
group.add_option("--user-agent", type="string", dest="useragent",
metavar="STRING",
help=_(
"""Specify the User-Agent string to send to the HTTP server, for example
"Mozilla/4.0". The default is "LinkChecker/X.Y" where X.Y is the current
version of LinkChecker."""))
optparser.add_option_group(group)
################# auto completion #####################
@ -724,6 +730,8 @@ for entry in config["authentication"]:
msg = _("Enter LinkChecker password for user %(user)s" \
" at %(strpattern)s:") % attrs
entry["password"] = getpass.getpass(console.encode(msg))
if options.useragent is not None:
config["useragent"] = options.useragent
# now sanitize the configuration
config.sanitize()

237
po/de.po
View file

@ -5,8 +5,8 @@ msgid ""
msgstr ""
"Project-Id-Version: $Id$\n"
"Report-Msgid-Bugs-To: calvin@users.sourceforge.net\n"
"POT-Creation-Date: 2011-05-20 20:53+0200\n"
"PO-Revision-Date: 2011-05-28 08:45+0100\n"
"POT-Creation-Date: 2011-07-25 20:30+0200\n"
"PO-Revision-Date: 2011-07-25 20:33+0100\n"
"Last-Translator: Bastian Kleineidam <calvin@users.sourceforge.net>\n"
"Language-Team: de <de@li.org>\n"
"Language: \n"
@ -370,17 +370,10 @@ msgstr "Prüfe auf Updates"
msgid "Donate"
msgstr "Spenden"
#: ../linkcheck/gui/lineedit.py:177
msgid "Insert Firefox bookmark file"
msgstr "Firefox Favoritendatei einfügen"
#: ../linkcheck/gui/lineedit.py:180
msgid "Insert Google Chrome bookmark file"
msgstr "Google Chrome Favoritendatei einfügen"
#: ../linkcheck/gui/lineedit.py:183
msgid "Insert Opera bookmark file"
msgstr "Opera Favoritendatei einfügen"
#: ../linkcheck/gui/lineedit.py:186
#, python-format
msgid "Insert %(browser)s bookmark file"
msgstr "%(browser)s Favoritendatei einfügen"
#: ../linkcheck/gui/linkchecker_ui_options.py:163
msgid "Linkchecker options"
@ -708,7 +701,7 @@ msgid "System info:"
msgstr "Systeminformation:"
#: ../linkcheck/director/console.py:129
#: ../linkchecker:567
#: ../linkchecker:573
#, python-format
msgid "Python %(version)s on %(platform)s"
msgstr "Python %(version)s auf %(platform)s"
@ -981,22 +974,22 @@ msgstr "%(scheme)s URL ignoriert."
msgid "URL is unrecognized or has invalid syntax"
msgstr "URL ist unbekannt oder besitzt ungültige Syntax"
#: ../linkcheck/checker/fileurl.py:130
#: ../linkcheck/checker/fileurl.py:142
msgid "Added trailing slash to directory."
msgstr "Schrägstrich wurde zu Verzeichnis hinzugefügt."
#: ../linkcheck/checker/fileurl.py:151
#: ../linkcheck/checker/fileurl.py:163
msgid "directory"
msgstr "Verzeichnis"
#: ../linkcheck/checker/fileurl.py:168
#: ../linkcheck/checker/fileurl.py:180
#, python-format
msgid "The URL path %(path)r is not the same as the system path %(realpath)r. You should always use the system path in URLs."
msgstr "Der URL Pfad %(path)r ist nicht derselbe wie der Systempfad %(realpath)r. Sie sollten immer den Systempfad in URLs benutzen."
#: ../linkcheck/checker/fileurl.py:178
#: ../linkcheck/checker/urlbase.py:694
#: ../linkcheck/checker/httpurl.py:631
#: ../linkcheck/checker/fileurl.py:190
#: ../linkcheck/checker/urlbase.py:695
#: ../linkcheck/checker/httpurl.py:634
msgid "File size too large"
msgstr "Dateigröße ist zu groß"
@ -1056,71 +1049,71 @@ msgstr "Ungültige HTTP Antwort %(line)r"
msgid "could not get content: %(msg)r"
msgstr "konnte Inhalt nicht parsen: %(msg)r"
#: ../linkcheck/checker/urlbase.py:639
#: ../linkcheck/checker/urlbase.py:640
#, python-format
msgid "Anchor `%(name)s' not found."
msgstr "Anker `%(name)s' nicht gefunden."
#: ../linkcheck/checker/urlbase.py:640
#: ../linkcheck/checker/urlbase.py:641
#, python-format
msgid "Available anchors: %(anchors)s."
msgstr "Verfügbare Anker: %(anchors)s."
#: ../linkcheck/checker/urlbase.py:732
#: ../linkcheck/checker/urlbase.py:733
#, python-format
msgid "Found %(match)r in link contents."
msgstr "Habe %(match)r in Verknüpfungsinhalt gefunden."
#: ../linkcheck/checker/urlbase.py:743
#: ../linkcheck/checker/urlbase.py:744
msgid "Content size is zero."
msgstr "Größe des Inhalts ist Null."
#: ../linkcheck/checker/urlbase.py:749
#: ../linkcheck/checker/urlbase.py:750
#, python-format
msgid "Content size %(dlsize)s is larger than %(maxbytes)s."
msgstr "Inhalt %(dlsize)s is größer als %(maxbytes)s."
#: ../linkcheck/checker/urlbase.py:754
#: ../linkcheck/checker/urlbase.py:755
#, python-format
msgid "Download size (%(dlsize)d Byte) does not equal content size (%(size)d Byte)."
msgstr "Download Grüße (%(dlsize)d Byte) ist ungleich der Inhaltsgröße (%(size)d Byte)."
#: ../linkcheck/checker/urlbase.py:764
#: ../linkcheck/configuration/__init__.py:346
#: ../linkcheck/checker/urlbase.py:765
#: ../linkcheck/configuration/__init__.py:347
msgid "warning: tidy module is not available; download from http://utidylib.berlios.de/"
msgstr "Warnung: tidy Modul ist nicht verfügbar; Download von http://utidylib.berlios.de/"
#: ../linkcheck/checker/urlbase.py:777
#: ../linkcheck/checker/urlbase.py:831
#: ../linkcheck/checker/urlbase.py:778
#: ../linkcheck/checker/urlbase.py:832
msgid "valid HTML syntax"
msgstr "gültige HTML Syntax"
#: ../linkcheck/checker/urlbase.py:783
#: ../linkcheck/checker/urlbase.py:784
#, python-format
msgid "warning: tidy HTML parsing caused error: %(msg)s "
msgstr "Warnung: tidy HTML Parser verursachte Fehler: %(msg)s"
#: ../linkcheck/checker/urlbase.py:793
#: ../linkcheck/configuration/__init__.py:354
#: ../linkcheck/checker/urlbase.py:794
#: ../linkcheck/configuration/__init__.py:355
msgid "warning: cssutils module is not available; download from http://cthedot.de/cssutils/"
msgstr "Warnung: cssutils Modul ist nicht verfügbar; Download von http://cthedot.de/cssutils/"
#: ../linkcheck/checker/urlbase.py:809
#: ../linkcheck/checker/urlbase.py:870
#: ../linkcheck/checker/urlbase.py:810
#: ../linkcheck/checker/urlbase.py:871
msgid "valid CSS syntax"
msgstr "gültige CSS Syntax"
#: ../linkcheck/checker/urlbase.py:815
#: ../linkcheck/checker/urlbase.py:816
#, python-format
msgid "warning: cssutils parsing caused error: %(msg)s"
msgstr "Warnung: cssutils Parser verursachte Fehler: %(msg)s"
#: ../linkcheck/checker/urlbase.py:843
#: ../linkcheck/checker/urlbase.py:844
#, python-format
msgid "warning: HTML W3C validation caused error: %(msg)s "
msgstr "Warnung: HTML W3C Validierung verursachte Fehler: %(msg)s"
#: ../linkcheck/checker/urlbase.py:882
#: ../linkcheck/checker/urlbase.py:883
#, python-format
msgid "warning: CSS W3C validation caused error: %(msg)s "
msgstr "Warnung: CSS W3C Validierung verursachte Fehler: %(msg)s"
@ -1274,167 +1267,167 @@ msgstr "Die NNTP Nachrichtengruppe konnte nicht gefunden werden."
msgid "The IP is obfuscated."
msgstr "Die IP-Adresse ist verschleiert."
#: ../linkcheck/checker/mailtourl.py:91
#: ../linkcheck/checker/mailtourl.py:87
#, python-format
msgid "No mail addresses found in `%(url)s'."
msgstr "Keine Adressen wurden in `%(url)s' gefunden."
#: ../linkcheck/checker/mailtourl.py:130
#: ../linkcheck/checker/mailtourl.py:126
#, python-format
msgid "Error parsing CGI values: %s"
msgstr "Fehler beim Parsen der CGI-Werte: %s"
#: ../linkcheck/checker/mailtourl.py:153
#: ../linkcheck/checker/mailtourl.py:149
#, python-format
msgid "Mail address `%(addr)s' too long. Allowed 256 chars, was %(length)d chars."
msgstr "E-Mail-Adresse `%(addr)s' ist zu lang. Erlaubt sind 256 Zeichen, es waren aber %(length)d Zeichen."
#: ../linkcheck/checker/mailtourl.py:157
#: ../linkcheck/checker/mailtourl.py:153
#, python-format
msgid "Missing `@' in mail address `%(addr)s'."
msgstr "Fehlendes `@' in E-Mail-Adresse `%(addr)s'."
#: ../linkcheck/checker/mailtourl.py:163
#: ../linkcheck/checker/mailtourl.py:159
#, python-format
msgid "Missing local part of mail address `%(addr)s'."
msgstr "Fehlender lokaler Teil der E-Mail-Adresse `%(addr)s'."
#: ../linkcheck/checker/mailtourl.py:167
#: ../linkcheck/checker/mailtourl.py:163
#, python-format
msgid "Missing domain part of mail address `%(addr)s'."
msgstr "Fehlender Domänen-Teil der E-Mail-Adresse `%(addr)s'."
#: ../linkcheck/checker/mailtourl.py:171
#: ../linkcheck/checker/mailtourl.py:167
#, python-format
msgid "Local part of mail address `%(addr)s' too long. Allowed 64 chars, was %(length)d chars."
msgstr "Lokaler Teil der E-Mail-Adresse `%(addr)s' ist zu lang. Erlaubt sind 64 Zeichen, es waren aber %(length)d Zeichen."
#: ../linkcheck/checker/mailtourl.py:175
#: ../linkcheck/checker/mailtourl.py:171
#, python-format
msgid "Domain part of mail address `%(addr)s' too long. Allowed 255 chars, was %(length)d chars."
msgstr "Domänen-Teil der E-Mail-Adresse `%(addr)s' ist zu lang. Erlaubt sind 255 Zeichen, es waren aber %(length)d Zeichen."
#: ../linkcheck/checker/mailtourl.py:184
#: ../linkcheck/checker/mailtourl.py:180
#, python-format
msgid "Unquoted double quote or backslash in mail address `%(addr)s'."
msgstr "Nicht kodiertes doppeltes Anführungszeichen oder Escape in E-Mail-Adresse `%(addr)s'."
#: ../linkcheck/checker/mailtourl.py:189
#: ../linkcheck/checker/mailtourl.py:185
#, python-format
msgid "Local part of mail address `%(addr)s' may not start with a dot."
msgstr "Der lokale Teil der E-Mail-Adresse `%(addr)s' darf nicht mit einem Punkt beginnen."
#: ../linkcheck/checker/mailtourl.py:193
#: ../linkcheck/checker/mailtourl.py:189
#, python-format
msgid "Local part of mail address `%(addr)s' may not end with a dot."
msgstr "Der lokale Teil der E-Mail-Adresse `%(addr)s' darf nicht mit einem Punkt enden."
#: ../linkcheck/checker/mailtourl.py:197
#: ../linkcheck/checker/mailtourl.py:193
#, python-format
msgid "Local part of mail address `%(addr)s' may not contain two dots."
msgstr "Der lokale Teil der E-Mail-Adresse `%(addr)s' darf nicht zwei Punkte beinhalten."
#: ../linkcheck/checker/mailtourl.py:202
#: ../linkcheck/checker/mailtourl.py:198
#, python-format
msgid "Local part of mail address `%(addr)s' contains unquoted character `%(char)s."
msgstr "Lokaler Teil der E-Mail-Adresse `%(addr)s' beinhaltet ein nicht kodiertes Zeichen `%(char)s."
#: ../linkcheck/checker/mailtourl.py:214
#: ../linkcheck/checker/mailtourl.py:210
#, python-format
msgid "Domain part of mail address `%(addr)s' has invalid IP."
msgstr "Domänen-Teil der E-Mail-Adresse `%(addr)s' besitzt eine ungültige IP-Adresse."
#: ../linkcheck/checker/mailtourl.py:220
#: ../linkcheck/checker/mailtourl.py:216
#, python-format
msgid "Invalid domain part of mail address `%(addr)s'."
msgstr "Ungültige Domänen-Teil der E-Mail-Adresse `%(addr)s'."
#: ../linkcheck/checker/mailtourl.py:224
#: ../linkcheck/checker/mailtourl.py:220
#, python-format
msgid "Invalid top level domain part of mail address `%(addr)s'."
msgstr "Ungültige Toplevel-Domänen-Teil der E-Mail-Adresse `%(addr)s'."
#: ../linkcheck/checker/mailtourl.py:262
#: ../linkcheck/checker/mailtourl.py:258
#, python-format
msgid "No MX mail host for %(domain)s found."
msgstr "Kein MX mail host für %(domain)s gefunden."
#: ../linkcheck/checker/mailtourl.py:270
#: ../linkcheck/checker/mailtourl.py:266
#, python-format
msgid "No host for %(domain)s found."
msgstr "Kein Rechner für %(domain)s gefunden."
#: ../linkcheck/checker/mailtourl.py:284
#: ../linkcheck/checker/mailtourl.py:280
#, python-format
msgid "Got invalid DNS answer %(answer)s for %(domain)s."
msgstr "Ungültige DNS Antwort %(answer)s für %(domain)s erhalten."
#: ../linkcheck/checker/mailtourl.py:328
#: ../linkcheck/checker/mailtourl.py:324
#, python-format
msgid "Verified address %(mail)s: %(info)s."
msgstr "Gültige Adresse %(mail)s: %(info)s."
#: ../linkcheck/checker/mailtourl.py:332
#: ../linkcheck/checker/mailtourl.py:328
#, python-format
msgid "Unverified but presumably valid address %(mail)s: %(info)s."
msgstr "Unverifizierte aber wahrscheinlich gültige Adresse %(mail)s: %(info)s."
#: ../linkcheck/checker/mailtourl.py:335
#: ../linkcheck/checker/mailtourl.py:331
#, python-format
msgid "Unverified address: %(info)s."
msgstr "Unverifizierte Adresse: %(info)s."
#: ../linkcheck/checker/mailtourl.py:339
#: ../linkcheck/checker/mailtourl.py:335
#, python-format
msgid "MX mail host %(host)s did not accept connections: %(error)s."
msgstr "Der MX mail host %(host)s akzeptierte keine SMTP Verbindungen: %(error)s."
#: ../linkcheck/checker/mailtourl.py:345
#: ../linkcheck/checker/mailtourl.py:341
msgid "Could not connect, but syntax is correct"
msgstr "Konnte nicht konnektieren, aber die Syntax ist korrekt"
#: ../linkcheck/checker/mailtourl.py:348
#: ../linkcheck/checker/mailtourl.py:344
#, python-format
msgid "Found MX mail host %(host)s"
msgstr "MX Mail host %(host)s gefunden"
#: ../linkcheck/checker/httpurl.py:136
#: ../linkcheck/checker/httpurl.py:137
msgid "Access denied by robots.txt, skipping content checks."
msgstr "Zugriff verweigert durch robots.txt; lasse das Prüfen des URL Inhalts aus."
#: ../linkcheck/checker/httpurl.py:143
#: ../linkcheck/checker/httpurl.py:144
msgid "Amazon servers block HTTP HEAD requests."
msgstr "Amazon Server blockieren HTTP HEAD Anfragen."
#: ../linkcheck/checker/httpurl.py:145
#: ../linkcheck/checker/httpurl.py:146
msgid "Using GET method for Amazon server."
msgstr "Benutze die GET-Methode für Amazon-Server."
#: ../linkcheck/checker/httpurl.py:152
#: ../linkcheck/checker/httpurl.py:153
msgid "unknown"
msgstr "unbekannt"
#: ../linkcheck/checker/httpurl.py:154
#: ../linkcheck/checker/httpurl.py:155
#, python-format
msgid "Server `%(name)s' did not support HEAD request; a GET request was used instead."
msgstr "Server `%(name)s' unterstützte keine HEAD Anfrage; eine GET Anfrage wurde stattdessen verwendet."
#: ../linkcheck/checker/httpurl.py:205
#: ../linkcheck/checker/httpurl.py:206
#, python-format
msgid "Enforced proxy `%(name)s'."
msgstr "Erzwungener Proxy `%(name)s'."
#: ../linkcheck/checker/httpurl.py:210
#: ../linkcheck/checker/httpurl.py:211
#, python-format
msgid "Enforced proxy `%(name)s' ignored, aborting."
msgstr "Erzwungener Proxy `%(name)s' wurde ignoriert, breche ab."
#: ../linkcheck/checker/httpurl.py:241
#: ../linkcheck/checker/httpurl.py:242
#, python-format
msgid "more than %d redirections, aborting"
msgstr "mehr als %d Weiterleitungen, breche ab"
#: ../linkcheck/checker/httpurl.py:251
#: ../linkcheck/checker/httpurl.py:252
#, python-format
msgid "Unsupported HTTP authentication `%(auth)s', only `Basic' authentication is supported."
msgstr "Nicht unterstützte HTTP Authentifizierungsmethode `%(auth)s', nur `Basic' Authentifizierung ist unterstützt."
@ -1490,50 +1483,50 @@ msgstr "Konnte Cookie nicht aus Kopfdaten speichern: %(headers)s."
msgid "Last modified %(date)s."
msgstr "Letzte Änderung %(date)s."
#: ../linkcheck/checker/httpurl.py:607
#: ../linkcheck/checker/httpurl.py:609
#, python-format
msgid "Unsupported HTTP url scheme `%(scheme)s'"
msgstr "Nicht unterstütztes HTTP URL Schema `%(scheme)s'"
#: ../linkcheck/checker/httpurl.py:651
#: ../linkcheck/checker/httpurl.py:654
#, python-format
msgid "Decompress error %(err)s"
msgstr "Entkomprimierungsfehler %(err)s"
#: ../linkcheck/checker/httpurl.py:667
#: ../linkcheck/checker/httpurl.py:670
#, python-format
msgid "Unsupported content encoding `%(encoding)s'."
msgstr "Content-Encoding `%(encoding)s' wird nicht unterstützt."
#: ../linkcheck/__init__.py:131
#: ../linkcheck/__init__.py:129
msgid "CRITICAL"
msgstr "KRITISCH"
#: ../linkcheck/__init__.py:132
#: ../linkcheck/__init__.py:130
msgid "ERROR"
msgstr "FEHLER"
#: ../linkcheck/__init__.py:133
#: ../linkcheck/__init__.py:131
msgid "WARN"
msgstr "WARN"
#: ../linkcheck/__init__.py:134
#: ../linkcheck/__init__.py:132
msgid "WARNING"
msgstr "WARNUNG"
#: ../linkcheck/__init__.py:135
#: ../linkcheck/__init__.py:133
msgid "INFO"
msgstr "INFO"
#: ../linkcheck/__init__.py:136
#: ../linkcheck/__init__.py:134
msgid "DEBUG"
msgstr "DEBUG"
#: ../linkcheck/__init__.py:137
#: ../linkcheck/__init__.py:135
msgid "NOTSET"
msgstr "NICHTS"
#: ../linkcheck/__init__.py:148
#: ../linkcheck/__init__.py:146
msgid "Running as root user; dropping privileges by changing user to nobody."
msgstr "Laufe als Benutzer root; Privilegien werden aufgegeben indem auf Benutzer nobody gewechselt wird."
@ -1542,53 +1535,53 @@ msgstr "Laufe als Benutzer root; Privilegien werden aufgegeben indem auf Benutze
msgid "invalid negative value for timeout: %d\n"
msgstr "ungültiger negativer Wert für timeout: %d\n"
#: ../linkcheck/configuration/confparse.py:166
#: ../linkcheck/configuration/confparse.py:168
#, python-format
msgid "missing auth part in entry %(val)r"
msgstr "fehlende Authentifizierung in entry %(val)r"
#: ../linkcheck/configuration/confparse.py:174
#: ../linkcheck/configuration/confparse.py:176
#, python-format
msgid "Invalid login URL `%s'. Only HTTP and HTTPS URLs are supported."
msgstr "Ungültige Login URL `%s'. Nur HTTP und HTTPS URLs sind unterstützt."
#: ../linkcheck/configuration/__init__.py:288
#: ../linkcheck/configuration/__init__.py:289
msgid "warning: missing user or URL pattern in authentication data."
msgstr "Warnung: Fehlende Benutzer oder regulärer URL Ausdruck in Authentifizierungsdaten."
#: ../linkcheck/configuration/__init__.py:338
#: ../linkcheck/configuration/__init__.py:339
msgid "warning: activating text logger output."
msgstr "Warnung: aktiviere text Loggerausgabe."
#: ../linkcheck/configuration/__init__.py:364
#: ../linkcheck/configuration/__init__.py:365
msgid "warning: Clamav could not be initialized"
msgstr "Warnung: Clamav konnte nicht initialisiert werden"
#: ../linkcheck/configuration/__init__.py:370
#: ../linkcheck/configuration/__init__.py:371
msgid "warning: activating sendcookies because storecookies is active."
msgstr "Warnung: aktiviere Option sendcookies weil Option storecookes aktiviert ist."
#: ../linkcheck/configuration/__init__.py:380
#: ../linkcheck/configuration/__init__.py:381
msgid "warning: no CGI password fieldname given for login URL."
msgstr "Warnung: kein CGI Passwort Feldname für Login URL angegeben."
#: ../linkcheck/configuration/__init__.py:384
#: ../linkcheck/configuration/__init__.py:385
msgid "warning: no CGI user fieldname given for login URL."
msgstr "Warnung: kein CGI Benutzer Feldname für Login URL angegeben."
#: ../linkcheck/configuration/__init__.py:388
#: ../linkcheck/configuration/__init__.py:389
msgid "warning: no user/password authentication data found for login URL."
msgstr "Warnung: keine Benutzer/Passwort-Authentifizierung für Login URL gefunden."
#: ../linkcheck/configuration/__init__.py:391
#: ../linkcheck/configuration/__init__.py:392
msgid "warning: login URL is not a HTTP URL."
msgstr "Warnung: Login URL ist keine HTTP URL."
#: ../linkcheck/configuration/__init__.py:395
#: ../linkcheck/configuration/__init__.py:396
msgid "warning: login URL is incomplete."
msgstr "Warnung: Login URL ist unvollständig."
#: ../linkcheck/configuration/__init__.py:399
#: ../linkcheck/configuration/__init__.py:400
#, python-format
msgid "warning: disabling login URL %(url)s."
msgstr "Warnung: deaktiviere Login URL %(url)s."
@ -2207,71 +2200,81 @@ msgstr ""
"Umgebungsvariable NNTP_SERVER. Falls kein Rechner angegeben ist,\n"
"wird lediglich auf korrekte Syntax des Links geprüft."
#: ../linkchecker:540
#: ../linkchecker:508
msgid ""
"Specify the User-Agent string to send to the HTTP server, for example\n"
"\"Mozilla/4.0\". The default is \"LinkChecker/X.Y\" where X.Y is the current\n"
"version of LinkChecker."
msgstr ""
"Gibt den User-Agent an, der zu HTTP-Servern geschickt wird,\n"
"z.B. \"Mozilla/4.0\". Der Standard ist \"LinkChecker/X.Y\", wobei X.Y\n"
"die aktuelle Version von LinkChecker ist."
#: ../linkchecker:546
#, python-format
msgid "URL has unparsable domain name: %(domain)s"
msgstr "URL besitzt einen nicht analysierbaren Rechnernamen: %(domain)s"
#: ../linkchecker:565
#: ../linkchecker:571
#, python-format
msgid "Invalid debug level %(level)r"
msgstr "Ungültiger Debuglevel %(level)r"
#: ../linkchecker:578
#: ../linkchecker:584
#, python-format
msgid "Unreadable config file: %r"
msgstr "Nicht lesbare Konfigurationsdatei: %r"
#: ../linkchecker:586
#: ../linkchecker:592
msgid "Running with python -O disables debugging."
msgstr "Die Option python -O verhindert das Debuggen."
#: ../linkchecker:608
#: ../linkchecker:639
#: ../linkchecker:614
#: ../linkchecker:645
#, python-format
msgid "Unknown logger type %(type)r in %(output)r for option %(option)s"
msgstr "Unbekannter Logtyp %(type)r in %(output)r für Option %(option)s"
#: ../linkchecker:612
#: ../linkchecker:645
#: ../linkchecker:618
#: ../linkchecker:651
#, python-format
msgid "Unknown encoding %(encoding)r in %(output)r for option %(option)s"
msgstr "Unbekanntes Encoding %(encoding)r in %(output)r für Option %(option)s"
#: ../linkchecker:657
#: ../linkchecker:663
#, python-format
msgid "Enter LinkChecker HTTP/FTP password for user %(user)s:"
msgstr "Gebe LinkChecker HTTP/FTP Passwort für Benutzer %(user)s ein:"
#: ../linkchecker:660
#: ../linkchecker:666
msgid "Enter LinkChecker HTTP/FTP password:"
msgstr "Gebe LinkChecker HTTP/FTP Passwort ein:"
#: ../linkchecker:667
#: ../linkchecker:685
#: ../linkchecker:673
#: ../linkchecker:691
#, python-format
msgid "Illegal argument %(arg)r for option %(option)s"
msgstr "Ungültiges Argument %(arg)r für Option %(option)s"
#: ../linkchecker:724
#: ../linkchecker:730
#, python-format
msgid "Enter LinkChecker password for user %(user)s at %(strpattern)s:"
msgstr "Gebe LinkChecker Passwort für Benutzer %(user)s bei %(strpattern)s ein:"
#: ../linkchecker:739
#: ../linkchecker:747
msgid "Using DOT or GML loggers without --complete output gives an incomplete sitemap graph."
msgstr "Benutzung von DOT oder GML Ausgaben ohne --complete ergibt einen unvollständigen Sitemap Graphen."
#: ../linkchecker:752
#: ../linkchecker:760
#, python-format
msgid "Could not parse cookie file: %s"
msgstr "Konnte Cookie-Datei nicht parsen: %s"
#: ../linkchecker:766
#: ../linkchecker:774
msgid "no files or URLs given"
msgstr "keine Dateien oder URLs angegeben"
#: ../linkchecker:771
#: ../linkchecker:779
#, python-format
msgid ""
"Overwrite profiling file %(file)r?\n"
@ -2280,11 +2283,11 @@ msgstr ""
"Profildatei %(file)r überschreiben?\n"
"Drücken Sie Strg-C zum Abbrechen, EINGABETASTE zum Fortfahren."
#: ../linkchecker:777
#: ../linkchecker:785
msgid "Canceled."
msgstr "Abgebrochen."
#: ../linkchecker:781
#: ../linkchecker:789
msgid "The `profile' Python module is not installed, therefore the --profile option is disabled."
msgstr "Das `profile' Python Modul ist nicht installiert, deshalb ist die --profile Option deaktiviert."
@ -2362,6 +2365,12 @@ msgstr "%s Option erfordert %d Argumente"
msgid "%s option does not take a value"
msgstr "%s Option nimmt kein Wert"
#~ msgid "Insert Firefox bookmark file"
#~ msgstr "Firefox Favoritendatei einfügen"
#~ msgid "Insert Google Chrome bookmark file"
#~ msgstr "Google Chrome Favoritendatei einfügen"
#~ msgid "System configuration file"
#~ msgstr "System-Konfigurationsdatei"

View file

@ -1,5 +1,5 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2011 Bastian Kleineidam <calvin@users.sourceforge.net>
# Copyright (C) YEAR Bastian Kleineidam <calvin@users.sourceforge.net>
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: calvin@users.sourceforge.net\n"
"POT-Creation-Date: 2011-05-20 20:53+0200\n"
"POT-Creation-Date: 2011-07-25 20:30+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -374,16 +374,9 @@ msgstr ""
msgid "Donate"
msgstr ""
#: ../linkcheck/gui/lineedit.py:177
msgid "Insert Firefox bookmark file"
msgstr ""
#: ../linkcheck/gui/lineedit.py:180
msgid "Insert Google Chrome bookmark file"
msgstr ""
#: ../linkcheck/gui/lineedit.py:183
msgid "Insert Opera bookmark file"
#: ../linkcheck/gui/lineedit.py:186
#, python-format
msgid "Insert %(browser)s bookmark file"
msgstr ""
#: ../linkcheck/gui/linkchecker_ui_options.py:163
@ -674,7 +667,7 @@ msgstr ""
msgid "System info:"
msgstr ""
#: ../linkcheck/director/console.py:129 ../linkchecker:567
#: ../linkcheck/director/console.py:129 ../linkchecker:573
#, python-format
msgid "Python %(version)s on %(platform)s"
msgstr ""
@ -933,23 +926,23 @@ msgstr ""
msgid "URL is unrecognized or has invalid syntax"
msgstr ""
#: ../linkcheck/checker/fileurl.py:130
#: ../linkcheck/checker/fileurl.py:142
msgid "Added trailing slash to directory."
msgstr ""
#: ../linkcheck/checker/fileurl.py:151
#: ../linkcheck/checker/fileurl.py:163
msgid "directory"
msgstr ""
#: ../linkcheck/checker/fileurl.py:168
#: ../linkcheck/checker/fileurl.py:180
#, python-format
msgid ""
"The URL path %(path)r is not the same as the system path %(realpath)r. You "
"should always use the system path in URLs."
msgstr ""
#: ../linkcheck/checker/fileurl.py:178 ../linkcheck/checker/urlbase.py:694
#: ../linkcheck/checker/httpurl.py:631
#: ../linkcheck/checker/fileurl.py:190 ../linkcheck/checker/urlbase.py:695
#: ../linkcheck/checker/httpurl.py:634
msgid "File size too large"
msgstr ""
@ -1009,74 +1002,74 @@ msgstr ""
msgid "could not get content: %(msg)r"
msgstr ""
#: ../linkcheck/checker/urlbase.py:639
#: ../linkcheck/checker/urlbase.py:640
#, python-format
msgid "Anchor `%(name)s' not found."
msgstr ""
#: ../linkcheck/checker/urlbase.py:640
#: ../linkcheck/checker/urlbase.py:641
#, python-format
msgid "Available anchors: %(anchors)s."
msgstr ""
#: ../linkcheck/checker/urlbase.py:732
#: ../linkcheck/checker/urlbase.py:733
#, python-format
msgid "Found %(match)r in link contents."
msgstr ""
#: ../linkcheck/checker/urlbase.py:743
#: ../linkcheck/checker/urlbase.py:744
msgid "Content size is zero."
msgstr ""
#: ../linkcheck/checker/urlbase.py:749
#: ../linkcheck/checker/urlbase.py:750
#, python-format
msgid "Content size %(dlsize)s is larger than %(maxbytes)s."
msgstr ""
#: ../linkcheck/checker/urlbase.py:754
#: ../linkcheck/checker/urlbase.py:755
#, python-format
msgid ""
"Download size (%(dlsize)d Byte) does not equal content size (%(size)d Byte)."
msgstr ""
#: ../linkcheck/checker/urlbase.py:764
#: ../linkcheck/configuration/__init__.py:346
#: ../linkcheck/checker/urlbase.py:765
#: ../linkcheck/configuration/__init__.py:347
msgid ""
"warning: tidy module is not available; download from http://utidylib.berlios."
"de/"
msgstr ""
#: ../linkcheck/checker/urlbase.py:777 ../linkcheck/checker/urlbase.py:831
#: ../linkcheck/checker/urlbase.py:778 ../linkcheck/checker/urlbase.py:832
msgid "valid HTML syntax"
msgstr ""
#: ../linkcheck/checker/urlbase.py:783
#: ../linkcheck/checker/urlbase.py:784
#, python-format
msgid "warning: tidy HTML parsing caused error: %(msg)s "
msgstr ""
#: ../linkcheck/checker/urlbase.py:793
#: ../linkcheck/configuration/__init__.py:354
#: ../linkcheck/checker/urlbase.py:794
#: ../linkcheck/configuration/__init__.py:355
msgid ""
"warning: cssutils module is not available; download from http://cthedot.de/"
"cssutils/"
msgstr ""
#: ../linkcheck/checker/urlbase.py:809 ../linkcheck/checker/urlbase.py:870
#: ../linkcheck/checker/urlbase.py:810 ../linkcheck/checker/urlbase.py:871
msgid "valid CSS syntax"
msgstr ""
#: ../linkcheck/checker/urlbase.py:815
#: ../linkcheck/checker/urlbase.py:816
#, python-format
msgid "warning: cssutils parsing caused error: %(msg)s"
msgstr ""
#: ../linkcheck/checker/urlbase.py:843
#: ../linkcheck/checker/urlbase.py:844
#, python-format
msgid "warning: HTML W3C validation caused error: %(msg)s "
msgstr ""
#: ../linkcheck/checker/urlbase.py:882
#: ../linkcheck/checker/urlbase.py:883
#, python-format
msgid "warning: CSS W3C validation caused error: %(msg)s "
msgstr ""
@ -1230,175 +1223,175 @@ msgstr ""
msgid "The IP is obfuscated."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:91
#: ../linkcheck/checker/mailtourl.py:87
#, python-format
msgid "No mail addresses found in `%(url)s'."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:130
#: ../linkcheck/checker/mailtourl.py:126
#, python-format
msgid "Error parsing CGI values: %s"
msgstr ""
#: ../linkcheck/checker/mailtourl.py:153
#: ../linkcheck/checker/mailtourl.py:149
#, python-format
msgid ""
"Mail address `%(addr)s' too long. Allowed 256 chars, was %(length)d chars."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:157
#: ../linkcheck/checker/mailtourl.py:153
#, python-format
msgid "Missing `@' in mail address `%(addr)s'."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:163
#: ../linkcheck/checker/mailtourl.py:159
#, python-format
msgid "Missing local part of mail address `%(addr)s'."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:167
#: ../linkcheck/checker/mailtourl.py:163
#, python-format
msgid "Missing domain part of mail address `%(addr)s'."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:171
#: ../linkcheck/checker/mailtourl.py:167
#, python-format
msgid ""
"Local part of mail address `%(addr)s' too long. Allowed 64 chars, was "
"%(length)d chars."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:175
#: ../linkcheck/checker/mailtourl.py:171
#, python-format
msgid ""
"Domain part of mail address `%(addr)s' too long. Allowed 255 chars, was "
"%(length)d chars."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:184
#: ../linkcheck/checker/mailtourl.py:180
#, python-format
msgid "Unquoted double quote or backslash in mail address `%(addr)s'."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:189
#: ../linkcheck/checker/mailtourl.py:185
#, python-format
msgid "Local part of mail address `%(addr)s' may not start with a dot."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:193
#: ../linkcheck/checker/mailtourl.py:189
#, python-format
msgid "Local part of mail address `%(addr)s' may not end with a dot."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:197
#: ../linkcheck/checker/mailtourl.py:193
#, python-format
msgid "Local part of mail address `%(addr)s' may not contain two dots."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:202
#: ../linkcheck/checker/mailtourl.py:198
#, python-format
msgid ""
"Local part of mail address `%(addr)s' contains unquoted character `%(char)s."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:214
#: ../linkcheck/checker/mailtourl.py:210
#, python-format
msgid "Domain part of mail address `%(addr)s' has invalid IP."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:220
#: ../linkcheck/checker/mailtourl.py:216
#, python-format
msgid "Invalid domain part of mail address `%(addr)s'."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:224
#: ../linkcheck/checker/mailtourl.py:220
#, python-format
msgid "Invalid top level domain part of mail address `%(addr)s'."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:262
#: ../linkcheck/checker/mailtourl.py:258
#, python-format
msgid "No MX mail host for %(domain)s found."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:270
#: ../linkcheck/checker/mailtourl.py:266
#, python-format
msgid "No host for %(domain)s found."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:284
#: ../linkcheck/checker/mailtourl.py:280
#, python-format
msgid "Got invalid DNS answer %(answer)s for %(domain)s."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:328
#: ../linkcheck/checker/mailtourl.py:324
#, python-format
msgid "Verified address %(mail)s: %(info)s."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:332
#: ../linkcheck/checker/mailtourl.py:328
#, python-format
msgid "Unverified but presumably valid address %(mail)s: %(info)s."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:335
#: ../linkcheck/checker/mailtourl.py:331
#, python-format
msgid "Unverified address: %(info)s."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:339
#: ../linkcheck/checker/mailtourl.py:335
#, python-format
msgid "MX mail host %(host)s did not accept connections: %(error)s."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:345
#: ../linkcheck/checker/mailtourl.py:341
msgid "Could not connect, but syntax is correct"
msgstr ""
#: ../linkcheck/checker/mailtourl.py:348
#: ../linkcheck/checker/mailtourl.py:344
#, python-format
msgid "Found MX mail host %(host)s"
msgstr ""
#: ../linkcheck/checker/httpurl.py:136
#: ../linkcheck/checker/httpurl.py:137
msgid "Access denied by robots.txt, skipping content checks."
msgstr ""
#: ../linkcheck/checker/httpurl.py:143
#: ../linkcheck/checker/httpurl.py:144
msgid "Amazon servers block HTTP HEAD requests."
msgstr ""
#: ../linkcheck/checker/httpurl.py:145
#: ../linkcheck/checker/httpurl.py:146
msgid "Using GET method for Amazon server."
msgstr ""
#: ../linkcheck/checker/httpurl.py:152
#: ../linkcheck/checker/httpurl.py:153
msgid "unknown"
msgstr ""
#: ../linkcheck/checker/httpurl.py:154
#: ../linkcheck/checker/httpurl.py:155
#, python-format
msgid ""
"Server `%(name)s' did not support HEAD request; a GET request was used "
"instead."
msgstr ""
#: ../linkcheck/checker/httpurl.py:205
#: ../linkcheck/checker/httpurl.py:206
#, python-format
msgid "Enforced proxy `%(name)s'."
msgstr ""
#: ../linkcheck/checker/httpurl.py:210
#: ../linkcheck/checker/httpurl.py:211
#, python-format
msgid "Enforced proxy `%(name)s' ignored, aborting."
msgstr ""
#: ../linkcheck/checker/httpurl.py:241
#: ../linkcheck/checker/httpurl.py:242
#, python-format
msgid "more than %d redirections, aborting"
msgstr ""
#: ../linkcheck/checker/httpurl.py:251
#: ../linkcheck/checker/httpurl.py:252
#, python-format
msgid ""
"Unsupported HTTP authentication `%(auth)s', only `Basic' authentication is "
@ -1456,50 +1449,50 @@ msgstr ""
msgid "Last modified %(date)s."
msgstr ""
#: ../linkcheck/checker/httpurl.py:607
#: ../linkcheck/checker/httpurl.py:609
#, python-format
msgid "Unsupported HTTP url scheme `%(scheme)s'"
msgstr ""
#: ../linkcheck/checker/httpurl.py:651
#: ../linkcheck/checker/httpurl.py:654
#, python-format
msgid "Decompress error %(err)s"
msgstr ""
#: ../linkcheck/checker/httpurl.py:667
#: ../linkcheck/checker/httpurl.py:670
#, python-format
msgid "Unsupported content encoding `%(encoding)s'."
msgstr ""
#: ../linkcheck/__init__.py:131
#: ../linkcheck/__init__.py:129
msgid "CRITICAL"
msgstr ""
#: ../linkcheck/__init__.py:132
#: ../linkcheck/__init__.py:130
msgid "ERROR"
msgstr ""
#: ../linkcheck/__init__.py:133
#: ../linkcheck/__init__.py:131
msgid "WARN"
msgstr ""
#: ../linkcheck/__init__.py:134
#: ../linkcheck/__init__.py:132
msgid "WARNING"
msgstr ""
#: ../linkcheck/__init__.py:135
#: ../linkcheck/__init__.py:133
msgid "INFO"
msgstr ""
#: ../linkcheck/__init__.py:136
#: ../linkcheck/__init__.py:134
msgid "DEBUG"
msgstr ""
#: ../linkcheck/__init__.py:137
#: ../linkcheck/__init__.py:135
msgid "NOTSET"
msgstr ""
#: ../linkcheck/__init__.py:148
#: ../linkcheck/__init__.py:146
msgid "Running as root user; dropping privileges by changing user to nobody."
msgstr ""
@ -1508,53 +1501,53 @@ msgstr ""
msgid "invalid negative value for timeout: %d\n"
msgstr ""
#: ../linkcheck/configuration/confparse.py:166
#: ../linkcheck/configuration/confparse.py:168
#, python-format
msgid "missing auth part in entry %(val)r"
msgstr ""
#: ../linkcheck/configuration/confparse.py:174
#: ../linkcheck/configuration/confparse.py:176
#, python-format
msgid "Invalid login URL `%s'. Only HTTP and HTTPS URLs are supported."
msgstr ""
#: ../linkcheck/configuration/__init__.py:288
#: ../linkcheck/configuration/__init__.py:289
msgid "warning: missing user or URL pattern in authentication data."
msgstr ""
#: ../linkcheck/configuration/__init__.py:338
#: ../linkcheck/configuration/__init__.py:339
msgid "warning: activating text logger output."
msgstr ""
#: ../linkcheck/configuration/__init__.py:364
#: ../linkcheck/configuration/__init__.py:365
msgid "warning: Clamav could not be initialized"
msgstr ""
#: ../linkcheck/configuration/__init__.py:370
#: ../linkcheck/configuration/__init__.py:371
msgid "warning: activating sendcookies because storecookies is active."
msgstr ""
#: ../linkcheck/configuration/__init__.py:380
#: ../linkcheck/configuration/__init__.py:381
msgid "warning: no CGI password fieldname given for login URL."
msgstr ""
#: ../linkcheck/configuration/__init__.py:384
#: ../linkcheck/configuration/__init__.py:385
msgid "warning: no CGI user fieldname given for login URL."
msgstr ""
#: ../linkcheck/configuration/__init__.py:388
#: ../linkcheck/configuration/__init__.py:389
msgid "warning: no user/password authentication data found for login URL."
msgstr ""
#: ../linkcheck/configuration/__init__.py:391
#: ../linkcheck/configuration/__init__.py:392
msgid "warning: login URL is not a HTTP URL."
msgstr ""
#: ../linkcheck/configuration/__init__.py:395
#: ../linkcheck/configuration/__init__.py:396
msgid "warning: login URL is incomplete."
msgstr ""
#: ../linkcheck/configuration/__init__.py:399
#: ../linkcheck/configuration/__init__.py:400
#, python-format
msgid "warning: disabling login URL %(url)s."
msgstr ""
@ -1989,81 +1982,88 @@ msgid ""
"only the syntax of the link is checked."
msgstr ""
#: ../linkchecker:540
#: ../linkchecker:508
msgid ""
"Specify the User-Agent string to send to the HTTP server, for example\n"
"\"Mozilla/4.0\". The default is \"LinkChecker/X.Y\" where X.Y is the current\n"
"version of LinkChecker."
msgstr ""
#: ../linkchecker:546
#, python-format
msgid "URL has unparsable domain name: %(domain)s"
msgstr ""
#: ../linkchecker:565
#: ../linkchecker:571
#, python-format
msgid "Invalid debug level %(level)r"
msgstr ""
#: ../linkchecker:578
#: ../linkchecker:584
#, python-format
msgid "Unreadable config file: %r"
msgstr ""
#: ../linkchecker:586
#: ../linkchecker:592
msgid "Running with python -O disables debugging."
msgstr ""
#: ../linkchecker:608 ../linkchecker:639
#: ../linkchecker:614 ../linkchecker:645
#, python-format
msgid "Unknown logger type %(type)r in %(output)r for option %(option)s"
msgstr ""
#: ../linkchecker:612 ../linkchecker:645
#: ../linkchecker:618 ../linkchecker:651
#, python-format
msgid "Unknown encoding %(encoding)r in %(output)r for option %(option)s"
msgstr ""
#: ../linkchecker:657
#: ../linkchecker:663
#, python-format
msgid "Enter LinkChecker HTTP/FTP password for user %(user)s:"
msgstr ""
#: ../linkchecker:660
#: ../linkchecker:666
msgid "Enter LinkChecker HTTP/FTP password:"
msgstr ""
#: ../linkchecker:667 ../linkchecker:685
#: ../linkchecker:673 ../linkchecker:691
#, python-format
msgid "Illegal argument %(arg)r for option %(option)s"
msgstr ""
#: ../linkchecker:724
#: ../linkchecker:730
#, python-format
msgid "Enter LinkChecker password for user %(user)s at %(strpattern)s:"
msgstr ""
#: ../linkchecker:739
#: ../linkchecker:747
msgid ""
"Using DOT or GML loggers without --complete output gives an incomplete "
"sitemap graph."
msgstr ""
#: ../linkchecker:752
#: ../linkchecker:760
#, python-format
msgid "Could not parse cookie file: %s"
msgstr ""
#: ../linkchecker:766
#: ../linkchecker:774
msgid "no files or URLs given"
msgstr ""
#: ../linkchecker:771
#: ../linkchecker:779
#, python-format
msgid ""
"Overwrite profiling file %(file)r?\n"
"Press Ctrl-C to cancel, RETURN to continue."
msgstr ""
#: ../linkchecker:777
#: ../linkchecker:785
msgid "Canceled."
msgstr ""
#: ../linkchecker:781
#: ../linkchecker:789
msgid ""
"The `profile' Python module is not installed, therefore the --profile option "
"is disabled."

View file

@ -8,6 +8,7 @@ warningregex=Oracle DB Error
warnsizebytes=2000
nntpserver=example.org
cookies=1
useragent=Example/0.0
[filtering]
ignore=

View file

@ -48,6 +48,7 @@ class TestConfig (unittest.TestCase):
self.assertEqual(config["nntpserver"], "example.org")
self.assertTrue(config["sendcookies"])
self.assertTrue(config["storecookies"])
self.assertEqual(config["useragent"], "Example/0.0")
# filtering section
patterns = [x["pattern"].pattern for x in config["externlinks"]]
for prefix in ("ignore_", "nofollow_"):