From d046dbc7a6b46be4eb42197d5215b500c3f5feba Mon Sep 17 00:00:00 2001 From: ogerly Date: Thu, 17 Mar 2022 14:20:53 +0100 Subject: [PATCH] add locales for transaction link information --- frontend/src/locales/de.json | 7 ++++++- frontend/src/locales/en.json | 7 ++++++- .../src/pages/ShowTransactionLinkInformations.vue | 14 +++++++++----- 3 files changed, 21 insertions(+), 7 deletions(-) diff --git a/frontend/src/locales/de.json b/frontend/src/locales/de.json index 1790af454..ea912e0a8 100644 --- a/frontend/src/locales/de.json +++ b/frontend/src/locales/de.json @@ -101,7 +101,12 @@ "links_count": "Aktive Links", "links_sum": "Summe deiner versendeten Gradidos", "not-copied": "Konnte den Link nicht kopieren: {err}", - "sentence_1": "Wähle einen Betrag aus, welchen du per Link versenden möchtest. Du kannst auch noch eine Nachricht eintragen. Beim Klick „jetzt generieren“ wird ein Link erstellt, den du versenden kannst." + "sentence_1": "Wähle einen Betrag aus, welchen du per Link versenden möchtest. Du kannst auch noch eine Nachricht eintragen. Beim Klick „jetzt generieren“ wird ein Link erstellt, den du versenden kannst.", + "redeem":"Einlösen", + "no-account":"Du hast noch kein Gradido Konto", + "to-register":"Registriere ein neues Konto", + "has-account":"Du hast einen Gradido Konto", + "to-login":"Log dich ein" }, "gdt": { "calculation": "Berechnung der GradidoTransform", diff --git a/frontend/src/locales/en.json b/frontend/src/locales/en.json index d39aea683..258ff021d 100644 --- a/frontend/src/locales/en.json +++ b/frontend/src/locales/en.json @@ -101,7 +101,12 @@ "links_count": "Active links", "links_sum": "Total of your sent Gradidos", "not-copied": "Could not copy link: {err}", - "sentence_1": "Select an amount that you would like to send via link. You can also enter a message. Click 'Generate now' to create a link that you can share." + "sentence_1": "Select an amount that you would like to send via link. You can also enter a message. Click 'Generate now' to create a link that you can share.", + "redeem": "Redeem", + "no-account": "You don't have a Gradido account yet", + "to-register": "Register a new account", + "has-account": "You have a Gradido account", + "to-login": "Log in" }, "gdt": { "calculation": "Calculation of GradidoTransform", diff --git a/frontend/src/pages/ShowTransactionLinkInformations.vue b/frontend/src/pages/ShowTransactionLinkInformations.vue index f497cd869..c8017ab41 100644 --- a/frontend/src/pages/ShowTransactionLinkInformations.vue +++ b/frontend/src/pages/ShowTransactionLinkInformations.vue @@ -14,16 +14,20 @@
-

Einlösen

+
+

{{ $t('gdd_per_link.redeem') }}

+
-

Du hast noch kein Gradido Konto

- Registriere ein neues Konto +

{{ $t('gdd_per_link.no-account') }}

+ + {{ $t('gdd_per_link.to-register') }} +
-

Du hast einen Gradido Konto

- Log dich ein +

{{ $t('gdd_per_link.has-account') }}

+ {{ $t('gdd_per_link.to-login') }}