fix: translate empty text label correctly
This commit is contained in:
parent
06dcedf56c
commit
c09b4f6ae6
@ -45,7 +45,7 @@
|
|||||||
class="flex flex-col items-center gap-3 text-xl font-medium text-gray-500"
|
class="flex flex-col items-center gap-3 text-xl font-medium text-gray-500"
|
||||||
>
|
>
|
||||||
<PhoneIcon class="h-10 w-10" />
|
<PhoneIcon class="h-10 w-10" />
|
||||||
<span>{{ __('No Logs Found') }}</span>
|
<span>{{ __('No {0} Found', [__('Logs')]) }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<CallLogModal
|
<CallLogModal
|
||||||
|
|||||||
@ -51,7 +51,7 @@
|
|||||||
class="flex flex-col items-center gap-3 text-xl font-medium text-gray-500"
|
class="flex flex-col items-center gap-3 text-xl font-medium text-gray-500"
|
||||||
>
|
>
|
||||||
<ContactsIcon class="h-10 w-10" />
|
<ContactsIcon class="h-10 w-10" />
|
||||||
<span>{{ __('No Contacts Found') }}</span>
|
<span>{{ __('No {0} Found', [__('Contacts')]) }}</span>
|
||||||
<Button :label="__('Create')" @click="showContactModal = true">
|
<Button :label="__('Create')" @click="showContactModal = true">
|
||||||
<template #prefix><FeatherIcon name="plus" class="h-4" /></template>
|
<template #prefix><FeatherIcon name="plus" class="h-4" /></template>
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@ -48,7 +48,7 @@
|
|||||||
class="flex flex-col items-center gap-3 text-xl font-medium text-gray-500"
|
class="flex flex-col items-center gap-3 text-xl font-medium text-gray-500"
|
||||||
>
|
>
|
||||||
<DealsIcon class="h-10 w-10" />
|
<DealsIcon class="h-10 w-10" />
|
||||||
<span>{{ __('No Deals Found') }}</span>
|
<span>{{ __('No {0} Found', [__('Deals')]) }}</span>
|
||||||
<Button :label="__('Create')" @click="showDealModal = true">
|
<Button :label="__('Create')" @click="showDealModal = true">
|
||||||
<template #prefix><FeatherIcon name="plus" class="h-4" /></template>
|
<template #prefix><FeatherIcon name="plus" class="h-4" /></template>
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@ -52,7 +52,7 @@
|
|||||||
class="flex flex-col items-center gap-3 text-xl font-medium text-gray-500"
|
class="flex flex-col items-center gap-3 text-xl font-medium text-gray-500"
|
||||||
>
|
>
|
||||||
<EmailIcon class="h-10 w-10" />
|
<EmailIcon class="h-10 w-10" />
|
||||||
<span>{{ __('No Email Templates Found') }}</span>
|
<span>{{ __('No {0} Found', [__('Email Templates')]) }}</span>
|
||||||
<Button :label="__('Create')" @click="showEmailTemplateModal = true">
|
<Button :label="__('Create')" @click="showEmailTemplateModal = true">
|
||||||
<template #prefix><FeatherIcon name="plus" class="h-4" /></template>
|
<template #prefix><FeatherIcon name="plus" class="h-4" /></template>
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@ -49,7 +49,7 @@
|
|||||||
class="flex flex-col items-center gap-3 text-xl font-medium text-gray-500"
|
class="flex flex-col items-center gap-3 text-xl font-medium text-gray-500"
|
||||||
>
|
>
|
||||||
<LeadsIcon class="h-10 w-10" />
|
<LeadsIcon class="h-10 w-10" />
|
||||||
<span>{{ __('No Leads Found') }}</span>
|
<span>{{ __('No {0} Found', [__('Leads')]) }}</span>
|
||||||
<Button :label="__('Create')" @click="showLeadModal = true">
|
<Button :label="__('Create')" @click="showLeadModal = true">
|
||||||
<template #prefix><FeatherIcon name="plus" class="h-4" /></template>
|
<template #prefix><FeatherIcon name="plus" class="h-4" /></template>
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@ -88,7 +88,7 @@
|
|||||||
class="flex flex-col items-center gap-3 text-xl font-medium text-gray-500"
|
class="flex flex-col items-center gap-3 text-xl font-medium text-gray-500"
|
||||||
>
|
>
|
||||||
<NoteIcon class="h-10 w-10" />
|
<NoteIcon class="h-10 w-10" />
|
||||||
<span>{{ __('No Notes Found') }}</span>
|
<span>{{ __('No {0} Found', [__('Notes')]) }}</span>
|
||||||
<Button :label="__('Create')" @click="createNote">
|
<Button :label="__('Create')" @click="createNote">
|
||||||
<template #prefix><FeatherIcon name="plus" class="h-4" /></template>
|
<template #prefix><FeatherIcon name="plus" class="h-4" /></template>
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@ -51,7 +51,7 @@
|
|||||||
class="flex flex-col items-center gap-3 text-xl font-medium text-gray-500"
|
class="flex flex-col items-center gap-3 text-xl font-medium text-gray-500"
|
||||||
>
|
>
|
||||||
<OrganizationsIcon class="h-10 w-10" />
|
<OrganizationsIcon class="h-10 w-10" />
|
||||||
<span>{{ __('No Organizations Found') }}</span>
|
<span>{{ __('No {0} Found', [__('Organizations')]) }}</span>
|
||||||
<Button :label="__('Create')" @click="showOrganizationModal = true">
|
<Button :label="__('Create')" @click="showOrganizationModal = true">
|
||||||
<template #prefix><FeatherIcon name="plus" class="h-4" /></template>
|
<template #prefix><FeatherIcon name="plus" class="h-4" /></template>
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@ -45,7 +45,7 @@
|
|||||||
class="flex flex-col items-center gap-3 text-xl font-medium text-gray-500"
|
class="flex flex-col items-center gap-3 text-xl font-medium text-gray-500"
|
||||||
>
|
>
|
||||||
<EmailIcon class="h-10 w-10" />
|
<EmailIcon class="h-10 w-10" />
|
||||||
<span>{{ __('No Tasks Found') }}</span>
|
<span>{{ __('No {0} Found', [__('Tasks')]) }}</span>
|
||||||
<Button :label="__('Create')" @click="showTaskModal = true">
|
<Button :label="__('Create')" @click="showTaskModal = true">
|
||||||
<template #prefix><FeatherIcon name="plus" class="h-4" /></template>
|
<template #prefix><FeatherIcon name="plus" class="h-4" /></template>
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user