Skip to content

Commit 3698040

Browse files
[BUGFIX] fix plugin descriptions
Relates: https://projekte.in2code.de/issues/77602 (cherry picked from commit ca6c16e)
1 parent 982aa04 commit 3698040

3 files changed

Lines changed: 29 additions & 1 deletion

File tree

Configuration/TCA/Overrides/tt_content.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,19 @@
1515
'filter' => [
1616
'name' => 'Filter',
1717
'title' => $languagePrefix . 'plugin.pi1',
18+
'description' => $languagePrefix . 'plugin.pi1.description',
1819
'flexForm' => $flexFormFolder . 'Filter.xml',
1920
],
2021
'detail' => [
2122
'name' => 'Detail',
2223
'title' => $languagePrefix . 'plugin.pi2',
24+
'description' => $languagePrefix . 'plugin.pi2.description',
2325
'flexForm' => $flexFormFolder . 'Detail.xml',
2426
],
2527
'fastsearch' => [
2628
'name' => 'Fastsearch',
2729
'title' => $languagePrefix . 'plugin.fastSearch',
30+
'description' => $languagePrefix . 'plugin.fastSearch.description',
2831
'flexForm' => $flexFormFolder . 'FastSearch.xml',
2932
],
3033
];
@@ -36,7 +39,7 @@
3639
$plugin['title'],
3740
'in2studyfinder-plugin-icon',
3841
'Studyfinder',
39-
'Meine tolle beschreibung!'
42+
$plugin['description']
4043
);
4144

4245
ExtensionManagementUtility::addToAllTCAtypes(

Resources/Private/Language/de.locallang_db.xlf

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@
1616
<target>Studiengangsfinder Detailansicht</target>
1717
</trans-unit>
1818

19+
<trans-unit id="plugin.pi1.description">
20+
<source>Displays degree programmes in a list view with filter</source>
21+
<target>Zeigt Studiengänge in einer Listenansicht mit Filter an</target>
22+
</trans-unit>
23+
<trans-unit id="plugin.pi2.description">
24+
<source>Displays the detailed view of a degree programme</source>
25+
<target>Zeigt die Detailansicht eines Studiengangs an</target>
26+
</trans-unit>
27+
<trans-unit id="plugin.fastSearch.description">
28+
<source>Only displays the quick selection (Select field) for degree programmes</source>
29+
<target>Zeigt nur die Schnellauswahl (Select Feld) für Studiengänge an</target>
30+
</trans-unit>
1931
<trans-unit id="studycourse">
2032
<source>Study Course</source>
2133
<target>Studiengang</target>

Resources/Private/Language/locallang_db.xlf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,19 @@
1212
<trans-unit id="plugin.pi2">
1313
<source>Studyfinder Detail view</source>
1414
</trans-unit>
15+
<trans-unit id="plugin.pi1.description">
16+
<source>Displays degree programmes in a list view with filter</source>
17+
</trans-unit>
18+
Zeigt Studiengänge in einer Listenansicht mit Filter an
19+
20+
<trans-unit id="plugin.pi2.description">
21+
<source>Displays the detailed view of a degree programme</source>
22+
</trans-unit>
23+
Zeigt die Detailansicht eines Studiengangs an
24+
<trans-unit id="plugin.fastSearch.description">
25+
<source>Only displays the quick selection (Select field) for degree programmes</source>
26+
</trans-unit>
27+
Zeigt nur die Schnellauswahl (Select Feld) für Studiengänge an
1528

1629
<trans-unit id="studycourse">
1730
<source>Study Course</source>

0 commit comments

Comments
 (0)