diff --git a/src/components/common/VnMultiCheck.vue b/src/components/common/VnMultiCheck.vue index d898b97a5..1d4898503 100644 --- a/src/components/common/VnMultiCheck.vue +++ b/src/components/common/VnMultiCheck.vue @@ -3,7 +3,9 @@ import { ref } from 'vue'; import VnCheckbox from './VnCheckbox.vue'; import axios from 'axios'; import { toRaw } from 'vue'; +import { useI18n } from 'vue-i18n'; +const { t } = useI18n(); const model = defineModel({ type: [Boolean] }); const props = defineProps({ url: { @@ -41,7 +43,7 @@ const onClick = async () => { - Select all({{ rows.length }}) @@ -49,3 +51,17 @@ const onClick = async () => { + +en: + Select all: 'Select all ({rows})' +fr: + Select all: 'Sélectionner tout ({rows})' +es: + Select all: Seleccionar todo ({rows}) +de: + Select all: 'Alle auswählen ({rows})' +it: + Select all: 'Seleziona tutto ({rows})' +pt: + Select all: Selecionar tudo ({rows}) + diff --git a/src/pages/Customer/Notifications/CustomerNotificationsCampaignConsumption.vue b/src/pages/Customer/Notifications/CustomerNotificationsCampaignConsumption.vue index f637c7e0a..141a02bfc 100644 --- a/src/pages/Customer/Notifications/CustomerNotificationsCampaignConsumption.vue +++ b/src/pages/Customer/Notifications/CustomerNotificationsCampaignConsumption.vue @@ -98,7 +98,9 @@ onMounted(async () => { - {{ t('Campaign consumption') }} + {{ + t('Campaign consumption', { rows: $props.clients.length }) + }} { valentinesDay: Valentine's Day mothersDay: Mother's Day allSaints: All Saints' Day + Campaign consumption: Campaign consumption ({rows}) es: params: valentinesDay: Día de San Valentín mothersDay: Día de la Madre allSaints: Día de Todos los Santos - Campaign consumption: Consumo campaña + Campaign consumption: Consumo campaña ({rows}) Campaign: Campaña From: Desde To: Hasta