Use keyword arguments in translation strings.

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3780 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2008-05-27 19:44:40 +00:00
parent 97772c9700
commit 5f4d61e018
7 changed files with 269 additions and 233 deletions

View file

@ -183,18 +183,20 @@ class HttpUrl (internpaturl.InternPatternUrl, proxysupport.ProxySupport):
else:
server = _("unknown")
if self.fallback_get:
self.add_info(_("Server %r did not support HEAD request; "
"a GET request was used instead.") % server)
self.add_info(_("Server %(name)r did not support HEAD request; "
"a GET request was used instead.") %
{"name": server})
if self.no_anchor:
self.add_warning(_("Server %r had no anchor support, removed"
" anchor from request.") % server,
self.add_warning(_("Server %(name)r had no anchor support, removed"
" anchor from request.") % {"name": server},
tag=WARN_HTTP_NO_ANCHOR_SUPPORT)
# redirections might have changed the URL
newurl = urlparse.urlunsplit(self.urlparts)
if self.url != newurl:
if self.warn_redirect:
log.warn(LOG_CHECK, _("""URL %s has been redirected.
Use URL %s instead for checking."""), self.url, newurl)
log.warn(LOG_CHECK, _("""URL %(url)s has been redirected.
Use URL %(newurl)s instead for checking.""") % {
'url': self.url, 'newurl': newurl})
self.url = newurl
# check response
if response:
@ -232,11 +234,13 @@ Use URL %s instead for checking."""), self.url, newurl)
if response.status == 305 and self.headers:
oldproxy = (self.proxy, self.proxyauth)
newproxy = self.headers.getheader("Location")
self.add_info(_("Enforced proxy %r.") % newproxy)
self.add_info(_("Enforced proxy %(name)r.") %
{"name": newproxy})
self.set_proxy(newproxy)
if not self.proxy:
self.set_result(
_("Enforced proxy %r ignored, aborting.") % newproxy,
_("Enforced proxy %(name)r ignored, aborting.") %
{"name": newproxy},
valid=False)
return response
response.close()
@ -351,8 +355,8 @@ Use URL %s instead for checking."""), self.url, newurl)
recursion = all_seen + [redirected]
if set_result:
self.set_result(
_("recursive redirection encountered:\n %s") %
"\n => ".join(recursion), valid=False)
_("recursive redirection encountered:\n %(urls)s") %
{"urls": "\n => ".join(recursion)}, valid=False)
return -1, response
if urlparts[0] == self.scheme:
# remember redireced url as alias
@ -375,7 +379,8 @@ Use URL %s instead for checking."""), self.url, newurl)
if set_result:
self.add_warning(
_("Redirection to different URL type encountered; "
"the original URL was %r.") % self.url,
"the original URL was %(url)r.") %
{"url": self.url},
tag=WARN_HTTP_WRONG_REDIRECT)
newobj = get_url_from(
redirected, self.recursion_level, self.aggregate,
@ -417,7 +422,7 @@ Use URL %s instead for checking."""), self.url, newurl)
# store cookies for valid links
if self.aggregate.config['storecookies']:
for c in self.cookies:
self.add_info(_("Store cookie: %s.") % c)
self.add_info(_("Store cookie: %(cookie)s.") % c)
try:
out = self.aggregate.cookies.add(self.headers,
self.urlparts[0],
@ -435,7 +440,7 @@ Use URL %s instead for checking."""), self.url, newurl)
self.set_result(u"OK")
modified = self.headers.get('Last-Modified', '')
if modified:
self.add_info(_("Last modified %s.") % modified)
self.add_info(_("Last modified %(date)s.") % {"date": modified})
def _get_http_response (self):
"""
@ -534,7 +539,7 @@ Use URL %s instead for checking."""), self.url, newurl)
elif scheme == "https" and supportHttps:
h = httplib.HTTPSConnection(host)
else:
msg = _("Unsupported HTTP url scheme %r") % scheme
msg = _("Unsupported HTTP url scheme %(scheme)r") % {"scheme": scheme}
raise LinkCheckerError(msg)
if log.is_debug(LOG_CHECK):
h.set_debuglevel(1)
@ -585,7 +590,8 @@ Use URL %s instead for checking."""), self.url, newurl)
encoding = headers.get_content_encoding(self.headers)
if encoding and encoding not in _supported_encodings and \
encoding != 'identity':
self.add_warning(_('Unsupported content encoding %r.') % encoding,
self.add_warning(_('Unsupported content encoding %(encoding)r.') %
{"encoding": encoding},
tag=WARN_HTTP_UNSUPPORTED_ENCODING)
return False
return True
@ -635,7 +641,8 @@ Use URL %s instead for checking."""), self.url, newurl)
encoding = headers.get_content_encoding(self.headers)
if encoding and encoding not in _supported_encodings and \
encoding != 'identity':
self.add_warning(_('Unsupported content encoding %r.') % encoding,
self.add_warning(_('Unsupported content encoding %(encoding)r.') %
{"encoding": encoding},
tag=WARN_HTTP_UNSUPPORTED_ENCODING)
return False
return True

View file

@ -53,14 +53,14 @@ class NntpUrl (urlbase.UrlBase):
if '@' in group:
# request article info (resp, number mid)
number = nntp.stat("<"+group+">")[1]
self.add_info(_('Articel number %s found.') % number)
self.add_info(_('Article number %(num)s found.') % {"num": number})
else:
# split off trailing articel span
group = group.split('/', 1)[0]
if group:
# request group info (resp, count, first, last, name)
name = nntp.group(group)[4]
self.add_info(_("News group %s found.") % name)
self.add_info(_("News group %(name)s found.") % {"name": name})
else:
# group name is the empty string
self.add_warning(_("No newsgroup specified in NNTP URL."),
@ -88,7 +88,7 @@ class NntpUrl (urlbase.UrlBase):
raise LinkCheckerError(
_("NNTP server too busy; tried more than %d times.") % tries)
if value is not None:
self.add_warning(_("NNTP busy: %s.") % str(value),
self.add_warning(_("NNTP busy: %(msg)s.") % {"msg": str(value)},
tag=WARN_NNTP_BUSY)
return nntp

View file

@ -77,7 +77,8 @@ class UnknownUrl (urlbase.UrlBase):
if self.extern[0] and self.extern[1]:
self.add_info(_("Outside of domain filter, checked only syntax."))
elif self.ignored():
self.add_warning(_("%s URL ignored.") % self.scheme.capitalize(),
self.add_warning(_("%(scheme)s URL ignored.") %
{"scheme": self.scheme.capitalize()},
tag=WARN_IGNORE_URL)
else:
self.set_result(_("URL is unrecognized or has invalid syntax"),

View file

@ -61,7 +61,8 @@ def url_norm (url):
try:
return urlutil.url_norm(url)
except UnicodeError:
msg = _("URL has unparsable domain name: %s") % sys.exc_info()[1]
msg = _("URL has unparsable domain name: %(name)s") % \
{"name": sys.exc_info()[1]}
raise LinkCheckerError(msg)
@ -289,7 +290,8 @@ class UrlBase (object):
# check url warnings
effectiveurl = urlparse.urlunsplit(self.urlparts)
if self.url != effectiveurl:
self.add_warning(_("Effective URL %r.") % effectiveurl,
self.add_warning(_("Effective URL %(url)r.") %
{"url": effectiveurl},
tag=WARN_URL_EFFECTIVE_URL)
self.url = effectiveurl
except tuple(ExcSyntaxList), msg:
@ -351,8 +353,8 @@ class UrlBase (object):
self.host, self.port = urllib.splitport(host)
if self.port is not None:
if not urlutil.is_numeric_port(self.port):
raise LinkCheckerError(
_("URL has invalid port %r") % str(self.port))
raise LinkCheckerError(_("URL has invalid port %(port)r") %
{"port": str(self.port)})
self.port = int(self.port)
def check (self):
@ -379,7 +381,8 @@ class UrlBase (object):
"""
country = geoip.get_country(self.host)
if country is not None:
self.add_info(_("URL is located in %s.") % _(country))
self.add_info(_("URL is located in %(country)s.") %
{"country": _(country)})
def local_check (self):
"""Local check function can be overridden in subclasses."""
@ -405,7 +408,7 @@ class UrlBase (object):
value = _('Hostname not found')
# make nicer error msg for bad status line
if isinstance(value, httplib.BadStatusLine):
value = _('Bad HTTP response %r') % str(value)
value = _('Bad HTTP response %(line)r') % {"line": str(value)}
self.set_result(unicode_safe(value), valid=False)
if self.can_get_content():
self.check_content()
@ -418,8 +421,8 @@ class UrlBase (object):
self.check_size()
except tuple(ExcList):
value = self.handle_exception()
self.add_warning(_("could not get content: %r") % str(value),
tag=WARN_URL_ERROR_GETTING_CONTENT)
self.add_warning(_("could not get content: %(msg)r") %
{"msg": str(value)}, tag=WARN_URL_ERROR_GETTING_CONTENT)
def close_connection (self):
"""
@ -532,8 +535,8 @@ class UrlBase (object):
parser.handler = None
if any(x for x in handler.urls if x[0] == self.anchor):
return
self.add_warning(_("Anchor #%s not found.") % self.anchor,
tag=WARN_URL_ANCHOR_NOT_FOUND)
self.add_warning(_("Anchor #%(name)s not found.") %
{"name": self.anchor}, tag=WARN_URL_ANCHOR_NOT_FOUND)
def set_extern (self, url):
"""
@ -589,8 +592,8 @@ class UrlBase (object):
try:
match = warningregex.search(self.get_content())
if match:
self.add_warning(_("Found %r in link contents.") %
match.group(), tag=WARN_URL_WARNREGEX_FOUND)
self.add_warning(_("Found %(match)r in link contents.") %
{"match": match.group()}, tag=WARN_URL_WARNREGEX_FOUND)
except tuple(ExcList):
value = self.handle_exception()
self.set_result(unicode_safe(value), valid=False)
@ -646,7 +649,8 @@ class UrlBase (object):
# errors to propagate into this library
err = str(sys.exc_info()[1])
log.warn(LOG_CHECK,
_("warning: tidy HTML parsing caused error: %s ") % err)
_("warning: tidy HTML parsing caused error: %(msg)s ") %
{"msg": err})
def check_css (self):
"""Check CSS syntax of this page (which is supposed to be CSS)
@ -677,7 +681,8 @@ class UrlBase (object):
# errors to propagate into this library
err = str(sys.exc_info()[1])
log.warn(LOG_CHECK,
_("warning: cssutils parsing caused error: %s ") % err)
_("warning: cssutils parsing caused error: %(msg)s") %
{"msg": err})
def check_html_w3 (self):
"""Check HTML syntax of this page (which is supposed to be HTML)
@ -704,7 +709,8 @@ class UrlBase (object):
# errors to propagate into this library
err = str(sys.exc_info()[1])
log.warn(LOG_CHECK,
_("warning: HTML W3C validation caused error: %s ") % err)
_("warning: HTML W3C validation caused error: %(msg)s ") %
{"msg": err})
def check_css_w3 (self):
"""Check CSS syntax of this page (which is supposed to be CSS)
@ -742,7 +748,8 @@ class UrlBase (object):
# errors to propagate into this library
err = str(sys.exc_info()[1])
log.warn(LOG_CHECK,
_("warning: CSS W3C validation caused error: %s ") % err)
_("warning: CSS W3C validation caused error: %(msg)s ") %
{"msg": err})
def scan_virus (self):
"""Scan content for viruses."""

View file

@ -192,7 +192,7 @@ def print_version ():
def print_usage (msg):
"""Print a program msg text to stderr and exit."""
print >>sys.stderr, encode(_("Error: %s") % msg)
print >>sys.stderr, encode(_("Error: %(msg)s") % {"msg": msg})
print >>sys.stderr, encode(_("Execute 'linkchecker -h' for help"))
sys.exit(1)
@ -216,7 +216,7 @@ def viewprof ():
sys.exit(1)
if not os.path.isfile(_profile):
log.warn(LOG_CMDLINE,
_("Could not find profiling file %r.") % _profile)
_("Could not find profiling file %(file)r.") % {"file": _profile})
print >>sys.stderr, \
_("Please run linkchecker with --profile to generate it.")
sys.exit(1)
@ -742,15 +742,16 @@ for url in args:
linkcheck.add_intern_pattern(url_data, config)
except UnicodeError:
log.error(LOG_CMDLINE,
_("URL has unparsable domain name: %s"), sys.exc_info()[1])
_("URL has unparsable domain name: %(domain)s") %
{"domain": sys.exc_info()[1]})
sys.exit(1)
aggregate.urlqueue.put(url_data)
# set up profiling
if do_profile:
if has_profile:
if os.path.exists(_profile):
question = _("Overwrite profiling file %r?\n"
"Press Ctrl-C to cancel, RETURN to continue.") % _profile
question = _("""Overwrite profiling file %(file)r?
Press Ctrl-C to cancel, RETURN to continue.""") % {"file": _profile}
try:
raw_input(question)
except KeyboardInterrupt:

230
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: 2008-05-27 19:58+0200\n"
"PO-Revision-Date: 2008-05-27 20:26+0100\n"
"POT-Creation-Date: 2008-05-27 20:50+0200\n"
"PO-Revision-Date: 2008-05-27 20:52+0100\n"
"Last-Translator: Bastian Kleineidam <calvin@users.sourceforge.net>\n"
"Language-Team: de <de@li.org>\n"
"MIME-Version: 1.0\n"
@ -139,13 +139,13 @@ msgstr "Kein NNTP Server angegeben; pr
#: ../linkcheck/checker/nntpurl.py:56
#, python-format
msgid "Articel number %s found."
msgstr "Artikel Nummer %s wurde gefunden."
msgid "Article number %(num)s found."
msgstr "Artikel Nummer %(num)s wurde gefunden."
#: ../linkcheck/checker/nntpurl.py:63
#, python-format
msgid "News group %s found."
msgstr "Nachrichtengruppe %s gefunden."
msgid "News group %(name)s found."
msgstr "Nachrichtengruppe %(name)s gefunden."
#: ../linkcheck/checker/nntpurl.py:66
msgid "No newsgroup specified in NNTP URL."
@ -158,8 +158,8 @@ msgstr "NNTP Server zu besch
#: ../linkcheck/checker/nntpurl.py:91
#, python-format
msgid "NNTP busy: %s."
msgstr "NNTP beschäftigt: %s."
msgid "NNTP busy: %(msg)s."
msgstr "NNTP beschäftigt: %(msg)s."
#: ../linkcheck/checker/ftpurl.py:110
#, python-format
@ -175,7 +175,6 @@ msgid "Missing trailing directory slash in ftp url."
msgstr "Fehlender / am Ende der FTP url."
#: ../linkcheck/checker/httpsurl.py:35
#: ../linkcheck/checker/unknownurl.py:80
#, python-format
msgid "%s URL ignored."
msgstr "%s URL ignoriert."
@ -185,11 +184,16 @@ msgid "Host is empty"
msgstr "Rechnername ist leer"
#: ../linkcheck/checker/unknownurl.py:78
#: ../linkcheck/checker/urlbase.py:391
#: ../linkcheck/checker/urlbase.py:394
msgid "Outside of domain filter, checked only syntax."
msgstr "Außerhalb des Domain Filters; prüfe lediglich Syntax."
#: ../linkcheck/checker/unknownurl.py:83
#: ../linkcheck/checker/unknownurl.py:80
#, python-format
msgid "%(scheme)s URL ignored."
msgstr "%(scheme)s URL ignoriert."
#: ../linkcheck/checker/unknownurl.py:84
msgid "URL is unrecognized or has invalid syntax"
msgstr "URL ist unbekannt oder besitzt ungültige Syntax"
@ -207,99 +211,99 @@ msgstr "unbekannt"
#: ../linkcheck/checker/httpurl.py:186
#, python-format
msgid "Server %r did not support HEAD request; a GET request was used instead."
msgstr "Server %r unterstützte keine HEAD Anfrage; eine GET Anfrage wurde stattdessen verwendet."
msgid "Server %(name)r did not support HEAD request; a GET request was used instead."
msgstr "Server %(name)r unterstützte keine HEAD Anfrage; eine GET Anfrage wurde stattdessen verwendet."
#: ../linkcheck/checker/httpurl.py:189
#: ../linkcheck/checker/httpurl.py:190
#, python-format
msgid "Server %r had no anchor support, removed anchor from request."
msgstr "Server %r besitzt keine Anker Unterstützung, lösche Anker von der Anfrage."
msgid "Server %(name)r had no anchor support, removed anchor from request."
msgstr "Server %(name)r besitzt keine Anker Unterstützung, lösche Anker von der Anfrage."
#: ../linkcheck/checker/httpurl.py:196
#: ../linkcheck/checker/httpurl.py:197
#, python-format
msgid ""
"URL %s has been redirected.\n"
"Use URL %s instead for checking."
"URL %(url)s has been redirected.\n"
"Use URL %(newurl)s instead for checking."
msgstr ""
"Die URL %s wurde zu einem anderen URL Typ umgeleitet.\n"
"Benutzen Sie stattdessen %s zum Prüfen."
"Die URL %(url)s wurde zu einem anderen URL Typ umgeleitet.\n"
"Benutzen Sie stattdessen %(newurl)s zum Prüfen."
#: ../linkcheck/checker/httpurl.py:235
#: ../linkcheck/checker/httpurl.py:237
#, python-format
msgid "Enforced proxy %r."
msgstr "Erzwungener Proxy %r."
msgid "Enforced proxy %(name)r."
msgstr "Erzwungener Proxy %(name)r."
#: ../linkcheck/checker/httpurl.py:239
#: ../linkcheck/checker/httpurl.py:242
#, python-format
msgid "Enforced proxy %r ignored, aborting."
msgstr "Erzwungener Proxy %r wurde ignoriert, breche ab."
msgid "Enforced proxy %(name)r ignored, aborting."
msgstr "Erzwungener Proxy %(name)r wurde ignoriert, breche ab."
#: ../linkcheck/checker/httpurl.py:267
#: ../linkcheck/checker/httpurl.py:271
#, python-format
msgid "more than %d redirections, aborting"
msgstr "mehr als %d Weiterleitungen, breche ab"
#: ../linkcheck/checker/httpurl.py:319
#: ../linkcheck/checker/httpurl.py:323
#, python-format
msgid "Redirected to %(url)s."
msgstr "Zu %(url)s umgeleitet."
#: ../linkcheck/checker/httpurl.py:331
#: ../linkcheck/checker/httpurl.py:335
msgid "The redirected URL is outside of the domain filter, checked only syntax."
msgstr "Die Weiterleitungs-URL ist außerhalb des Domain Filters; prüfe lediglich Syntax."
#: ../linkcheck/checker/httpurl.py:339
#: ../linkcheck/checker/httpurl.py:343
msgid "Access to redirected URL denied by robots.txt, checked only syntax."
msgstr "Zugriff zur Weiterleitungs-URL verweigert durch robots.txt; prüfe lediglich Syntax."
#: ../linkcheck/checker/httpurl.py:354
#: ../linkcheck/checker/httpurl.py:358
#, python-format
msgid ""
"recursive redirection encountered:\n"
" %s"
" %(urls)s"
msgstr ""
"Rekursive Weiterleitung entdeckt:\n"
" %s"
" %(urls)s"
#: ../linkcheck/checker/httpurl.py:366
#: ../linkcheck/checker/httpurl.py:370
msgid "HTTP 301 (moved permanent) encountered: you should update this link."
msgstr "HTTP 301 (moved permanent) gefunden: sie sollten diesen Link aktualisieren."
#: ../linkcheck/checker/httpurl.py:377
#: ../linkcheck/checker/httpurl.py:381
#, python-format
msgid "Redirection to different URL type encountered; the original URL was %r."
msgstr "HTTP Weiterleitung zu einer nicht-HTTP URL; die Original-URL war %r."
msgid "Redirection to different URL type encountered; the original URL was %(url)r."
msgstr "HTTP Weiterleitung zu einer nicht-HTTP URL; die Original-URL war %(url)r."
#: ../linkcheck/checker/httpurl.py:420
#: ../linkcheck/checker/httpurl.py:425
#, python-format
msgid "Store cookie: %s."
msgstr "Speichere Cookie: %s."
msgid "Store cookie: %(cookie)s."
msgstr "Speichere Cookie: %(cookie)s."
#: ../linkcheck/checker/httpurl.py:429
#: ../linkcheck/checker/httpurl.py:434
#, python-format
msgid "Could not store cookies: %(msg)s."
msgstr "Konnte Cookie nicht speichern: %(msg)s."
#: ../linkcheck/checker/httpurl.py:438
#: ../linkcheck/checker/httpurl.py:443
#, python-format
msgid "Last modified %s."
msgstr "Letzte Änderung %s."
msgid "Last modified %(date)s."
msgstr "Letzte Änderung %(date)s."
#: ../linkcheck/checker/httpurl.py:537
#: ../linkcheck/checker/httpurl.py:542
#, python-format
msgid "Unsupported HTTP url scheme %r"
msgstr "Nicht unterstütztes HTTP URL Schema %r"
msgid "Unsupported HTTP url scheme %(scheme)r"
msgstr "Nicht unterstütztes HTTP URL Schema %(scheme)r"
#: ../linkcheck/checker/httpurl.py:573
#: ../linkcheck/checker/httpurl.py:578
#, python-format
msgid "Decompress error %(err)s"
msgstr "Entkomprimierungsfehler %(err)s"
#: ../linkcheck/checker/httpurl.py:588
#: ../linkcheck/checker/httpurl.py:638
#: ../linkcheck/checker/httpurl.py:593
#: ../linkcheck/checker/httpurl.py:644
#, python-format
msgid "Unsupported content encoding %r."
msgstr "Content-Encoding %r wird nicht unterstützt."
msgid "Unsupported content encoding %(encoding)r."
msgstr "Content-Encoding %(encoding)r wird nicht unterstützt."
#: ../linkcheck/checker/mailtourl.py:51
msgid "Could not split the mail address"
@ -358,25 +362,24 @@ msgid "Found MX mail host %(host)s"
msgstr "MX Mail host %(host)s gefunden"
#: ../linkcheck/checker/urlbase.py:64
#: ../linkchecker:745
#, python-format
msgid "URL has unparsable domain name: %s"
msgstr "URL besitzt einen nicht analysierbaren Rechnernamen: %s"
msgid "URL has unparsable domain name: %(name)s"
msgstr "URL besitzt einen nicht analysierbaren Rechnernamen: %(name)s"
#: ../linkcheck/checker/urlbase.py:282
#: ../linkcheck/checker/urlbase.py:283
msgid "URL is missing"
msgstr "URL fehlt"
#: ../linkcheck/checker/urlbase.py:285
#: ../linkcheck/checker/urlbase.py:286
msgid "URL is empty"
msgstr "URL ist leer"
#: ../linkcheck/checker/urlbase.py:292
#: ../linkcheck/checker/urlbase.py:293
#, python-format
msgid "Effective URL %r."
msgstr "Effektive URL %r."
msgid "Effective URL %(url)r."
msgstr "Effektive URL %(url)r."
#: ../linkcheck/checker/urlbase.py:308
#: ../linkcheck/checker/urlbase.py:310
#, python-format
msgid ""
"URL %(url)r has a unicode domain name which\n"
@ -384,89 +387,89 @@ msgid ""
" the URL %(idna_url)r instead."
msgstr "URL %(url)r besitzt eine Unicode Domäne, welche noch nicht von allen verarbeitet werden kann. Sie sollten stattdessen die URL %(idna_url)r benutzen."
#: ../linkcheck/checker/urlbase.py:315
#: ../linkcheck/checker/urlbase.py:317
#, python-format
msgid "Base URL is not properly normed. Normed URL is %(url)s."
msgstr "Basis URL ist nicht genormt. Genormte URL ist %(url)s."
#: ../linkcheck/checker/urlbase.py:355
#: ../linkcheck/checker/urlbase.py:356
#, python-format
msgid "URL has invalid port %r"
msgstr "URL hat eine ungültige Portnummer %r"
msgid "URL has invalid port %(port)r"
msgstr "URL hat eine ungültige Portnummer %(port)r"
#: ../linkcheck/checker/urlbase.py:382
#: ../linkcheck/checker/urlbase.py:384
#, python-format
msgid "URL is located in %s."
msgstr "URL befindet sich in %s."
msgid "URL is located in %(country)s."
msgstr "URL befindet sich in %(country)s."
#: ../linkcheck/checker/urlbase.py:405
#: ../linkcheck/checker/urlbase.py:408
msgid "Hostname not found"
msgstr "Rechnername nicht gefunden"
#: ../linkcheck/checker/urlbase.py:408
#: ../linkcheck/checker/urlbase.py:411
#, python-format
msgid "Bad HTTP response %r"
msgstr "Ungültige HTTP Antwort %r"
msgid "Bad HTTP response %(line)r"
msgstr "Ungültige HTTP Antwort %(line)r"
#: ../linkcheck/checker/urlbase.py:421
#: ../linkcheck/checker/urlbase.py:424
#, python-format
msgid "could not get content: %r"
msgstr "konnte Inhalt nicht parsen: %r"
msgid "could not get content: %(msg)r"
msgstr "konnte Inhalt nicht parsen: %(msg)r"
#: ../linkcheck/checker/urlbase.py:535
#: ../linkcheck/checker/urlbase.py:538
#, python-format
msgid "Anchor #%s not found."
msgstr "Anker #%s nicht gefunden."
msgid "Anchor #%(name)s not found."
msgstr "Anker #%(name)s nicht gefunden."
#: ../linkcheck/checker/urlbase.py:592
#: ../linkcheck/checker/urlbase.py:595
#, python-format
msgid "Found %r in link contents."
msgstr "Habe %r in Link Inhalt gefunden."
msgid "Found %(match)r in link contents."
msgstr "Habe %(match)r in Verknüpfungsinhalt gefunden."
#: ../linkcheck/checker/urlbase.py:620
#: ../linkcheck/checker/urlbase.py:623
#, 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:631
#: ../linkcheck/checker/urlbase.py:634
#: ../linkcheck/configuration/__init__.py:245
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:643
#: ../linkcheck/checker/urlbase.py:695
#: ../linkcheck/checker/urlbase.py:646
#: ../linkcheck/checker/urlbase.py:700
msgid "valid HTML syntax"
msgstr "gültige HTML Syntax"
#: ../linkcheck/checker/urlbase.py:649
#: ../linkcheck/checker/urlbase.py:652
#, python-format
msgid "warning: tidy HTML parsing caused error: %s "
msgstr "Warnung: tidy HTML Parser verursachte Fehler: %s"
msgid "warning: tidy HTML parsing caused error: %(msg)s "
msgstr "Warnung: tidy HTML Parser verursachte Fehler: %(msg)s"
#: ../linkcheck/checker/urlbase.py:658
#: ../linkcheck/checker/urlbase.py:662
#: ../linkcheck/configuration/__init__.py:253
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:674
#: ../linkcheck/checker/urlbase.py:733
#: ../linkcheck/checker/urlbase.py:678
#: ../linkcheck/checker/urlbase.py:739
msgid "valid CSS syntax"
msgstr "gültige CSS Syntax"
#: ../linkcheck/checker/urlbase.py:680
#: ../linkcheck/checker/urlbase.py:684
#, python-format
msgid "warning: cssutils parsing caused error: %s "
msgstr "Warnung: cssutils Parser verursachte Fehler: %s"
msgid "warning: cssutils parsing caused error: %(msg)s"
msgstr "Warnung: cssutils Parser verursachte Fehler: %(msg)s"
#: ../linkcheck/checker/urlbase.py:707
#: ../linkcheck/checker/urlbase.py:712
#, python-format
msgid "warning: HTML W3C validation caused error: %s "
msgstr "Warnung: HTML W3C Validierung verursachte Fehler: %s"
msgid "warning: HTML W3C validation caused error: %(msg)s "
msgstr "Warnung: HTML W3C Validierung verursachte Fehler: %(msg)s"
#: ../linkcheck/checker/urlbase.py:745
#: ../linkcheck/checker/urlbase.py:751
#, python-format
msgid "warning: CSS W3C validation caused error: %s "
msgstr "Warnung: CSS W3C Validierung verursachte Fehler: %s"
msgid "warning: CSS W3C validation caused error: %(msg)s "
msgstr "Warnung: CSS W3C Validierung verursachte Fehler: %(msg)s"
#: ../linkcheck/checker/fileurl.py:114
msgid "Added trailing slash to directory."
@ -1184,8 +1187,8 @@ msgstr ""
#: ../linkchecker:195
#, python-format
msgid "Error: %s"
msgstr "Fehler: %s"
msgid "Error: %(msg)s"
msgstr "Fehler: %(msg)s"
#: ../linkchecker:196
msgid "Execute 'linkchecker -h' for help"
@ -1201,8 +1204,8 @@ msgstr "Das `pstats' Python Modul ist nicht installiert, deshalb ist die --viewp
#: ../linkchecker:219
#, python-format
msgid "Could not find profiling file %r."
msgstr "Konnte Profiling-Datei %r nicht finden."
msgid "Could not find profiling file %(file)r."
msgstr "Konnte Profiling-Datei %(file)r nicht finden."
#: ../linkchecker:221
msgid "Please run linkchecker with --profile to generate it."
@ -1572,24 +1575,29 @@ msgstr "keine Dateien oder URLs angegeben"
msgid "Could not parse cookie file: %s"
msgstr "Konnte Cookie-Datei nicht parsen: %s"
#: ../linkchecker:752
#: ../linkchecker:745
#, python-format
msgid "URL has unparsable domain name: %(domain)s"
msgstr "URL besitzt einen nicht analysierbaren Rechnernamen: %(domain)s"
#: ../linkchecker:753
#, python-format
msgid ""
"Overwrite profiling file %r?\n"
"Overwrite profiling file %(file)r?\n"
"Press Ctrl-C to cancel, RETURN to continue."
msgstr ""
"Profildatei %r überschreiben?\n"
"Profildatei %(file)r überschreiben?\n"
"Drücken Sie Strg-C zum Abbrechen, EINGABETASTE zum Fortfahren."
#: ../linkchecker:758
#: ../linkchecker:759
msgid "Canceled."
msgstr "Abgebrochen."
#: ../linkchecker:762
#: ../linkchecker:763
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."
#: ../linkchecker:775
#: ../linkchecker:776
msgid "Hit RETURN to finish"
msgstr "Drücken Sie RETURN zum Beenden"

View file

@ -1,5 +1,5 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Bastian Kleineidam <calvin@users.sourceforge.net>
# Copyright (C) 2008 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: 2008-05-27 19:58+0200\n"
"POT-Creation-Date: 2008-05-27 20:50+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"
@ -142,12 +142,12 @@ msgstr ""
#: ../linkcheck/checker/nntpurl.py:56
#, python-format
msgid "Articel number %s found."
msgid "Article number %(num)s found."
msgstr ""
#: ../linkcheck/checker/nntpurl.py:63
#, python-format
msgid "News group %s found."
msgid "News group %(name)s found."
msgstr ""
#: ../linkcheck/checker/nntpurl.py:66
@ -161,7 +161,7 @@ msgstr ""
#: ../linkcheck/checker/nntpurl.py:91
#, python-format
msgid "NNTP busy: %s."
msgid "NNTP busy: %(msg)s."
msgstr ""
#: ../linkcheck/checker/ftpurl.py:110
@ -177,7 +177,7 @@ msgstr ""
msgid "Missing trailing directory slash in ftp url."
msgstr ""
#: ../linkcheck/checker/httpsurl.py:35 ../linkcheck/checker/unknownurl.py:80
#: ../linkcheck/checker/httpsurl.py:35
#, python-format
msgid "%s URL ignored."
msgstr ""
@ -186,11 +186,16 @@ msgstr ""
msgid "Host is empty"
msgstr ""
#: ../linkcheck/checker/unknownurl.py:78 ../linkcheck/checker/urlbase.py:391
#: ../linkcheck/checker/unknownurl.py:78 ../linkcheck/checker/urlbase.py:394
msgid "Outside of domain filter, checked only syntax."
msgstr ""
#: ../linkcheck/checker/unknownurl.py:83
#: ../linkcheck/checker/unknownurl.py:80
#, python-format
msgid "%(scheme)s URL ignored."
msgstr ""
#: ../linkcheck/checker/unknownurl.py:84
msgid "URL is unrecognized or has invalid syntax"
msgstr ""
@ -208,93 +213,95 @@ msgstr ""
#: ../linkcheck/checker/httpurl.py:186
#, python-format
msgid "Server %r did not support HEAD request; a GET request was used instead."
msgid ""
"Server %(name)r did not support HEAD request; a GET request was used instead."
msgstr ""
#: ../linkcheck/checker/httpurl.py:189
#: ../linkcheck/checker/httpurl.py:190
#, python-format
msgid "Server %r had no anchor support, removed anchor from request."
msgid "Server %(name)r had no anchor support, removed anchor from request."
msgstr ""
#: ../linkcheck/checker/httpurl.py:196
#: ../linkcheck/checker/httpurl.py:197
#, python-format
msgid ""
"URL %s has been redirected.\n"
"Use URL %s instead for checking."
"URL %(url)s has been redirected.\n"
"Use URL %(newurl)s instead for checking."
msgstr ""
#: ../linkcheck/checker/httpurl.py:235
#: ../linkcheck/checker/httpurl.py:237
#, python-format
msgid "Enforced proxy %r."
msgid "Enforced proxy %(name)r."
msgstr ""
#: ../linkcheck/checker/httpurl.py:239
#: ../linkcheck/checker/httpurl.py:242
#, python-format
msgid "Enforced proxy %r ignored, aborting."
msgid "Enforced proxy %(name)r ignored, aborting."
msgstr ""
#: ../linkcheck/checker/httpurl.py:267
#: ../linkcheck/checker/httpurl.py:271
#, python-format
msgid "more than %d redirections, aborting"
msgstr ""
#: ../linkcheck/checker/httpurl.py:319
#: ../linkcheck/checker/httpurl.py:323
#, python-format
msgid "Redirected to %(url)s."
msgstr ""
#: ../linkcheck/checker/httpurl.py:331
#: ../linkcheck/checker/httpurl.py:335
msgid "The redirected URL is outside of the domain filter, checked only syntax."
msgstr ""
#: ../linkcheck/checker/httpurl.py:339
#: ../linkcheck/checker/httpurl.py:343
msgid "Access to redirected URL denied by robots.txt, checked only syntax."
msgstr ""
#: ../linkcheck/checker/httpurl.py:354
#: ../linkcheck/checker/httpurl.py:358
#, python-format
msgid ""
"recursive redirection encountered:\n"
" %s"
" %(urls)s"
msgstr ""
#: ../linkcheck/checker/httpurl.py:366
#: ../linkcheck/checker/httpurl.py:370
msgid "HTTP 301 (moved permanent) encountered: you should update this link."
msgstr ""
#: ../linkcheck/checker/httpurl.py:377
#: ../linkcheck/checker/httpurl.py:381
#, python-format
msgid "Redirection to different URL type encountered; the original URL was %r."
msgid ""
"Redirection to different URL type encountered; the original URL was %(url)r."
msgstr ""
#: ../linkcheck/checker/httpurl.py:420
#: ../linkcheck/checker/httpurl.py:425
#, python-format
msgid "Store cookie: %s."
msgid "Store cookie: %(cookie)s."
msgstr ""
#: ../linkcheck/checker/httpurl.py:429
#: ../linkcheck/checker/httpurl.py:434
#, python-format
msgid "Could not store cookies: %(msg)s."
msgstr ""
#: ../linkcheck/checker/httpurl.py:438
#: ../linkcheck/checker/httpurl.py:443
#, python-format
msgid "Last modified %s."
msgid "Last modified %(date)s."
msgstr ""
#: ../linkcheck/checker/httpurl.py:537
#: ../linkcheck/checker/httpurl.py:542
#, python-format
msgid "Unsupported HTTP url scheme %r"
msgid "Unsupported HTTP url scheme %(scheme)r"
msgstr ""
#: ../linkcheck/checker/httpurl.py:573
#: ../linkcheck/checker/httpurl.py:578
#, python-format
msgid "Decompress error %(err)s"
msgstr ""
#: ../linkcheck/checker/httpurl.py:588 ../linkcheck/checker/httpurl.py:638
#: ../linkcheck/checker/httpurl.py:593 ../linkcheck/checker/httpurl.py:644
#, python-format
msgid "Unsupported content encoding %r."
msgid "Unsupported content encoding %(encoding)r."
msgstr ""
#: ../linkcheck/checker/mailtourl.py:51
@ -353,25 +360,25 @@ msgstr ""
msgid "Found MX mail host %(host)s"
msgstr ""
#: ../linkcheck/checker/urlbase.py:64 ../linkchecker:745
#: ../linkcheck/checker/urlbase.py:64
#, python-format
msgid "URL has unparsable domain name: %s"
msgid "URL has unparsable domain name: %(name)s"
msgstr ""
#: ../linkcheck/checker/urlbase.py:282
#: ../linkcheck/checker/urlbase.py:283
msgid "URL is missing"
msgstr ""
#: ../linkcheck/checker/urlbase.py:285
#: ../linkcheck/checker/urlbase.py:286
msgid "URL is empty"
msgstr ""
#: ../linkcheck/checker/urlbase.py:292
#: ../linkcheck/checker/urlbase.py:293
#, python-format
msgid "Effective URL %r."
msgid "Effective URL %(url)r."
msgstr ""
#: ../linkcheck/checker/urlbase.py:308
#: ../linkcheck/checker/urlbase.py:310
#, python-format
msgid ""
"URL %(url)r has a unicode domain name which\n"
@ -379,90 +386,90 @@ msgid ""
" the URL %(idna_url)r instead."
msgstr ""
#: ../linkcheck/checker/urlbase.py:315
#: ../linkcheck/checker/urlbase.py:317
#, python-format
msgid "Base URL is not properly normed. Normed URL is %(url)s."
msgstr ""
#: ../linkcheck/checker/urlbase.py:355
#: ../linkcheck/checker/urlbase.py:356
#, python-format
msgid "URL has invalid port %r"
msgid "URL has invalid port %(port)r"
msgstr ""
#: ../linkcheck/checker/urlbase.py:382
#: ../linkcheck/checker/urlbase.py:384
#, python-format
msgid "URL is located in %s."
msgstr ""
#: ../linkcheck/checker/urlbase.py:405
msgid "Hostname not found"
msgid "URL is located in %(country)s."
msgstr ""
#: ../linkcheck/checker/urlbase.py:408
#, python-format
msgid "Bad HTTP response %r"
msgid "Hostname not found"
msgstr ""
#: ../linkcheck/checker/urlbase.py:421
#: ../linkcheck/checker/urlbase.py:411
#, python-format
msgid "could not get content: %r"
msgid "Bad HTTP response %(line)r"
msgstr ""
#: ../linkcheck/checker/urlbase.py:535
#: ../linkcheck/checker/urlbase.py:424
#, python-format
msgid "Anchor #%s not found."
msgid "could not get content: %(msg)r"
msgstr ""
#: ../linkcheck/checker/urlbase.py:592
#: ../linkcheck/checker/urlbase.py:538
#, python-format
msgid "Found %r in link contents."
msgid "Anchor #%(name)s not found."
msgstr ""
#: ../linkcheck/checker/urlbase.py:620
#: ../linkcheck/checker/urlbase.py:595
#, python-format
msgid "Found %(match)r in link contents."
msgstr ""
#: ../linkcheck/checker/urlbase.py:623
#, python-format
msgid "Content size %(dlsize)s is larger than %(maxbytes)s."
msgstr ""
#: ../linkcheck/checker/urlbase.py:631
#: ../linkcheck/checker/urlbase.py:634
#: ../linkcheck/configuration/__init__.py:245
msgid ""
"warning: tidy module is not available; download from http://utidylib.berlios."
"de/"
msgstr ""
#: ../linkcheck/checker/urlbase.py:643 ../linkcheck/checker/urlbase.py:695
#: ../linkcheck/checker/urlbase.py:646 ../linkcheck/checker/urlbase.py:700
msgid "valid HTML syntax"
msgstr ""
#: ../linkcheck/checker/urlbase.py:649
#: ../linkcheck/checker/urlbase.py:652
#, python-format
msgid "warning: tidy HTML parsing caused error: %s "
msgid "warning: tidy HTML parsing caused error: %(msg)s "
msgstr ""
#: ../linkcheck/checker/urlbase.py:658
#: ../linkcheck/checker/urlbase.py:662
#: ../linkcheck/configuration/__init__.py:253
msgid ""
"warning: cssutils module is not available; download from http://cthedot.de/"
"cssutils/"
msgstr ""
#: ../linkcheck/checker/urlbase.py:674 ../linkcheck/checker/urlbase.py:733
#: ../linkcheck/checker/urlbase.py:678 ../linkcheck/checker/urlbase.py:739
msgid "valid CSS syntax"
msgstr ""
#: ../linkcheck/checker/urlbase.py:680
#: ../linkcheck/checker/urlbase.py:684
#, python-format
msgid "warning: cssutils parsing caused error: %s "
msgid "warning: cssutils parsing caused error: %(msg)s"
msgstr ""
#: ../linkcheck/checker/urlbase.py:707
#: ../linkcheck/checker/urlbase.py:712
#, python-format
msgid "warning: HTML W3C validation caused error: %s "
msgid "warning: HTML W3C validation caused error: %(msg)s "
msgstr ""
#: ../linkcheck/checker/urlbase.py:745
#: ../linkcheck/checker/urlbase.py:751
#, python-format
msgid "warning: CSS W3C validation caused error: %s "
msgid "warning: CSS W3C validation caused error: %(msg)s "
msgstr ""
#: ../linkcheck/checker/fileurl.py:114
@ -1038,7 +1045,7 @@ msgstr ""
#: ../linkchecker:195
#, python-format
msgid "Error: %s"
msgid "Error: %(msg)s"
msgstr ""
#: ../linkchecker:196
@ -1057,7 +1064,7 @@ msgstr ""
#: ../linkchecker:219
#, python-format
msgid "Could not find profiling file %r."
msgid "Could not find profiling file %(file)r."
msgstr ""
#: ../linkchecker:221
@ -1358,24 +1365,29 @@ msgstr ""
msgid "Could not parse cookie file: %s"
msgstr ""
#: ../linkchecker:752
#: ../linkchecker:745
#, python-format
msgid "URL has unparsable domain name: %(domain)s"
msgstr ""
#: ../linkchecker:753
#, python-format
msgid ""
"Overwrite profiling file %r?\n"
"Overwrite profiling file %(file)r?\n"
"Press Ctrl-C to cancel, RETURN to continue."
msgstr ""
#: ../linkchecker:758
#: ../linkchecker:759
msgid "Canceled."
msgstr ""
#: ../linkchecker:762
#: ../linkchecker:763
msgid ""
"The `profile' Python module is not installed, therefore the --profile option "
"is disabled."
msgstr ""
#: ../linkchecker:775
#: ../linkchecker:776
msgid "Hit RETURN to finish"
msgstr ""