diff --git a/client/src/i18n/locales/ar.json b/client/src/i18n/locales/ar.json index 5426e53..5fd3d7e 100644 --- a/client/src/i18n/locales/ar.json +++ b/client/src/i18n/locales/ar.json @@ -39,6 +39,25 @@ "logout": "تسجيل الخروج", "profile": "الملف الشخصي" }, + "auth": { + "login": "تسجيل الدخول", + "register": "إنشاء حساب", + "signup": "إنشاء حساب", + "email": "البريد الإلكتروني", + "password": "كلمة المرور", + "confirmPassword": "تأكيد كلمة المرور", + "username": "اسم المستخدم", + "firstName": "الاسم الأول", + "lastName": "الاسم الأخير", + "forgotPassword": "نسيت كلمة المرور؟", + "createAccount": "إنشاء حساب جديد", + "alreadyHaveAccount": "لديك حساب بالفعل؟", + "dontHaveAccount": "ليس لديك حساب؟", + "loginSuccess": "تم تسجيل الدخول بنجاح", + "registerSuccess": "تم إنشاء الحساب بنجاح", + "invalidCredentials": "بيانات الدخول غير صحيحة", + "accountExists": "الحساب موجود بالفعل" + }, "tasks": { "title": "المهام", "createTask": "إنشاء مهمة", diff --git a/client/src/pages/DashboardPage.tsx b/client/src/pages/DashboardPage.tsx index 02b51ff..33a5f4a 100644 --- a/client/src/pages/DashboardPage.tsx +++ b/client/src/pages/DashboardPage.tsx @@ -1,19 +1,18 @@ import { useAuth } from "@/hooks/useAuth"; import { useLocation } from "wouter"; import { useEffect, useState } from "react"; -import Header from "@/components/layout/Header"; import Sidebar from "@/components/layout/Sidebar"; import TaskList from "@/components/tasks/TaskList"; import FinancialOverview from "@/components/financial/FinancialOverview"; import VoiceRecorder from "@/components/voice/VoiceRecorder"; import VoiceIndicator from "@/components/voice/VoiceIndicator"; import DailyJoke from "@/components/ai/DailyJoke"; -import { CommandPalette } from "@/components/CommandPalette"; import { useVoiceContext } from "@/context/VoiceProvider"; import { useNotifications } from "@/context/NotificationProvider"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import { Badge } from "@/components/ui/badge"; +import { CardSkeleton, PageSkeleton } from "@/components/ui/loading-skeleton"; import { Calendar, DollarSign,