1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-12-23 05:50:54 +01:00

Use pht() for plural

This commit is contained in:
vrana 2012-06-19 15:16:52 -07:00
parent 450433dbae
commit b2bb06ad0c
2 changed files with 4 additions and 3 deletions

View file

@ -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.',

View file

@ -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) {