diff --git a/frontend/src/components/DecayInformations/CollapseLinksList.vue b/frontend/src/components/DecayInformations/CollapseLinksList.vue index 7492532b6..4de74fa0c 100644 --- a/frontend/src/components/DecayInformations/CollapseLinksList.vue +++ b/frontend/src/components/DecayInformations/CollapseLinksList.vue @@ -20,7 +20,7 @@ {{ buttonText }} diff --git a/frontend/src/components/TransactionLinks/TransactionLink.vue b/frontend/src/components/TransactionLinks/TransactionLink.vue index b8247c7fc..715225ad4 100644 --- a/frontend/src/components/TransactionLinks/TransactionLink.vue +++ b/frontend/src/components/TransactionLinks/TransactionLink.vue @@ -6,8 +6,17 @@ {{ item.memo }} {{ $moment(item.validUntil).fromNow() }} - kopieren - löschen + + {{ $t('gdd_per_link.copy') }} + + + + @@ -33,7 +42,7 @@ export default { }) }, deleteLink(id) { - this.$bvModal.msgBoxConfirm('Den Link löschen?').then(async (value) => { + this.$bvModal.msgBoxConfirm(this.$t('gdd_per_link.delete-the-link')).then(async (value) => { if (value) await this.$apollo .mutate({ @@ -43,7 +52,7 @@ export default { }, }) .then((result) => { - this.toastSuccess('Link gelöscht') + this.toastSuccess(this.$t('gdd_per_link.deleted')) this.$emit('reset-transaction-link-list') }) .catch((err) => { diff --git a/frontend/src/locales/de.json b/frontend/src/locales/de.json index 9c0e440b0..52a2b6fb9 100644 --- a/frontend/src/locales/de.json +++ b/frontend/src/locales/de.json @@ -46,6 +46,7 @@ "total": "Gesamt", "year": "Jahre" }, + "delete":"löschen", "error": { "change-password": "Fehler beim Ändern des Passworts", "empty-transactionlist": "Es gab einen Fehler mit der Übermittlung der Anzahl deiner Transaktionen.", @@ -103,6 +104,8 @@ "gdd_per_link": { "copy": "kopieren", "created": "Der Link wurde erstellt!", + "delete-the-link":"Den Link löschen?", + "deleted":"Der Link wurde gelöscht!", "decay-14-day": "Vergänglichkeit für 14 Tage", "header": "Gradidos versenden per Link", "link-copied": "Link wurde in die Zwischenablage kopiert", diff --git a/frontend/src/locales/en.json b/frontend/src/locales/en.json index a454ee785..48197abda 100644 --- a/frontend/src/locales/en.json +++ b/frontend/src/locales/en.json @@ -46,6 +46,7 @@ "total": "Total", "year": "Years" }, + "delete":"delete", "error": { "change-password": "Error while changing password", "empty-transactionlist": "There was an error with the transmission of the number of your transactions.", @@ -104,6 +105,8 @@ "copy": "copy", "created": "Link was created!", "decay-14-day": "Decay for 14 days", + "deleted":"The link was deleted!", + "delete-the-link":"Delete the link?", "header": "Send Gradidos via link", "link-copied": "Link copied to clipboard", "links_count": "Active links",