From 034fa5e7a9fa25dcc43c7c55c45031ca7a999545 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Tue, 12 Apr 2022 23:09:40 +0200 Subject: [PATCH] add math minus, add minus operator if decay is zero --- .../src/components/DecayInformations/DecayInformation-Decay.vue | 1 + frontend/src/locales/de.json | 1 + frontend/src/locales/en.json | 1 + 3 files changed, 3 insertions(+) diff --git a/frontend/src/components/DecayInformations/DecayInformation-Decay.vue b/frontend/src/components/DecayInformations/DecayInformation-Decay.vue index 67847f6cf..96ffc9153 100644 --- a/frontend/src/components/DecayInformations/DecayInformation-Decay.vue +++ b/frontend/src/components/DecayInformations/DecayInformation-Decay.vue @@ -17,6 +17,7 @@
{{ previousBookedBalance | GDD }} + {{ decay === '0' ? $t('math.minus') : '' }} {{ decay | GDD }} {{ $t('math.equal') }} {{ balance | GDD }}
diff --git a/frontend/src/locales/de.json b/frontend/src/locales/de.json index 557570019..731196936 100644 --- a/frontend/src/locales/de.json +++ b/frontend/src/locales/de.json @@ -145,6 +145,7 @@ "aprox": "~", "equal": "=", "exclaim": "!", + "minus": "−", "pipe": "|" }, "navigation": { diff --git a/frontend/src/locales/en.json b/frontend/src/locales/en.json index 06342cab9..0a0d15a72 100644 --- a/frontend/src/locales/en.json +++ b/frontend/src/locales/en.json @@ -145,6 +145,7 @@ "aprox": "~", "equal": "=", "exclaim": "!", + "minus": "−", "pipe": "|" }, "navigation": {