mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
i18n, bookmarks: add comments for translators
This commit is contained in:
parent
7654ca39c3
commit
4f03753252
@ -541,9 +541,11 @@ def bmrevset(repo, subset, x):
|
||||
"""``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:
|
||||
|
Loading…
Reference in New Issue
Block a user