getLocale())->first()->name) ?? null; if ($lang) { if (app()->getLocale() != 'en' ) { $translationWarning = '(' . __('messages.now_in_language', ['lang' => $lang]) . ')'; } else { $translationWarning = '(' . __('messages.in_English') . ')'; } } else { $translationWarning = ''; } $this->skillsCardLabel = __('Skills on this website') . ' ' . $translationWarning; } public function removeCyclosTags() { $profile = getActiveProfile(); if (!$profile) { return; } // CRITICAL SECURITY: Validate user has ownership/access to this profile \App\Helpers\ProfileAuthorizationHelper::authorize($profile); $profile->cyclos_skills = null; $profile->save(); $this->showCyclosReference = false; $this->dispatch('refreshSkills'); $this->skillsCardLabel = null; } public function render() { return view('livewire.profile.migrate-cyclos-profile-skills-form'); } }