Skip to content
Snippets Groups Projects
Commit c2dd79ad authored by Katsunori FUJIWARA's avatar Katsunori FUJIWARA
Browse files

i18n: add i18n comment to error messages of filesets predicates

parent 3226ed45
No related merge requests found
......@@ -251,6 +251,7 @@
"""``hgignore()``
File that matches the active .hgignore pattern.
"""
# i18n: "hgignore" is a keyword
getargs(x, 0, 0, _("hgignore takes no arguments"))
ignore = mctx.ctx._repo.dirstate._ignore
return [f for f in mctx.subset if ignore(f)]
......@@ -388,6 +389,7 @@
ctx = mctx.ctx
sstate = sorted(ctx.substate)
if x:
# i18n: "subrepo" is a keyword
pat = getstring(x, _("subrepo requires a pattern or no arguments"))
import match as matchmod # avoid circular import issues
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment