From a7253f9aa028dc60678abff3f91cfec07ca85852 Mon Sep 17 00:00:00 2001
From: clauspeterhuebner
Date: Thu, 11 Sep 2025 18:09:34 +0200
Subject: [PATCH] correct frontend lint errors
---
frontend/src/locales/de.json | 2 --
frontend/src/locales/en.json | 2 --
frontend/src/pages/TransactionLink.vue | 10 +++++-----
3 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/frontend/src/locales/de.json b/frontend/src/locales/de.json
index 008f1245a..86220113c 100644
--- a/frontend/src/locales/de.json
+++ b/frontend/src/locales/de.json
@@ -272,7 +272,6 @@
"no-account": "Du besitzt noch kein Gradido Konto?",
"no-redeem": "Du darfst deinen eigenen Link nicht einlösen!",
"not-copied": "Dein Gerät lässt das Kopieren leider nicht zu! Bitte kopiere den Link von Hand!",
- "recipientCommunityFix": "Empfänger-Gemeinschaft des Link-Guthabens...",
"recipientCommunityRedirection": "Zum Gutschreiben weiterleiten zu:",
"recipientCommunitySelection": "Gradido-Gemeinschaft wählen:",
"redeem": "Einlösen",
@@ -280,7 +279,6 @@
"redeemed": "Erfolgreich eingelöst! Deinem Konto wurden {n} GDD gutgeschrieben.",
"redeemed-at": "Der Link wurde bereits am {date} eingelöst.",
"redeemlink-error": "Dieser Einlöse-Link ist nicht vollständig.",
- "switchCommunity": "Du hast eine andere Gemeinschaft ausgewählt...",
"to-login": "Log dich ein",
"to-register": "Registriere ein neues Konto.",
"to-switch": "Jetzt weiterleiten",
diff --git a/frontend/src/locales/en.json b/frontend/src/locales/en.json
index 9d110f606..337fe6309 100644
--- a/frontend/src/locales/en.json
+++ b/frontend/src/locales/en.json
@@ -272,7 +272,6 @@
"no-account": "You don't have a Gradido account yet?",
"no-redeem": "You not allowed to redeem your own link!",
"not-copied": "Unfortunately, your device does not allow copying! Please copy the link by hand!",
- "recipientCommunityFix": "Recipient Community of the Link-Balance...",
"recipientCommunityRedirection": "Redirect for crediting to:",
"recipientCommunitySelection": "Select Gradido community:",
"redeem": "Redeem",
@@ -280,7 +279,6 @@
"redeemed": "Successfully redeemed! Your account has been credited with {n} GDD.",
"redeemed-at": "The link was already redeemed on {date}.",
"redeemlink-error": "This redemption link is not complete.",
- "switchCommunity": "You have selected a foreign Community...",
"to-login": "Log in",
"to-register": "Register a new account.",
"to-switch": "Redirect now",
diff --git a/frontend/src/pages/TransactionLink.vue b/frontend/src/pages/TransactionLink.vue
index 869f4af0d..d6e2ee15f 100644
--- a/frontend/src/pages/TransactionLink.vue
+++ b/frontend/src/pages/TransactionLink.vue
@@ -125,8 +125,8 @@ const validLink = computed(() => {
return false
}
const validUntilDate = new Date(linkData.value.validUntil)
- console.log('TransactionLink.validLink... validUntilDate=', validUntilDate)
- console.log('TransactionLink.validLink... new Date()=', new Date())
+ // console.log('TransactionLink.validLink... validUntilDate=', validUntilDate)
+ // console.log('TransactionLink.validLink... new Date()=', new Date())
// console.log(
// 'TransactionLink.validLink... validUntilDate.getTime() >= new Date().getTime()=',
// validUntilDate.getTime() >= new Date().getTime(),
@@ -144,8 +144,8 @@ const itemType = computed(() => {
}
const validUntilDate = new Date(linkData.value.validUntil)
- console.log('TransactionLink.itemType... validUntilDate=', validUntilDate)
- console.log('TransactionLink.itemType... new Date()=', new Date())
+ // console.log('TransactionLink.itemType... validUntilDate=', validUntilDate)
+ // console.log('TransactionLink.itemType... new Date()=', new Date())
// console.log(
// 'TransactionLink.itemType... validUntilDate.getTime() < new Date().getTime()=',
// validUntilDate.getTime() < new Date().getTime(),
@@ -301,7 +301,7 @@ onResult(() => {
})
onError(() => {
- console.log('TransactionLink.onError... error=', error)
+ // console.log('TransactionLink.onError... error=', error)
toastError(t('gdd_per_link.redeemlink-error'))
})