add locales for transaction-link, add default datas for ShowTransactionLinkInformations

This commit is contained in:
ogerly 2022-03-10 10:50:01 +01:00
parent b97837d415
commit cec79d462f
3 changed files with 15 additions and 3 deletions

View File

@ -46,6 +46,11 @@
"total": "Gesamt",
"year": "Jahre"
},
"transaction-link": {
"send_you":"sendet dir",
"subtitle":"subtitle",
"button":"einlösen"
},
"error": {
"change-password": "Fehler beim Ändern des Passworts",
"empty-transactionlist": "Es gab einen Fehler mit der Übermittlung der Anzahl deiner Transaktionen.",

View File

@ -46,6 +46,11 @@
"total": "Total",
"year": "Years"
},
"transaction-link": {
"send_you":"wants to send you",
"subtitle":"subtitle",
"button":"redeem"
},
"error": {
"change-password": "Error while changing password",
"empty-transactionlist": "There was an error with the transmission of the number of your transactions.",

View File

@ -7,12 +7,12 @@
<div class="mb-5">resultDB : {{ resultDB }}</div>
<p class="h1">
{{ displaySetup.user.firstName }} {{ displaySetup.user.lastName }}
{{ $t('wants to send you') }} {{ displaySetup.amount | GDD }}
{{ $t('transaction-link.send_you') }} {{ displaySetup.amount | GDD }}
</p>
<p class="h4">{{ $t(displaySetup.subtitle) }}</p>
<p class="h4">{{ displaySetup.memo }}</p>
<hr />
<b-button v-if="displaySetup.linkTo" :to="displaySetup.linkTo">
{{ $t(displaySetup.button) }}
{{ $t('transaction-link.button') }}
</b-button>
</div>
</b-container>
@ -30,10 +30,12 @@ export default {
displaySetup: {
amount: '123456',
linkTo: '',
memo: 'Test Memo, Test Memo von Ogerly, Test Memo von Ogerly für testuser',
user: {
publisherId: 1,
firstName: 'testName',
lastName: 'testOgerly',
email: 'test@example.de',
},
},
}