diff --git a/typo3/sysext/filelist/Classes/FileList.php b/typo3/sysext/filelist/Classes/FileList.php index 96acf76d4f59d95dbc1693e97e35b91ab7bcf17b..07e988ef3f13d4389fd3f00b351b935d8baca595 100644 --- a/typo3/sysext/filelist/Classes/FileList.php +++ b/typo3/sysext/filelist/Classes/FileList.php @@ -1242,7 +1242,7 @@ class FileList } $dropdownButton = GeneralUtility::makeInstance(DropDownButton::class); - $dropdownButton->setLabel('Translations'); + $dropdownButton->setLabel($this->getLanguageService()->sL('LLL:EXT:filelist/Resources/Private/Language/locallang.xlf:translations')); $dropdownButton->setIcon($this->iconFactory->getIcon('actions-translate', IconSize::SMALL)); foreach ($dropdownItems as $dropdownItem) { $dropdownButton->addItem($dropdownItem); diff --git a/typo3/sysext/filelist/Resources/Private/Language/locallang.xlf b/typo3/sysext/filelist/Resources/Private/Language/locallang.xlf index 133bc63911ddd7649d5f6decfd15a0d1d92a0ad5..31e556f199399710d20d963949748ec157683e54 100644 --- a/typo3/sysext/filelist/Resources/Private/Language/locallang.xlf +++ b/typo3/sysext/filelist/Resources/Private/Language/locallang.xlf @@ -120,6 +120,9 @@ <trans-unit id="actions.create_file" resname="actions.create_file"> <source>Create File</source> </trans-unit> + <trans-unit id="translations" resname="translations"> + <source>Translations</source> + </trans-unit> </body> </file> </xliff>