From 4458fb6f8f33ca7c1dc1a0ffd782cd1aac2bcdf0 Mon Sep 17 00:00:00 2001 From: epriestley Date: Wed, 1 Jun 2016 04:52:38 -0700 Subject: [PATCH] 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 --- .../audit/application/PhabricatorAuditApplication.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/applications/audit/application/PhabricatorAuditApplication.php b/src/applications/audit/application/PhabricatorAuditApplication.php index 66280a16a0..932f2ca651 100644 --- a/src/applications/audit/application/PhabricatorAuditApplication.php +++ b/src/applications/audit/application/PhabricatorAuditApplication.php @@ -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;