fix: locale text in chats page

This commit is contained in:
Mahyar Khanbolooki
2025-07-31 19:56:15 +03:30
parent 63a38b56f8
commit 7466822c70
+2 -1
View File
@@ -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">