public function replacePlaceholdersInAdminPublishMail(ClientSurvey $client_survey, EmailType $type, string $template, string $lang): array|string 	{ 		$email_template = __('email-templates.admin-publish-default-template-with-placeholders'); 		$survey_email_template = $client_survey->emailTemplates()->where('type', $type->value)->first();  		if ($survey_email_template) { 			return $template; 		}  		$link = str_replace(':link', $client_survey->domain->getFrontBaseDomainUrlForClient(), __('email-templates.admin-publish-default-template-link', [], $lang));  		return str_replace(':login_user_interface', $link, $email_template); 	}