diff hgext/color.py @ 12807:6bbf0139a36d stable

color: give hint to translators about untranslated keywords
author Martin Geisler <mg@lazybytes.net>
date Fri, 22 Oct 2010 16:34:38 +0200
parents 33f0682ba8b1
children 5b4252364ff9
line wrap: on
line diff
--- a/hgext/color.py	Thu Oct 21 11:45:02 2010 -0200
+++ b/hgext/color.py	Fri Oct 22 16:34:38 2010 +0200
@@ -226,6 +226,8 @@
 def extsetup(ui):
     commands.globalopts.append(
         ('', 'color', 'auto',
+         # i18n: 'always', 'auto', and 'never' are keywords and should
+         # not be translated
          _("when to colorize (boolean, always, auto, or never)"),
          _('TYPE')))