Issue Bug Closed

#105790Texts for localizations are missing in selectTree

Sybille Peters 12/08/24, 17:54 updated 12/02/25, 14:37

Description

The labels should be displayed if you hover over the buttons.

selectTree_buttons.png

Build/Sources/TypeScript/backend/form-engine/element/select-tree-toolbar.ts:

4 language labels are used, but they are not defined anywhere. Also, they are not displayed in the UI:

  • tcatree.findItem
  • tcatree.expandAll
  • tcatree.collapseAll
  • tcatree.toggleHindeUnchecked
  <input type="search" class="form-control ${this.settings.searchInput}" placeholder="${lll('tcatree.findItem')}" @input="${(evt: InputEvent) => this.filter(evt)}">
</div>
<div class="btn-group">
  <button type="button" class="btn btn-default ${this.settings.expandAllBtn}" title="${lll('tcatree.expandAll')}" @click="${() => this.expandAll()}">
    <typo3-backend-icon identifier="apps-pagetree-category-expand-all" size="small"></typo3-backend-icon>
  </button>
  <button type="button" class="btn btn-default ${this.settings.collapseAllBtn}" title="${lll('tcatree.collapseAll')}" @click="${(evt: MouseEvent) => this.collapseAll(evt)}">
    <typo3-backend-icon identifier="apps-pagetree-category-collapse-all" size="small"></typo3-backend-icon>
  </button>
  <button type="button" class="btn btn-default ${this.settings.toggleHideUnchecked}" title="${lll('tcatree.toggleHideUnchecked')}" @click="${() => this.toggleHideUnchecked()}">
    <typo3-backend-icon identifier="apps-pagetree-category-toggle-hide-checked" size="small"></typo3-backend-icon>

Reviews 2

Files 1

History 612

  1. Sybille Peters commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2024-12-12T08:55:15+00:00" > 12/12/24, 08:55 </span>

    Applied in changeset commit:67d1b6205815b2a87ea605e1aa13da16b03da5c1.

  2. Sybille Peters commented <span data-processor="relativetime" data-value="2024-12-19T14:13:55+00:00" > 12/19/24, 14:13 </span>

    The change was merged in v14 and backported to v13: https://review.typo3.org/c/Packages/TYPO3.CMS/+/87396

    If someone needs these for v12, I have provided an extension (which I am also using myself): https://github.com/sypets/selecttree

    Support for lower versions can be added (it should probably work), please create PR on demand. Also, not all languages are available yet, can be added on demand.