Browse Source

feat: add navigation configuration and multi-language support translation files

master
parent
commit
655cdba7dd
  1. 6
      src/config/navigation.ts
  2. 1
      src/locales/ar.json
  3. 1
      src/locales/en.json
  4. 1
      src/locales/fa.json

6
src/config/navigation.ts

@ -52,6 +52,12 @@ export function getNavigationConfig(t: (key: string) => string): NavGroupConfig[
to: '/tours/ongoing', to: '/tours/ongoing',
icon: 'calendar', icon: 'calendar',
}, },
{
title: t('navigation.customTrip'),
titleKey: 'navigation.customTrip',
to: '/tours/custom-trip',
icon: 'sparkles',
},
], ],
}, },
{ title: t('navigation.simcard'), titleKey: 'navigation.simcard', to: '/services/simcard', icon: 'simcard' }, { title: t('navigation.simcard'), titleKey: 'navigation.simcard', to: '/services/simcard', icon: 'simcard' },

1
src/locales/ar.json

@ -8,6 +8,7 @@
"tours": "الرحلات", "tours": "الرحلات",
"allTours": "جميع الرحلات", "allTours": "جميع الرحلات",
"ongoingTours": "الرحلات الجارية", "ongoingTours": "الرحلات الجارية",
"customTrip": "رحلة مخصصة (Custom Trip)",
"tourOrders": "الطلبات والحجوزات", "tourOrders": "الطلبات والحجوزات",
"services": "مركز الخدمات (الكل)", "services": "مركز الخدمات (الكل)",
"simcard": "شريحة الاتصال (Simcard)", "simcard": "شريحة الاتصال (Simcard)",

1
src/locales/en.json

@ -8,6 +8,7 @@
"tours": "Tours", "tours": "Tours",
"allTours": "All Tours", "allTours": "All Tours",
"ongoingTours": "Ongoing Tours", "ongoingTours": "Ongoing Tours",
"customTrip": "Custom Trip",
"tourOrders": "Orders & Bookings", "tourOrders": "Orders & Bookings",
"services": "Services Center", "services": "Services Center",
"simcard": "SIM Card", "simcard": "SIM Card",

1
src/locales/fa.json

@ -8,6 +8,7 @@
"tours": "تورها", "tours": "تورها",
"allTours": "فهرست همه تورها", "allTours": "فهرست همه تورها",
"ongoingTours": "تورهای در حال برگزاری", "ongoingTours": "تورهای در حال برگزاری",
"customTrip": "سفر اختصاصی (Custom Trip)",
"tourOrders": "سفارشات و رزروها", "tourOrders": "سفارشات و رزروها",
"services": "مرکز خدمات (همه)", "services": "مرکز خدمات (همه)",
"simcard": "سیم‌کارت (Simcard)", "simcard": "سیم‌کارت (Simcard)",

Loading…
Cancel
Save