diff --git a/frontend/.eslintrc.js b/frontend/.eslintrc.js
index 51e390605..f3b213295 100644
--- a/frontend/.eslintrc.js
+++ b/frontend/.eslintrc.js
@@ -44,7 +44,7 @@ module.exports = {
{
src: './src',
extensions: ['.js', '.vue'],
- ignores: ['/site.thx./', '/form./'],
+ ignores: ['/site.thx./', '/form./', '/time./', '/decay.types./'],
enableFix: false,
},
],
diff --git a/frontend/src/components/DecayInformations/DecayInformation-DecayStartblock.vue b/frontend/src/components/DecayInformations/DecayInformation-DecayStartblock.vue
index 03871a334..5802bfb4b 100644
--- a/frontend/src/components/DecayInformations/DecayInformation-DecayStartblock.vue
+++ b/frontend/src/components/DecayInformations/DecayInformation-DecayStartblock.vue
@@ -28,7 +28,7 @@
- {{ $t(`decay.${typeId.toLowerCase()}`) }}
+ {{ $t(`decay.types.${typeId.toLowerCase()}`) }}
{{ amount | GDD }}
diff --git a/frontend/src/components/DecayInformations/DecayInformation-Long.vue b/frontend/src/components/DecayInformations/DecayInformation-Long.vue
index 8eacbe72e..50e3d6697 100644
--- a/frontend/src/components/DecayInformations/DecayInformation-Long.vue
+++ b/frontend/src/components/DecayInformations/DecayInformation-Long.vue
@@ -44,7 +44,7 @@
- {{ $t(`decay.${typeId.toLowerCase()}`) }}
+ {{ $t(`decay.types.${typeId.toLowerCase()}`) }}
{{ amount | GDD }}
@@ -83,7 +83,7 @@ export default {
order.forEach((timeSpan) => {
if (this.duration[timeSpan] > 0) {
// eslint-disable-next-line @intlify/vue-i18n/no-dynamic-keys
- const locale = this.$t(`decay.${timeSpan}`)
+ const locale = this.$t(`time.${timeSpan}`)
result.push(`${this.duration[timeSpan]} ${locale}`)
}
})
diff --git a/frontend/src/locales/de.json b/frontend/src/locales/de.json
index a036f2c61..3c0a1ed5b 100644
--- a/frontend/src/locales/de.json
+++ b/frontend/src/locales/de.json
@@ -20,7 +20,13 @@
"last_transaction": "Letzte Transaktion",
"past_time": "Vergangene Zeit",
"Starting_block_decay": "Startblock Vergänglichkeit",
- "total": "Gesamt"
+ "total": "Gesamt",
+ "types": {
+ "created": "Geschöpft",
+ "noDecay": "Keine Vergänglichkeit",
+ "receive": "Empfangen",
+ "send": "Gesendet"
+ }
},
"error": {
"empty-transactionlist": "Es gab einen Fehler mit der Übermittlung der Anzahl deiner Transaktionen.",
@@ -193,6 +199,14 @@
}
},
"success": "Erfolg",
+ "time": {
+ "days": "Tage",
+ "hours": "Stunden",
+ "minutes": "Minuten",
+ "months": "Monate",
+ "seconds": "Sekunden",
+ "year": "Jahre"
+ },
"transaction": {
"gdd-text": "Gradido Transaktionen",
"gdt-text": "GradidoTransform Transaktionen",
diff --git a/frontend/src/locales/en.json b/frontend/src/locales/en.json
index 6ea995b13..bc33285dd 100644
--- a/frontend/src/locales/en.json
+++ b/frontend/src/locales/en.json
@@ -20,7 +20,13 @@
"last_transaction": "Last transaction:",
"past_time": "Time passed",
"Starting_block_decay": "Starting Block Decay",
- "total": "Total"
+ "total": "Total",
+ "types": {
+ "creation": "Created",
+ "noDecay": "No Decay",
+ "receive": "Received",
+ "send": "Sent"
+ }
},
"error": {
"empty-transactionlist": "There was an error with the transmission of the number of your transactions.",
@@ -193,6 +199,14 @@
}
},
"success": "Success",
+ "time": {
+ "days": "Days",
+ "hours": "Hours",
+ "minutes": "Minutes",
+ "months": "Months",
+ "seconds": "Seconds",
+ "year": "Years"
+ },
"transaction": {
"gdd-text": "Gradido Transactions",
"gdt-text": "GradidoTransform Transactions",