Fix translatability of AnchorCheck directory warning

This commit is contained in:
Chris Mayo 2022-11-08 19:21:29 +00:00
parent 8065c75c4e
commit b87d26f992

View file

@ -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,
)