? ?
avatar brianteeman
brianteeman
31 Aug 2019

If someone could point me in the right direction in the code where strings like this one are constructed I would be most grateful

COM_WORKFLOW_N_ITEMS_UNPUBLISHED

avatar brianteeman brianteeman - open - 31 Aug 2019
avatar joomla-cms-bot joomla-cms-bot - change - 31 Aug 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 31 Aug 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 31 Aug 2019
Labels Added: ?
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 31 Aug 2019
avatar HLeithner
HLeithner - comment - 31 Aug 2019

if ($value === 1)
{
if ($errors)
{
Factory::getApplication()->enqueueMessage(Text::plural($this->text_prefix . '_N_ITEMS_FAILED_PUBLISHING', count($cid)), 'error');
}
else
{
$ntext = $this->text_prefix . '_N_ITEMS_PUBLISHED';
}
}
elseif ($value === 0)
{
$ntext = $this->text_prefix . '_N_ITEMS_UNPUBLISHED';
}
elseif ($value === 2)
{
$ntext = $this->text_prefix . '_N_ITEMS_ARCHIVED';
}
else
{
$ntext = $this->text_prefix . '_N_ITEMS_TRASHED';
}
if (count($cid))
{
$this->setMessage(Text::plural($ntext, count($cid)));
}

avatar franz-wohlkoenig franz-wohlkoenig - change - 31 Aug 2019
Status New Discussion
avatar brianteeman brianteeman - close - 31 Aug 2019
avatar brianteeman
brianteeman - comment - 31 Aug 2019

Thanks

avatar brianteeman brianteeman - change - 31 Aug 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-08-31 14:03:29
Closed_By brianteeman

Add a Comment

Login with GitHub to post a comment