bisect: add i18n contexts stable
authorWagner Bruna <wbruna@softwareexpress.com.br>
Tue, 18 Oct 2011 09:38:14 -0200
branchstable
changeset 15308 ab341fbb05b1
parent 15307 718e0684c703
child 15309 0a7237071a38
bisect: add i18n contexts
mercurial/hbisect.py
--- a/mercurial/hbisect.py	Tue Oct 18 09:38:10 2011 -0200
+++ b/mercurial/hbisect.py	Tue Oct 18 09:38:14 2011 -0200
@@ -226,20 +226,27 @@
 
     # Try explicit sets
     if rev in get(repo, 'good'):
+        # i18n: bisect changeset status
         return _('good')
     if rev in get(repo, 'bad'):
+        # i18n: bisect changeset status
         return _('bad')
     if rev in get(repo, 'skip'):
+        # i18n: bisect changeset status
         return _('skipped')
     if rev in get(repo, 'untested'):
+        # i18n: bisect changeset status
         return _('untested')
     if rev in get(repo, 'ignored'):
+        # i18n: bisect changeset status
         return _('ignored')
 
     # Try implicit sets
     if rev in get(repo, 'goods'):
+        # i18n: bisect changeset status
         return _('good (implicit)')
     if rev in get(repo, 'bads'):
+        # i18n: bisect changeset status
         return _('bad (implicit)')
 
     return None