From e1e60d61564870e6fe58309eadf848dbf092e196 Mon Sep 17 00:00:00 2001
From: Jaap Jansma <jaap.jansma@civicoop.org>
Date: Wed, 8 Jan 2020 09:19:33 +0100
Subject: [PATCH] changed titles of outhput handlers for usability

---
 .../OutputHandler/FormatOutput.php            |  2 +-
 .../OutputHandler/OutputAllActionOutput.php   | 30 +++++++++----------
 2 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/Civi/FormProcessor/OutputHandler/FormatOutput.php b/Civi/FormProcessor/OutputHandler/FormatOutput.php
index 9098933..2d038d1 100644
--- a/Civi/FormProcessor/OutputHandler/FormatOutput.php
+++ b/Civi/FormProcessor/OutputHandler/FormatOutput.php
@@ -58,7 +58,7 @@
 	 * @return string
 	 */
 	public function getLabel() {
-		return E::ts('Formatted output');
+		return E::ts('Decide what to send');
 	}
 
  }
diff --git a/Civi/FormProcessor/OutputHandler/OutputAllActionOutput.php b/Civi/FormProcessor/OutputHandler/OutputAllActionOutput.php
index 3899237..eb65ff5 100644
--- a/Civi/FormProcessor/OutputHandler/OutputAllActionOutput.php
+++ b/Civi/FormProcessor/OutputHandler/OutputAllActionOutput.php
@@ -4,31 +4,31 @@
  * @author Jaap Jansma (CiviCooP) <jaap.jansma@civicoop.org>
  * @license http://www.gnu.org/licenses/agpl-3.0.html
  */
- 
+
  namespace Civi\FormProcessor\OutputHandler;
- 
+
  use \Civi\FormProcessor\Config\ConfigurationBag;
  use \Civi\FormProcessor\Config\Specification;
  use \Civi\FormProcessor\Config\SpecificationBag;
  use \Civi\FormProcessor\OutputHandler\AbstractOutputHandler;
  use \Civi\FormProcessor\DataBag;
- 
+
  use CRM_FormProcessor_ExtensionUtil as E;
- 
+
  class OutputAllActionOutput extends AbstractOutputHandler {
- 	
+
 	/**
 	 * Get the configuration specification
-	 * 
+	 *
 	 * @return SpecificationBag
 	 */
 	public function getConfigurationSpecification() {
 		return new SpecificationBag();
 	}
-	
+
 	/**
 	 * Convert the action data to output data.
-	 * 
+	 *
 	 * @param DataBag $dataBag
 	 * @return array
 	 */
@@ -41,20 +41,20 @@
 			$actionData['action'] = $action->title;
 			$actionData['output'] = $dataBag->getActionData($action);
 			if (!is_array($actionData['output'])) {
-				$actionData['output'] = array();	
-			} 
+				$actionData['output'] = array();
+			}
 			$output['action'][] = $actionData;
 		}
 		return $output;
 	}
-	
+
 	/**
 	 * Returns the label of the output handler.
-	 * 
+	 *
 	 * @return string
 	 */
 	public function getLabel() {
-		return E::ts('Output all the output from all the actions');
+		return E::ts('Send everything');
 	}
-	
- }
\ No newline at end of file
+
+ }
-- 
GitLab