This commit is contained in:
root
2026-05-22 02:43:13 -04:00
parent 191fb3cb4e
commit 99c429d69c
21 changed files with 276 additions and 94 deletions
@@ -35,7 +35,7 @@ export default function RenterNotificationsPage() {
renter: 'Client',
title: 'Notifications',
markAll: 'Tout marquer comme lu',
back: 'Retour au dashboard',
back: 'Retour au tableau de bord',
loading: 'Chargement des notifications…',
empty: 'Aucune notification client pour le moment.',
read: 'Lu',
@@ -47,12 +47,12 @@ export default function RenterNotificationsPage() {
updateAll: 'تعذر تحديث الإشعارات.',
renter: 'المستأجر',
title: 'الإشعارات',
markAll: حديد الكل كمقروء',
back: 'العودة إلى اللوحة',
markAll: عيين الكل كمقروء',
back: 'العودة إلى بوابة المستأجر',
loading: 'جارٍ تحميل الإشعارات…',
empty: 'لا توجد إشعارات للمستأجر حالياً.',
read: 'مقروء',
markRead: حديد كمقروء',
markRead: عيين كمقروء',
},
}[language]
const [notifications, setNotifications] = useState<RenterNotification[]>([])