Improve the Arabic translation for settings and profile management
Updates the Arabic translation file and profile page to include missing keys. Replit-Commit-Author: Agent Replit-Commit-Session-Id: d7e7c4e8-20cb-41c4-9d0e-79f48938fede Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9777c70b-fc38-4831-8d6b-78dfffe041b0/3d77e83f-f746-4066-8eca-8a8df2c8f21f.jpg
This commit is contained in:
@@ -257,7 +257,69 @@
|
|||||||
"changePassword": "تغيير كلمة المرور",
|
"changePassword": "تغيير كلمة المرور",
|
||||||
"deleteAccount": "حذف الحساب",
|
"deleteAccount": "حذف الحساب",
|
||||||
"backup": "نسخ احتياطي",
|
"backup": "نسخ احتياطي",
|
||||||
"restore": "استعادة"
|
"restore": "استعادة",
|
||||||
|
"profile": "الملف الشخصي",
|
||||||
|
"profileDescription": "إدارة معلومات ملفك الشخصي وتفضيلاتك",
|
||||||
|
"personalInfo": "المعلومات الشخصية",
|
||||||
|
"fullName": "الاسم الكامل",
|
||||||
|
"email": "البريد الإلكتروني",
|
||||||
|
"username": "اسم المستخدم",
|
||||||
|
"preferences": "التفضيلات",
|
||||||
|
"enableVoiceCommands": "تفعيل الأوامر الصوتية",
|
||||||
|
"enableVoiceCommandsDesc": "السماح بالتحكم الصوتي في التطبيق",
|
||||||
|
"defaultLanguage": "اللغة الافتراضية",
|
||||||
|
"defaultLanguageDesc": "اختر اللغة المفضلة للواجهة",
|
||||||
|
"timeZone": "المنطقة الزمنية",
|
||||||
|
"selectTimeZone": "اختر المنطقة الزمنية",
|
||||||
|
"updateProfile": "تحديث الملف الشخصي",
|
||||||
|
"profileUpdated": "تم تحديث الملف الشخصي بنجاح",
|
||||||
|
"security": "الأمان",
|
||||||
|
"securityDescription": "إدارة إعدادات الأمان وكلمات المرور",
|
||||||
|
"password": "كلمة المرور",
|
||||||
|
"changePasswordDesc": "تحديث كلمة المرور لحسابك",
|
||||||
|
"currentPassword": "كلمة المرور الحالية",
|
||||||
|
"newPassword": "كلمة المرور الجديدة",
|
||||||
|
"confirmNewPassword": "تأكيد كلمة المرور الجديدة",
|
||||||
|
"twoFactorAuth": "المصادقة الثنائية",
|
||||||
|
"enableTwoFactorAuth": "تفعيل المصادقة الثنائية",
|
||||||
|
"twoFactorAuthDesc": "إضافة طبقة حماية إضافية لحسابك",
|
||||||
|
"sessionManagement": "إدارة الجلسات",
|
||||||
|
"activeSessions": "الجلسات النشطة",
|
||||||
|
"logoutAllDevices": "تسجيل الخروج من جميع الأجهزة",
|
||||||
|
"appearanceDescription": "تخصيص مظهر وشكل التطبيق",
|
||||||
|
"themeSelection": "اختيار السمة",
|
||||||
|
"themeSelectionDesc": "اختر بين الوضع الفاتح والداكن أو سمة النظام",
|
||||||
|
"uiCustomization": "تخصيص الواجهة",
|
||||||
|
"fontSizeDesc": "تعديل حجم النص في التطبيق",
|
||||||
|
"compactMode": "الوضع المضغوط",
|
||||||
|
"compactModeDesc": "عرض المزيد من المحتوى في مساحة أقل",
|
||||||
|
"animationsEnabled": "تفعيل الحركات",
|
||||||
|
"animationsEnabledDesc": "إظهار حركات انتقالية سلسة",
|
||||||
|
"rtlSupport": "دعم الكتابة من اليمين إلى اليسار",
|
||||||
|
"rtlSupportDesc": "تحسين التخطيط للغات من اليمين إلى اليسار",
|
||||||
|
"aiModels": "نماذج الذكاء الاصطناعي",
|
||||||
|
"aiModelsDescription": "تكوين نماذج الذكاء الاصطناعي وتفضيلات المعالجة",
|
||||||
|
"aiResponseModel": "نموذج الاستجابة للذكاء الاصطناعي",
|
||||||
|
"aiResponseModelDesc": "اختر نموذج الذكاء الاصطناعي لإنشاء الاستجابات",
|
||||||
|
"voiceProcessing": "معالجة الصوت",
|
||||||
|
"voiceProcessingDesc": "اختر محرك التعرف على الصوت",
|
||||||
|
"aiSuggestions": "اقتراحات الذكاء الاصطناعي",
|
||||||
|
"aiSuggestionsDesc": "تفعيل اقتراحات ذكية للمهام والشؤون المالية",
|
||||||
|
"localProcessing": "المعالجة المحلية",
|
||||||
|
"localProcessingDesc": "معالجة طلبات الذكاء الاصطناعي محلياً عند الإمكان",
|
||||||
|
"learningMode": "وضع التعلم",
|
||||||
|
"learningModeDesc": "السماح للذكاء الاصطناعي بالتعلم من أنماط استخدامك",
|
||||||
|
"currentModelStatus": "حالة النموذج الحالي",
|
||||||
|
"apiUsage": "استخدام API",
|
||||||
|
"saveAIModelSettings": "حفظ إعدادات نماذج الذكاء الاصطناعي",
|
||||||
|
"claude3Sonnet": "Claude 3 Sonnet",
|
||||||
|
"gpt4": "GPT-4",
|
||||||
|
"geminiPro": "Gemini Pro",
|
||||||
|
"whisper": "OpenAI Whisper",
|
||||||
|
"browserNative": "متصفح أصلي",
|
||||||
|
"azureSpeech": "Azure Speech",
|
||||||
|
"active": "نشط",
|
||||||
|
"requestsThisMonth": "طلب هذا الشهر"
|
||||||
},
|
},
|
||||||
"auth": {
|
"auth": {
|
||||||
"login": "تسجيل الدخول",
|
"login": "تسجيل الدخول",
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ export default function SettingsPage() {
|
|||||||
const [profile, setProfile] = useState({
|
const [profile, setProfile] = useState({
|
||||||
username: user?.username || "",
|
username: user?.username || "",
|
||||||
email: user?.email || "",
|
email: user?.email || "",
|
||||||
fullName: user?.fullName || "",
|
fullName: `${user?.firstName || ""} ${user?.lastName || ""}`.trim() || user?.username || "",
|
||||||
});
|
});
|
||||||
const [notifications, setNotifications] = useState({
|
const [notifications, setNotifications] = useState({
|
||||||
emailNotifications: true,
|
emailNotifications: true,
|
||||||
@@ -91,16 +91,16 @@ export default function SettingsPage() {
|
|||||||
<TabsContent value="profile">
|
<TabsContent value="profile">
|
||||||
<Card>
|
<Card>
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
<CardTitle>Profile Information</CardTitle>
|
<CardTitle>{t('settings.profile')}</CardTitle>
|
||||||
<CardDescription>
|
<CardDescription>
|
||||||
Update your personal information and account details.
|
{t('settings.profileDescription')}
|
||||||
</CardDescription>
|
</CardDescription>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
<form onSubmit={handleProfileUpdate} className="space-y-4">
|
<form onSubmit={handleProfileUpdate} className="space-y-4">
|
||||||
<div className="grid grid-cols-2 gap-4">
|
<div className="grid grid-cols-2 gap-4">
|
||||||
<div className="space-y-2">
|
<div className="space-y-2">
|
||||||
<Label htmlFor="username">Username</Label>
|
<Label htmlFor="username">{t('auth.username')}</Label>
|
||||||
<Input
|
<Input
|
||||||
id="username"
|
id="username"
|
||||||
value={profile.username}
|
value={profile.username}
|
||||||
|
|||||||
Reference in New Issue
Block a user