Commit da9eb0d9 authored by Sybille Peters's avatar Sybille Peters 🙋 Committed by Christian Kuhn
Browse files

[BUGFIX] Fix terms in Info > Page TSconfig

In the select list in "Info > Page TSconfig" the technical
representation of the terms (as they are used when setting
TSconfig) is now shown in brackets, e.g. [RTE.].

This is consistent with showing the technical representation
in other places in the backend, such as the page id in the
page layout or page tree, the table fields and Flexform
fields in the edit forms etc.

Where there are descriptive terms, (such as "Module: Web>Page")
a combination of the descriptive terms and the technical
terms is used, such as "Module: Web>Page [mod.web_layout.]"

The explanation "with overruling user settings" for mod is
omitted. This would make the list more cluttered and visually
distracting. If it is necessary to point this out, it
might be added as a note in the results.

Resolves: #94323
Related: #94322
Releases: master, 10.4
Change-Id: I728f3d6399f040356d7bee4e30c3f33baf9703d4
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69467


Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent bb0e3fd1
......@@ -236,18 +236,18 @@ class InfoPageTyposcriptConfigController
$modMenuAdd = [
'tsconf_parts' => [
0 => $lang->getLL('tsconf_parts_0'),
1 => $lang->getLL('tsconf_parts_1'),
'1a' => $lang->getLL('tsconf_parts_1a'),
'1b' => $lang->getLL('tsconf_parts_1b'),
'1c' => $lang->getLL('tsconf_parts_1c'),
'1d' => $lang->getLL('tsconf_parts_1d'),
'1e' => $lang->getLL('tsconf_parts_1e'),
'1g' => $lang->getLL('tsconf_parts_1g'),
2 => 'RTE.',
7 => 'TCAdefaults.',
5 => 'TCEFORM.',
6 => 'TCEMAIN.',
4 => 'user.',
1 => $lang->getLL('tsconf_parts_1') . ' [mod.]',
'1a' => $lang->getLL('tsconf_parts_1a') . ' [mod.web_layout.]',
'1b' => $lang->getLL('tsconf_parts_1b') . ' [mod.web_view.]',
'1c' => $lang->getLL('tsconf_parts_1c') . ' [mod.web_modules.]',
'1d' => $lang->getLL('tsconf_parts_1d') . ' [mod.web_list.]',
'1e' => $lang->getLL('tsconf_parts_1e') . ' [mod.web_info.]',
'1g' => $lang->getLL('tsconf_parts_1g') . ' [mod.web_ts.]',
2 => '[RTE.]',
7 => '[TCAdefaults.]',
5 => '[TCEFORM.]',
6 => '[TCEMAIN.]',
4 => '[user.]',
99 => $lang->getLL('tsconf_configFields')
],
'tsconf_alphaSort' => '1'
......
......@@ -10,7 +10,7 @@
<source>All</source>
</trans-unit>
<trans-unit id="tsconf_parts_1" resname="tsconf_parts_1">
<source>Module key ('mod') with overruling user settings</source>
<source>Module</source>
</trans-unit>
<trans-unit id="tsconf_parts_1a" resname="tsconf_parts_1a">
<source>Module: Web&gt;Page</source>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment