1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 22:10:55 +01:00

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
This commit is contained in:
vrana 2013-01-31 16:07:17 -08:00
parent 7f43826854
commit b7e10831a6

View file

@ -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(