Summary: Self-explanatory.
Test Plan: Eyeball it.
Reviewers: epriestley, #blessed_reviewers
Reviewed By: epriestley, #blessed_reviewers
Subscribers: Korvin, epriestley
Differential Revision: https://secure.phabricator.com/D11567
$method = $this->getArgument('method', array());
if (count($method) !== 1) {
throw new ArcanistUsageException(
- 'Provide exactly one Conduit method name.');
+ pht('Provide exactly one Conduit method name.'));
}
$method = reset($method);
$params = json_decode($params, true);
if (!is_array($params)) {
throw new ArcanistUsageException(
- 'Provide method parameters on stdin as a JSON blob.');
+ pht('Provide method parameters on stdin as a JSON blob.'));
}
$error = null;