Complete Phase 1 implementation of YTDescGen: - Project setup: Vite 5 + React 18 + TypeScript strict + Tailwind CSS dark theme - Config layer: 7 video types, 10 genres, 7 platforms, rig/social fields - i18n: EN/VI/JA with separate UI and template namespaces + validation script - Core engine: title-builder, description-builder, tag-generator (pure TS, zero React) - 42 unit tests covering all engine functions - Zustand stores: editor + settings with localStorage persistence - UI: 6 primitives, 11 editor components, 4 output components, 3 layout components - Pages: Editor (form + quick preview) and Output (title/desc/tags + copy) - CI/CD: GitHub Actions for lint/typecheck/test/build + GitHub Pages deploy Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
44 lines
2.0 KiB
JSON
44 lines
2.0 KiB
JSON
{
|
|
"ui": {
|
|
"app": ["title", "subtitle"],
|
|
"tabs": ["editor", "output"],
|
|
"editor": [
|
|
"videoType", "language", "genre", "gameName", "gameNamePlaceholder",
|
|
"channelName", "channelNamePlaceholder", "platform",
|
|
"partNumber", "partNumberPlaceholder", "bossName", "bossNamePlaceholder",
|
|
"dlcName", "dlcNamePlaceholder", "challengeName", "challengeNamePlaceholder",
|
|
"resolution", "fps", "graphicsPreset",
|
|
"timestamps", "timestampsPlaceholder",
|
|
"storeLinks", "rig", "social", "warnings",
|
|
"spoilerWarning", "matureWarning",
|
|
"playlistLink", "playlistLinkPlaceholder",
|
|
"contactEmail", "contactEmailPlaceholder",
|
|
"videoSettings", "quickPreview"
|
|
],
|
|
"output": [
|
|
"title", "description", "tags",
|
|
"copyTitle", "copyDescription", "copyTags", "copyAll",
|
|
"copied", "charCount"
|
|
],
|
|
"common": ["save", "cancel", "delete", "confirm", "export", "import", "reset", "search", "generate"],
|
|
"videoTypes": ["full", "part", "boss", "boss_nohit", "ending", "speedrun", "100percent"],
|
|
"genres": ["action", "horror", "rpg", "fps", "openworld", "indie", "soulslike", "racing", "story", "simulation"],
|
|
"rig": ["cpu", "gpu", "ram", "storage", "monitor", "capture"],
|
|
"social": ["kofi", "patreon", "buymeacoffee", "paypal", "github", "twitter", "discord", "website"],
|
|
"resolutions": ["720p", "1080p", "1440p", "4K"],
|
|
"fpsOptions": ["30", "60", "120", "144"]
|
|
},
|
|
"templates": {
|
|
"title": ["separator", "suffix"],
|
|
"title.videoType": ["full", "part", "boss", "boss_nohit", "ending", "speedrun", "100percent"],
|
|
"description.intro": ["full", "part", "boss", "boss_nohit", "ending", "speedrun", "100percent"],
|
|
"description": ["noCommentaryLine"],
|
|
"description.sections": [
|
|
"timestamps", "storeLinks", "videoSettings", "rig",
|
|
"spoilerWarning", "matureWarning", "donate", "social",
|
|
"playlist", "contact", "cta"
|
|
],
|
|
"hashtags": ["gameplay", "noCommentary", "genre"]
|
|
}
|
|
}
|