From: Joshua Spence Date: Sun, 1 Feb 2015 00:05:27 +0000 (+1100) Subject: Minor tidying of `ArcanistCallConduitWorkflow` X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=62e15dcc152a3640752a7a7e36ea187c5469a60b;p=arcanist.git Minor tidying of `ArcanistCallConduitWorkflow` 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 --- diff --git a/src/workflow/ArcanistCallConduitWorkflow.php b/src/workflow/ArcanistCallConduitWorkflow.php index 719674f9..f451fa2b 100644 --- a/src/workflow/ArcanistCallConduitWorkflow.php +++ b/src/workflow/ArcanistCallConduitWorkflow.php @@ -56,7 +56,7 @@ EOTEXT $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); @@ -70,7 +70,7 @@ EOTEXT $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;