i18n, bookmarks: add comments for translators

This commit is contained in:
Martin Geisler 2010-10-28 09:48:01 +02:00
parent 7654ca39c3
commit 4f03753252

View File

@ -541,9 +541,11 @@ def bmrevset(repo, subset, x):
"""``bookmark([name])`` """``bookmark([name])``
The named bookmark or all bookmarks. The named bookmark or all bookmarks.
""" """
# i18n: "bookmark" is a keyword
args = revset.getargs(x, 0, 1, _('bookmark takes one or no arguments')) args = revset.getargs(x, 0, 1, _('bookmark takes one or no arguments'))
if args: if args:
bm = revset.getstring(args[0], bm = revset.getstring(args[0],
# i18n: "bookmark" is a keyword
_('the argument to bookmark must be a string')) _('the argument to bookmark must be a string'))
bmrev = listbookmarks(repo).get(bm, None) bmrev = listbookmarks(repo).get(bm, None)
if bmrev: if bmrev: