fix missing keys

This commit is contained in:
Ulf Gebhardt 2022-03-15 04:44:45 +01:00
parent bd8b24a6f0
commit 31f176a122
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
5 changed files with 34 additions and 6 deletions

View File

@ -44,7 +44,7 @@ module.exports = {
{
src: './src',
extensions: ['.js', '.vue'],
ignores: ['/site.thx./', '/form./'],
ignores: ['/site.thx./', '/form./', '/time./', '/decay.types./'],
enableFix: false,
},
],

View File

@ -28,7 +28,7 @@
<!-- Type-->
<b-row>
<!-- eslint-disable-next-line @intlify/vue-i18n/no-dynamic-keys-->
<b-col cols="6" class="text-right">{{ $t(`decay.${typeId.toLowerCase()}`) }}</b-col>
<b-col cols="6" class="text-right">{{ $t(`decay.types.${typeId.toLowerCase()}`) }}</b-col>
<b-col cols="6">{{ amount | GDD }}</b-col>
</b-row>
<!-- Decay-->

View File

@ -44,7 +44,7 @@
<!-- Type-->
<b-row>
<!-- eslint-disable-next-line @intlify/vue-i18n/no-dynamic-keys-->
<b-col cols="6" class="text-right">{{ $t(`decay.${typeId.toLowerCase()}`) }}</b-col>
<b-col cols="6" class="text-right">{{ $t(`decay.types.${typeId.toLowerCase()}`) }}</b-col>
<b-col cols="6">{{ amount | GDD }}</b-col>
</b-row>
<!-- Decay-->
@ -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}`)
}
})

View File

@ -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",

View File

@ -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",