mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
add locales in TransactionLink.vue
This commit is contained in:
parent
b976e84411
commit
798a75e923
@ -20,7 +20,7 @@
|
|||||||
<b-button
|
<b-button
|
||||||
v-if="!value.pending && value.itemsShown < transactionLinkCount"
|
v-if="!value.pending && value.itemsShown < transactionLinkCount"
|
||||||
block
|
block
|
||||||
variant="primary"
|
variant="outline-primary"
|
||||||
@click="loadMoreLinks"
|
@click="loadMoreLinks"
|
||||||
>
|
>
|
||||||
{{ buttonText }}
|
{{ buttonText }}
|
||||||
|
|||||||
@ -6,8 +6,17 @@
|
|||||||
<b-col cols="4">{{ item.memo }}</b-col>
|
<b-col cols="4">{{ item.memo }}</b-col>
|
||||||
<b-col cols="2">{{ $moment(item.validUntil).fromNow() }}</b-col>
|
<b-col cols="2">{{ $moment(item.validUntil).fromNow() }}</b-col>
|
||||||
<b-col cols="2">
|
<b-col cols="2">
|
||||||
<b-button size="sm" variant="primary" @click="copy">kopieren</b-button>
|
<b-button class="mr-2" size="sm" variant="outline-primary" @click="copy">
|
||||||
<b-button size="sm" variant="danger" @click="deleteLink(item.id)">löschen</b-button>
|
{{ $t('gdd_per_link.copy') }}
|
||||||
|
</b-button>
|
||||||
|
<b-button
|
||||||
|
size="sm"
|
||||||
|
variant="outline-danger"
|
||||||
|
@click="deleteLink(item.id)"
|
||||||
|
:title="$t('delete')"
|
||||||
|
>
|
||||||
|
<b-icon icon="trash"></b-icon>
|
||||||
|
</b-button>
|
||||||
</b-col>
|
</b-col>
|
||||||
</b-row>
|
</b-row>
|
||||||
</div>
|
</div>
|
||||||
@ -33,7 +42,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
deleteLink(id) {
|
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)
|
if (value)
|
||||||
await this.$apollo
|
await this.$apollo
|
||||||
.mutate({
|
.mutate({
|
||||||
@ -43,7 +52,7 @@ export default {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
.then((result) => {
|
.then((result) => {
|
||||||
this.toastSuccess('Link gelöscht')
|
this.toastSuccess(this.$t('gdd_per_link.deleted'))
|
||||||
this.$emit('reset-transaction-link-list')
|
this.$emit('reset-transaction-link-list')
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
|
|||||||
@ -46,6 +46,7 @@
|
|||||||
"total": "Gesamt",
|
"total": "Gesamt",
|
||||||
"year": "Jahre"
|
"year": "Jahre"
|
||||||
},
|
},
|
||||||
|
"delete":"löschen",
|
||||||
"error": {
|
"error": {
|
||||||
"change-password": "Fehler beim Ändern des Passworts",
|
"change-password": "Fehler beim Ändern des Passworts",
|
||||||
"empty-transactionlist": "Es gab einen Fehler mit der Übermittlung der Anzahl deiner Transaktionen.",
|
"empty-transactionlist": "Es gab einen Fehler mit der Übermittlung der Anzahl deiner Transaktionen.",
|
||||||
@ -103,6 +104,8 @@
|
|||||||
"gdd_per_link": {
|
"gdd_per_link": {
|
||||||
"copy": "kopieren",
|
"copy": "kopieren",
|
||||||
"created": "Der Link wurde erstellt!",
|
"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",
|
"decay-14-day": "Vergänglichkeit für 14 Tage",
|
||||||
"header": "Gradidos versenden per Link",
|
"header": "Gradidos versenden per Link",
|
||||||
"link-copied": "Link wurde in die Zwischenablage kopiert",
|
"link-copied": "Link wurde in die Zwischenablage kopiert",
|
||||||
|
|||||||
@ -46,6 +46,7 @@
|
|||||||
"total": "Total",
|
"total": "Total",
|
||||||
"year": "Years"
|
"year": "Years"
|
||||||
},
|
},
|
||||||
|
"delete":"delete",
|
||||||
"error": {
|
"error": {
|
||||||
"change-password": "Error while changing password",
|
"change-password": "Error while changing password",
|
||||||
"empty-transactionlist": "There was an error with the transmission of the number of your transactions.",
|
"empty-transactionlist": "There was an error with the transmission of the number of your transactions.",
|
||||||
@ -104,6 +105,8 @@
|
|||||||
"copy": "copy",
|
"copy": "copy",
|
||||||
"created": "Link was created!",
|
"created": "Link was created!",
|
||||||
"decay-14-day": "Decay for 14 days",
|
"decay-14-day": "Decay for 14 days",
|
||||||
|
"deleted":"The link was deleted!",
|
||||||
|
"delete-the-link":"Delete the link?",
|
||||||
"header": "Send Gradidos via link",
|
"header": "Send Gradidos via link",
|
||||||
"link-copied": "Link copied to clipboard",
|
"link-copied": "Link copied to clipboard",
|
||||||
"links_count": "Active links",
|
"links_count": "Active links",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user