Project

General

Profile

Actions

Bug #98192

closed

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

Added by Alexander Köberl almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2022-08-23
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
pending-close
Complexity:
Is Regression:
Sprint Focus:

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

Files

98192.png (62.2 KB) 98192.png Oliver Hader, 2022-08-23 15:08
Actions

Also available in: Atom PDF