1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

Fix a translation string

Summary: Fixes T7672. This had two `%d` conversions but only one parameter.

Test Plan: Adjusted limit to 0, viewed a merge, saw proper message.

Reviewers: chad, btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T7672

Differential Revision: https://secure.phabricator.com/D12180
This commit is contained in:
epriestley 2015-03-26 17:12:00 -07:00
parent 22501ab31e
commit 0dda809da6

View file

@ -900,8 +900,10 @@ final class DiffusionCommitController extends DiffusionController {
$caption = new PHUIInfoView();
$caption->setSeverity(PHUIInfoView::SEVERITY_NOTICE);
$caption->appendChild(
pht('This commit merges more than %d changes. Only the first '.
'%d are shown.', $limit));
pht(
'This commit merges a very large number of changes. Only the first '.
'%s are shown.',
new PhutilNumber($limit)));
}
$history_table = new DiffusionHistoryTableView();