changeset 15985:740b1b4c7958 stable

help: mark strings for translation
author Jens Bäckman <jens.backman@gmail.com>
date Wed, 25 Jan 2012 14:06:04 -0600
parents 894f83a35653
children ba959f6e10f8
files mercurial/commands.py
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Wed Jan 25 20:03:46 2012 +0100
+++ b/mercurial/commands.py	Wed Jan 25 14:06:04 2012 -0600
@@ -3062,11 +3062,15 @@
 
         # options
         if not ui.quiet and entry[1]:
-            rst += '\noptions:\n\n'
+            rst += '\n'
+            rst += _("options:")
+            rst += '\n\n'
             rst += optrst(entry[1])
 
         if ui.verbose:
-            rst += '\nglobal options:\n\n'
+            rst += '\n'
+            rst += _("global options:")
+            rst += '\n\n'
             rst += optrst(globalopts)
 
         keep = ui.verbose and ['verbose'] or []