# HG changeset patch # User Martin Geisler # Date 1288252081 -7200 # Node ID 161fe4879bfcfa6cbf055baeeb325be9fd75eb86 # Parent b70b5f3e33e2f2cb81b8be5da3292d6a729a49a1 i18n, bookmarks: add comments for translators diff --git a/hgext/bookmarks.py b/hgext/bookmarks.py --- a/hgext/bookmarks.py +++ b/hgext/bookmarks.py @@ -541,9 +541,11 @@ """``bookmark([name])`` The named bookmark or all bookmarks. """ + # i18n: "bookmark" is a keyword args = revset.getargs(x, 0, 1, _('bookmark takes one or no arguments')) if args: bm = revset.getstring(args[0], + # i18n: "bookmark" is a keyword _('the argument to bookmark must be a string')) bmrev = listbookmarks(repo).get(bm, None) if bmrev: