]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Minor tidying of `ArcanistCallConduitWorkflow`
authorJoshua Spence <josh@joshuaspence.com>
Sun, 1 Feb 2015 00:05:27 +0000 (11:05 +1100)
committerJoshua Spence <josh@joshuaspence.com>
Sun, 1 Feb 2015 00:05:27 +0000 (11:05 +1100)
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

index 719674f9b62300cd7a6437d778f6cfcdde20343c..f451fa2b57c42d403c01a8b75ee9cbb9ec4a9a1f 100644 (file)
@@ -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;