Skip to content
Snippets Groups Projects
Commit eddba637 authored by Kevin von Spiczak's avatar Kevin von Spiczak
Browse files

[TASK] use author name for alt attribute

parent 7956fb91
No related branches found
No related tags found
No related merge requests found
......@@ -153,10 +153,6 @@
<source><![CDATA[read more]]></source>
<target><![CDATA[weiterlesen]]></target>
</trans-unit>
<trans-unit id="frontend.authorImage.altText" approved="yes">
<source><![CDATA[Photo of the author]]></source>
<target><![CDATA[Foto des Authors]]></target>
</trans-unit>
<trans-unit id="mlang_labels_tabdescr" approved="yes">
<source><![CDATA[News]]></source>
<target><![CDATA[News]]></target>
......
......@@ -117,9 +117,6 @@
<trans-unit id="frontend.teaser.readMore">
<source><![CDATA[read more]]></source>
</trans-unit>
<trans-unit id="frontend.authorImage.altText">
<source><![CDATA[Photo of the author]]></source>
</trans-unit>
<trans-unit id="mlang_labels_tabdescr">
<source><![CDATA[News]]></source>
</trans-unit>
......
......@@ -16,7 +16,7 @@
<div class="tx-sgnews-author">
<f:if condition="{author.image}">
<f:image class="tx-sgnews-author-image" image="{author.image}"
alt="{f:translate(key: 'frontend.authorImage.altText')}" width="150c"
alt="{author.name}" width="150c"
height="150px" loading="lazy"/>
</f:if>
......
......@@ -130,7 +130,7 @@
<div id="author{newsAuthor.uid}" class="tx-sgnews-author">
<f:if condition="{newsAuthor.image}">
<f:image class="tx-sgnews-author-image"
alt="{f:translate(key: 'frontend.authorImage.altText')}"
alt="{newsAuthor.name}"
image="{newsAuthor.image}" width="150c"
height="150px"/>
</f:if>
......
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