src/Controller/Component/ProcessComponent.php
protected function _getDefaultMessages($count)
    {
        $context       = $this->_configRead('context');
        $contextPlural = Inflector::pluralize($context);
        $countString   = sprintf('<strong>%s</strong>', $count);
        return [
            'delete' => __dn(
                'core',
                'One ' . $context . ' success removed',
                '{0} ' . $contextPlural . ' success removed',
                $count,
                $countString
            ),
            'publish' => __dn(
                'core',
                'One ' . $context . ' success publish',
                '{0} ' . $contextPlural . ' success published',
                $count,
                $countString
            ),
            'unpublish' => __dn(
                'core',
                'One ' . $context . ' success unpublish',
                '{0} ' . $contextPlural . ' success unpublished',
                $count,
                $countString
            ),
        ];
    }
protected function _getDefaultMessages($count)
    {
        $context       = $this->_configRead('context');
        $contextPlural = Inflector::pluralize($context);
        $countString   = sprintf('<strong>%s</strong>', $count);
        return [
            'delete' => __dn(
                'core',
                'One ' . $context . ' success removed',
                '{0} ' . $contextPlural . ' success removed',
                $count,
                $countString
            ),
            'publish' => __dn(
                'core',
                'One ' . $context . ' success publish',
                '{0} ' . $contextPlural . ' success published',
                $count,
                $countString
            ),
            'unpublish' => __dn(
                'core',
                'One ' . $context . ' success unpublish',
                '{0} ' . $contextPlural . ' success unpublished',
                $count,
                $countString
            ),
        ];
    }
protected function _getDefaultMessages ( $ count ) { $ context = $ this -> _configRead ( 'context' ) ; $ contextPlural = Inflector :: pluralize ( $ context ) ; $ countString = sprintf ( '<strong>%s</strong>' , $ count ) ; return [ 'delete' => __dn ( 'core' , 'One ' . $ context . ' success removed' , '{0} ' . $ contextPlural . ' success removed' , $ count , $ countString ) , 'publish' => __dn ( 'core' , 'One ' . $ context . ' success publish' , '{0} ' . $ contextPlural . ' success published' , $ count , $ countString ) , 'unpublish' => __dn ( 'core' , 'One ' . $ context . ' success unpublish' , '{0} ' . $ contextPlural . ' success unpublished' , $ count , $ countString ) , ] ; }
Setup    default action messages.

@param   int $count
@return  array

@throws  \Aura\Intl\Exception
Setup default action messages .