<?php

namespace App\Helpers;

class FormHelpers {

    private static array $formWords = [
        'translations' => [
            'page_title' => "Submit a translation",
            'about_the' => "About the translation",
            'entry_title' => "Custom title",
            'entry_title_helper' => "If the translation have a custom title. If not, leave it blank and the game title will be taken.",
            'version' => "Patch version",
            'status' => "Status",
            'release_date' => "Release date",
            'release_date_helper' => "If only initial release exist, the release date.",
            'description' => "Description",
            'about_game' => "Game Information",
            'attachments' => "Attachments",
            'authors' => "Team members",
            'related_links' => "Related links",
            'release_site' => "Release site",
            'release_site_helper' => "Project entry on site/blog/forum/Github.",
            'youtube_video' => "YouTube video",
        ],
        'romhacks' => [
            'page_title' => "Submit a romhack",
            'about_the' => "About the romhack",
            'entry_title' => "Hack title",
            'type_of_hack' => "Type of hack",
            'version' => "Patch version",
            'status' => "Status",
            'release_date' => "Release date",
            'release_date_helper' => "If only initial release exist, the release date.",
            'description' => "Description",
            'about_game' => "Game Information",
            'attachments' => "Attachments",
            'authors' => "Team members",
            'related_links' => "Related links",
            'release_site' => "Release site",
            'release_site_helper' => "Project entry on site/blog/forum/Github.",
            'youtube_video' => "YouTube video",
        ],
        'homebrew' => [
            'page_title' => "Submit an homebrew",
            'about_the' => "About the homebrew",
            'version' => "Version",
            'status' => "Status",
            'release_date' => "Release date",
            'release_date_helper' => "If only initial release exist, the release date.",
            'description' => "Description",
            'about_game' => "Game Information",
            'attachments' => "Attachments",
            'authors' => "Team members",
            'related_links' => "Related links",
            'release_site' => "Release site",
            'release_site_helper' => "Project entry on site/blog/forum/Github.",
            'youtube_video' => "YouTube video",
        ],
        'utilities' => [
            'page_title' => "Submit a utility",
            'entry_title' => "Title",
            'about_the' => "About the utility",
            'version' => "Version",
            'status' => "Status",
            'system' => "OS",
            'categories' => "Categories",
            'level' => "Experience Level",
            'release_date' => "Release date",
            'release_date_helper' => "If only initial release exist, the release date.",
            'description' => "Description",
            'about_game' => "Game Information",
            'attachments' => "Attachments",
            'authors' => "Team members",
            'related_links' => "Related links",
            'release_site' => "Release site",
            'release_site_helper' => "Project entry on site/blog/forum/Github.",
            'youtube_video' => "YouTube video",
        ],
        'documents' => [
            'page_title' => "Submit a document",
            'entry_title' => "Title",
            'about_the' => "About the document",
            'version' => "Version",
            'status' => "Status",
            'categories' => "Categories",
            'level' => "Experience Level",
            'release_date' => "Release date",
            'release_date_helper' => "If only initial release exist, the release date.",
            'description' => "Description",
            'about_game' => "Game Information",
            'attachments' => "Attachments",
            'authors' => "Team members",
            'related_links' => "Related links",
            'release_site' => "Release site",
            'release_site_helper' => "Project entry on site/blog/forum/Github.",
            'youtube_video' => "YouTube video",
        ],
        'lua-scripts' => [
            'page_title' => "Submit a LUA Script",
            'about_the' => "About the script",
            'entry_title' => "Title",
            'type_of_hack' => "Modifications",
            'version' => "Version",
            'status' => "Status",
            'release_date' => "Release date",
            'release_date_helper' => "If only initial release exist, the release date.",
            'description' => "Description",
            'about_game' => "Game Information",
            'attachments' => "Attachments",
            'authors' => "Team members",
            'related_links' => "Related links",
            'release_site' => "Release site",
            'release_site_helper' => "Project entry on site/blog/forum/Github.",
            'youtube_video' => "YouTube video",
        ],
    ];

    public static function getEntryFormWords( string $section ){
        return self::$formWords[$section] ?? [];
    }
}
