Skip to content
Snippets Groups Projects
Commit 708a5dc4 authored by Georg Ringer's avatar Georg Ringer Committed by Oliver Bartsch
Browse files

[TASK] Translate label in filelist module

Resolves: #103362
Releases: main, 12.4
Change-Id: Ibbd242d886a9cedc3ec1ba055ec6887b6943bfa2
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83407


Tested-by: default avatarGuido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarGuido Schmechel <guido.schmechel@brandung.de>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
parent d2795917
Branches
Tags
No related merge requests found
......@@ -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);
......
......@@ -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>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment