mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-10 00:42:40 +01:00
Use pht() for plural
This commit is contained in:
parent
450433dbae
commit
b2bb06ad0c
2 changed files with 4 additions and 3 deletions
|
@ -63,6 +63,8 @@ PhutilTranslator::getInstance()
|
|||
|
||||
'line(s)' => array('line', 'lines'),
|
||||
|
||||
'%d test(s)' => array('%d test', '%d tests'),
|
||||
|
||||
'%d assertion(s) passed.' => array(
|
||||
'%d assertion passed.',
|
||||
'%d assertions passed.',
|
||||
|
|
|
@ -193,10 +193,9 @@ EOTEXT
|
|||
}
|
||||
}
|
||||
if ($postponed_count) {
|
||||
echo sprintf("%s %d %s\n",
|
||||
echo sprintf("%s %s\n",
|
||||
$status_codes[ArcanistUnitTestResult::RESULT_POSTPONED],
|
||||
$postponed_count,
|
||||
($postponed_count > 1)?'tests':'test');
|
||||
pht('%d test(s)', $postponed_count));
|
||||
}
|
||||
|
||||
if ($coverage) {
|
||||
|
|
Loading…
Reference in a new issue