src/PeskyCMF/Scaffold/ScaffoldConfig.php
public function translateGeneral($path, array $parameters = []) {
        $text = $this->translate($path, '', $parameters);
        if (preg_match('%\.' . preg_quote($path, '%') . '$%', $text)) {
            $text = cmfTransGeneral($path, $parameters);
        }
        return $text;
    }
public function translateGeneral($path, array $parameters = []) {
        $text = $this->translate($path, '', $parameters);
        if (preg_match('%\.' . preg_quote($path, '%') . '$%', $text)) {
            $text = cmfTransGeneral($path, $parameters);
        }
        return $text;
    }
Translate general UI elements (button labels, tooltips, messages, etc..)
@param $path
@param array $parameters
@return mixed