translation to english from CreationFormular.vue locales

This commit is contained in:
ogerly 2021-12-28 15:06:43 +01:00
parent e7fa028d93
commit 964d51504c
3 changed files with 55 additions and 28 deletions

View File

@ -1,10 +1,10 @@
<template>
<div class="component-creation-formular">
CREATION FORMULAR
{{ $t('creation_form.form') }}
<div class="shadow p-3 mb-5 bg-white rounded">
<b-form ref="creationForm">
<b-row class="m-4">
<label>Monat Auswählen</label>
<label>{{ $t('creation_form.select_month') }}</label>
<b-col class="text-left">
<b-form-radio
id="beforeLastMonth"
@ -50,7 +50,7 @@
</b-row>
<b-row class="m-4" v-show="createdIndex != null">
<label>Betrag Auswählen</label>
<label>{{ $t('creation_form.select_value') }}</label>
<div>
<b-input-group prepend="GDD" append=".00">
<b-form-input
@ -73,13 +73,13 @@
</div>
</b-row>
<b-row class="m-4">
<label>Text eintragen</label>
<label>{{ $t('creation_form.enter_text') }}</label>
<div>
<b-form-textarea
id="textarea-state"
v-model="text"
:state="text.length >= 10"
placeholder="Mindestens 10 Zeichen eingeben"
:placeholder="$t('creation_form.min_characters')"
rows="3"
></b-form-textarea>
</div>
@ -87,7 +87,7 @@
<b-row class="m-4">
<b-col class="text-center">
<b-button type="reset" variant="danger" @click="$refs.creationForm.reset()">
zurücksetzen
{{ $t('creation_form.reset') }}
</b-button>
</b-col>
<b-col class="text-center">
@ -100,7 +100,7 @@
@click="submitCreation"
:disabled="radioSelected === '' || value <= 0 || text.length < 10"
>
Update Schöpfung ({{ type }},{{ pagetype }})
{{ $t('creation_form.update_creation') }}
</b-button>
<b-button
@ -111,7 +111,7 @@
@click="submitCreation"
:disabled="radioSelected === '' || value <= 0 || text.length < 10"
>
Schöpfung einreichen ({{ type }})
{{ $t('creation_form.submit_creation') }}
</b-button>
</div>
</b-col>
@ -193,7 +193,7 @@ export default {
// Auswählen eines Zeitraumes
updateRadioSelected(name, index, openCreation) {
this.createdIndex = index
this.text = 'Schöpfung für ' + name.short + ' ' + name.year
this.text = this.$t('creation_form.creation_for') + ' ' + name.short + ' ' + name.year
// Wenn Mehrfachschöpfung
if (this.type === 'massCreation') {
// An Creation.vue emitten und radioSelectedMass aktualisieren
@ -242,7 +242,10 @@ export default {
.then((result) => {
this.$emit('update-user-data', this.item, result.data.createPendingCreation)
this.$toasted.success(
`Offene Schöpfung (${this.value} GDD) für ${this.item.email} wurde gespeichert und liegen zur Bestätigung bereit`,
this.$t('creation_form.toasted', {
value: this.value,
email: this.item.email,
}),
)
this.$store.commit('openCreationsPlus', 1)
this.submitObj = null

View File

@ -10,6 +10,18 @@
"transaction": "Transaktion",
"unregistered_emails": "Unregistrierte E-Mails",
"user_search": "User suche",
"creation_form": {
"form":"Creation form",
"select_month":"Monat Auswählen",
"select_value":"Betrag Auswählen",
"enter_text":"Text eintragen",
"min_characters":"Mindestens 10 Zeichen eingeben",
"creation_for":"Schöpfung für ",
"reset":"zurücksetzen",
"submit_creation":"Schöpfung einreichen",
"update_creation":"Update Schöpfung",
"toasted":"Offene Schöpfung ({value} GDD) für {email} wurde gespeichert und liegen zur Bestätigung bereit"
},
"overlay" : {
"remove": {
"title":"Achtung! Schöpfung löschen!",
@ -22,7 +34,7 @@
"title":"Schöpfung bestätigen!",
"text":"Nach dem Speichern ist der Datensatz nicht mehr änderbar und kann auch nicht mehr gelöscht werden. Bitte überprüfe genau, dass alles stimmt.",
"question":"Willst du diese vorgespeicherte Schöpfung wirklich vollziehen und entgültig speichern?",
"yes":"Ja, Schöpfung speichern und bestätigen!",
"yes":"Ja, Schöpfung bestätigen und speichern!",
"no":"Nein, nicht speichern."
}
}

View File

@ -7,23 +7,35 @@
"not_open_creations": "No open creations",
"open_creation": "Open creations",
"open_creations": "Open creations",
"creation_form": {
"form":"Creation form",
"select_month":"Monat Auswählen",
"select_value":"Betrag Auswählen",
"enter_text":"Text eintragen",
"min_characters":"Mindestens 10 Zeichen eingeben",
"creation_for":"Schöpfung für ",
"reset":"zurücksetzen",
"submit_creation":"Schöpfung einreichen",
"update_creation":"Update Schöpfung",
"toasted":"Offene Schöpfung ({value} GDD) für {email} wurde gespeichert und liegen zur Bestätigung bereit"
},
"overlay": {
"confirm": {
"no": "No, do not save.",
"question": "Do you really want to carry out and finally save this pre-stored creation?",
"text": "After saving, the record can no longer be changed or deleted. Please check carefully that everything is correct.",
"title": "Confirm creation!",
"yes": "Yes, confirm and save creation!"
},
"remove": {
"no": "No, do not delete.",
"question": "Do you really want to delete the pre-stored creation?",
"text": "After deletion, there is no possibility to restore this data record. However, the entire process is saved in the log file as an overview.",
"title": "Attention! Delete creation!",
"yes": "Yes, delete creation!"
}
},
"transaction": "Transaction",
"unregistered_emails": "Unregistered e-mails",
"user_search": "User search",
"overlay" : {
"remove": {
"title":"Attention! Delete creation!",
"text":"After deletion, there is no possibility to restore this data record. However, the entire process is saved in the log file as an overview.",
"question":"Do you really want to delete the pre-stored creation?",
"yes":"Yes, delete creation!",
"no":"No, do not delete."
},
"confirm": {
"title":"Confirm creation!",
"text":"After saving, the record can no longer be changed or deleted. Please check carefully that everything is correct.",
"question":"Do you really want to carry out and finally save this pre-stored creation?",
"yes":"Yes, confirm and save creation!",
"no":"No, do not save."
}
}
"user_search": "User search"
}