From b7e10831a635bc4f43b430d722270074135b627f Mon Sep 17 00:00:00 2001 From: vrana Date: Thu, 31 Jan 2013 16:07:17 -0800 Subject: [PATCH] Use PhutilNumber instead of number_format() Summary: Also convert to `phutil_tag()`. Test Plan: Displayed revision with hidden comments. Reviewers: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4772 --- .../view/DifferentialRevisionCommentListView.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/applications/differential/view/DifferentialRevisionCommentListView.php b/src/applications/differential/view/DifferentialRevisionCommentListView.php index ebccc8c78a..211f08d42a 100644 --- a/src/applications/differential/view/DifferentialRevisionCommentListView.php +++ b/src/applications/differential/view/DifferentialRevisionCommentListView.php @@ -171,8 +171,9 @@ final class DifferentialRevisionCommentListView extends AphrontView { ), array( pht( - '%d older comments are hidden. ', - number_format(count($hidden))), + '%s older comments are hidden.', + new PhutilNumber(count($hidden))), + ' ', javelin_tag( 'a', array(