From 62e15dcc152a3640752a7a7e36ea187c5469a60b Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Sun, 1 Feb 2015 11:05:27 +1100 Subject: [PATCH] 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 --- src/workflow/ArcanistCallConduitWorkflow.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.43.0