diff --git a/frontend/src/locales/de.json b/frontend/src/locales/de.json index 9b4851f17..60fa9162c 100644 --- a/frontend/src/locales/de.json +++ b/frontend/src/locales/de.json @@ -114,7 +114,7 @@ "redeem": "Einlösen", "redeem-text": "Willst du den Betrag jetzt einlösen?", "redeemed": "Erfolgreich eingelöst! Deinem Konto wurden {n} GDD gutgeschrieben.", - "redeemed-at": "Der Link wurde bereits am {date} eingelöst", + "redeemed-at": "Der Link wurde bereits am {date} eingelöst.", "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.", "to-login": "Log dich ein", "to-register": "Registriere ein neues Konto" diff --git a/frontend/src/locales/en.json b/frontend/src/locales/en.json index 6aa13e60d..717b1d7b0 100644 --- a/frontend/src/locales/en.json +++ b/frontend/src/locales/en.json @@ -104,7 +104,7 @@ "header": "Send Gradidos via link", "link-copied": "Link copied to clipboard", "link-deleted": "The link has been deleted.", - "link-invalid": "The link is no longer valid. \n The validity expired on {date}.", + "link-expired": "The link is no longer valid. The validity expired on {date}.", "link-overview": "Link overview", "links_count": "Active links", "links_sum": "Total of your sent Gradidos", @@ -114,6 +114,7 @@ "redeem": "Redeem", "redeem-text": "Do you want to redeem the amount now?", "redeemed": "Successfully redeemed! Your account has been credited with {n} GDD.", + "redeemed-at": "The link was already redeemed on {date}.", "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.", "to-login": "Log in", "to-register": "Register a new account" diff --git a/frontend/src/pages/ShowTransactionLinkInformations.spec.js b/frontend/src/pages/ShowTransactionLinkInformations.spec.js index f3afc1fe8..73de19f80 100644 --- a/frontend/src/pages/ShowTransactionLinkInformations.spec.js +++ b/frontend/src/pages/ShowTransactionLinkInformations.spec.js @@ -1,8 +1,6 @@ import { mount } from '@vue/test-utils' import ShowTransactionLinkInformations from './ShowTransactionLinkInformations' import { queryTransactionLink } from '@/graphql/queries' -import { redeemTransactionLink } from '@/graphql/mutations' -import { wrap } from 'regenerator-runtime' const localVue = global.localVue diff --git a/frontend/src/pages/ShowTransactionLinkInformations.vue b/frontend/src/pages/ShowTransactionLinkInformations.vue index 91c6eeb66..8e0aa236f 100644 --- a/frontend/src/pages/ShowTransactionLinkInformations.vue +++ b/frontend/src/pages/ShowTransactionLinkInformations.vue @@ -83,7 +83,7 @@ export default { }) .catch((err) => { this.toastError(err.message) - this.$router.push('/overview') + this.$router.push('/overview') }) }) }, @@ -137,7 +137,6 @@ export default { } } - return '' }, },