Skip to content

Commit f3f9bd7

Browse files
authored
[TASK] Migrate CSH description into TCA column property description (#33)
see: https://docs.typo3.org/m/typo3/reference-coreapi/12.4/en-us/ApiOverview/ContextSensitiveHelp/
1 parent 97fba92 commit f3f9bd7

4 files changed

Lines changed: 8 additions & 23 deletions

File tree

Configuration/TCA/tx_variables_marker.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@
119119
'marker' => [
120120
'exclude' => 0,
121121
'label' => 'LLL:EXT:variables/Resources/Private/Language/locallang_db.xlf:tx_variables_marker.marker',
122+
'description' => 'LLL:EXT:variables/Resources/Private/Language/locallang_db.xlf:tx_variables_marker.marker.description',
122123
'l10n_mode' => 'exclude',
123124
'config' => [
124125
'type' => 'input',
@@ -130,6 +131,7 @@
130131
'replacement' => [
131132
'exclude' => 0,
132133
'label' => 'LLL:EXT:variables/Resources/Private/Language/locallang_db.xlf:tx_variables_marker.replacement',
134+
'description' => 'LLL:EXT:variables/Resources/Private/Language/locallang_db.xlf:tx_variables_marker.replacement.description',
133135
'config' => [
134136
'type' => 'text',
135137
'cols' => 40,

Resources/Private/Language/locallang_csh_tx_variables_marker.xlf

Lines changed: 0 additions & 14 deletions
This file was deleted.

Resources/Private/Language/locallang_db.xlf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,15 @@
99
<trans-unit id="tx_variables_marker.marker">
1010
<source>Marker:</source>
1111
</trans-unit>
12+
<trans-unit id="tx_variables_marker.marker.description">
13+
<source>The marker you want to replace in your page. Will be automatically converted to upper case. Do not put the double curly brackets {{ ... }}.</source>
14+
</trans-unit>
1215
<trans-unit id="tx_variables_marker.replacement">
1316
<source>Replacement Text:</source>
1417
</trans-unit>
18+
<trans-unit id="tx_variables_marker.replacement.description">
19+
<source>The replacement text for the marker. You may reference other markers by enclosing them into double curly brackets {{ ... }}.</source>
20+
</trans-unit>
1521
</body>
1622
</file>
1723
</xliff>

ext_tables.php

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)