changeset 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 b70b5f3e33e2
children dade3a91e918
files hgext/bookmarks.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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: