getkirby / kirby

Kirby's core application folder
https://getkirby.com
Other
1.32k stars 168 forks source link

[3.7.0-rc.3] New table layout doesn't support translations / "unfamiliar" default Cell label #4430

Closed tobimori closed 2 years ago

tobimori commented 2 years ago

Description

When setting the label for a table section (hereby files table) and trying to use the familiar translation structure, a JSON object gets set as label.

When leaving the label empty, it gets set to "XxxCell", which differs from the known behavior that fields or section use when specifying no label, which is setting the ID capitalized: "Xxx" instead of "XxxCell"

Expected behavior
The user would see a translated cell label or a cell label that's just the Column ID.

Screenshots image

CleanShot 2022-06-26 at 11 24 27@2x

To reproduce

Create a files section (or pages section, but I haven't tested that yet), use the table layout and add new columns without label or with a translated label.

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Your setup

Kirby Version
3.7.0-rc.3

Your system (please complete the following information)

afbora commented 2 years ago

Will be fixed with #4428 in next release