map transaction typeId to locales

This commit is contained in:
Moriz Wahl 2022-03-08 07:02:58 +01:00
parent b2d731a641
commit 2d2369ccaf
4 changed files with 6 additions and 12 deletions

View File

@ -32,10 +32,7 @@
</b-row>
<!-- Type-->
<b-row>
<b-col cols="6" class="text-right">
<div v-if="typeId === 'SEND'">{{ $t('decay.sent') }}</div>
<div v-if="typeId === 'RECEIVE'">{{ $t('decay.received') }}</div>
</b-col>
<b-col cols="6" class="text-right">{{ $t(`decay.${typeId.toLowerCase()}`) }}</b-col>
<b-col cols="6">
<div>{{ amount | GDD }}</div>
</b-col>

View File

@ -53,10 +53,7 @@
</b-row>
<!-- Type-->
<b-row>
<b-col cols="6" class="text-right">
<div v-if="typeId === 'SEND'">{{ $t('decay.sent') }}</div>
<div v-if="typeId === 'RECEIVE'">{{ $t('decay.received') }}</div>
</b-col>
<b-col cols="6" class="text-right">{{ $t(`decay.${typeId.toLowerCase()}`) }}</b-col>
<b-col cols="6">
<div>{{ amount | GDD }}</div>
</b-col>

View File

@ -37,9 +37,9 @@
"months": "Monate",
"noDecay": "Keine Vergänglichkeit",
"past_time": "Vergangene Zeit",
"received": "Empfangen",
"receive": "Empfangen",
"seconds": "Sekunden",
"sent": "Gesendet",
"send": "Gesendet",
"since_introduction": "seit Einführung der Vergänglichkeit",
"Starting_block_decay": "Startblock Vergänglichkeit",
"toCommunity": "An die Gemeinschaft",

View File

@ -37,9 +37,9 @@
"months": "Months",
"noDecay": "No Decay",
"past_time": "Time passed",
"received": "Received",
"receive": "Received",
"seconds": "Seconds",
"sent": "Sent",
"send": "Sent",
"since_introduction": "Since the introduction of Decay",
"Starting_block_decay": "Starting Block Decay",
"toCommunity": "To the community",