Skip to content
Snippets Groups Projects
Commit 6c57f4ab authored by Michael Kessler's avatar Michael Kessler
Browse files

[FEATURE] Add all label override option in Overview

parent e38adeb7
No related branches found
Tags 3.7.1
No related merge requests found
......@@ -98,11 +98,20 @@
<settings.tagLabel>
<TCEforms>
<label>LLL:EXT:sg_news/Resources/Private/Language/locallang_db.xlf:plugin.overview.flexForm.tagLabel</label>
<description>LLL:EXT:sg_news/Resources/Private/Language/locallang_db.xlf:plugin.overview.flexForm.tagLabel.description</description>
<config>
<type>input</type>
</config>
</TCEforms>
</settings.tagLabel>
<settings.allLabel>
<TCEforms>
<label>LLL:EXT:sg_news/Resources/Private/Language/locallang_db.xlf:plugin.overview.flexForm.allLabel</label>
<config>
<type>input</type>
</config>
</TCEforms>
</settings.allLabel>
<settings.newsLimit>
<TCEforms>
<label>LLL:EXT:sg_news/Resources/Private/Language/locallang_db.xlf:plugin.overview.flexForm.newsLimit</label>
......
......@@ -189,6 +189,14 @@
<source><![CDATA[Categories]]></source>
<target><![CDATA[Kategorien]]></target>
</trans-unit>
<trans-unit id="plugin.overview.flexForm.allLabel" approved="yes">
<source><![CDATA[Override all label]]></source>
<target><![CDATA[Alle-Label überschreiben]]></target>
</trans-unit>
<trans-unit id="plugin.overview.flexForm.allLabel.description" approved="yes">
<source><![CDATA[Will be used when filtering by all criteria is disabled.]]></source>
<target><![CDATA[Wird nur bei nicht aktivierten Filtern von allen Kriterien verwendet.]]></target>
</trans-unit>
<trans-unit id="plugin.overview.flexForm.categoryLabel" approved="yes">
<source><![CDATA[Override category label]]></source>
<target><![CDATA[Kategorie-Label überschreiben]]></target>
......
......@@ -156,6 +156,12 @@
<trans-unit id="plugin.overview.flexForm.categoryRestrictions">
<source><![CDATA[Category Selection]]></source>
</trans-unit>
<trans-unit id="plugin.overview.flexForm.allLabel">
<source><![CDATA[Override all label]]></source>
</trans-unit>
<trans-unit id="plugin.overview.flexForm.allLabel.description">
<source><![CDATA[Will be used when filtering by all criteria is disabled.]]></source>
</trans-unit>
<trans-unit id="plugin.overview.flexForm.categoryLabel">
<source><![CDATA[Override category label]]></source>
</trans-unit>
......
......@@ -18,7 +18,14 @@
<div class="tx-sgnews-categories m-tabs" data-more-label="Mehr">
<div class="m-tabs__tablist" role="tablist">
<button class="m-tabs__tab" role="tab" aria-controls="news-category-0" id="tab-news-0" aria-selected="true">
<f:translate key="frontend.overview.allTabLabel" />
<f:if condition="{settings.allLabel}">
<f:then>
{settings.allLabel}
</f:then>
<f:else>
<f:translate key="frontend.overview.allTabLabel" />
</f:else>
</f:if>
</button>
<f:for each="{newsItems}" as="dataItems" iteration="iterator">
<button class="m-tabs__tab" role="tab" aria-controls="news-category-{iterator.index + 1}" id="tab-news-{iterator.index + 1}" aria-selected="false">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment