From e7d925b7943dba639f50bec1bab71d40d4e6c7ea Mon Sep 17 00:00:00 2001 From: ogerly Date: Fri, 17 Sep 2021 09:07:01 +0200 Subject: [PATCH] transmit and receive, calculation of the decay as text: 'total' --- frontend/src/components/DecayInformation.vue | 4 ++-- frontend/src/locales/de.json | 3 ++- frontend/src/locales/en.json | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/DecayInformation.vue b/frontend/src/components/DecayInformation.vue index c7571140b..55ca03317 100644 --- a/frontend/src/components/DecayInformation.vue +++ b/frontend/src/components/DecayInformation.vue @@ -84,8 +84,8 @@
-
{{ $t('decay.sent') }}
-
{{ $t('decay.received') }}
+
{{ $t('decay.total') }}
+
{{ parseInt(balance) + decay.balance }}
diff --git a/frontend/src/locales/de.json b/frontend/src/locales/de.json index 4fd157de5..03d8d0fe9 100644 --- a/frontend/src/locales/de.json +++ b/frontend/src/locales/de.json @@ -43,7 +43,8 @@ "created":"Geschöpft", "fromCommunity":"Aus der Gemeinschaft", "toCommunity":"An die Gemeinschaft", - "noDecay": "Keine Vergänglichkeit" + "noDecay": "Keine Vergänglichkeit", + "total":"Gesamt" }, "form": { "cancel": "Abbrechen", diff --git a/frontend/src/locales/en.json b/frontend/src/locales/en.json index 229de1244..18b416f30 100644 --- a/frontend/src/locales/en.json +++ b/frontend/src/locales/en.json @@ -42,7 +42,8 @@ "created":"Created", "fromCommunity":"From the community", "toCommunity":"To the community", - "noDecay": "No Decay" + "noDecay": "No Decay", + "total":"Total" }, "form": { "cancel":"Cancel",