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

View File

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

View File

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

View File

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