[BUGFIX] Add l10n_mode prefixLangTitle to metadata alternative 78/56778/5
authorGuido Schmechel <guido.schmechel@brandung.de>
Sat, 21 Apr 2018 18:46:11 +0000 (20:46 +0200)
committerFrank Naegler <frank.naegler@typo3.org>
Fri, 11 May 2018 12:03:15 +0000 (14:03 +0200)
"Translate to X" will be prepended to the alternative text,
if an element is translated.

Resolves: #83763
Releases: master
Change-Id: I4351e924238b973802b77ec312395b1df4bd0f9f
Reviewed-on: https://review.typo3.org/56778
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Gianluca Piccolo <gianluca.piccolo@pallino.it>
Tested-by: Gianluca Piccolo <gianluca.piccolo@pallino.it>
Reviewed-by: Cristian Buja <cristian.buja@intera.it>
Tested-by: Cristian Buja <cristian.buja@intera.it>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/core/Configuration/TCA/sys_file_metadata.php

index 3b8e41b..5f548d0 100644 (file)
@@ -117,6 +117,7 @@ return [
         ],
         'alternative' => [
             'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_file.alternative',
+            'l10n_mode' => 'prefixLangTitle',
             'config' => [
                 'type' => 'input',
                 'size' => 30,