Mercurial > hg-stable
changeset 15308:ab341fbb05b1 stable
bisect: add i18n contexts
author | Wagner Bruna <wbruna@softwareexpress.com.br> |
---|---|
date | Tue, 18 Oct 2011 09:38:14 -0200 |
parents | 718e0684c703 |
children | 0a7237071a38 |
files | mercurial/hbisect.py |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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