Mercurial > hg
diff hgext/bookmarks.py @ 12881:161fe4879bfc stable
i18n, bookmarks: add comments for translators
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Thu, 28 Oct 2010 09:48:01 +0200 |
parents | 765c98f068d3 |
children | 3da456d0c885 6e79a3bb8c79 |
line wrap: on
line diff
--- a/hgext/bookmarks.py Thu Oct 28 09:43:56 2010 +0200 +++ b/hgext/bookmarks.py Thu Oct 28 09:48:01 2010 +0200 @@ -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: