<?php

namespace App\Services;

use App\Models\AdditionalActivityTranslation;
use App\Services\TranslationDiff\BaseTranslationDiffService;

class ActivityTranslationDiffService extends BaseTranslationDiffService
{
    public function diff(
        AdditionalActivityTranslation $franchiseTranslation,
        AdditionalActivityTranslation $globalTranslation
    ): array {
        return $this->buildDiff($franchiseTranslation, $globalTranslation);
    }

    protected function includedFields(): array
    {
        return [
            'title',
            'seo_title',
            'seo_description',
            'activity_icon',
            'activity_details',
        ];
    }

    protected function fieldLabels(): array
    {
        return [
            'activity.slug' => 'Slug',
            'activity.activity_icon' => 'Activity Icon',
            'title' => 'Title',
            'seo_title' => 'SEO Title',
            'seo_description' => 'SEO Meta Description',
            'activity_icon' => 'Activity Icon',
            'activity_details.age' => 'Age',
            'activity_details.tag' => 'Tag',
            'activity_details.duration' => 'Duration',
            'activity_details.activity_name' => 'Activity Name',
            'activity_details.activity_heading' => 'Activity Heading',
            'activity_details.activity_description' => 'Activity Description',
            'activity_details.workshop_details.objectives.heading' => 'Objectives Heading',
            'activity_details.workshop_details.action_text.title' => 'Action Text Title',
            'activity_details.workshop_details.discover_section.heading' => 'Discover Section Heading',
        ];
    }
}
