Initial commit
This commit is contained in:
49
app/Helpers/FormHelpers.php
Normal file
49
app/Helpers/FormHelpers.php
Normal file
@@ -0,0 +1,49 @@
|
||||
<?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] ?? [];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user