From 446fd18e3b806d2a6ac7ec158d897c9003b601e9 Mon Sep 17 00:00:00 2001 From: ogerly Date: Thu, 30 Apr 2020 15:54:17 +0200 Subject: [PATCH] location: de one and more numbers --- .../_new/features/SearchResults/SearchResults.vue | 6 +++--- webapp/components/generic/SearchHeading/SearchHeading.vue | 2 +- webapp/locales/de.json | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) 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 @@