0
0
Fork 0

refactor: refs #7354 changed descriptor menu options

This commit is contained in:
Jon Elias 2024-08-16 11:20:03 +02:00
parent 6378be5933
commit 3c4fc9473d
1 changed files with 10 additions and 9 deletions

View File

@ -51,29 +51,30 @@ function openConfirmDialog(callback) {
} }
</script> </script>
<template> <template>
<QItem @click="openConfirmDialog('clone')" v-ripple clickable>
<QItemSection avatar>
<QIcon name="content_copy" />
</QItemSection>
<QItemSection>{{ t('To clone zone') }}</QItemSection>
</QItem>
<QItem @click="openConfirmDialog('remove')" v-ripple clickable> <QItem @click="openConfirmDialog('remove')" v-ripple clickable>
<QItemSection avatar> <QItemSection avatar>
<QIcon name="delete" /> <QIcon name="delete" />
</QItemSection> </QItemSection>
<QItemSection>{{ t('deleteZone') }}</QItemSection> <QItemSection>{{ t('deleteZone') }}</QItemSection>
</QItem> </QItem>
<QItem @click="openConfirmDialog('clone')" v-ripple clickable>
<QItemSection avatar>
<QIcon name="content_copy" />
</QItemSection>
<QItemSection>{{ t('cloneZone') }}</QItemSection>
</QItem>
</template> </template>
<i18n> <i18n>
en: en:
deleteZone: Delete zone deleteZone: Delete
cloneZone: Clone
confirmDeletion: Confirm deletion confirmDeletion: Confirm deletion
confirmDeletionMessage: Are you sure you want to delete this zone? confirmDeletionMessage: Are you sure you want to delete this zone?
es: es:
To clone zone: Clonar zone cloneZone: Clonar
deleteZone: Eliminar zona deleteZone: Eliminar
confirmDeletion: Confirmar eliminación confirmDeletion: Confirmar eliminación
confirmDeletionMessage: Seguro que quieres eliminar este zona? confirmDeletionMessage: Seguro que quieres eliminar este zona?
Zone deleted: Zona eliminada Zone deleted: Zona eliminada