i18n builder confirm

This commit is contained in:
Pete Matsyburka
2024-01-18 21:12:08 +02:00
parent e16202c9f7
commit f69aa33f3d
3 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -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)
}