i18n builder confirm

pull/217/head
Pete Matsyburka 2 years ago
parent e16202c9f7
commit f69aa33f3d

@ -112,7 +112,7 @@
/>
<div
class="sticky bottom-0 py-2"
:style="withStickySubmitters ? { backgroundColor } : {}"
:style="{ backgroundColor }"
>
<Upload
v-if="sortedDocuments.length && editable && withUploadButton"
@ -884,7 +884,7 @@ export default {
this.save()
},
onDocumentRemove (item) {
if (window.confirm('Are you sure?')) {
if (window.confirm(this.t('are_you_sure'))) {
this.template.schema.splice(this.template.schema.indexOf(item), 1)
}

@ -296,7 +296,7 @@ export default {
this.$emit('update:model-value', submitter.uuid)
},
remove (submitter) {
if (window.confirm('Are you sure?')) {
if (window.confirm(this.t('are_you_sure'))) {
this.$emit('remove', submitter)
}
},

@ -1,4 +1,5 @@
const en = {
are_you_sure: 'Are you sure?',
sign_yourself: 'Sign Yourself',
send: 'Send',
save: 'Save',

Loading…
Cancel
Save