From 896e5a1124464c0143d43e7d4c8c8d1443b7055e Mon Sep 17 00:00:00 2001 From: ogerly Date: Wed, 16 Mar 2022 14:13:08 +0100 Subject: [PATCH] change pluralation for buttonText --- .../src/components/DecayInformations/CollapseLinksList.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/DecayInformations/CollapseLinksList.vue b/frontend/src/components/DecayInformations/CollapseLinksList.vue index c32032cbc..6bfddbd47 100644 --- a/frontend/src/components/DecayInformations/CollapseLinksList.vue +++ b/frontend/src/components/DecayInformations/CollapseLinksList.vue @@ -71,9 +71,9 @@ export default { computed: { buttonText() { const i = this.transactionLinkCount - this.value.itemsShown - if (i === 1) return this.$tc('link-reload', i, { n: i }) - if (i < 6) return this.$tc('link-reload', 2, { n: i }) - return this.$tc('link-reload', 3, { n: 5 }) + if (i === 1) return this.$tc('link-reload', 0, { n: i }) + if (i < 6) return this.$tc('link-reload', 1, { n: i }) + return this.$tc('link-reload', 2, { n: 5 }) }, }, }