Issue Bug Closed

#98192typo3cms/backend tsconfig configuration TCEFORM.[tableName].[fieldName].types.[typeName].label does not work with string keys

Alexander Köberl 08/23/22, 13:19 updated 08/25/22, 08:33

Description

TCEFORM can change a lable with this:

TCEFORM.[tableName].[fieldName].types.[typeName].label

so, see TCA at:

tt_content.columns.table_class.config.items.
  0
    0 = LLL:EXT:frontend/Resources/Private/Language/Database.xlf:tt_content.table_class.default
    1 =
  1
    0 = LLL:EXT:frontend/Resources/Private/Language/Database.xlf:tt_content.table_class.striped
    1 = striped
  2
    0 = LLL:EXT:frontend/Resources/Private/Language/Database.xlf:tt_content.table_class.bordered
    1 = bordered

here are string keys (“bordered”, “striped”) instead of numeric keys.

setting a new label for this string keys with “TCEFORM.[tableName].[fieldName].types.[typeName].label” does not work here.

TCEFORM.tt_content.table_class.types.striped.label = Renamed one
TCEFORM.tt_content.table_class.types.bordered.label = Renamed two

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.