src/PeskyCMF/Scaffold/ScaffoldSectionConfig.php
public function translate(AbstractValueViewer $viewer = null, $suffix = '', array $parameters = []) {
        if ($viewer) {
            return $this
                ->getScaffoldConfig()
                ->translateForViewer($this->getSectionTranslationsPrefix('value_viewer'), $viewer, $suffix, $parameters);
        } else {
            return $this
                ->getScaffoldConfig()
                ->translate($this->getSectionTranslationsPrefix(), $suffix, $parameters);
        }
    }
public function translate(AbstractValueViewer $viewer = null, $suffix = '', array $parameters = []) {
        if ($viewer) {
            return $this
                ->getScaffoldConfig()
                ->translateForViewer($this->getSectionTranslationsPrefix('value_viewer'), $viewer, $suffix, $parameters);
        } else {
            return $this
                ->getScaffoldConfig()
                ->translate($this->getSectionTranslationsPrefix(), $suffix, $parameters);
        }
    }
Translate resource-related items (column names, input labels, etc.)
@param AbstractValueViewer|null $viewer
@param string $suffix
@param array $parameters
@return string