error handling gddTransactionList locales fixed

This commit is contained in:
ogerly 2021-12-10 12:17:49 +01:00
parent 1d2fc1a9f4
commit 3abbb6def1
3 changed files with 12 additions and 7 deletions

View File

@ -48,7 +48,10 @@
"error": "Fehler",
"no-account": "Leider konnten wir keinen Account finden mit diesen Daten!",
"no-email-verify": "Die Email wurde noch nicht bestätigt, bitte überprüfe deine Emails und klicke auf den Aktivierungslink!",
"session-expired": "Die Sitzung wurde aus Sicherheitsgründen beendet."
"session-expired": "Die Sitzung wurde aus Sicherheitsgründen beendet.",
"no-transactionlist":"Es gab leider einen Fehler. Es werden keine Transaktionen vom Server übermittelt",
"empty-transactionlist":"Es gibt noch keine Transaktionen unter deinem Account.",
"no-decay-transactionlist":"Fehler: Kein Decay vorhanden, bitte prüfe den Code!"
},
"form": {
"amount": "Betrag",

View File

@ -48,7 +48,10 @@
"error": "Error",
"no-account": "Unfortunately we could not find an account to the given data!",
"no-email-verify": "Your email is not activated yet, please check your emails and click the activation link!",
"session-expired": "The session was closed for security reasons."
"session-expired": "The session was closed for security reasons.",
"no-transactionlist":"Unfortunately, there was an error. No transactions are being sent from the server.",
"empty-transactionlist":"There are no transactions under your account yet.",
"no-decay-transactionlist":"Error: No Decay available, please check the code!"
},
"form": {
"amount": "Amount",

View File

@ -4,12 +4,12 @@
<div v-if="!transactions" class="text-right">
<b-icon icon="exclamation-triangle" class="mr-2" style="color: red"></b-icon>
<small>
Es gab leider einen Fehler. Es werden keine Transaktionen vom Server übermittelt.
{{ $t('error.no-transactionlist')}}
</small>
</div>
<div v-if="transactions.length === 0" class="text-right">
<b-icon icon="exclamation-triangle" class="mr-2" style="color: red"></b-icon>
<small>Es gibt noch keine Transaktionen unter deinem Account.</small>
<small>{{ $t('error.empty-transactionlist')}}</small>
</div>
<div
v-for="{ decay, transactionId, type, date, balance, name, memo } in transactions"
@ -18,10 +18,9 @@
>
<div v-if="type === 'decay' && !decay" class="text-right">
<b-icon icon="exclamation-triangle" style="color: red"></b-icon>
<small>
{{ !decay ? 'Fehler: Kein Decay vorhanden, bitte prüfe den Code!' : decay }}
</small>
<small>{{ $t('error.no-decay-transactionlist')}}</small>
</div>
<div
class="list-group-item gdd-transaction-list-item"
v-b-toggle="'decay-' + transactionId"