Untranslated strings from 'hg -v help cmd'
Jens Bäckman
jens.backman at gmail.com
Wed Jan 25 13:05:56 CST 2012
Yup, dear list, what the subject says.
There are two strings shown that are untranslated - "options:" and "global options:". Here's a quick, dirty fix. Feel free to make it cleaner if needed.
diff -r c2e6c5ef4555 mercurial/commands.py
--- a/mercurial/commands.py Wed Jan 25 03:01:19 2012 +0700
+++ b/mercurial/commands.py Wed Jan 25 20:02:42 2012 +0100
@@ -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 []
More information about the Mercurial-devel
mailing list