Bolt\Translation\TranslationFile::gatherTranslatableStrings PHP Method

gatherTranslatableStrings() private method

Find all twig templates and bolt php code, extract translatables strings, merge with existing translations.
private gatherTranslatableStrings ( ) : array
return array
    private function gatherTranslatableStrings()
    {
        $this->translatables = [];
        $this->scanTwigFiles();
        $this->scanPhpFiles();
        $this->scanContenttypeFields();
        $this->scanContenttypeRelations();
        $this->scanTaxonomies();
        ksort($this->translatables);
    }