mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-21 21:10:56 +01:00
Correct tooltip label for open audit count
Summary: Fixes T11071. This was a copy/paste error from D14638. Test Plan: {F1669989} Reviewers: chad Reviewed By: chad Maniphest Tasks: T11071 Differential Revision: https://secure.phabricator.com/D15998
This commit is contained in:
parent
9b27b5c7da
commit
4458fb6f8f
1 changed files with 7 additions and 3 deletions
|
@ -60,7 +60,7 @@ final class PhabricatorAuditApplication extends PhabricatorApplication {
|
|||
|
||||
$count = count($commits);
|
||||
if ($count >= $limit) {
|
||||
$count_str = pht('%s+ Problem Commit(s)', new PhutilNumber($limit - 1));
|
||||
$count_str = pht('%s+ Problem Commits', new PhutilNumber($limit - 1));
|
||||
} else {
|
||||
$count_str = pht('%s Problem Commit(s)', new PhutilNumber($count));
|
||||
}
|
||||
|
@ -80,9 +80,13 @@ final class PhabricatorAuditApplication extends PhabricatorApplication {
|
|||
|
||||
$count = count($commits);
|
||||
if ($count >= $limit) {
|
||||
$count_str = pht('%s+ Problem Commit(s)', new PhutilNumber($limit - 1));
|
||||
$count_str = pht(
|
||||
'%s+ Commits Awaiting Audit',
|
||||
new PhutilNumber($limit - 1));
|
||||
} else {
|
||||
$count_str = pht('%s Problem Commit(s)', new PhutilNumber($count));
|
||||
$count_str = pht(
|
||||
'%s Commit(s) Awaiting Audit',
|
||||
new PhutilNumber($count));
|
||||
}
|
||||
|
||||
$type = PhabricatorApplicationStatusView::TYPE_WARNING;
|
||||
|
|
Loading…
Reference in a new issue