diff --git a/lang/ar/navigation.php b/lang/ar/navigation.php index 4b51d18..5d76abb 100644 --- a/lang/ar/navigation.php +++ b/lang/ar/navigation.php @@ -44,4 +44,12 @@ return [ 'working_hours' => 'ساعات العمل', 'blocked_times' => 'الأوقات المحظورة', 'legal_pages' => 'الصفحات القانونية', + + // Settings Page Headings + 'profile_heading' => 'الملف الشخصي', + 'profile_subheading' => 'تحديث الاسم والبريد الإلكتروني', + 'password_heading' => 'تحديث كلمة المرور', + 'password_subheading' => 'تأكد من استخدام كلمة مرور طويلة وعشوائية للحفاظ على الأمان', + 'two_factor_heading' => 'المصادقة الثنائية', + 'two_factor_subheading' => 'إدارة إعدادات المصادقة الثنائية', ]; diff --git a/lang/en/navigation.php b/lang/en/navigation.php index 88368f5..fe7d303 100644 --- a/lang/en/navigation.php +++ b/lang/en/navigation.php @@ -44,4 +44,12 @@ return [ 'working_hours' => 'Working Hours', 'blocked_times' => 'Blocked Times', 'legal_pages' => 'Legal Pages', + + // Settings Page Headings + 'profile_heading' => 'Profile', + 'profile_subheading' => 'Update your name and email address', + 'password_heading' => 'Update password', + 'password_subheading' => 'Ensure your account is using a long, random password to stay secure', + 'two_factor_heading' => 'Two Factor Authentication', + 'two_factor_subheading' => 'Manage your two-factor authentication settings', ]; diff --git a/resources/views/components/settings/layout.blade.php b/resources/views/components/settings/layout.blade.php index 21b01e0..eeca473 100644 --- a/resources/views/components/settings/layout.blade.php +++ b/resources/views/components/settings/layout.blade.php @@ -1,10 +1,10 @@
- {{ __('Profile') }} - {{ __('Password') }} + {{ __('navigation.profile') }} + {{ __('navigation.password') }} @if (Laravel\Fortify\Features::canManageTwoFactorAuthentication()) - {{ __('Two-Factor Auth') }} + {{ __('navigation.two_factor') }} @endif
diff --git a/resources/views/livewire/settings/password.blade.php b/resources/views/livewire/settings/password.blade.php index c46919a..b149860 100644 --- a/resources/views/livewire/settings/password.blade.php +++ b/resources/views/livewire/settings/password.blade.php @@ -39,7 +39,7 @@ new class extends Component {
@include('partials.settings-heading') - +
@include('partials.settings-heading') - + diff --git a/resources/views/livewire/settings/two-factor.blade.php b/resources/views/livewire/settings/two-factor.blade.php index 7543259..8f4bfa4 100644 --- a/resources/views/livewire/settings/two-factor.blade.php +++ b/resources/views/livewire/settings/two-factor.blade.php @@ -181,8 +181,8 @@ new class extends Component { @include('partials.settings-heading')
@if ($twoFactorEnabled)