add title to counter icons on PostTeaser

This commit is contained in:
Alina Beck 2020-02-18 10:25:42 +01:00
parent 2510643361
commit e68b53eda2
3 changed files with 14 additions and 2 deletions

View File

@ -35,8 +35,16 @@
:icon="category.icon"
/>
</div>
<counter-icon icon="bullhorn" :count="post.shoutedCount" />
<counter-icon icon="comments" :count="post.commentsCount" />
<counter-icon
icon="bullhorn"
:count="post.shoutedCount"
:title="$t('contribution.amount-shouts', { amount: post.shoutedCount })"
/>
<counter-icon
icon="comments"
:count="post.commentsCount"
:title="$t('contribution.amount-comments', { amount: post.commentsCount })"
/>
<client-only>
<content-menu
resource-type="contribution"

View File

@ -456,6 +456,8 @@
}
},
"contribution": {
"amount-comments": "{amount} comments",
"amount-shouts": "{amount} recommendations",
"title": "Titel",
"newPost": "Erstelle einen neuen Beitrag",
"filterFollow": "Beiträge filtern von Usern denen ich folge",

View File

@ -686,6 +686,8 @@
}
},
"contribution": {
"amount-comments": "{amount} comments",
"amount-shouts": "{amount} recommendations",
"title": "Title",
"newPost": "Create a new Post",
"filterFollow": "Filter contributions from users I follow",