mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-16 22:10:26 +00:00
Fix translatability of AnchorCheck directory warning
This commit is contained in:
parent
8065c75c4e
commit
b87d26f992
1 changed files with 2 additions and 2 deletions
|
|
@ -357,10 +357,10 @@ class AnchorCheckFileUrl(FileUrl):
|
|||
if self.anchor:
|
||||
self.add_warning(
|
||||
_(
|
||||
f" URL `{self.url}' is a directory with an anchor."
|
||||
"URL `%s' is a directory with an anchor."
|
||||
" When checking local files AnchorCheck does not support"
|
||||
" anchors for directories."
|
||||
),
|
||||
) % self.url,
|
||||
tag=WARN_FILE_ANCHORCHECK_DIRECTORY,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue