feat: i18n Clone

This commit is contained in:
Javier Segarra 2024-04-24 14:22:14 +02:00
parent 1ea74d0639
commit f4eb14f487
8 changed files with 7 additions and 9 deletions

View File

@ -28,6 +28,7 @@ globals:
reset: Reset reset: Reset
close: Close close: Close
cancel: Cancel cancel: Cancel
clone: Clone
confirm: Confirm confirm: Confirm
assign: Assign assign: Assign
back: Back back: Back

View File

@ -28,6 +28,7 @@ globals:
reset: Restaurar reset: Restaurar
close: Cerrar close: Cerrar
cancel: Cancelar cancel: Cancelar
clone: Clonar
confirm: Confirmar confirm: Confirmar
assign: Asignar assign: Asignar
back: Volver back: Volver

View File

@ -162,7 +162,7 @@ const openCloneDialog = async () => {
</QItem> </QItem>
<QItem v-ripple clickable @click="openCloneDialog()"> <QItem v-ripple clickable @click="openCloneDialog()">
<QItemSection> <QItemSection>
{{ t('Clone') }} {{ t('globals.clone') }}
</QItemSection> </QItemSection>
</QItem> </QItem>
</template> </template>
@ -213,7 +213,6 @@ const openCloneDialog = async () => {
<i18n> <i18n>
es: es:
Regularize stock: Regularizar stock Regularize stock: Regularizar stock
Clone: Clonar
All it's properties will be copied: Todas sus propiedades serán copiadas All it's properties will be copied: Todas sus propiedades serán copiadas
Do you want to clone this item?: ¿Desea clonar este artículo? Do you want to clone this item?: ¿Desea clonar este artículo?
</i18n> </i18n>

View File

@ -134,7 +134,6 @@ onMounted(async () => {
<i18n> <i18n>
es: es:
Regularize stock: Regularizar stock Regularize stock: Regularizar stock
Clone: Clonar
All it's properties will be copied: Todas sus propiedades serán copiadas All it's properties will be copied: Todas sus propiedades serán copiadas
Do you want to clone this item?: ¿Desea clonar este artículo? Do you want to clone this item?: ¿Desea clonar este artículo?
warehouseText: Calculated on the warehouse of { warehouseName } warehouseText: Calculated on the warehouse of { warehouseName }

View File

@ -538,7 +538,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
size="sm" size="sm"
> >
<QTooltip> <QTooltip>
{{ t('Clone') }} {{ t('globals.clone') }}
</QTooltip> </QTooltip>
</QIcon> </QIcon>
<QIcon <QIcon
@ -572,6 +572,5 @@ es:
New item: Nuevo artículo New item: Nuevo artículo
All it's properties will be copied: Todas sus propiedades serán copiadas All it's properties will be copied: Todas sus propiedades serán copiadas
Do you want to clone this item?: ¿Desea clonar este artículo? Do you want to clone this item?: ¿Desea clonar este artículo?
Clone: Clonar
Preview: Vista previa Preview: Vista previa
</i18n> </i18n>

View File

@ -213,7 +213,7 @@ const openTicketsDialog = (id) => {
<QCardActions align="right"> <QCardActions align="right">
<QBtn flat :label="t('Cancel')" v-close-popup class="text-primary" /> <QBtn flat :label="t('Cancel')" v-close-popup class="text-primary" />
<QBtn color="primary" v-close-popup @click="cloneRoutes"> <QBtn color="primary" v-close-popup @click="cloneRoutes">
{{ t('Clone') }} {{ t('globals.clone') }}
</QBtn> </QBtn>
</QCardActions> </QCardActions>
</QCard> </QCard>
@ -510,7 +510,6 @@ es:
Select the starting date: Seleccione la fecha de inicio Select the starting date: Seleccione la fecha de inicio
Stating date: Fecha de inicio Stating date: Fecha de inicio
Cancel: Cancelar Cancel: Cancelar
Clone: Clonar
Mark as served: Marcar como servidas Mark as served: Marcar como servidas
Download selected routes as PDF: Descargar rutas seleccionadas como PDF Download selected routes as PDF: Descargar rutas seleccionadas como PDF
Add ticket: Añadir tickets Add ticket: Añadir tickets

View File

@ -176,7 +176,7 @@ function navigateToRoadmapSummary(event, row) {
<QCardActions align="right"> <QCardActions align="right">
<QBtn flat :label="t('Cancel')" v-close-popup class="text-primary" /> <QBtn flat :label="t('Cancel')" v-close-popup class="text-primary" />
<QBtn color="primary" v-close-popup @click="cloneSelection"> <QBtn color="primary" v-close-popup @click="cloneSelection">
{{ t('Clone') }} {{ t('globals.clone') }}
</QBtn> </QBtn>
</QCardActions> </QCardActions>
</QCard> </QCard>

View File

@ -251,7 +251,7 @@ const openSmsDialog = async () => {
<QCardActions align="right"> <QCardActions align="right">
<QBtn flat :label="t('Cancel')" v-close-popup class="text-primary" /> <QBtn flat :label="t('Cancel')" v-close-popup class="text-primary" />
<QBtn color="primary" v-close-popup @click="cloneRoutes"> <QBtn color="primary" v-close-popup @click="cloneRoutes">
{{ t('Clone') }} {{ t('globals.clone') }}
</QBtn> </QBtn>
</QCardActions> </QCardActions>
</QCard> </QCard>