fix: locale text in chats page
This commit is contained in:
@@ -13,6 +13,7 @@ import { useTranslation } from 'react-i18next';
|
||||
import { motion } from 'framer-motion';
|
||||
import { LongPressCallbackMeta, LongPressReactEvents, useLongPress } from 'use-long-press'
|
||||
import { useRouter } from 'next/navigation';
|
||||
import { ef } from '@/lib/helpers/utfNumbers';
|
||||
|
||||
type Props = object
|
||||
|
||||
@@ -232,7 +233,7 @@ function ChatIndex({ }: Props) {
|
||||
{tDeleteModal('Heading')}
|
||||
</h2>
|
||||
<p className="text-xs font-medium mt-6">
|
||||
{tDeleteModal('Description')}
|
||||
{tDeleteModal('Description').replace('{count}', ef(selectedChats.length))}
|
||||
</p>
|
||||
<div className="grid grid-cols-2 gap-5.5 mt-8">
|
||||
<Button onClick={deleteSelectedChats} className="text-sm font-normal">
|
||||
|
||||
Reference in New Issue
Block a user