diff --git a/webapp/components/_new/features/SearchResults/SearchResults.vue b/webapp/components/_new/features/SearchResults/SearchResults.vue index 1662825e1..061cc107e 100644 --- a/webapp/components/_new/features/SearchResults/SearchResults.vue +++ b/webapp/components/_new/features/SearchResults/SearchResults.vue @@ -4,7 +4,7 @@ {{ searchCount }} - {{ $t('search.results') }} + {{ $t('search.results', {}, searchCount) }} @@ -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, }, ] diff --git a/webapp/components/generic/SearchHeading/SearchHeading.vue b/webapp/components/generic/SearchHeading/SearchHeading.vue index a2add90c7..616237e3e 100644 --- a/webapp/components/generic/SearchHeading/SearchHeading.vue +++ b/webapp/components/generic/SearchHeading/SearchHeading.vue @@ -1,6 +1,6 @@