Skip to content

Commit

Permalink
[4.0] Workflow - too many
Browse files Browse the repository at this point in the history
In english it is "too many" when you refer to more than. You use "to" when you refer to travelling from A to B
  • Loading branch information
brianteeman committed Aug 9, 2018
1 parent 5ae6c7e commit cd2058e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

defined('_JEXEC') or die;

use Joomla\CMS\Mvc\Factory\MvcFactoryInterface;
use Joomla\CMS\MVC\Factory\MVCFactoryInterface;
use Joomla\Utilities\ArrayHelper;
use Joomla\CMS\MVC\Controller\AdminController;
use Joomla\CMS\Language\Text;
Expand All @@ -30,13 +30,13 @@ class StatesController extends AdminController
* @param array $config An optional associative array of configuration settings.
* Recognized key values include 'name', 'default_task', 'model_path', and
* 'view_path' (this list is not meant to be comprehensive).
* @param MvcFactoryInterface $factory The factory.
* @param MVCFactoryInterface $factory The factory.
* @param CmsApplication $app The JApplication for the dispatcher
* @param \JInput $input Input
*
* @since __DEPLOY_VERSION__
*/
public function __construct(array $config = array(), MvcFactoryInterface $factory = null, $app = null, $input = null)
public function __construct(array $config = array(), MVCFactoryInterface $factory = null, $app = null, $input = null)
{
parent::__construct($config, $factory, $app, $input);

Expand Down Expand Up @@ -96,7 +96,7 @@ public function setDefault()
}
elseif (count($cid) > 1)
{
$this->setMessage(Text::_('COM_WORKFLOW_TO_MANY_ITEMS'), 'error');
$this->setMessage(Text::_('COM_WORKFLOW_TOO_MANY_ITEMS'), 'error');
}
else
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function setDefault()
}
elseif (count($cid) > 1)
{
$this->setMessage(Text::_('COM_WORKFLOW_TO_MANY_ITEMS'), 'error');
$this->setMessage(Text::_('COM_WORKFLOW_TOO_MANY_ITEMS'), 'error');
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion administrator/language/en-GB/en-GB.com_workflow.ini
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ COM_WORKFLOW_STATE_EDIT="Edit State"
COM_WORKFLOW_STATUS_DESC="Status"
COM_WORKFLOW_STATUS_LABEL="Status"
COM_WORKFLOW_TOOLBAR_SET_HOME="Default"
COM_WORKFLOW_TO_MANY_ITEMS="Too many items selected."
COM_WORKFLOW_TOO_MANY_ITEMS="Too many items selected."
COM_WORKFLOW_TO_STATE="To State"
COM_WORKFLOW_TO_STATE_DESC="Select target state."
COM_WORKFLOW_TRANSITION="Transition"
Expand Down

0 comments on commit cd2058e

Please sign in to comment.