mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
location: de one and more numbers
This commit is contained in:
parent
c80f7d0518
commit
446fd18e3b
@ -4,7 +4,7 @@
|
||||
<ds-section>
|
||||
<ds-text class="search-results">
|
||||
<strong>{{ searchCount }}</strong>
|
||||
{{ $t('search.results') }}
|
||||
{{ $t('search.results', {}, searchCount) }}
|
||||
</ds-text>
|
||||
</ds-section>
|
||||
</div>
|
||||
@ -166,7 +166,7 @@ export default {
|
||||
return [
|
||||
{
|
||||
type: 'Post',
|
||||
title: `${this.postCount} ${this.$t('search.heading.Post')}`,
|
||||
title: `${this.postCount} ${this.$t('search.heading.Post', {}, this.postCount)}`,
|
||||
disabled: this.postCount === 0,
|
||||
},
|
||||
{
|
||||
@ -176,7 +176,7 @@ export default {
|
||||
},
|
||||
{
|
||||
type: 'Hashtag',
|
||||
title: `${this.hashtagCount} ${this.$t('search.heading.Tag')}`,
|
||||
title: `${this.hashtagCount} ${this.$t('search.heading.Tag', {}, this.hashtagCount)}`,
|
||||
disabled: this.hashtagCount === 0,
|
||||
},
|
||||
]
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<ds-heading soft size="h5" class="search-heading">
|
||||
{{ $t(`search.heading.${resourceType}`) }}
|
||||
{{ $t(`search.heading.${resourceType}`, {}, 2) }}
|
||||
</ds-heading>
|
||||
</template>
|
||||
<script>
|
||||
|
||||
@ -590,12 +590,12 @@
|
||||
"search": {
|
||||
"failed": "Nichts gefunden",
|
||||
"heading": {
|
||||
"Post": "Beiträge",
|
||||
"Tag": "Hashtags",
|
||||
"Post": "Beitrag ::: Beiträge",
|
||||
"Tag": "Hashtag ::: Hashtags",
|
||||
"User": "Benutzer"
|
||||
},
|
||||
"hint": "Wonach suchst Du?",
|
||||
"results": "Ergebnisse gefunden",
|
||||
"results": "Ergebniss gefunden ::: Ergebnisse gefunden",
|
||||
"no-results": "Keine Ergebnisse für \"{search}\" gefunden. Versuch' es mit einem anderen Begriff!",
|
||||
"placeholder": "Suchen"
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user