50 lines
1.9 KiB
PHP
50 lines
1.9 KiB
PHP
<?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",
|
|
],
|
|
];
|
|
|
|
public static function getEntryFormWords( string $section ){
|
|
return self::$formWords[$section] ?? [];
|
|
}
|
|
}
|