{{ app()->getLocale() == 'en' ? 'System' : 'Sistem' }} {{ app()->getLocale() == 'en' ? 'User Profile' : 'Profil Pengguna' }}

{{ __('Profile Information') }}

{{ app()->getLocale() == 'en' ? 'Manage your identity, security preferences, and system localization.' : 'Kelola identitas, preferensi keamanan, dan lokalisasi sistem Anda.' }}

{{ $user->name }}

{{ $user->name }}

{{ $user->email }}

{{ app()->getLocale() == 'en' ? 'Member Since' : 'Anggota Sejak' }}

{{ $user->created_at->format('M d, Y') }}

{{ app()->getLocale() == 'en' ? 'Security Overview' : 'Ikhtisar Keamanan' }}

{{ app()->getLocale() == 'en' ? '2FA Protected' : 'Dilindungi 2FA' }}
{{ app()->getLocale() == 'en' ? 'Last Login' : 'Login Terakhir' }}

{{ $user->last_login_at ? $user->last_login_at->diffForHumans() : (app()->getLocale() == 'en' ? 'Never' : 'Belum Pernah') }}

{{ $user->last_login_ip ?? '0.0.0.0' }}

{{ app()->getLocale() == 'en' ? 'Recent Activity' : 'Aktivitas Terbaru' }}

@forelse($activityLogs as $log)

{{ $log->description }}

{{ $log->created_at->diffForHumans() }}

@empty

{{ app()->getLocale() == 'en' ? 'No recent activity recorded.' : 'Tidak ada aktivitas terbaru yang tercatat.' }}

@endforelse
@include('profile.partials.update-profile-information-form')
@include('profile.partials.update-password-form')

{{ app()->getLocale() == 'en' ? 'Security: Danger Zone' : 'Keamanan: Zona Bahaya' }}

{{ app()->getLocale() == 'en' ? 'Irreversible actions that will remove your access permanently.' : 'Tindakan tidak dapat dibatalkan yang akan menghapus akses Anda secara permanen.' }}

@include('profile.partials.delete-user-form')