##// END OF EJS Templates
bisect: add i18n contexts
Wagner Bruna -
r15308:ab341fbb stable
parent child Browse files
Show More
@@ -226,20 +226,27 b' def label(repo, node, short=False):'
226
226
227 # Try explicit sets
227 # Try explicit sets
228 if rev in get(repo, 'good'):
228 if rev in get(repo, 'good'):
229 # i18n: bisect changeset status
229 return _('good')
230 return _('good')
230 if rev in get(repo, 'bad'):
231 if rev in get(repo, 'bad'):
232 # i18n: bisect changeset status
231 return _('bad')
233 return _('bad')
232 if rev in get(repo, 'skip'):
234 if rev in get(repo, 'skip'):
235 # i18n: bisect changeset status
233 return _('skipped')
236 return _('skipped')
234 if rev in get(repo, 'untested'):
237 if rev in get(repo, 'untested'):
238 # i18n: bisect changeset status
235 return _('untested')
239 return _('untested')
236 if rev in get(repo, 'ignored'):
240 if rev in get(repo, 'ignored'):
241 # i18n: bisect changeset status
237 return _('ignored')
242 return _('ignored')
238
243
239 # Try implicit sets
244 # Try implicit sets
240 if rev in get(repo, 'goods'):
245 if rev in get(repo, 'goods'):
246 # i18n: bisect changeset status
241 return _('good (implicit)')
247 return _('good (implicit)')
242 if rev in get(repo, 'bads'):
248 if rev in get(repo, 'bads'):
249 # i18n: bisect changeset status
243 return _('bad (implicit)')
250 return _('bad (implicit)')
244
251
245 return None
252 return None
General Comments 0
You need to be logged in to leave comments. Login now