change dialogue in case of disbursementLink

This commit is contained in:
clauspeterhuebner 2025-04-23 00:37:54 +02:00
parent 04407cdcfd
commit 0ef80978e0
8 changed files with 19 additions and 10 deletions

View File

@ -11,13 +11,16 @@
<h1 v-if="!isContributionLink && linkData.amount !== ''">
<BCol class="mb-4" cols="12">
<BRow>
<BCol>{{ $t('gdd_per_link.recipientCommunity') }}</BCol>
<BCol v-if="!isDisbursementLink">
{{ $t('gdd_per_link.recipientCommunitySelection') }}
</BCol>
<BCol v-else>{{ $t('gdd_per_link.recipientCommunityFix') }}</BCol>
</BRow>
<h3>
<BRow v-if="!isDisbursementLink">
<BRow>
<BCol class="fw-bold">
<community-switch
:disabled="isBalanceDisabled"
:disabled="isDisbursementLink"
:model-value="currentReceiverCommunity"
@update:model-value="setReceiverCommunity"
/>

View File

@ -250,7 +250,8 @@
"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!",
"recipientCommunity": "Wähle deine Gemeinschaft zum Einlösen des Link-Guthabens...",
"recipientCommunityFix": "Empfänger-Gemeinschaft des Link-Guthabens...",
"recipientCommunitySelection": "Wähle deine Gemeinschaft zum Einlösen des Link-Guthabens...",
"redeem": "Einlösen",
"redeemed": "Erfolgreich eingelöst! Deinem Konto wurden {n} GDD gutgeschrieben.",
"redeemed-at": "Der Link wurde bereits am {date} eingelöst.",

View File

@ -250,7 +250,8 @@
"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!",
"recipientCommunity": "Select your Community to redeem the link-deposit...",
"recipientCommunityFix": "Recipient Community of the Link-Balance...",
"recipientCommunitySelection": "Select your Community to redeem the link-deposit...",
"redeem": "Redeem",
"redeemed": "Successfully redeemed! Your account has been credited with {n} GDD.",
"redeemed-at": "The link was already redeemed on {date}.",

View File

@ -213,7 +213,8 @@
"no-account": "Aún no tienes una cuenta de Gradido?",
"no-redeem": "No puedes canjear tu propio enlace!",
"not-copied": "¡Desafortunadamente, su dispositivo no permite copiar! Copie el enlace manualmente!",
"recipientCommunity": "Select your Community to redeem the link-deposit...",
"recipientCommunityFix": "Recipient Community of the Link-Balance...",
"recipientCommunitySelection": "Select your Community to redeem the link-deposit...",
"redeem": "Canjear",
"redeemed": "¡Canjeado con éxito! Tu cuenta ha sido acreditada con {n} GDD.",
"redeemed-at": "El enlace ya se canjeó el {date}.",

View File

@ -219,7 +219,8 @@
"no-account": "Vous n'avez pas encore de compte Gradido?",
"no-redeem": "Vous n'êtes pas autorisé à percevoir votre propre lien!",
"not-copied": "Malheureusement votre appareil ne permet pas de copier! Veuillez copier le lien manuellement svp!",
"recipientCommunity": "Select your Community to redeem the link-deposit...",
"recipientCommunityFix": "Recipient Community of the Link-Balance...",
"recipientCommunitySelection": "Select your Community to redeem the link-deposit...",
"redeem": "Encaisser",
"redeemed": "Encaissé avec succès! Votre compte est crédité de {n} GDD.",
"redeemed-at": "Le lien a déjà été perçu le {date}.",

View File

@ -213,7 +213,8 @@
"no-account": "Je hebt nog geen Gradido rekening?",
"no-redeem": "Je mag je eigen link niet inwisselen!",
"not-copied": "Jouw apparaat laat het kopiëren helaas niet toe! Kopieer de link alsjeblieft met de hand!",
"recipientCommunity": "Select your Community to redeem the link-deposit...",
"recipientCommunityFix": "Recipient Community of the Link-Balance...",
"recipientCommunitySelection": "Select your Community to redeem the link-deposit...",
"redeem": "Inwisselen",
"redeemed": "Succesvol ingewisseld! Op jouw rekening werden {n} GDD bijgeschreven.",
"redeemed-at": "De link werd al op {date} ingewisseld.",

View File

@ -176,7 +176,8 @@
"no-account": "Henüz bir Gradido hesabınız yok mu?",
"no-redeem": "Kendi linkini kullanarak GDD'lerini paraya dönüştüremezsin!",
"not-copied": "Maalesef cihazın kopyalamaya izin vermiyor! Lütfen bağlantıyı elle kopyala!",
"recipientCommunity": "Select your Community to redeem the link-deposit...",
"recipientCommunityFix": "Recipient Community of the Link-Balance...",
"recipientCommunitySelection": "Select your Community to redeem the link-deposit...",
"redeem": "Paraya dönüştürme",
"redeem-text": "Şu anda paraya dönüştürmek ister misin?",
"redeemed": "Başarıyla dönüştürüldü! Hesabına {n} GDD yatırıldı.",

View File

@ -87,7 +87,7 @@ const isContributionLink = computed(() => {
})
const isDisbursementLink = computed(() => {
if (result?.queryTransactionLink?.__typename === 'DisbursementLink') {
if (result.value?.queryTransactionLink?.__typename === 'DisbursementLink') {
return true
}
return false