public function getTemplatesForBase($templateBaseName)
    {
        $allTemplates = array_replace_recursive(
            $this->fetchTemplatesFromThemes($templateBaseName),
            $this->fetchRootTemplates($templateBaseName),
            $this->fetchTemplatesFromResourceDirectories($templateBaseName)
        );

        $templateList = array();
        foreach ($allTemplates as $template => $themeList) {
            $templateList[$template] = sprintf(
                $GLOBALS['TL_LANG']['MSC']['template_in_theme'],
                $template,
                implode(', ', $themeList)
            );
        }

        ksort($templateList);

        return array_unique($templateList);
    }