change texts

This commit is contained in:
hamid zarghami
2026-02-07 15:45:21 +03:30
parent 2096ae6046
commit f9308b470a
16 changed files with 20 additions and 20 deletions
@@ -35,7 +35,7 @@ const CartItemsList = () => {
<p>{t('EmptyStateTitle', { defaultValue: 'سبد خرید شما خالی است' })}</p>
<p className='text-xs'>
{t('EmptyStateDescription', {
defaultValue: 'برای افزودن غذا، به منوی رستوران برگردید.',
defaultValue: 'برای افزودن کالا، به منوی فروشگاه برگردید.',
})}
</p>
</div>
+1 -1
View File
@@ -95,7 +95,7 @@ const CartIndex = () => {
<p>{t('EmptyStateTitle', { defaultValue: 'سبد خرید شما خالی است' })}</p>
<p className='text-xs'>
{t('EmptyStateDescription', {
defaultValue: 'برای افزودن غذا، به منوی رستوران برگردید.',
defaultValue: 'برای افزودن کالا، به منوی فروشگاه برگردید.',
})}
</p>
</div>
@@ -23,7 +23,7 @@ const getDeliveryMethodTitle = (method: string) => {
case 'pickup':
return 'تحویل حضوری';
case 'dineIn':
return 'سرو در رستوران';
return 'سرو در فروشگاه';
default:
return 'روش ارسال';
}
+1 -1
View File
@@ -93,7 +93,7 @@ function FoodPage({ }: Props) {
if (!food?.data) {
return (
<div className='flex items-center justify-center min-h-[400px]'>
<p className='text-disabled-text'>غذا یافت نشد</p>
<p className='text-disabled-text'>کالا یافت نشد</p>
</div>
);
}
+1 -1
View File
@@ -114,7 +114,7 @@ function AboutPage() {
{restaurant.images && restaurant.images.length > 0 && (
<div className='inline-flex gap-2 mt-[23px] items-center'>
<Gallery size={20} className='stroke-disabled-text' />
<span className='text-sm2 text-disabled-text font-medium pt-0.5'>عکس های رستوران</span>
<span className='text-sm2 text-disabled-text font-medium pt-0.5'>عکس های فروشگاه</span>
</div>
)}
</div>
@@ -8,7 +8,7 @@ import { InfoCircle, Star1 } from 'iconsax-react';
const AboutSkeleton = () => {
const firstTabSkeleton = () => (
<section className='py-4'>
{/* اطلاعات رستوران */}
{/* اطلاعات فروشگاه */}
<section className="bg-container rounded-container shadow-container p-4">
<div className="flex justify-between items-center border-b-[1.5px] border-gray-200 pb-[25px]">
<div className="flex-1">
@@ -52,7 +52,7 @@ const MenuFilterDrawer = ({
},
{
id: "inPlace",
title: "سرو در رستوران",
title: "سرو در فروشگاه",
label: "",
},
];
+1 -1
View File
@@ -207,7 +207,7 @@ const MenuIndex = () => {
<VerticalScrollView className="mt-5! overflow-y-auto h-full">
{filteredReceiptItems.length === 0 ? (
<div className="text-center text-foreground/60 py-8">
{foodsData ? 'غذایی یافت نشد' : 'در حال بارگذاری...'}
{foodsData ? 'کالایی یافت نشد' : 'در حال بارگذاری...'}
</div>
) : (
filteredReceiptItems.map((food) => (
+1 -1
View File
@@ -86,7 +86,7 @@ function FavoritePage() {
<div className='flex flex-col items-center gap-2 text-sm2 text-muted-foreground'>
<p>شما هیچ مورد علاقهمندی ثبت نکردهاید</p>
<p className='text-xs'>
برای افزودن غذا به علاقهمندیها، به صفحه جزئیات غذا بروید
برای افزودن کالا به علاقهمندیها، به صفحه جزئیات کالا بروید
</p>
</div>
</div>
@@ -87,7 +87,7 @@ function OrderTrackingPage() {
const iconHtml = `
<div style="display: flex; flex-direction: column; align-items: center; text-align: center;">
<img src="/icons/restaurant-marker.svg" alt="موقعیت رستوران" style="width: 32px; height: 40px; display: block;" />
<img src="/icons/restaurant-marker.svg" alt="موقعیت فروشگاه" style="width: 32px; height: 40px; display: block;" />
</div>
`;
@@ -101,7 +101,7 @@ function OrderTrackingPage() {
if (restaurantPosition) {
markersToSet.push({
position: restaurantPosition,
title: 'موقعیت رستوران',
title: 'موقعیت فروشگاه',
icon: L.divIcon({
html: iconHtml,
className: 'custom-restaurant-marker',