Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
406d68b19e | ||
|
|
00d19202f4 | ||
|
|
2ec146712b | ||
|
|
966da96d1b | ||
|
|
c9840c88a1 | ||
|
|
e6e49d329a | ||
|
|
bd2660e73a | ||
|
|
f7ebd1f078 | ||
|
|
4e64d5a25a | ||
|
|
a0d20617e2 | ||
|
|
43c77c99d4 | ||
|
|
14bb517a9a | ||
|
|
0b9dfcb0e6 | ||
|
|
404efa9a92 | ||
|
|
63212ef4b6 | ||
|
|
abb0a624d5 | ||
|
|
6fb476f7a5 | ||
|
|
9a6aafb173 | ||
|
|
d1cc09918b | ||
|
|
d5c0b2439f | ||
|
|
760c2090ca | ||
|
|
ebb819eec9 | ||
|
|
b4919d6075 | ||
|
|
3ebf3e0843 | ||
|
|
c4c65d8195 | ||
|
|
191985d218 | ||
|
|
49c0206744 | ||
|
|
92c453ab3c | ||
|
|
cacb1df694 | ||
|
|
d039378862 | ||
|
|
a325a5b44e | ||
|
|
6fd209e85c | ||
|
|
fa3ce87f61 | ||
|
|
25f0d0705f | ||
|
|
3f0622ac23 | ||
|
|
fa4c0534f4 | ||
|
|
d94e6ac024 | ||
|
|
a1ba3e5ba0 | ||
|
|
4d974bbfc6 |
No files matched your search
@@ -0,0 +1,6 @@
|
||||
github: poli0981
|
||||
ko_fi: skullmute
|
||||
buy_me_a_coffee: skullmute
|
||||
patreon: skullmute
|
||||
custom:
|
||||
- paypal.me/DungDang212
|
||||
@@ -0,0 +1,99 @@
|
||||
name: Bug report
|
||||
description: Something is broken or behaving unexpectedly.
|
||||
title: "[Bug]: "
|
||||
labels: ["bug", "triage"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Thanks for taking the time to file a bug. Please fill in as much detail as you can —
|
||||
a clear reproduction is the difference between a fix today and a fix in 3 weeks.
|
||||
- type: input
|
||||
id: version
|
||||
attributes:
|
||||
label: App version
|
||||
description: From the About page or the title bar. Example `v0.13.0`.
|
||||
placeholder: v0.13.0
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: surface
|
||||
attributes:
|
||||
label: Where are you running YTDescGen?
|
||||
options:
|
||||
- Web (GitHub Pages)
|
||||
- Desktop — Windows (Tauri)
|
||||
- Desktop — macOS (Tauri)
|
||||
- Desktop — Linux (Tauri)
|
||||
- Local dev (npm run dev)
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: os
|
||||
attributes:
|
||||
label: Operating system
|
||||
description: e.g. Windows 11 25H2, macOS 14.6, Ubuntu 24.04
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: browser
|
||||
attributes:
|
||||
label: Browser (web only)
|
||||
description: e.g. Chrome 131, Brave 1.70, Safari 17. Leave blank for desktop.
|
||||
- type: dropdown
|
||||
id: language
|
||||
attributes:
|
||||
label: App language at the time of the bug
|
||||
options:
|
||||
- English (en)
|
||||
- Tiếng Việt (vi)
|
||||
- 日本語 (ja)
|
||||
- Español (es)
|
||||
- 한국어 (ko)
|
||||
- 中文 (zh)
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: repro
|
||||
attributes:
|
||||
label: Steps to reproduce
|
||||
description: Numbered steps. Include the exact inputs that triggered the bug.
|
||||
placeholder: |
|
||||
1. Open Editor
|
||||
2. Pick genre "Survival Horror"
|
||||
3. Toggle "eye_horror" warning
|
||||
4. Click Generate
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: expected
|
||||
attributes:
|
||||
label: Expected behavior
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: actual
|
||||
attributes:
|
||||
label: Actual behavior
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: console
|
||||
attributes:
|
||||
label: Console / log output
|
||||
description: Open DevTools (web) or the log panel (desktop) and paste any errors. Rendered as code.
|
||||
render: shell
|
||||
- type: textarea
|
||||
id: screenshots
|
||||
attributes:
|
||||
label: Screenshots / screen recording (optional)
|
||||
description: Drag and drop images or videos here.
|
||||
- type: checkboxes
|
||||
id: checks
|
||||
attributes:
|
||||
label: Pre-flight checks
|
||||
options:
|
||||
- label: I searched existing issues and this is not a duplicate.
|
||||
required: true
|
||||
- label: I'm on the latest released version (or noted my older version above).
|
||||
required: true
|
||||
@@ -0,0 +1,8 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: Discord — General chat
|
||||
url: https://discord.gg/2aNR3aVt
|
||||
about: For casual questions, gameplay chat, or quick help. Use a bug report or feature request for anything actionable.
|
||||
- name: GitHub Discussions
|
||||
url: https://github.com/poli0981/youtube-generator/discussions
|
||||
about: Ideas, Q&A, and release announcements live here.
|
||||
@@ -0,0 +1,48 @@
|
||||
name: Feature request
|
||||
description: Suggest a new feature or improvement.
|
||||
title: "[Feature]: "
|
||||
labels: ["enhancement", "triage"]
|
||||
body:
|
||||
- type: textarea
|
||||
id: problem
|
||||
attributes:
|
||||
label: Problem
|
||||
description: What pain point or workflow gap are you running into today?
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: proposal
|
||||
attributes:
|
||||
label: Proposed solution
|
||||
description: What should YTDescGen do? Be concrete — UI sketch, example output, etc.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: alternatives
|
||||
attributes:
|
||||
label: Alternatives considered
|
||||
description: Other approaches you thought about and why you ruled them out.
|
||||
- type: dropdown
|
||||
id: scope
|
||||
attributes:
|
||||
label: Scope
|
||||
description: Which surfaces does this affect?
|
||||
multiple: true
|
||||
options:
|
||||
- Editor
|
||||
- Output / preview
|
||||
- Profiles / presets
|
||||
- Templates (description, title, tags)
|
||||
- i18n / locales
|
||||
- Settings
|
||||
- Desktop (Tauri)
|
||||
- Documentation
|
||||
validations:
|
||||
required: true
|
||||
- type: checkboxes
|
||||
id: checks
|
||||
attributes:
|
||||
label: Pre-flight checks
|
||||
options:
|
||||
- label: I searched existing issues and this is not a duplicate.
|
||||
required: true
|
||||
@@ -0,0 +1,47 @@
|
||||
## Summary
|
||||
|
||||
<!-- 1-3 bullet points describing the change -->
|
||||
|
||||
-
|
||||
-
|
||||
|
||||
## Type
|
||||
|
||||
- [ ] `feat` — new feature
|
||||
- [ ] `fix` — bug fix
|
||||
- [ ] `refactor` — code change with no behavior change
|
||||
- [ ] `docs` — documentation only
|
||||
- [ ] `test` — tests only
|
||||
- [ ] `ci` — CI / build pipeline
|
||||
- [ ] `chore` — other
|
||||
|
||||
## Checklist
|
||||
|
||||
- [ ] `npm run typecheck` passes
|
||||
- [ ] `npm run lint` passes
|
||||
- [ ] `npm run validate:locales` passes (required if you touched `src/i18n/locales/` or `_schema.json`)
|
||||
- [ ] `npm run test:run` passes
|
||||
- [ ] No secrets, credentials, or PII committed
|
||||
- [ ] No new runtime dependencies without prior discussion in an issue
|
||||
- [ ] Commit messages follow `type(scope): message`
|
||||
|
||||
## UI Changes
|
||||
|
||||
<!--
|
||||
If this PR touches the UI, attach screenshots or short recordings at:
|
||||
- Desktop (≥1024px)
|
||||
- Tablet (768px)
|
||||
- Mobile (390px)
|
||||
Otherwise delete this section.
|
||||
-->
|
||||
|
||||
## AI-Assisted Contribution
|
||||
|
||||
- [ ] Yes — AI tool used: <!-- e.g. Claude Code 4.7 Opus, Cursor, GitHub Copilot -->
|
||||
- [ ] No
|
||||
|
||||
If yes: did you review every line of generated code/text yourself before submitting? <!-- yes/no -->
|
||||
|
||||
## Related Issues
|
||||
|
||||
<!-- Fixes #123, Closes #456 -->
|
||||
@@ -0,0 +1,41 @@
|
||||
name: Announce Release to Discord
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
tag:
|
||||
description: "Existing release tag to re-announce"
|
||||
required: true
|
||||
type: string
|
||||
|
||||
# `link-discussion` needs `contents: write` (to edit the release) and
|
||||
# `discussions: write` (so GitHub auto-creates the linked Discussion under
|
||||
# the configured category). The reusable announce job only needs read.
|
||||
permissions:
|
||||
contents: write
|
||||
discussions: write
|
||||
|
||||
jobs:
|
||||
link-discussion:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Link release to Announcements discussion
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# Setting --discussion-category on a published release causes
|
||||
# GitHub to auto-create the linked Discussion. Requires the
|
||||
# repo to have Discussions enabled with an "Announcements"
|
||||
# category (configured manually under repo Settings).
|
||||
run: |
|
||||
gh release edit "${{ github.event.release.tag_name || inputs.tag }}" \
|
||||
--repo "${{ github.repository }}" \
|
||||
--discussion-category "Announcements"
|
||||
|
||||
announce:
|
||||
needs: link-discussion
|
||||
uses: poli0981/.github/.github/workflows/announce-release.yml@main
|
||||
with:
|
||||
tag_override: ${{ inputs.tag || '' }}
|
||||
secrets: inherit
|
||||
@@ -0,0 +1,19 @@
|
||||
name: Notify CI Failures
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
# Match the exact `name:` of the CI workflow (.github/workflows/ci.yml).
|
||||
# Renaming CI silently breaks this filter — keep them in sync.
|
||||
workflows: ["CI"]
|
||||
types: [completed]
|
||||
|
||||
# REQUIRED: declare permissions matching the reusable workflow's needs.
|
||||
# Reusable needs `actions: read` to inspect workflow_run details.
|
||||
permissions:
|
||||
contents: read
|
||||
actions: read
|
||||
|
||||
jobs:
|
||||
notify:
|
||||
uses: poli0981/.github/.github/workflows/notify-ci-failure.yml@main
|
||||
secrets: inherit
|
||||
@@ -0,0 +1,18 @@
|
||||
name: Notify Deploy Status
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
# Match the exact `name:` of the deploy workflow
|
||||
# (.github/workflows/deploy-web.yml). Renaming it silently breaks this
|
||||
# filter — keep them in sync.
|
||||
workflows: ["Deploy to GitHub Pages"]
|
||||
types: [completed]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
actions: read
|
||||
|
||||
jobs:
|
||||
notify:
|
||||
uses: poli0981/.github/.github/workflows/notify-deploy.yml@main
|
||||
secrets: inherit
|
||||
@@ -0,0 +1,18 @@
|
||||
name: Notify Release Pipeline
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
# Match the exact `name:` of the release-pipeline producers
|
||||
# (release-desktop.yml + announce-release.yml). Renaming either silently
|
||||
# breaks this filter — keep them in sync.
|
||||
workflows: ["Release Desktop", "Announce Release to Discord"]
|
||||
types: [completed]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
actions: read
|
||||
|
||||
jobs:
|
||||
notify:
|
||||
uses: poli0981/.github/.github/workflows/notify-release-pipeline.yml@main
|
||||
secrets: inherit
|
||||
+258
@@ -2,6 +2,264 @@
|
||||
|
||||
All notable changes to YTDescGen ship as tagged releases on `main`.
|
||||
|
||||
## v0.14.1 — 2026-05-14
|
||||
|
||||
Same-day patch on v0.14.0. Two desktop-only items closing user-reported
|
||||
issues on Windows + a small Settings convenience.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Windows "cannot find ... `AppData\Roaming\com.skullmute.ytdescgen`"** when clicking *Settings → Open Folder* on a fresh install ([`src/pages/SettingsPage.tsx:25-35`](src/pages/SettingsPage.tsx)). Root cause: `appDataDir()` only resolves the path string — the directory itself is created lazily on the first `save_to_file` write, so first-run users hit the OS shell before any setting had been persisted. New Rust command `ensure_dir(path)` ([`src-tauri/src/lib.rs:18-27`](src-tauri/src/lib.rs)) wraps `std::fs::create_dir_all` and is invoked before both `openPath(dir)` and `read_from_file` in `exportSettingsToFile`, so the shell + read paths can never encounter a non-existent folder.
|
||||
|
||||
### Added
|
||||
|
||||
- **Settings → Import button** (Tauri-only, next to *Export*). Reads a `.json` settings file via the existing `loadFile()` Tauri dialog, accepts either the full multi-store dump produced by *Export* (object keyed by `ytdescgen-settings`) or a bare `SettingsData` payload, runs it through `healSettings()` to back-fill any missing keys, then dispatches via `useSettingsStore.setState`. Theme class on `<html>` is re-applied directly because `setState` bypasses the `setTheme` action. Five distinct failure modes get their own toast: dialog-cancel (silent), `read_from_file` error, empty file, JSON parse error, non-object root. Each failure logs to the in-app logger with the source `"settings"` so it surfaces in the Logs tab without leaving the UI.
|
||||
|
||||
### Under the hood
|
||||
|
||||
- New Tauri command `ensure_dir` registered in `invoke_handler!` macro alongside `save_to_file` and `read_from_file`. Pure stdlib — no new crates.
|
||||
- `exportSettingsToFile` also pre-creates the data folder so *Export* works on a fresh install without first triggering any other write.
|
||||
- Settings store gained no schema fields; the import path reuses the existing `healSettings` (v9) for back-fill so no `version` bump on the persist store.
|
||||
- 350/350 tests still pass; lint + typecheck clean.
|
||||
- Bundle: SettingsPage chunk grew ~0.18 KB raw for the new icon import + import handler; main bundle and overall gzip totals unchanged.
|
||||
|
||||
### Migration notes
|
||||
|
||||
- No store schema bump. Existing v0.14.0 installs upgrade in place.
|
||||
- Web (GitHub Pages) build is unchanged — both fixes are Tauri-only by virtue of the `IS_TAURI` gate on the Settings toolbar.
|
||||
|
||||
## v0.14.0 — 2026-05-14
|
||||
|
||||
Three independent strands land together:
|
||||
|
||||
1. **License flip MIT → Apache-2.0.** The repo previously claimed MIT in README/CLAUDE.md but had no `LICENSE` file. Adds canonical Apache License 2.0 text, a `NOTICE` asserting copyright + AI-assisted-development disclosure, and the `license` field in `package.json` + `src-tauri/Cargo.toml`. Per the production-docs spec.
|
||||
2. **Content warnings 69 → 91** across a new 8th group `gameplay_disclosure`. Adds horror-channel staples plus transparency disclosures for non-vanilla play. See "Added" below for the full ID list.
|
||||
3. **Mobile-responsive web** without PWA or Tauri-mobile. The GitHub Pages build is now usable on phones (drawer nav below `md`, touch-sized form controls, iOS-safe focus behavior, safe-area-inset padding for notch/home indicator).
|
||||
|
||||
Plus a documentation sweep: full `README.md` rewrite, new root policy files for public release (`SECURITY`, `CONTRIBUTING`, `CODE_OF_CONDUCT`, `PRIVACY`, `DISCLAIMER`, `TERMS`, `THIRD_PARTY_NOTICES`, `MAINTAINERS`), `docs/DEVELOPMENT.md` merging the deleted `pc_spec.md` + `dev_env.md`, Vietnamese mirrors for DEVELOPMENT and DISCLAIMER, and a `.github/PULL_REQUEST_TEMPLATE.md`.
|
||||
|
||||
### Added
|
||||
|
||||
- **`LICENSE`** (root) — canonical Apache License 2.0 text. **`NOTICE`** asserting `Copyright 2026 poli0981` + Claude Code 4.7 Opus (1M context) co-authorship disclosure. `license` field added to `package.json` and `src-tauri/Cargo.toml`.
|
||||
- **22 new content-warning IDs** across 8 groups ([src/engine/types.ts](src/engine/types.ts), [src/config/content-warning-groups.ts](src/config/content-warning-groups.ts)):
|
||||
- Phobias (+3): `coulrophobia` (clowns), `ablutophobia` (drowning), `taphophobia` (live burial).
|
||||
- Photosensitive (+2): `strobe_effects`, `screen_shake_intense`.
|
||||
- Mental Health (+3): `paranoia_themes`, `intrusive_thoughts`, `medical_horror`.
|
||||
- Sensitive (+3): `human_experimentation`, `cannibalism`, `nuclear_themes`.
|
||||
- Horror-Specific (+5): `liminal_spaces`, `analog_horror`, `unreality_themes`, `pursuit_chase`, `entity_horror`.
|
||||
- Playstyle (+2): `first_time_playing`, `returning_player`.
|
||||
- **NEW group Gameplay Disclosure (+4)**: `mods_used`, `cheats_enabled`, `glitch_exploits`, `assisted_run`.
|
||||
- **`src/components/ui/Drawer.tsx`** — slide-in mobile-nav drawer. Reuses overlay + Esc patterns from `Modal.tsx`; body-scroll lock + safe-area-inset padding; tap-outside-to-close.
|
||||
- **`tailwind.config.ts`** — `theme.extend.spacing.touch = "44px"` (iOS HIG minimum), exposed via `min-h-touch` / `h-touch` utilities.
|
||||
- **Mobile keyboard hints** — `inputMode` / `autoComplete` / `enterKeyHint` on game-name, channel-name, contact-email, and playlist-URL fields so iOS shows the right keyboard.
|
||||
- **Root policy file set** for public release: `SECURITY.md` (private-disclosure flow), `CONTRIBUTING.md` (PR process, validate:locales gate, auto-ignore rules), `CODE_OF_CONDUCT.md` (Contributor Covenant v2.1 link), `PRIVACY.md` (offline-first, localStorage keys listed, GDPR/CCPA), `DISCLAIMER.md` (AI-assistance + translation-quality disclosure), `TERMS.md` (Apache-2.0 + GitHub ToS + GDPR/CCPA/PIPL/LGPD/VN Cybersecurity), `THIRD_PARTY_NOTICES.md` (full dep table + AI disclosure paragraph), `MAINTAINERS.md`. Plus `.github/PULL_REQUEST_TEMPLATE.md`.
|
||||
- **`docs/DEVELOPMENT.md`** (EN) + **`docs/i18n/vi/DEVELOPMENT.md`** (VI) — merge of the deleted `pc_spec.md` + `dev_env.md`. Covers toolchain (Node ≥ 22, Rust stable, Tauri 2), JetBrains 2026.x + VS Code setup, build commands, per-OS Tauri prerequisites, troubleshooting.
|
||||
- **`docs/i18n/vi/DISCLAIMER.md`** — VI mirror of `DISCLAIMER.md`.
|
||||
|
||||
### Changed
|
||||
|
||||
- **`Sidebar.tsx`** — extracts `<SidebarNavList collapsed onItemClick?>` so the same nav can render inside the desktop sidebar **and** the new mobile Drawer. Outer `<aside>` now `hidden md:flex`.
|
||||
- **`AppShell.tsx`** — wires `mobileNavOpen` state + renders `<Drawer side="left">` containing `<SidebarNavList />` for mobile. Header gets `onOpenMobileNav` prop.
|
||||
- **`Header.tsx`** — adds `Menu` hamburger (md:hidden), `pt-[max(0.75rem,env(safe-area-inset-top))]` for iOS notch, donate icon-only below md, language dropdown width `min-w-[200px] max-w-[calc(100vw-2rem)]` so it never overflows at 360px width.
|
||||
- **`Button.tsx` / `Input.tsx` / `Textarea.tsx` / `ValidatedInput.tsx`** — bump heights to `min-h-touch` (44 px) for `md` / `lg`; `sm` to `min-h-[36px]` (iOS minimum). Inputs / textareas use `text-base sm:text-sm` to prevent iOS Safari focus zoom (Safari zooms when font-size < 16 px).
|
||||
- **`EditorPage.tsx`** — responsive padding `gap-6 p-6 lg:flex-row` → `gap-4 p-3 sm:p-4 md:gap-6 md:p-6 lg:flex-row`. Sticky preview wrapper changed to `lg:sticky lg:top-6` so mobile portrait doesn't lock the preview.
|
||||
- **`OutputPreview.tsx`** — description scroll-box `max-h-[400px]` → `max-h-[60vh] sm:max-h-[400px]`.
|
||||
- **`CopyAllBar.tsx`** — `pb-[max(0.75rem,env(safe-area-inset-bottom))]` for iOS home indicator; button class compaction below `sm`.
|
||||
- **`README.md`** — full rewrite (~200 lines). Badges (Apache-2.0 / Node ≥ 22 / latest release / last commit), Use Cases (esp. horror gameplay), Privacy section, full doc table, AI disclosure, channel/socials block.
|
||||
- **`CLAUDE.md`** — license MIT → Apache-2.0; project-structure tree updated (`PRD.md` removed, `DEVELOPMENT.md` added with VI mirror sibling).
|
||||
- **`src/config/about.ts`** — `license` MIT → Apache-2.0. `pcSpecDocUrl` / `devEnvDocUrl` field names preserved for About-page layout compat but now point to `docs/DEVELOPMENT.md` (EN) and `docs/i18n/vi/DEVELOPMENT.md` (VI) respectively.
|
||||
- **`webapp/TAURI.md`** — cross-links updated to `docs/DEVELOPMENT.md`.
|
||||
|
||||
### Removed
|
||||
|
||||
- **`docs/PRD.md`** — Product Requirements Document V1.0 (2026-04-07). Shipped through v0.13.1; no longer load-bearing for public readers.
|
||||
- **`docs/pc_spec.md`** + **`docs/dev_env.md`** — merged into `docs/DEVELOPMENT.md`.
|
||||
- **`docs/i18n/vi/pc_spec.md`** + **`docs/i18n/vi/dev_env.md`** — merged into `docs/i18n/vi/DEVELOPMENT.md`.
|
||||
|
||||
### Under the hood
|
||||
|
||||
- **`_schema.json`** updated with the 23 new keys (1 new group label + 22 new option keys + 22 new long-description keys). All 6 locales × 2 files now at 686/686 ui + 368/368 templates.
|
||||
- **No engine logic changes.** `description-builder.ts:415-431` already loops content warnings by user selection order — the new IDs are pure-data additions.
|
||||
- 350/350 tests still pass — no engine math changed.
|
||||
- Bundle: 443.55 KB raw / 136.55 KB gzip (under the 500 KB cap; ~+30 KB vs v0.13.1 from the docs imports being inlined).
|
||||
- Repository URL canonicalized — all README / CLAUDE / DEVELOPMENT references that pointed to `github.com/poli0981/yt-desc-gen` now correctly resolve `github.com/poli0981/youtube-generator`. `src/config/about.ts` still uses the canonical name; no behavior change.
|
||||
- Tauri app-data identifier (`com.skullmute.ytdescgen`) documented correctly in `PRIVACY.md`.
|
||||
|
||||
### Migration notes
|
||||
|
||||
- **License change is not a code migration** — your build environment doesn't need any action. If you redistribute the source, the new `LICENSE` + `NOTICE` apply per Apache 2.0 §§ 4(a)–4(d). Pre-v0.14 forks may continue under their snapshot's license; this is a forward change.
|
||||
- **No store schema bump.** Editor / settings / profile / preset / template store versions unchanged. Persisted drafts containing the legacy `contentWarnings` array round-trip unchanged — the array just renders against the expanded ID set.
|
||||
- **Mobile users** get the new layout automatically on next visit; nothing to opt in to.
|
||||
|
||||
## v0.13.1 — 2026-05-11
|
||||
|
||||
Same-day hotfix for v0.13.0. Three small but load-bearing pieces:
|
||||
|
||||
### Added
|
||||
|
||||
- **GitHub-side housekeeping** — `.github/FUNDING.yml` (mirrors `Donate.txt`), `.github/ISSUE_TEMPLATE/{config,bug_report,feature_request}.yml`, `docs/pc_spec.md` + `docs/dev_env.md` (+ VI mirrors), `webapp/TAURI.md`. Auto-link-discussion job added to `announce-release.yml` (`gh release edit --discussion-category "Announcements"`) so every future release auto-creates a linked Discussion thread.
|
||||
- **AboutPage restructure** — split into Repository / Donate / Connect / Dev Environment / Third-Party sections. Ko-fi / Patreon moved out of `ABOUT.socials` into a new `@config/donate` (`PRIMARY_DONATE_URL` constant feeds the Header donate button). Socials expanded with Bluesky, Mastodon, Steam, Telegram (bot + user), email, game-server Discord.
|
||||
- **Header donate button** — persistent pink Ko-fi link to the left of the language switcher.
|
||||
- **Sidebar external link** — Report Bug item added to the tabs array via a new `external?: boolean` field on `TabItem`; branches render between `<NavLink>` and plain `<a target="_blank">`.
|
||||
- **Basic SEO** — expanded `<head>` (description, OG, Twitter card, JSON-LD `WebApplication`, 6 locale alternates) + new `useDocumentTitle(title)` hook applied to all 9 page components + `public/{robots.txt,sitemap.xml,manifest.webmanifest,favicon.svg}` (favicon is a placeholder SVG).
|
||||
- **Heavy-horror content-warning group** (7 IDs: `eye_horror`, `body_horror`, `face_horror`, `cosmic_horror`, `extreme_gore`, `decay_rot`, `mutilation`) translated to all 6 locales in both short-label and long-description forms.
|
||||
|
||||
### Changed
|
||||
|
||||
- **Workflow `workflow_run` filters narrowed** — `notify-ci-failure.yml` / `notify-deploy.yml` / `notify-release-pipeline.yml` switched from `workflows: ["*"]` to specific producer names. Eliminates Skipped-row spam in the Actions tab.
|
||||
- **`@tauri-apps/api` 2.10.1 → 2.11.0** to match Rust `tauri` 2.11.1 (Dependabot bumped Rust side; tauri-action requires the npm and Rust minors to match).
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Tauri-action `releaseDraft: true` is search-by-version, not search-by-tag.** The initial v0.13.1 tag push silently uploaded `0.13.0`-labelled binaries to the existing v0.13.0 release object because `src-tauri/{tauri.conf.json, Cargo.toml, Cargo.lock}` stayed at `0.13.0`. Recovered with PR #58 (Tauri-side manifests to 0.13.1), then PR #59 (`@tauri-apps/api` bump), then force-moving the signed `v0.13.1` tag twice via `git tag -fs` + `git push origin v0.13.1 --force`, finally `gh workflow run release-desktop.yml -f tag=v0.13.0` to rebuild and restore v0.13.0's binaries.
|
||||
|
||||
### Migration notes
|
||||
|
||||
- **Version-bump ritual is now SIX files**, not five: `package.json`, `package-lock.json`, `src-tauri/Cargo.toml`, `src-tauri/Cargo.lock` (the `yt-desc-gen` entry only), `src-tauri/tauri.conf.json`, and — when Rust `tauri` minor moves — `@tauri-apps/api` in `package.json` (its minor must equal Rust `tauri` crate minor).
|
||||
|
||||
## v0.13.0 — 2026-05-08
|
||||
|
||||
A scope-broadening release: two UI/Gacha bugs squashed, Gacha-quest editor extended with three structured fields (Anniversary year dropdown, Showcase character name, free-form `gachaVersion`), copy buttons hard-stop when text exceeds YouTube's title/description/tags limits, the Tauri desktop window is now locked at 1100×750 (no resize, no maximize), 27 new content warnings — including a brand-new "Playstyle disclosures" group — fill the phobia / mental-health / sensitive / playstyle gaps, and the My Rig editor's free-text GPU and RAM inputs are replaced with structured cascading dropdowns (Brand → Series → Model for GPU, Size + DDR generation for RAM) covering ~200+ GPU models across 14 series and 4 brands. Two QoL touches round it out: per-quest-type smart placeholders ("Day 12" for Daily Commission, "Floor 12" for Endgame, "Part 1" for Main Story) and inline validation badges that nudge the creator when a rig field is half-filled.
|
||||
|
||||
### Added
|
||||
|
||||
- **Anniversary year dropdown (1–20)** ([src/components/editor/ExtraFieldsInput.tsx](src/components/editor/ExtraFieldsInput.tsx)) — replaces the v0.12 `chapterName` text input for the `anniversary` quest type. Title and description templates render `"{{anniversaryYear}}{{ordinalSuffix}} Anniversary"` (e.g. "2nd Anniversary", "11th Anniversary") with a locale-aware `ordinalSuffix()` helper that returns `st/nd/rd/th` for English and an empty string for non-English locales (so "周年記念" / "주년" / "周年纪念" don't pick up an English suffix).
|
||||
- **Showcase character name** — when `gachaQuestType === "showcase"`, the editor swaps Chapter/Quest/Part for a single `characterName` input. The description renders the user's exact requested phrasing: "This video showcases the skills, appearance, and details of {{characterName}} in {{gameName}}{{versionLabel}} on {{channelName}}." Title becomes "{{gameName}} — Character Showcase: {{characterName}}".
|
||||
- **Gacha `gachaVersion` field** ([src/store/editor-store.ts](src/store/editor-store.ts)) — free-form game version label like "1.2", "2.4", scoped to the Gacha Quest video type. Distinct from `versionInfo` (driver/general game version, rendered in the 🖥 VIDEO SETTINGS block for any video type). Surfaces in Gacha-specific intros via a new `description.intro.versionInline` template helper that renders only when non-empty (so the parenthetical "(version 1.2)" disappears entirely when the field is blank — no "(version )" artifact).
|
||||
- **Cascading GPU dropdown** ([src/config/gpu-catalog.ts](src/config/gpu-catalog.ts), [src/config/rig-fields.ts](src/config/rig-fields.ts)) — three-level Brand → Series → Model picker covering NVIDIA (GTX 700/900/10/16, RTX 20/30/40/50), AMD (HD 7000, R7/R9 200/300, RX 400/500/Vega/5000/6000/7000/9000), Intel Arc (A and B series), and Apple Silicon (M1–M4 with Pro/Max/Ultra variants). A `Custom` brand swap-in keeps free-text entry available for niche cards. Stored as pipe-delimited `"<brand>|<series>|<model>"` so the rig store stays a flat `Record<string, string>` — no schema migration vs. v0.12. `formatRigValue("gpu", …)` outputs `"NVIDIA RTX 4090"` (drops the redundant series label).
|
||||
- **Composite RAM input** — two cascading dropdowns (Size + DDR) replace the free-text RAM field. Sizes: 4/6/8/12/16/32/64/96/128/256 GB plus a `Custom…` numeric input for unusual sticks. DDR generations: DDR1–DDR7. Output renders as `"32 GB DDR5"` / `"48 GB DDR5"` (custom). Same flat-string storage approach as GPU (`"<size>|<ddr>"`, with `"custom:48|DDR5"` for custom numeric).
|
||||
- **27 new content warnings + Playstyle disclosures group** ([src/engine/types.ts](src/engine/types.ts), [src/config/content-warning-groups.ts](src/config/content-warning-groups.ts)) — Phobias gain `cynophobia / nyctophobia / pyrophobia / pediophobia / hemophobia` (5). Mental health gains `bipolar_themes / ocd_themes / panic_attacks / dissociation` (4). Sensitive gains `hate_speech / historical_atrocity / slavery_themes / terrorism_themes / bullying_themes` (5). A brand-new **Playstyle disclosures** group (8 items) covers `blind_playthrough / no_spoilers_chat / casual_difficulty / hardcore_difficulty / permadeath_run / speedrun_attempt / completionist_run / learning_mechanics` — disclosure-style warnings that aren't really "content" but viewers benefit from knowing (e.g. "Blind playthrough — first time" sets expectations for repeated dying).
|
||||
- **Smart placeholders per Quest Type** ([src/config/gacha-quest-types.ts](src/config/gacha-quest-types.ts)) — `GACHA_QUEST_PLACEHOLDERS` map drives the Chapter / Quest / Part inputs to show context-specific hints based on the selected quest type: `"Day 12"` for Daily Commission, `"Floor 12"` for Endgame, `"Part 1"` and `"Chapter 5 Act 2"` for Main Story, etc. Placeholders only — no value clearing or auto-fill, so user input is preserved when switching types.
|
||||
- **Inline rig validation badges** ([src/utils/rig-validation.ts](src/utils/rig-validation.ts)) — `validateGpuValue` / `validateRamValue` flag half-filled selections (brand picked but no model, RAM size set but DDR missing, custom numeric empty) and the rig editor renders a small ⚠️ warning under the affected field. Soft warning only — the description still renders, but the badge nudges the creator to complete the field.
|
||||
- **Copy-over-limit guard** ([src/hooks/use-clipboard.ts](src/hooks/use-clipboard.ts)) — `useClipboard().copy(text, { limit, fieldLabel })` now refuses to write to the clipboard when `text.length > limit`. Surfaces a toast like "Title is too long: 117/100 chars. Trim before copying." Each output button (Title / Description / Tags) passes its respective `YT_LIMITS.*` cap; the Copy All bar pre-validates Title and Description and shows a combined error if either is over. Over-limit copy buttons render with a `text-danger` style and a ⚠️ icon so the lock state is visible before the user clicks.
|
||||
|
||||
### Changed
|
||||
|
||||
- **Editor store v10 → v11** ([src/store/editor-store.ts](src/store/editor-store.ts)) — additive only: `characterName: ""`, `anniversaryYear: null`, `gachaVersion: ""` back-fills. Out-of-range or non-integer `anniversaryYear` values coerce to `null` so a hand-edited persistent blob with `anniversaryYear: 99` doesn't render "99th Anniversary" in titles. Existing fields round-trip unchanged.
|
||||
- **Tauri window locked** ([src-tauri/tauri.conf.json](src-tauri/tauri.conf.json)) — `resizable: false`, `maximizable: false`, and `minWidth = maxWidth = 1100` / `minHeight = maxHeight = 750` ensure the desktop binary opens at the design resolution and stays there. Eliminates layout drift from users dragging the window to ultra-wide ratios where the editor → preview split breaks.
|
||||
- **AppShell layout reflow** ([src/components/layout/AppShell.tsx](src/components/layout/AppShell.tsx)) — root `min-h-screen` swapped for `h-screen overflow-hidden` so the outer container can't grow beyond viewport height. The `<main>` scroll container now actually constrains content, fixing the v0.12 bug where long descriptions caused the entire page (sidebar + header included) to scroll instead of just the main pane.
|
||||
- **Showcase template renders character, not quest** — `gachaQuestType.showcase` title and `description.intro.gacha_quest_showcase` now consume `characterName` instead of `questName`. Pre-v0.13 drafts that picked `showcase` and filled `questName` will see `characterName` empty after upgrade — re-enter the character into the new field.
|
||||
- **Anniversary template renders year + ordinal** — `gachaQuestType.anniversary` and `description.intro.gacha_quest_anniversary` consume `anniversaryYear` (number) instead of `chapterName` (free text). The English title is now `"<game> — 2nd Anniversary - Day N"` driven by the new ordinal helper; locale variants render in their native conventions ("2周年記念", "2주년 기념", "Aniversario 2", etc.).
|
||||
- **`formatRigValue()` extended** — switches on `field.type` to handle the two new cascading / composite types. Pre-v0.13 free-text GPU and RAM values (no pipes) pass through unchanged so existing profiles render the same string they did before; the editor displays them under the Custom brand for further editing.
|
||||
|
||||
### Under the hood
|
||||
|
||||
- **Schema-driven locale validation** still passes with 629 ui keys + 339 templates keys across all 6 locales (en/es/ja/ko/vi/zh) — every new key is mirrored in the schema and translated where applicable. Validation errors are caught at the build / pre-merge step via `npm run validate:locales`.
|
||||
- **`tests/engine/rig-fields.test.ts`** grew from 7 → 18 cases — new coverage for `cascading_dropdown` (brand+model formatting, custom-brand verbatim, brand-only fallback, legacy free-text passthrough) and `composite_dropdown` (size+DDR, custom numeric, partial values, legacy passthrough).
|
||||
- **`tests/store/editor-store.migrate.test.ts`** grew from 9 → 13 cases — new v10 → v11 migration tests assert the Gacha field back-fills, the 1–20 anniversary-year range guard, and the round-trip preservation of valid persisted values.
|
||||
- **`tests/engine/title-builder.test.ts`** updated — the Anniversary test now passes `anniversaryYear: 7` instead of `chapterName: "7th"` to match the new template shape.
|
||||
- Test count: 350/350 (was 335/335).
|
||||
|
||||
### Migration notes
|
||||
|
||||
- v10 → v11 is automatic and additive; the migration runs once on first launch of v0.13. Existing drafts are preserved.
|
||||
- **Showcase users**: the `questName` you previously typed for showcase videos won't be carried into `characterName`. Open the editor, pick Showcase, and re-enter the character — the field name change is intentional (Showcase = character, not quest).
|
||||
- **Anniversary users**: the free-text `chapterName` you used to type "2nd" / "Year 2" / etc. is no longer used by the Anniversary template. Pick the year from the new dropdown instead.
|
||||
- **Free-text GPU / RAM users**: existing profiles render identically. The editor will show your old free-text under the Custom brand / RAM legacy fallback; switch to the structured dropdowns when convenient.
|
||||
|
||||
## v0.12.1 — 2026-05-06
|
||||
|
||||
Hotfix for v0.12.0. Ticking a Tech Notes checkbox (or filling any of the new Playthrough Notes structured fields — Endings shown, Language patch, Game version) updated the editor state but never reached the description preview, because the editor → engine mapping in `useCurrentGeneratorInput` wasn't kept in sync when the new fields were added. The unit-test suite caught nothing because every v0.12 description-builder test passed `GeneratorInput` directly to the engine, bypassing the hook.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Editor → engine pipeline carries every v0.12 field** ([src/hooks/use-current-generator-input.ts](src/hooks/use-current-generator-input.ts)) — `endingsShown`, `languagePatch`, `languagePatchCustom`, `gameVersion`, `gameVersionCustom`, and `techNotes` are now forwarded into `GeneratorInput`. Symptom of the bug was that the description preview (and Output / Batch tabs) didn't change when the user ticked tech-note items or filled language-patch / game-version, even though the editor checkboxes / selects reflected the change correctly.
|
||||
- **Save-as-template captures every v0.12 field** ([src/components/templates/TemplateSaveForm.tsx](src/components/templates/TemplateSaveForm.tsx)) — the snapshot builder explicitly enumerates each editor field and was missing the same six fields. A v0.12.0 user saving a template lost their Tech Notes / Playthrough Notes selections; loading the template later didn't restore them.
|
||||
|
||||
### Changed
|
||||
|
||||
- **Hook field-mapping extracted into a pure helper** — `buildGeneratorInputFromEditor(state, languageOverride?)` is now exported alongside the React hook. Pure function so it's directly unit-testable; the hook just wraps it in `useMemo`. Same change pattern used for `migrateEditorState` in v0.12.0 — pull the load-bearing logic out of React-coupled wrappers so tests can hit it without a render harness.
|
||||
- **Hook `useMemo` deps simplified** — the previous list enumerated every field individually (50+ entries); a missing field would silently freeze that field's value in the memoised output. Replaced with a single `[state, languageOverride]` since `useEditorStore()` returns a fresh state reference on every store update — equivalent invalidation, fewer footguns.
|
||||
- **`TemplateSnapshot` carries the v0.12 fields as optional** ([src/store/template-store.ts](src/store/template-store.ts)) — `endingsShown`, `languagePatch`, `languagePatchCustom`, `gameVersion`, `gameVersionCustom`, `techNotes` joined the snapshot type. Optional for back-compat with templates saved before this hotfix; the editor's `loadProfile` spread keeps existing values when the patch lacks them.
|
||||
- **`EditorData` is now `export interface`** in `src/store/editor-store.ts` so the shared snapshot helper can reference it.
|
||||
- **package-lock.json** synced to the v0.12 / v0.12.1 version line — was carrying a stale v0.11.0 root version since the v0.12.0 PR forgot it (the v0.9.0 lockfile-bump-miss memory note reminded us, but only after the v0.12.0 ship).
|
||||
|
||||
### Under the hood
|
||||
|
||||
- New `tests/hooks/generator-input-mapping.test.ts` (6 cases) — direct assertions that each v0.12 field reaches `GeneratorInput` (`endingsShown`, `languagePatch + custom`, `gameVersion + custom`, `techNotes` selection-order), plus a parity guard that walks every key of an `EditorData` instance and fails if any non-allowlisted field is dropped from the resulting `GeneratorInput`. The allowlist is exactly two keys (`thumbnailText`, `pinnedComment` — both feed the pinned-comment builder via a separate code path); anything else added in the future will trip the assertion immediately.
|
||||
- Test count: 335/335 (was 329/329). Bundle: 345.50 KB raw / 115.52 KB gzipped (essentially flat versus v0.12.0 — only swapped a deps array for a single ref).
|
||||
|
||||
### Migration notes
|
||||
|
||||
- No state migration needed. `loadProfile` / `loadPreset` continue to spread snapshots over current state, and the new fields are all optional on `TemplateSnapshot`. A v0.12.0 user with templates saved during the bug window will see those templates load with empty Tech Notes / Playthrough Notes — re-save the template after upgrading to capture the fields properly.
|
||||
|
||||
## v0.12.0 — 2026-05-06
|
||||
|
||||
A bug fix and a description overhaul. The Tauri desktop build picks up `tauri-plugin-single-instance` so launching the app twice no longer stacks tray icons / orphan processes — second launches refocus the existing window. The description's Playthrough block consolidates the v0.7 standalone "🎯 Playthrough" line and the standalone "🎮 DIFFICULTY" block into a unified `▸ 🎮 PLAYTHROUGH NOTES` section with three new structured fields (`endingsShown`, `languagePatch`, `gameVersion`), and a new `▸ 🛠 TECH NOTES` bilingual checklist (24 items across 5 groups) sits alongside Content Warnings for production / playstyle disclaimers.
|
||||
|
||||
### Added
|
||||
|
||||
- **Single-instance enforcement (desktop)** — `src-tauri/Cargo.toml` adds `tauri-plugin-single-instance = "2"`, registered first in the `Builder` chain in `src-tauri/src/lib.rs` with a `get_webview_window("main")` → show + unminimize + focus callback. Closing-to-tray then double-clicking the launcher / start-menu shortcut surfaces the existing window instead of spawning a fresh process with its own tray icon.
|
||||
- **Unified `▸ 🎮 PLAYTHROUGH NOTES` description block** — replaces the v0.7 standalone "🎯 Playthrough:" line and the v0.7 standalone "🎮 DIFFICULTY" block with one bulleted section that renders five fields: Run type (reads from existing `playthroughStatus`), Difficulty (reads from existing `difficulty` + `difficultyCustomLabel`), Endings shown (NEW free text), Language patch (NEW enum + custom slot), Game version (NEW enum + custom slot). Empty bullets are skipped; the whole block is skipped when every field is empty. Bilingual `EN · LOCAL` rendering for both label and value when `tEn` is provided and output language ≠ English. Section sits in slot 1.5 (right after the intro), matching the position of the pre-v0.12 standalone playthrough line.
|
||||
- **`▸ 🛠 TECH NOTES` checklist** — a 24-item, 5-group bilingual multi-select for production / playstyle disclaimers: audio (5: copyright muting, volume reduction, music replacement, cutscene-only mute, original-audio kept), video quality (3: low resolution, low graphics, FPS drops with FPS counter pointer), recording issues (4: bug-from-game, crash kept, loading cut, OBS artifacts), playstyle (8: not no-hit, not clean walkthrough, casual no-commentary, many deaths, slow exploration, puzzle-stuck, grinding cut, not speedrun), production (4: exploration-focused, edited-for-pacing, support-developers, online-connectivity-issues). Same render pattern as v0.11 Content Warnings — header / two-line intro / `EN · LOCAL` bullets with U+00B7 MIDDLE DOT separator. Section sits right after Content Warnings; both transparency blocks group together.
|
||||
- **`languagePatch` enum** with options `none / official_en / official_other / fan_translation / mtl / custom` and a paired free-form `languagePatchCustom` slot — covers the most common patch states (canonical EN release, official non-EN locale, fan TL, machine TL) plus an escape hatch for niche cases. `none` is the skip-bullet sentinel; `official_other` and `custom` both surface the free-form input under the Select.
|
||||
- **`gameVersion` enum** with options `full_release / demo / early_access / beta / prologue / pre_release / custom` and a paired `gameVersionCustom` slot — `full_release` is the implicit default (no bullet rendered) so creators recording the released game don't have to fill anything; "Steam Next Fest demo" / "Kickstarter backer build" / similar niche cases go through `custom`.
|
||||
- **Free-text `endingsShown` field** — captures values like "1 of 3", "True ending only", "All routes 100%", "Normal + True". Free text on purpose — the natural value space is too varied for an enum, and a `custom` escape hatch would catch 80% of selections anyway.
|
||||
|
||||
### Changed
|
||||
|
||||
- **Editor store** v9 → v10 — additive only: `endingsShown: ""`, `languagePatch: "none"`, `languagePatchCustom: ""`, `gameVersion: "full_release"`, `gameVersionCustom: ""`, `techNotes: []` back-fills. Existing `playthroughStatus` / `difficulty` / `difficultyCustomLabel` values round-trip unchanged — only the description-builder render path moves them into the unified block. Invalid persisted enum values coerce to their skip-sentinel default; unknown `techNotes` ids are filtered out (defensive against hand-edited blobs). The `migrate` function is now extracted into a named `migrateEditorState` export so the v9→v10 path can be unit-tested without going through localStorage.
|
||||
- **`ContentDetailsForm.tsx`** is removed and replaced with the v0.12 `PlaythroughNotesForm.tsx` — the new component owns all five PN fields (Run type, Difficulty + custom, Endings shown, Language patch + custom, Game version + custom) in one block, with the custom-slot inputs only appearing when their parent enum carries one. The Editor page mounts `PlaythroughNotesForm` then `ContentWarningChecklist` then `TechNotesChecklist` inside the Content Details accordion.
|
||||
- **`description-builder.ts`** — the v0.7 standalone playthrough conditional (`if (input.playthroughStatus !== "none") sections.push(...)`) and the standalone difficulty conditional (`if (input.difficulty !== "none") sections.push(...)`) are gone; replaced with one call to a new `buildPlaythroughNotesSection(input, t, tEn)` helper at slot 1.5. A new `buildTechNotesSection(input, t, tEn)` helper at slot 7.5 mirrors the v0.11 content-warnings render pattern.
|
||||
|
||||
### Removed
|
||||
|
||||
- **`description.sections.playthrough` / `description.sections.difficulty`** template keys — section heading is now bullet-formatted inside the `▸ 🎮 PLAYTHROUGH NOTES` block via `description.playthroughNotes.labels.*`. The per-status / per-level value labels (`description.playthrough.{blind,replay,…}`, `description.difficulty.{easy,normal,…}`) are kept — the new block reads them for the "Run type" and "Difficulty" bullet values.
|
||||
- **`ContentDetailsForm.tsx`** — superseded by `PlaythroughNotesForm.tsx`.
|
||||
|
||||
### Under the hood
|
||||
|
||||
- New `src/config/tech-note-groups.ts` carries the 5-group UI structure (`audio` / `video_quality` / `recording_issues` / `playstyle` / `production`). Engine doesn't read groups — output follows selection order — but the editor uses them to render collapsible sections.
|
||||
- New `src/config/playthrough-options.ts` exports `LANGUAGE_PATCH_UI_OPTIONS` / `GAME_VERSION_UI_OPTIONS` (Select-friendly `{id, labelKey}` shapes) plus `languagePatchHasCustomSlot` / `gameVersionHasCustomSlot` predicates so the editor knows when to show the paired custom-text input.
|
||||
- `src/engine/types.ts` adds `LANGUAGE_PATCH_OPTIONS` / `LanguagePatch`, `GAME_VERSION_OPTIONS` / `GameVersion`, `TECH_NOTES` / `TechNote` const-and-type pairs, plus six new optional fields on `GeneratorInput`.
|
||||
- All 6 locales (en / vi / ja / es / ko / zh) updated with `description.playthroughNotes.{header,intro,labels,languagePatchOptions,gameVersionOptions}` + `description.techNotes.{header,intro,items}` (24 items) + matching editor short labels (`editor.playthroughNotes.*`, `editor.techNoteOptions.*`, `editor.techNoteGroups.*`). `validate:locales` clean at 585 ui + 316 templates per locale.
|
||||
- Engine tests grow by 14 cases: PN block bullet formatting (en single-language, all five filled), PN block omission when every field is empty, regression that the old standalone `🎯 Playthrough:` and `🎮 DIFFICULTY` lines no longer render, custom-difficulty label passthrough, custom-difficulty blank-label skip, PN bilingual VI mode, PN with `languagePatch: official_other` + custom slot, PN with `gameVersion: custom` + custom slot, TN selection-order preservation, TN bilingual VI / JA modes, TN single-language fallback when `tEn` omitted, TN block omission when list is empty. Plus a new `tests/store/editor-store.migrate.test.ts` with 9 cases covering the v9→v10 migration: default back-fills, preservation of existing playthrough / difficulty / contentWarnings, invalid enum coercion, unknown tech-note id filtering, idempotency on a v10 blob, and null / undefined handling. Full suite: 329 / 329 green.
|
||||
- Bundle: main chunk 345.85 KB raw / 115.78 KB gzipped (under the 500 KB constraint).
|
||||
|
||||
### Migration notes
|
||||
|
||||
- No manual action required. First launch after upgrade migrates state in place: pre-v0.12 drafts gain the new PN + TN field defaults; existing `playthroughStatus` / `difficulty` keep their values, the description just renders them under the unified PN header now.
|
||||
- The Tauri single-instance fix only takes effect after a fresh install of the v0.12 build; existing v0.11 desktop installs need to be uninstalled / replaced. Web builds are unaffected.
|
||||
|
||||
## v0.11.0 — 2026-05-06
|
||||
|
||||
Three independent features: vendor-aware graphics dropdowns (DLAA + XeSS Ultra Quality joined the ladder, multipliers cap per vendor), a third-party advertising block driven by a per-profile copy field, and a major content-warning overhaul — the v0.7 trio (`spoilerWarning` / `matureWarning` toggles + 3-item checklist) becomes a unified bilingual checklist of 44 items across 5 categories with `EN · output-language` rendering and asterisk-masked Vietnamese terms for YouTube ToS safety.
|
||||
|
||||
### Added
|
||||
|
||||
- **Vendor-aware upscaling & frame-gen options** — when the creator picks an FG vendor, the upscale-quality and frame-gen-multiplier dropdowns filter to that vendor's actual ladder. NVIDIA exposes DLAA + Quality / Balanced / Performance / Ultra Performance and goes up to x4 multi-frame-gen; AMD keeps FSR Native AA + 4 quality bins and caps at x3 (FSR 3.1); Intel adds XeSS Ultra Quality (its own tier) and ships only x2 (XeFG). Description-builder uses vendor-keyed full labels — `NVIDIA DLAA`, `AMD FSR Quality`, `Intel XeSS Ultra Quality`, `AMD Fluid Motion Frames x3` — instead of the old "brand prefix in code" pattern, so `dlaa` reads `NVIDIA DLAA` not `NVIDIA DLSS DLAA`. Pre-v0.11 drafts / presets / templates with stale combos (e.g. NVIDIA + `native_aa`) coerce to `none` on rehydrate via `coerceUpscaleQuality` + `coerceFrameGenMultiplier` in `src/engine/graphics-vendor.ts`.
|
||||
- **Third-party advertising block** — new `showThirdPartyAds` toggle in Settings → Description renders a `🤝 SPONSORS & PARTNERS` block in the description, sourced from a new `thirdPartyAdText` Textarea on the channel Profile (multi-line preserved verbatim). Block is gated on toggle ON AND profile field non-empty; toggling on without text is a no-op and surfaces an inline hint pointing the user to Profiles → Edit. Per-profile (not per-video) — partner copy is channel-stable.
|
||||
- **Bilingual content-warning checklist** — replaces `WarningToggles` with `ContentWarningChecklist`: a searchable, collapsible-grouped checkbox grid covering 44 items across Spoilers / Photosensitive / Phobias / Mental health / Mature & Sensitive. Description format becomes `▸ ⚠️ CONTENT WARNINGS / CẢNH BÁO NỘI DUNG` header (bilingual when output language ≠ English), a two-line intro, then bullets `• {EN} · {local}` separated by U+00B7 MIDDLE DOT — matches the visual format in the v0.11 spec exactly. Selection order is preserved in the rendered output. Vietnamese translations apply asterisk masking on YouTube-ToS-prone terms (`t* tử`, `x*m h*i t*nh d*c`, `g*ết người`, `b*o h*nh`, `ng*y h*i`); other locales use clinical wording (`Sexual assault references`, `Self-harm / suicide themes`, `Violence against minors`).
|
||||
|
||||
### Changed
|
||||
|
||||
- **Editor store** v8 → v9 (three concerns rolled into one bump): `thirdPartyAdText: ""` default, legacy `spoilerWarning: true` → push `"spoiler_story"` into `contentWarnings` (same for `matureWarning` → `"mature_18plus"`), and vendor-incompatible upscale-quality / multiplier combos coerce to `"none"`. `normalizeEditorPatch` runs the same coercion + boolean-merge logic on every `loadProfile` / `loadPreset` / `loadTemplate` call so legacy snapshots round-trip cleanly.
|
||||
- **Settings store** v8 → v9 (additive — `showThirdPartyAds: false` default; healed via `initialSettings` spread).
|
||||
- **Profile store** unversioned → v1 (additive — `thirdPartyAdText: ""` back-fill for pre-v0.11 profiles).
|
||||
- **Template store** unversioned → v1 (vendor-quality coercion on persisted snapshots).
|
||||
- **`UPSCALE_QUALITIES`** enum gains `"dlaa"` and `"ultra_quality"`. The flat enum stays — vendor filtering happens at the UI / engine layer via `getValidUpscaleQualities(vendor)` so storage shape doesn't fork per vendor.
|
||||
- **`ContentDetailsForm`** drops its content-warning ChipGroup (the new `ContentWarningChecklist` mounted in the Editor's Content Details accordion is the new home). Playthrough + difficulty stay where they were.
|
||||
- **`description-builder`** drops the v0.7 "skip brand on second mention" optimization — both halves of `upscale + framegen` now carry the brand. Worth the mild verbosity for AMD / Intel: AMD's frame-gen brand is `Fluid Motion Frames` (not `Frame Generation`), Intel's is `XeFG`; the old code emitted `Frame Generation` regardless. The 3 separate warning blocks (`spoilerWarning` header, `contentWarnings` bullet list, `matureWarning` header) collapse into one unified bilingual block, placed at the same description position.
|
||||
|
||||
### Removed
|
||||
|
||||
- **`WarningToggles.tsx`** — superseded by `ContentWarningChecklist.tsx`. Editor-state fields `spoilerWarning` / `matureWarning` stay (marked `@deprecated`) so v8-shaped persisted drafts round-trip through the migration without data loss; they're no longer exposed in the UI and no longer drive description rendering.
|
||||
- **`description.sections.spoilerWarning` / `matureWarning` / `contentWarnings`** template keys — section heading lives at `description.contentWarnings.header` now. The old per-warning `description.contentWarnings.{flashing_lights,loud_noises,jump_scares}` keys moved under `description.contentWarnings.items.*` alongside 41 new entries.
|
||||
|
||||
### Under the hood
|
||||
|
||||
- New `src/engine/graphics-vendor.ts` exports `getValidUpscaleQualities` / `getValidFrameGenMultipliers` / `coerceUpscaleQuality` / `coerceFrameGenMultiplier` — pure functions reused by the editor-store migration, the template-store migration, `normalizeEditorPatch`, the `VideoSettingsForm` Select option lists, and the `handleVendorChange` reset path so changing vendors mid-edit doesn't leave the Selects stuck on a stale value.
|
||||
- New `src/config/content-warning-groups.ts` carries the 5-group UI structure (`spoilers` / `photosensitive` / `phobias` / `mental_health` / `sensitive`). Engine never reads the groups — output ordering follows user selection — but the editor uses them to render collapsible sections with per-group counts so 44 items stay scannable.
|
||||
- `BuildDescriptionOptions` extends with `tEn?: TranslationFn` — the engine stays framework-agnostic; the caller (`use-generated-output`) builds it via `i18next.getFixedT("en", "templates")` and passes it in alongside the locale-fixed `t`. Falls back to `t` when omitted, so existing callers / unit tests keep working.
|
||||
- All 6 locales (en / vi / ja / es / ko / zh) updated with vendor-keyed `description.graphics.upscale.{vendor}.{q}` + `description.graphics.frameGen.{vendor}.{m}` maps, vendor-keyed editor short labels (`editor.upscaleQuality.{vendor}.*` / `editor.frameGenMultiplier.{vendor}.*`), 5 group headings, 44 bilingual warning items, 44 short editor labels, plus `settings.showThirdPartyAds` / `settings.thirdPartyAdsHint` and `profiles.thirdPartyAdText{,Placeholder,Help}`. `validate:locales` clean at 529 ui + 274 templates per locale.
|
||||
- Engine tests grow by 9 cases: vendor-aware DLAA / XeSS Ultra Quality / AMD label rendering, content-warning bilingual EN · VI block, EN-only single-language output, single-language fallback when `tEn` is omitted, censoring snapshot for VI, third-party-ads gating (toggle on + text non-empty, toggle off + text non-empty, toggle on + text empty), multi-line preservation, and selection-order preservation. Two legacy-deprecation tests replace the old `spoilerWarning` / `matureWarning` standalone-block tests. Full suite: 310 / 310 green.
|
||||
- Bundle: main chunk 313 KB (under the 500 KB constraint).
|
||||
|
||||
### Migration notes
|
||||
|
||||
- No manual action required. First launch after upgrade migrates state in place: pre-v0.11 drafts with `spoilerWarning: true` / `matureWarning: true` get the equivalent items checked in `contentWarnings`; vendor-incompatible upscale combos coerce to `none`; profile / settings stores back-fill their new defaults.
|
||||
- Channel partners / affiliates: the toggle in Settings → Description does nothing until you fill `Third-party ad copy` in your profile (Profiles → Edit). The inline hint in Settings calls this out when the toggle is on but the text is empty.
|
||||
|
||||
## v0.10.0 — 2026-05-05
|
||||
|
||||
Three independent features shipped in [#44](https://github.com/poli0981/youtube-generator/pull/44): a publisher-name tag for the Store Links editor, a hotfix for the live web build that had been serving a blank page since the v0.5 scaffold, and a vertical collapsible sidebar with a new About page.
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
**YTDescGen** is a desktop-capable web application that generates YouTube video titles, descriptions, and tags for Gameplay No Commentary channels. It supports multiple languages, game genres, and video types with a profile/preset system to eliminate repetitive data entry.
|
||||
|
||||
- **Repository**: `github.com/poli0981/yt-desc-gen` (private)
|
||||
- **License**: MIT
|
||||
- **Repository**: `github.com/poli0981/youtube-generator`
|
||||
- **License**: Apache-2.0 (see `LICENSE` + `NOTICE`)
|
||||
- **Primary Language**: TypeScript
|
||||
- **Stack**: React 18 + Vite + Tailwind CSS + Zustand + Tauri (desktop)
|
||||
- **Target Platforms**: Web (GitHub Pages), Desktop (Windows/macOS via Tauri)
|
||||
- **Stack**: React 18 + Vite 7 + Tailwind CSS 3 + Zustand + Tauri 2 (desktop)
|
||||
- **Target Platforms**: Web (GitHub Pages), Desktop (Windows/macOS/Linux via Tauri)
|
||||
|
||||
## Tech Stack
|
||||
|
||||
@@ -40,13 +40,14 @@ yt-desc-gen/
|
||||
├── index.html
|
||||
│
|
||||
├── docs/ # Project documentation
|
||||
│ ├── PRD.md # Product Requirements Document
|
||||
│ ├── DEVELOPMENT.md # Toolchain / IDE / build commands (EN)
|
||||
│ ├── ARCHITECTURE.md # Technical architecture
|
||||
│ ├── FEATURES.md # Complete feature list
|
||||
│ ├── ROADMAP.md # Development phases
|
||||
│ ├── TECH-SPEC.md # Technical specifications
|
||||
│ ├── I18N.md # Internationalization guide
|
||||
│ └── PACKAGING.md # Desktop packaging guide
|
||||
│ ├── PACKAGING.md # Desktop packaging guide
|
||||
│ └── i18n/vi/ # Vietnamese mirrors (DEVELOPMENT, DISCLAIMER)
|
||||
│
|
||||
├── src/
|
||||
│ ├── main.tsx # Entry point
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
# Code of Conduct
|
||||
|
||||
This project adopts the **[Contributor Covenant v2.1](https://www.contributor-covenant.org/version/2/1/code_of_conduct/)** in full.
|
||||
|
||||
By participating in this project — opening issues, submitting pull requests, commenting, translating locales, or any other form of contribution — you agree to abide by its terms.
|
||||
|
||||
## Reporting
|
||||
|
||||
Report violations privately to the maintainer: `lopop05905@proton.me`.
|
||||
|
||||
All reports are reviewed and investigated promptly and fairly. The maintainer is obligated to respect the privacy and security of the reporter.
|
||||
|
||||
## Enforcement
|
||||
|
||||
Examples of enforcement actions, in escalating order:
|
||||
|
||||
1. A private warning.
|
||||
2. A public warning on the relevant issue / PR.
|
||||
3. A temporary ban from contributing.
|
||||
4. A permanent ban — applied without warning for serious violations (harassment, threats, malicious code submissions per [`CONTRIBUTING.md`](./CONTRIBUTING.md) auto-ignore rules).
|
||||
|
||||
For the full list of enforcement guidelines, read the [Contributor Covenant v2.1 — Enforcement Section](https://www.contributor-covenant.org/version/2/1/code_of_conduct/#enforcement).
|
||||
@@ -0,0 +1,80 @@
|
||||
# Contributing to YTDescGen
|
||||
|
||||
Thanks for taking the time to contribute. Read this once before opening your first PR — it saves time on both sides.
|
||||
|
||||
## Code of Conduct
|
||||
|
||||
Participation is governed by the [Code of Conduct](./CODE_OF_CONDUCT.md). By contributing, you agree to its terms.
|
||||
|
||||
## Getting Started
|
||||
|
||||
1. Read the [Development Guide](./docs/DEVELOPMENT.md) — also available in [Vietnamese](./docs/i18n/vi/DEVELOPMENT.md).
|
||||
2. Install dependencies: `npm install`.
|
||||
3. Start the dev server: `npm run dev`.
|
||||
4. Before opening a PR run all gates:
|
||||
```bash
|
||||
npm run typecheck
|
||||
npm run lint
|
||||
npm run validate:locales
|
||||
npm run test:run
|
||||
```
|
||||
|
||||
## How to Contribute
|
||||
|
||||
### Issues
|
||||
|
||||
Use the templates in `.github/ISSUE_TEMPLATE/`:
|
||||
|
||||
- **Bug report** — only if you can reproduce on the latest release.
|
||||
- **Feature request** — only with a concrete use case, not abstract requests.
|
||||
|
||||
### Pull Requests
|
||||
|
||||
- Branch from `dev`, not `main`.
|
||||
- Commit format: `type(scope): message` — e.g. `feat(engine): add Spanish template support`. Types: `feat`, `fix`, `refactor`, `docs`, `test`, `ci`, `chore`.
|
||||
- One logical change per PR. Don't bundle unrelated refactors.
|
||||
- All locale files must stay in lock-step — see the i18n section below.
|
||||
- AI-assisted contributions are welcome but **must be disclosed** in the PR description.
|
||||
|
||||
### i18n Contributions
|
||||
|
||||
If your change adds or removes any user-facing string:
|
||||
|
||||
1. Update the locale schema at `src/i18n/locales/_schema.json` first.
|
||||
2. Add the key to **all 6 locales** (`en` / `vi` / `ja` / `es` / `ko` / `zh`).
|
||||
3. `npm run validate:locales` must pass.
|
||||
|
||||
Native-speaker corrections to AI-translated locales (JA / ES / KO / ZH) are especially welcome — see [DISCLAIMER.md](./DISCLAIMER.md) for the current translation-quality status.
|
||||
|
||||
## Auto-ignored Contributions
|
||||
|
||||
The following are closed without review and may result in a contributor ban — no exceptions:
|
||||
|
||||
- **Suspected malicious code.** If a PR contains code we suspect may be a supply-chain attack, obfuscation, credential harvesting, cryptominer, or any form of malware — even if CodeQL and Dependabot don't flag it, the maintainer may investigate manually. **Detection equals ban.**
|
||||
- **Unverified or suspicious links** in issues, PRs, or comments (pastebin scrapers, redirect chains, unfamiliar shortlinks, link-shortener URLs without context).
|
||||
- **Behavior or language violating** [GitHub's Acceptable Use Policies](https://docs.github.com/en/site-policy/acceptable-use-policies).
|
||||
- **Off-topic / rambling reports** that don't get to the point. Example of what gets ignored: *"Good morning, today is a beautiful day, I was just wondering if maybe…"* — get straight to the problem.
|
||||
- **PRs that touch hundreds of files for a one-line fix** (typical sign of an auto-formatter run on unrelated files).
|
||||
- **Tests deleted, or `--no-verify` used to bypass pre-commit hooks.**
|
||||
- **"AI rewrote my entire codebase in a different style" PRs.** AI-assisted edits are welcome (disclosed); whole-repo rewrites are not.
|
||||
- **Spam, drive-by typo fixes** that don't address a real issue, and karma-farming PRs.
|
||||
|
||||
## What We Want
|
||||
|
||||
- Bug fixes with a reproduction case and a regression test.
|
||||
- Locale corrections from native speakers.
|
||||
- New content-warning IDs with all 6 translations and a clear rationale (especially horror-genre vocabulary).
|
||||
- New video types or genres that fit the gameplay no-commentary use case.
|
||||
- Accessibility and mobile-responsive improvements.
|
||||
- Performance fixes with a `before/after` measurement.
|
||||
|
||||
## What We Don't Want
|
||||
|
||||
- Cosmetic refactors with no behavior change.
|
||||
- Adding new runtime dependencies without first opening an issue to discuss the tradeoff.
|
||||
- Renaming files without coordinating with open PRs.
|
||||
- Changes to the LICENSE or NOTICE files (these are governance, not contributions).
|
||||
|
||||
## License
|
||||
|
||||
By contributing, you agree your contribution will be licensed under the [Apache License 2.0](./LICENSE), the same license as the project, and that you have the right to grant that license.
|
||||
@@ -0,0 +1,53 @@
|
||||
# Disclaimer
|
||||
|
||||
## Solo project, AI-assisted
|
||||
|
||||
YTDescGen is a personal project built by a single maintainer (`@poli0981`) for use with the [`@SkullMute`](https://www.youtube.com/@SkullMute) YouTube channel and shared publicly as open source. It is **not a commercial product** and there is no support obligation.
|
||||
|
||||
Code, documentation, locale translations, and design decisions in this repository were **co-authored with the assistance of Anthropic's Claude Code (model 4.7 Opus, 1M-context variant)**. All commits, releases, and architectural decisions are reviewed and approved by the maintainer before merging.
|
||||
|
||||
This disclosure applies to:
|
||||
|
||||
- Source code in `src/` and `src-tauri/`.
|
||||
- Documentation in `docs/` and all root markdown files.
|
||||
- Locale files in `src/i18n/locales/`.
|
||||
- CI/CD workflows in `.github/workflows/`.
|
||||
|
||||
See also: [`THIRD_PARTY_NOTICES.md`](./THIRD_PARTY_NOTICES.md) § "AI-Assisted Development Disclosure".
|
||||
|
||||
## Translation quality
|
||||
|
||||
The application UI ships in six languages. Authoring quality varies:
|
||||
|
||||
| Locale | Authoring | Notes |
|
||||
| --- | --- | --- |
|
||||
| English (`en`) | Maintainer + AI | Primary working locale. Strings reviewed before commit. |
|
||||
| Vietnamese (`vi`) | Maintainer (native) + AI | Reviewed by the maintainer, who is a native Vietnamese speaker. |
|
||||
| Japanese (`ja`) | AI-translated | Not native-reviewed. Grammar and tone may be imperfect. |
|
||||
| Spanish (`es`) | AI-translated | Not native-reviewed. Regional voice (LatAm vs. Castilian) not specifically targeted. |
|
||||
| Korean (`ko`) | AI-translated | Not native-reviewed. Honorific register chosen for neutrality, not specific cultural fit. |
|
||||
| Chinese (`zh`) | AI-translated | Simplified Chinese only. Not native-reviewed. |
|
||||
|
||||
If you're a native speaker and spot mistranslations, please open an issue or PR — see [CONTRIBUTING.md](./CONTRIBUTING.md) § "i18n Contributions".
|
||||
|
||||
## Voice and tone
|
||||
|
||||
Generated description templates use an opinionated tone tailored to the **gameplay no-commentary** YouTube niche, with extra emphasis on horror / scary games (because that's the maintainer's channel). The output may not fit every channel's voice or every country's reader expectations. The application is template-driven — you can edit any generated text before publishing.
|
||||
|
||||
Some Vietnamese phrasings deliberately keep loanwords and casual tone reflecting how Vietnamese gameplay creators commonly write descriptions. These are not "incorrect translations"; they are stylistic choices for the target audience.
|
||||
|
||||
## No warranty
|
||||
|
||||
This software is provided **as-is, with no warranty of any kind**. See [`LICENSE`](./LICENSE) (Apache 2.0) §§ 7 and 8 for the full disclaimer of warranty and limitation of liability.
|
||||
|
||||
In plain English: if the application crashes, mangles your draft, generates a description that gets your video flagged by YouTube, or causes any other harm — the maintainer is not liable. Use at your own risk; back up your drafts.
|
||||
|
||||
## Not affiliated with YouTube / Anthropic
|
||||
|
||||
YTDescGen is **not** affiliated with, endorsed by, or sponsored by YouTube, Google LLC, or Alphabet Inc. The generated output is intended to be pasted into the YouTube Studio editor; this application does not interact with the YouTube API.
|
||||
|
||||
Use of Claude Code during development does **not** make this an Anthropic product. Anthropic, Claude, and Claude Code are trademarks of Anthropic, PBC. This project is independent.
|
||||
|
||||
## Not legal or financial advice
|
||||
|
||||
Any mention of GDPR, CCPA, copyright law, YouTube's monetization policies, or similar topics in this repository's documentation is provided for orientation only and is **not legal advice**. Consult a qualified lawyer in your jurisdiction if you need an authoritative answer.
|
||||
@@ -0,0 +1,201 @@
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for describing the origin of the Work and
|
||||
reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Support. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or support.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied. See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
@@ -0,0 +1,28 @@
|
||||
# Maintainers
|
||||
|
||||
## Active Maintainers
|
||||
|
||||
### `@poli0981`
|
||||
|
||||
- **GitHub**: <https://github.com/poli0981>
|
||||
- **YouTube** (reference channel): <https://www.youtube.com/@SkullMute>
|
||||
- **Email** (security & private contact): `lopop05905@proton.me`
|
||||
- **Areas of responsibility**: all — core engine, locale management, UI, Tauri desktop shell, releases, CI/CD.
|
||||
|
||||
## Maintainer Responsibilities
|
||||
|
||||
- Triage incoming issues and PRs.
|
||||
- Run the release process: `CHANGELOG.md` entry, version bump, build artifacts, signed tag.
|
||||
- Enforce the [Code of Conduct](./CODE_OF_CONDUCT.md).
|
||||
- Review and approve locale translation contributions.
|
||||
- Coordinate security advisory disclosure per [SECURITY.md](./SECURITY.md).
|
||||
|
||||
## Becoming a Maintainer
|
||||
|
||||
There is currently no formal pathway. The project has been solo since inception. If you'd like to help maintain a specific area — most realistically, native-speaker review for one of the AI-translated locales (JA / ES / KO / ZH) — open an issue describing what you'd like to take on.
|
||||
|
||||
Persistent, high-quality contributions over time are the path. There is no application form.
|
||||
|
||||
## Past Maintainers
|
||||
|
||||
None — solo project since v0.1.0.
|
||||
@@ -0,0 +1,15 @@
|
||||
YTDescGen — YouTube Gameplay Description Generator
|
||||
Copyright 2026 poli0981 (https://github.com/poli0981)
|
||||
|
||||
This product includes software developed by poli0981 and contributors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
see LICENSE for the full terms, or visit:
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
This product was co-developed with the assistance of Anthropic's
|
||||
Claude Code 4.7 Opus (1M context). See DISCLAIMER.md and
|
||||
THIRD_PARTY_NOTICES.md for details.
|
||||
|
||||
Third-party dependencies retain their respective licenses; see
|
||||
THIRD_PARTY_NOTICES.md for the complete attribution list.
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
# Privacy Policy
|
||||
|
||||
**Effective:** 2026-05-14
|
||||
|
||||
YTDescGen is an **offline-first** template engine for generating YouTube video metadata. This document describes what data the application handles, where it lives, and what it never collects.
|
||||
|
||||
## What We Collect
|
||||
|
||||
**Nothing.** The application sends no data to any server controlled by the maintainer.
|
||||
|
||||
There is no analytics provider, no telemetry, no crash reporter, no A/B testing, no advertising network, no behavioral tracking. There is no backend.
|
||||
|
||||
## What Stays on Your Device
|
||||
|
||||
### Web version (GitHub Pages)
|
||||
|
||||
The web build stores your work in your browser's **`localStorage`** only. Keys used:
|
||||
|
||||
| Key prefix | Purpose |
|
||||
| --- | --- |
|
||||
| `ytdesc:editor` | Current editor draft |
|
||||
| `ytdesc:settings` | Theme, default language, accordion state, hashtag preferences |
|
||||
| `ytdesc:profiles` | Saved channel / social / rig profiles |
|
||||
| `ytdesc:presets` | Saved game presets |
|
||||
| `ytdesc:templates` | Saved full-form snapshots |
|
||||
| `ytdesc:history` | Recently generated outputs |
|
||||
| `ytdesc:logs` | Application event log |
|
||||
|
||||
`localStorage` is scoped to the origin and never transmitted. Clearing your browser data, browsing in a private/incognito window, or signing out wipes all of it.
|
||||
|
||||
### Desktop version (Tauri)
|
||||
|
||||
The desktop build uses the operating system's standard application-data directory:
|
||||
|
||||
- **Windows**: `%APPDATA%\com.skullmute.ytdescgen`
|
||||
- **macOS**: `~/Library/Application Support/com.skullmute.ytdescgen`
|
||||
- **Linux**: `~/.config/com.skullmute.ytdescgen`
|
||||
|
||||
The same key set as the web version is stored as JSON files there. Uninstalling the application or deleting that directory removes everything.
|
||||
|
||||
## Third-Party Services
|
||||
|
||||
The application does **not** call third-party APIs at runtime.
|
||||
|
||||
Optional links you may click — donation buttons, store links you paste into a draft, social links you save to your profile — navigate **away** from the application to third-party sites. Those sites have their own privacy policies; the maintainer is not responsible for them.
|
||||
|
||||
YouTube oEmbed, the Steam store API, Twitch helix, and similar services are **not** fetched by this application.
|
||||
|
||||
## Cookies / Local Storage Distinction
|
||||
|
||||
The web version uses **`localStorage`**, not cookies. No cookie is set by the application. GitHub Pages itself may issue a session cookie at the platform level — that is GitHub's, not ours, and is governed by [GitHub's Privacy Statement](https://docs.github.com/en/site-policy/privacy-policies/github-general-privacy-statement).
|
||||
|
||||
## Children's Privacy
|
||||
|
||||
This application is not directed at children under 13 and does not knowingly process any personal data from anyone.
|
||||
|
||||
## GDPR / CCPA / Equivalent Rights
|
||||
|
||||
Because no data ever leaves your device:
|
||||
|
||||
- **Right to access**: your data is already accessible — open DevTools → Application → Local Storage on the web, or browse the application-data directory on desktop.
|
||||
- **Right to erasure**: clear your browser's site data (web) or delete the application-data directory / uninstall the app (desktop).
|
||||
- **Right to portability**: use the in-app **Export** action in `Profiles` / `Presets` / `Templates` / `History` / `Logs` to download JSON.
|
||||
- **Right to object / restrict processing**: not applicable — no processing happens off-device.
|
||||
- **Right to know what is sold or shared**: nothing. Nothing is sold or shared.
|
||||
|
||||
## Changes to This Policy
|
||||
|
||||
If this policy changes, the change is committed to the repository under `PRIVACY.md` with the `Effective` date updated. There is no notification mechanism because the application has no way to reach you.
|
||||
|
||||
## Contact
|
||||
|
||||
`lopop05905@proton.me`
|
||||
@@ -1,56 +1,120 @@
|
||||
# 🎮 YTDescGen
|
||||
|
||||
**YouTube Gameplay Description Generator** — A template engine for Gameplay No Commentary channels.
|
||||
**YouTube Gameplay Description Generator** — an offline-first template engine for Gameplay No Commentary YouTube channels.
|
||||
|
||||
Generate YouTube video titles, descriptions, and tags in multiple languages with one click.
|
||||
Generate YouTube titles, descriptions, and tags in six languages with one click. Save channel, rig, and game presets to skip repetitive data entry. Works in the browser (GitHub Pages) or as a ~8 MB native desktop app (Tauri).
|
||||
|
||||
[](./LICENSE)
|
||||
[](./docs/DEVELOPMENT.md)
|
||||
[](https://github.com/poli0981/youtube-generator/releases)
|
||||
[](https://github.com/poli0981/youtube-generator/commits)
|
||||
|
||||
---
|
||||
|
||||
## What is YTDescGen
|
||||
|
||||
YTDescGen is a single-purpose template engine. It does **one** job: turn a small set of structured fields (video type, game name, genres, rig, social links, content warnings, …) into a publish-ready YouTube title + description + tag set.
|
||||
|
||||
It doesn't talk to the YouTube API. It doesn't upload anything. It doesn't track you. There is no server. State lives in your browser's `localStorage` (web) or your OS application-data directory (desktop) — and nowhere else.
|
||||
|
||||
Built for the gameplay no-commentary niche — especially horror / scary games — by someone running the [@SkullMute](https://www.youtube.com/@SkullMute) channel who got tired of pasting the same boilerplate into every video. Released under Apache 2.0 in case it's useful to anyone else.
|
||||
|
||||
## Features
|
||||
|
||||
- **14 video types** — Full Gameplay, Part, Boss Fight, Speedrun, 100%, DLC, and more
|
||||
- **12 languages** — English, Vietnamese, Japanese, Spanish, Korean, Chinese, and more
|
||||
- **25 game genres** — Action, Horror, RPG, FPS, Open World, Souls-like, and more
|
||||
- **Profile system** — Save social/rig/channel info once, reuse forever
|
||||
- **Game presets** — Save game info once, reuse for multi-part series
|
||||
- **Smart tags** — Auto-generated from genre + platform + quality + multilingual
|
||||
- **Character counters** — Real-time limits for title (100), description (5000), tags (500)
|
||||
- **Batch mode** — Generate descriptions for multiple parts at once
|
||||
- **Desktop app** — Windows & macOS via Tauri (~8MB binary)
|
||||
- **Offline** — Full functionality without internet
|
||||
- **20 video types** — Full Gameplay, Part, Boss Fight, Boss No-Hit, Ending, Speedrun, 100%, DLC, NG+, Challenge, Side Quest, Secret, Comparison, Guide, Mods, Collectibles, Livestream, Gacha Quest, Demo, Demo Part.
|
||||
- **6 UI languages** — English, Vietnamese, Japanese, Spanish, Korean, Chinese. *(VI authored by a native speaker; JA / ES / KO / ZH AI-translated — see [DISCLAIMER.md](./DISCLAIMER.md).)*
|
||||
- **40+ game genres** — across action, RPG, FPS, horror, soulslike, indie, simulation, fighting, and more.
|
||||
- **91 content-warning IDs** across 8 groups — phobias, photosensitive, mental health, sensitive themes, horror-specific, playstyle, and gameplay disclosure (mods / cheats / glitches / guide-assisted). Sets viewer expectations before they hit play.
|
||||
- **Profile system** — save channel / social / rig info once, reuse across every video.
|
||||
- **Game presets** — save game name + store links once, reuse across the entire part series.
|
||||
- **Snapshot templates** — save full-form configurations and recall in one click.
|
||||
- **Smart tag generation** — combines genre pool, platform, quality tier, multilingual hooks, and trending terms; auto-dedup and 500-char-limit aware.
|
||||
- **Character counters** — real-time limits for title (100), description (5000), tags (500).
|
||||
- **Batch mode** — generate metadata for all parts of a series in one pass.
|
||||
- **Desktop app** — Windows & macOS native binaries via Tauri (~8 MB).
|
||||
- **Mobile-responsive web** — drawer navigation, touch-sized controls, iOS-safe text-input behavior. Tested down to 360 × 640.
|
||||
- **100% offline** — no server, no telemetry, no account. See [PRIVACY.md](./PRIVACY.md).
|
||||
|
||||
## Quick Start
|
||||
|
||||
```bash
|
||||
# Clone
|
||||
git clone https://github.com/poli0981/yt-desc-gen.git
|
||||
git clone https://github.com/poli0981/youtube-generator.git
|
||||
cd yt-desc-gen
|
||||
|
||||
# Install
|
||||
npm install
|
||||
|
||||
# Dev
|
||||
npm run dev
|
||||
|
||||
# Build
|
||||
npm run build
|
||||
npm run dev # web dev server at http://localhost:5173
|
||||
```
|
||||
|
||||
Desktop build (Windows / macOS / Linux):
|
||||
|
||||
```bash
|
||||
npm run tauri:build
|
||||
# Output: src-tauri/target/release/bundle/{msi,deb,dmg,app}
|
||||
```
|
||||
|
||||
Full development setup, IDE config, and troubleshooting: see [`docs/DEVELOPMENT.md`](./docs/DEVELOPMENT.md). Vietnamese version: [`docs/i18n/vi/DEVELOPMENT.md`](./docs/i18n/vi/DEVELOPMENT.md).
|
||||
|
||||
## Use Cases
|
||||
|
||||
- **Gameplay no-commentary channels** — the primary target. Default templates assume no voice-over and lean on visual hooks, music attribution, and timestamps.
|
||||
- **Horror / scary-game channels** — the content-warning system is especially deep here (analog horror, liminal spaces, pursuit / chase, entity / SCP-style, body horror, etc.).
|
||||
- **Demo / Early Access playthroughs** — dedicated video types and language-patch / game-version disclosure fields.
|
||||
- **Speedrunners and 100% completionists** — playstyle disclosures, run-type metadata, and difficulty fields.
|
||||
- **Solo creators tired of copy-paste** — profiles and presets exist specifically to eliminate repetitive data entry.
|
||||
|
||||
## Privacy & Offline-First
|
||||
|
||||
Nothing leaves your device. No analytics, no telemetry, no tracking. The web version stores your work in `localStorage`; the desktop version stores it in the OS application-data directory. Clearing site data (web) or uninstalling the app (desktop) wipes everything. Full details in [PRIVACY.md](./PRIVACY.md).
|
||||
|
||||
## Tech Stack
|
||||
|
||||
React 18 • TypeScript • Vite • Tailwind CSS • Zustand • i18next • Tauri 2
|
||||
React 18 · TypeScript (strict) · Vite 7 · Tailwind CSS 3 · Zustand · i18next · Tauri 2 (Rust stable).
|
||||
|
||||
Architecture overview: [`docs/ARCHITECTURE.md`](./docs/ARCHITECTURE.md).
|
||||
|
||||
## Documentation
|
||||
|
||||
| Document | Description |
|
||||
|----------|-------------|
|
||||
| [CLAUDE.md](./CLAUDE.md) | Claude Code instructions & project overview |
|
||||
| [PRD](./docs/PRD.md) | Product Requirements Document |
|
||||
| [Architecture](./docs/ARCHITECTURE.md) | Technical architecture & data flow |
|
||||
| [Features](./docs/FEATURES.md) | Complete feature list |
|
||||
| [Roadmap](./docs/ROADMAP.md) | Development phases & timeline |
|
||||
| [Tech Spec](./docs/TECH-SPEC.md) | Implementation details & configs |
|
||||
| [i18n Guide](./docs/I18N.md) | How to add new languages |
|
||||
| [Packaging](./docs/PACKAGING.md) | Desktop app build guide |
|
||||
| Document | What's in it |
|
||||
| --- | --- |
|
||||
| [Development Guide](./docs/DEVELOPMENT.md) | Toolchain, IDE setup, build commands, troubleshooting. *(Also: [Vietnamese](./docs/i18n/vi/DEVELOPMENT.md).)* |
|
||||
| [Architecture](./docs/ARCHITECTURE.md) | Layer model, data flow, engine design. |
|
||||
| [Features](./docs/FEATURES.md) | Full feature matrix. |
|
||||
| [Roadmap](./docs/ROADMAP.md) | Development phases. |
|
||||
| [Tech Spec](./docs/TECH-SPEC.md) | Implementation details and configs. |
|
||||
| [i18n Guide](./docs/I18N.md) | Adding new locales. |
|
||||
| [Packaging](./docs/PACKAGING.md) | Tauri release builds and signing. |
|
||||
| [Contributing](./CONTRIBUTING.md) | PR process, commit conventions, auto-ignore rules. |
|
||||
| [Security](./SECURITY.md) | Reporting vulnerabilities. |
|
||||
| [Privacy](./PRIVACY.md) | Data handling (TL;DR: none). |
|
||||
| [Disclaimer](./DISCLAIMER.md) | AI-assistance and translation-quality disclosure. *(Also: [Vietnamese](./docs/i18n/vi/DISCLAIMER.md).)* |
|
||||
| [Terms of Use](./TERMS.md) | Acceptable use and license compliance. |
|
||||
| [Code of Conduct](./CODE_OF_CONDUCT.md) | Contributor Covenant v2.1. |
|
||||
| [Maintainers](./MAINTAINERS.md) | Who runs this. |
|
||||
| [Third-Party Notices](./THIRD_PARTY_NOTICES.md) | Dependency attribution. |
|
||||
| [Changelog](./CHANGELOG.md) | Per-release notes. |
|
||||
|
||||
## Contributing
|
||||
|
||||
PRs welcome — read [CONTRIBUTING.md](./CONTRIBUTING.md) first. Native-speaker corrections to AI-translated locales (JA / ES / KO / ZH) are especially appreciated.
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
Licensed under the **[Apache License 2.0](./LICENSE)**. See [`NOTICE`](./NOTICE) for the copyright statement and [`THIRD_PARTY_NOTICES.md`](./THIRD_PARTY_NOTICES.md) for dependency licenses.
|
||||
|
||||
## AI Disclosure
|
||||
|
||||
This project was co-authored with **Anthropic's Claude Code (model 4.7 Opus, 1M-context variant)**. Source code, locale translations, documentation, and CI workflows were generated or edited with AI assistance, then reviewed by the human maintainer (`@poli0981`) before being committed. See [DISCLAIMER.md](./DISCLAIMER.md) for the full disclosure.
|
||||
|
||||
## Channel & Socials
|
||||
|
||||
Reference channel and maintainer links:
|
||||
|
||||
- **YouTube**: [@SkullMute](https://www.youtube.com/@SkullMute)
|
||||
- **X / Twitter**: [@SkullMute0011](https://x.com/SkullMute0011)
|
||||
- **Bluesky**: [skullmute0011.bsky.social](https://bsky.app/profile/skullmute0011.bsky.social)
|
||||
- **Mastodon**: [@skullmute1122@mastodon.social](https://mastodon.social/@skullmute1122)
|
||||
- **Discord** (project / repo): [join](https://discord.gg/2aNR3aVt)
|
||||
- **Discord** (gaming): [join](https://discord.gg/kDM9GMu5vm)
|
||||
- **Steam**: [profile](https://steamcommunity.com/profiles/76561199544666292/)
|
||||
- **Patreon / Ko-fi**: `skullmute`
|
||||
- **Telegram**: `@SkullMute0011` (bot: `@my_skull_bot`)
|
||||
- **Email** (security & private contact): `lopop05905@proton.me`
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
# Security Policy
|
||||
|
||||
## Supported Versions
|
||||
|
||||
Only the latest released version of YTDescGen receives security updates. This is a solo open-source project; there are no LTS branches.
|
||||
|
||||
| Version | Supported |
|
||||
| ------- | --------- |
|
||||
| 0.13.x | ✅ |
|
||||
| < 0.13 | ❌ |
|
||||
|
||||
## Reporting a Vulnerability
|
||||
|
||||
Please report security issues **privately**. Do not open a public issue.
|
||||
|
||||
**Preferred channels (in order):**
|
||||
|
||||
1. **GitHub Security Advisory** — open a draft advisory in this repository's `Security` tab.
|
||||
2. **Email** — `lopop05905@proton.me` with subject prefix `[SECURITY]`.
|
||||
|
||||
Include:
|
||||
|
||||
- A description of the issue and its potential impact.
|
||||
- Steps to reproduce, ideally a minimal proof-of-concept.
|
||||
- The affected version (`node -p "require('./package.json').version"`).
|
||||
- Whether the issue is already public.
|
||||
|
||||
## Response Timeline
|
||||
|
||||
- **Initial reply**: within 7 days.
|
||||
- **Triage + planned fix**: within 30 days for high-severity issues.
|
||||
- **Disclosure**: coordinated with the reporter after a fix ships, or at most 90 days from initial reply.
|
||||
|
||||
## Scope
|
||||
|
||||
In scope:
|
||||
|
||||
- The web bundle deployed to GitHub Pages.
|
||||
- The Tauri desktop binaries (Windows, macOS, Linux).
|
||||
- CI/CD workflows in `.github/workflows/`.
|
||||
|
||||
Out of scope:
|
||||
|
||||
- Vulnerabilities in third-party dependencies — report those upstream and we'll bump.
|
||||
- Issues requiring physical access to the user's device.
|
||||
- Self-XSS in user-supplied template content (the app deliberately renders user input as plain text in the preview).
|
||||
|
||||
## No Bounty
|
||||
|
||||
This is a solo open-source project. Credit in release notes and a thank-you in `MAINTAINERS.md` is the only reward we can offer.
|
||||
@@ -0,0 +1,67 @@
|
||||
# Terms of Use
|
||||
|
||||
**Effective:** 2026-05-14
|
||||
|
||||
These terms govern your use of YTDescGen — both the web version hosted at the project's GitHub Pages URL and any Tauri desktop binaries distributed under this project.
|
||||
|
||||
## License
|
||||
|
||||
YTDescGen is licensed under the **[Apache License 2.0](./LICENSE)**. You may use, modify, and redistribute it under those terms.
|
||||
|
||||
Apache 2.0 grants a patent license (Section 3) and an irrevocable copyright license (Section 2). It does **not** grant trademark rights — see Section 6 of the LICENSE.
|
||||
|
||||
## Acceptable Use
|
||||
|
||||
You may use YTDescGen for any lawful purpose. You may **not** use it to:
|
||||
|
||||
- Generate content that harasses, threatens, defames, or incites violence against any person or group.
|
||||
- Generate content intended to mislead or impersonate (faked attribution, false sponsor disclosure, deepfake-adjacent metadata).
|
||||
- Generate content that violates any third party's intellectual-property rights (including misleading copyright or licensing claims in descriptions).
|
||||
- Distribute modified versions of YTDescGen in a way that violates Apache-2.0 — e.g. stripping copyright notices, omitting the NOTICE file, falsely indicating endorsement.
|
||||
- Violate applicable law in your jurisdiction, including but not limited to **GDPR** (EU), **CCPA / CPRA** (California), **PIPL** (China), **LGPD** (Brazil), the **Vietnamese Cybersecurity Law**, or equivalent data-protection / cybercrime regulation in your country.
|
||||
- Bypass YouTube's policies on metadata (misleading thumbnails / titles / tags) using the application.
|
||||
|
||||
## GitHub Terms
|
||||
|
||||
If you use the web version hosted on GitHub Pages, your use is also subject to:
|
||||
|
||||
- [GitHub's Terms of Service](https://docs.github.com/en/site-policy/github-terms/github-terms-of-service)
|
||||
- [GitHub's Acceptable Use Policies](https://docs.github.com/en/site-policy/acceptable-use-policies)
|
||||
|
||||
These apply alongside this document; in case of conflict, GitHub's policies govern the hosted artifact.
|
||||
|
||||
## No Warranty
|
||||
|
||||
See [DISCLAIMER.md](./DISCLAIMER.md) and `LICENSE` §§ 7–8. The software is provided **as-is** with no warranty of any kind, express or implied.
|
||||
|
||||
## Generated Content
|
||||
|
||||
YTDescGen produces text intended to be pasted into YouTube descriptions. **You — the operator pasting that text — are solely responsible for**:
|
||||
|
||||
- Confirming the generated description complies with [YouTube's Community Guidelines](https://www.youtube.com/howyoutubeworks/policies/community-guidelines/) and [YouTube's Terms of Service](https://www.youtube.com/static?template=terms).
|
||||
- Disclosing paid promotions, sponsorships, and any AI-generated portions per YouTube's monetization and disclosure rules.
|
||||
- Not including misleading information, copyright-infringing material, or any prohibited content listed in YouTube's policies.
|
||||
- Truthful representation of run-type, difficulty, blind status, mod / cheat usage, and similar disclosures the application optionally exposes.
|
||||
|
||||
## Contributions
|
||||
|
||||
By submitting a contribution (issue, pull request, comment, locale translation, screenshot, log dump), you agree:
|
||||
|
||||
1. Your contribution is licensed under Apache 2.0, the same as the project.
|
||||
2. You have the right to grant that license (you wrote it, or it's compatibly licensed and credited).
|
||||
3. You will not include malicious code or knowingly vulnerable dependencies.
|
||||
4. You will follow the [Code of Conduct](./CODE_OF_CONDUCT.md) and [Contributing Guide](./CONTRIBUTING.md).
|
||||
|
||||
Violations may result in your contribution being closed and, in severe cases, a permanent ban from the repository — see `CONTRIBUTING.md` § "Auto-ignored Contributions".
|
||||
|
||||
## Termination
|
||||
|
||||
These terms remain in effect for as long as you use the software. Your rights under Apache 2.0 are perpetual subject to that license's termination clauses (notably § 3 patent retaliation).
|
||||
|
||||
## Changes
|
||||
|
||||
Updates to these terms are committed under `TERMS.md` with the `Effective` date updated. Continued use of the software after a change constitutes acceptance.
|
||||
|
||||
## Contact
|
||||
|
||||
`lopop05905@proton.me`
|
||||
@@ -0,0 +1,79 @@
|
||||
# Third-Party Notices
|
||||
|
||||
YTDescGen incorporates the following third-party software. Each dependency retains its own license; consult the linked project page for the full text of each license.
|
||||
|
||||
## Runtime Dependencies (web bundle)
|
||||
|
||||
| Package | Version | License | Project |
|
||||
| --- | --- | --- | --- |
|
||||
| `react` | ^18.3.0 | MIT | <https://github.com/facebook/react> |
|
||||
| `react-dom` | ^18.3.0 | MIT | <https://github.com/facebook/react> |
|
||||
| `react-router-dom` | ^6.26.0 | MIT | <https://github.com/remix-run/react-router> |
|
||||
| `react-i18next` | ^15.0.0 | MIT | <https://github.com/i18next/react-i18next> |
|
||||
| `i18next` | ^23.15.0 | MIT | <https://github.com/i18next/i18next> |
|
||||
| `zustand` | ^4.5.0 | MIT | <https://github.com/pmndrs/zustand> |
|
||||
| `react-hot-toast` | ^2.4.0 | MIT | <https://github.com/timolins/react-hot-toast> |
|
||||
| `lucide-react` | ^0.400.0 | ISC | <https://github.com/lucide-icons/lucide> |
|
||||
| `clsx` | ^2.1.0 | MIT | <https://github.com/lukeed/clsx> |
|
||||
| `@tauri-apps/api` | ^2.11.0 | Apache-2.0 OR MIT | <https://github.com/tauri-apps/tauri> |
|
||||
| `@tauri-apps/plugin-dialog` | ^2.0.0 | Apache-2.0 OR MIT | <https://github.com/tauri-apps/plugins-workspace> |
|
||||
| `@tauri-apps/plugin-fs` | ^2.0.0 | Apache-2.0 OR MIT | <https://github.com/tauri-apps/plugins-workspace> |
|
||||
| `@tauri-apps/plugin-opener` | ^2.0.0 | Apache-2.0 OR MIT | <https://github.com/tauri-apps/plugins-workspace> |
|
||||
| `@tauri-apps/plugin-shell` | ^2.0.0 | Apache-2.0 OR MIT | <https://github.com/tauri-apps/plugins-workspace> |
|
||||
|
||||
## Build / Dev Dependencies
|
||||
|
||||
| Package | Version | License | Project |
|
||||
| --- | --- | --- | --- |
|
||||
| `vite` | ^7.3.3 | MIT | <https://github.com/vitejs/vite> |
|
||||
| `@vitejs/plugin-react` | ^4.3.0 | MIT | <https://github.com/vitejs/vite-plugin-react> |
|
||||
| `typescript` | ^5.5.0 | Apache-2.0 | <https://github.com/microsoft/TypeScript> |
|
||||
| `tsx` | ^4.16.0 | MIT | <https://github.com/privatenumber/tsx> |
|
||||
| `tailwindcss` | ^3.4.0 | MIT | <https://github.com/tailwindlabs/tailwindcss> |
|
||||
| `prettier-plugin-tailwindcss` | ^0.6.0 | MIT | <https://github.com/tailwindlabs/prettier-plugin-tailwindcss> |
|
||||
| `postcss` | ^8.5.14 | MIT | <https://github.com/postcss/postcss> |
|
||||
| `autoprefixer` | ^10.4.0 | MIT | <https://github.com/postcss/autoprefixer> |
|
||||
| `eslint` | ^9.0.0 | MIT | <https://github.com/eslint/eslint> |
|
||||
| `@eslint/js` | ^9.0.0 | MIT | <https://github.com/eslint/eslint> |
|
||||
| `eslint-plugin-react-hooks` | ^5.0.0 | MIT | <https://github.com/facebook/react> |
|
||||
| `typescript-eslint` | ^8.0.0 | MIT | <https://github.com/typescript-eslint/typescript-eslint> |
|
||||
| `prettier` | ^3.3.0 | MIT | <https://github.com/prettier/prettier> |
|
||||
| `vitest` | ^3.2.4 | MIT | <https://github.com/vitest-dev/vitest> |
|
||||
| `@testing-library/react` | ^16.0.0 | MIT | <https://github.com/testing-library/react-testing-library> |
|
||||
| `@testing-library/jest-dom` | ^6.4.0 | MIT | <https://github.com/testing-library/jest-dom> |
|
||||
| `@types/react` | ^18.3.0 | MIT | DefinitelyTyped |
|
||||
| `@types/react-dom` | ^18.3.0 | MIT | DefinitelyTyped |
|
||||
|
||||
## Tauri Desktop (Rust crates)
|
||||
|
||||
| Crate | Version | License | Project |
|
||||
| --- | --- | --- | --- |
|
||||
| `tauri` | ^2 | Apache-2.0 OR MIT | <https://github.com/tauri-apps/tauri> |
|
||||
| `tauri-build` | ^2 | Apache-2.0 OR MIT | <https://github.com/tauri-apps/tauri> |
|
||||
| `tauri-plugin-dialog` | ^2 | Apache-2.0 OR MIT | <https://github.com/tauri-apps/plugins-workspace> |
|
||||
| `tauri-plugin-fs` | ^2 | Apache-2.0 OR MIT | <https://github.com/tauri-apps/plugins-workspace> |
|
||||
| `tauri-plugin-opener` | ^2 | Apache-2.0 OR MIT | <https://github.com/tauri-apps/plugins-workspace> |
|
||||
| `tauri-plugin-shell` | ^2 | Apache-2.0 OR MIT | <https://github.com/tauri-apps/plugins-workspace> |
|
||||
| `tauri-plugin-single-instance` | ^2 | Apache-2.0 OR MIT | <https://github.com/tauri-apps/plugins-workspace> |
|
||||
| `serde` | ^1 | Apache-2.0 OR MIT | <https://github.com/serde-rs/serde> |
|
||||
| `serde_json` | ^1 | Apache-2.0 OR MIT | <https://github.com/serde-rs/json> |
|
||||
|
||||
Transitive dependencies are not enumerated here. `cargo tree` (in `src-tauri/`) and `npm list --all` produce the exhaustive trees; this list covers the direct dependencies declared in `package.json` and `src-tauri/Cargo.toml`.
|
||||
|
||||
## Fonts & Icons
|
||||
|
||||
The application uses **system fonts** (`Inter` / `SF Pro` / `Segoe UI` / `Roboto`, fallback `sans-serif`). No custom font files are bundled in the web build.
|
||||
|
||||
Icons are provided by [`lucide-react`](https://github.com/lucide-icons/lucide) (ISC license — see above).
|
||||
|
||||
## AI-Assisted Development Disclosure
|
||||
|
||||
Per [`DISCLAIMER.md`](./DISCLAIMER.md), this project was co-authored with **Anthropic's Claude Code (model 4.7 Opus, 1M-context variant)**. The model contributed to source code, locale translations, documentation, and CI configuration. All output was reviewed by the human maintainer (`@poli0981`) before being committed.
|
||||
|
||||
No third-party content was reproduced verbatim from the model's training data. Any external text quoted in this repository (notably the Apache License 2.0 in [`LICENSE`](./LICENSE) and the Contributor Covenant link in [`CODE_OF_CONDUCT.md`](./CODE_OF_CONDUCT.md)) is sourced from canonical public locations.
|
||||
|
||||
Claude is a product of Anthropic, PBC — <https://www.anthropic.com>. No license is granted by Anthropic to use this project; the Apache 2.0 license in `LICENSE` is granted by `@poli0981` as the project author.
|
||||
|
||||
## Reporting an Omission
|
||||
|
||||
If you believe a dependency is missing from this list, please open an issue or PR per [`CONTRIBUTING.md`](./CONTRIBUTING.md).
|
||||
@@ -0,0 +1,143 @@
|
||||
# Development Guide
|
||||
|
||||
This guide covers setting up YTDescGen for local development on Windows, macOS, or Linux. The application is a Vite/React web app with an optional Tauri desktop shell.
|
||||
|
||||
## Reference Workstation
|
||||
|
||||
The reference workstation used to develop and ship this project:
|
||||
|
||||
| Component | Spec |
|
||||
| --- | --- |
|
||||
| OS | Windows 11 Pro (24H2 or newer) |
|
||||
| CPU | Modern x86-64 — 6+ cores with AVX2 (Intel 11th-gen / AMD Zen 3 or newer) |
|
||||
| GPU | Discrete or integrated — Tauri's WebView2 backend runs fine on iGPU |
|
||||
| RAM | 16 GB minimum, 32 GB recommended for parallel typecheck + dev server |
|
||||
| Storage | 5 GB free for `node_modules` + Cargo `target/` after a full Tauri build |
|
||||
| Display | 1920×1080 minimum; mobile-responsive layout tested down to 360×640 |
|
||||
|
||||
macOS and Linux work for development. Tauri release builds are cross-compiled or run on dedicated CI runners — see [PACKAGING.md](./PACKAGING.md).
|
||||
|
||||
## Toolchain
|
||||
|
||||
Install in this order:
|
||||
|
||||
| Tool | Version | Why |
|
||||
| --- | --- | --- |
|
||||
| **Node.js** | `>= 22.0.0` | Vite 7 dropped support for older Node. Use [nvm](https://github.com/nvm-sh/nvm) or [fnm](https://github.com/Schniz/fnm). |
|
||||
| **npm** | bundled with Node 22 | The project uses npm; `pnpm` and `yarn` are not tested. |
|
||||
| **Rust** | stable, `>= 1.78` | Required for the Tauri desktop build. Install via [rustup](https://rustup.rs/). |
|
||||
| **Python** | `3.12` | Optional — only needed for some Tauri platform tooling on Windows. |
|
||||
| **Tauri prerequisites** | per OS | See <https://v2.tauri.app/start/prerequisites/>. |
|
||||
|
||||
### Windows specifics
|
||||
|
||||
- Install **Visual Studio Build Tools 2022** with the "Desktop development with C++" workload (required by `tauri-build`).
|
||||
- Install the **WebView2 Runtime** (usually pre-installed on Windows 11).
|
||||
- Long path support: `git config --global core.longpaths true`.
|
||||
|
||||
### macOS specifics
|
||||
|
||||
- Install Xcode Command Line Tools: `xcode-select --install`.
|
||||
|
||||
### Linux specifics
|
||||
|
||||
- Install per-distro Tauri prerequisites — `libwebkit2gtk-4.1-dev`, `libappindicator3-dev`, etc. See the Tauri docs linked above.
|
||||
|
||||
## IDE Setup
|
||||
|
||||
The reference workflow uses **JetBrains 2026.x** IDEs (WebStorm or RustRover) as primary, with **VS Code** for quick edits.
|
||||
|
||||
### JetBrains (WebStorm / RustRover / IntelliJ Ultimate)
|
||||
|
||||
- Enable the **Tailwind CSS** plugin.
|
||||
- Enable the **i18next** plugin (or rely on `src/i18n/locales/_schema.json` for autocomplete).
|
||||
- Settings → Languages → TypeScript → "Use TypeScript from `node_modules/typescript`".
|
||||
- Settings → Code Style → Prettier → Run on save (`src/**/*.{ts,tsx,json,css}`).
|
||||
|
||||
### VS Code
|
||||
|
||||
Recommended extensions (no `.vscode/extensions.json` is committed — install manually):
|
||||
|
||||
- `dbaeumer.vscode-eslint`
|
||||
- `esbenp.prettier-vscode`
|
||||
- `bradlc.vscode-tailwindcss`
|
||||
- `rust-lang.rust-analyzer` (if you touch `src-tauri/`)
|
||||
- `tauri-apps.tauri-vscode`
|
||||
|
||||
## First Run
|
||||
|
||||
```bash
|
||||
# 1. Clone
|
||||
git clone https://github.com/poli0981/youtube-generator.git
|
||||
cd youtube-generator
|
||||
|
||||
# 2. Install web dependencies
|
||||
npm install
|
||||
|
||||
# 3. Start the web dev server
|
||||
npm run dev
|
||||
# → http://localhost:5173
|
||||
```
|
||||
|
||||
## Common Commands
|
||||
|
||||
| Command | What it does |
|
||||
| --- | --- |
|
||||
| `npm run dev` | Vite dev server, hot reload, web only. |
|
||||
| `npm run build` | Production web bundle into `dist/`. |
|
||||
| `npm run preview` | Serve the production bundle for sanity-testing. |
|
||||
| `npm run typecheck` | `tsc --noEmit`. Run before every PR. |
|
||||
| `npm run lint` | ESLint. Use `npm run lint:fix` to autofix. |
|
||||
| `npm run format` | Prettier write across `src/`. |
|
||||
| `npm run test` | Vitest watch mode. |
|
||||
| `npm run test:run` | Vitest single-run (for CI / pre-commit). |
|
||||
| `npm run test:coverage` | Coverage report into `coverage/`. |
|
||||
| `npm run validate:locales` | Enforces all 6 locales match `_schema.json` exactly. **Must pass before any locale-touching PR merges.** |
|
||||
| `npm run generate:locale` | Scaffold an empty locale from `_schema.json` for a new language. |
|
||||
| `npm run tauri:dev` | Tauri desktop in dev mode (auto-restarts on Rust or frontend changes). |
|
||||
| `npm run tauri:build` | Tauri release binary for the current platform. |
|
||||
|
||||
## Tauri Desktop Build
|
||||
|
||||
See [PACKAGING.md](./PACKAGING.md) for the full release pipeline. Quick local build:
|
||||
|
||||
```bash
|
||||
npm run tauri:build
|
||||
# Output: src-tauri/target/release/bundle/{msi,deb,dmg,app}
|
||||
```
|
||||
|
||||
The first build takes ~5–10 minutes (cold Cargo cache). Subsequent builds are incremental.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### `validate:locales` fails after adding a key
|
||||
|
||||
You forgot to update `src/i18n/locales/_schema.json`. The schema is the source of truth; locales must match it exactly.
|
||||
|
||||
### Tauri build fails with `link.exe not found` (Windows)
|
||||
|
||||
Install Visual Studio Build Tools 2022 + Desktop C++ workload, then restart your shell so the new PATH is picked up.
|
||||
|
||||
### Tauri build fails with `pkg-config not found` (Linux)
|
||||
|
||||
Install the per-distro Tauri prerequisites listed at <https://v2.tauri.app/start/prerequisites/>.
|
||||
|
||||
### `npm install` is slow or hangs
|
||||
|
||||
Disable corporate VPNs / proxies that block the npm registry. The lock file is committed; offline installs work after one successful online install.
|
||||
|
||||
### Hot reload not picking up locale edits
|
||||
|
||||
Locale JSON is bundled at build time, not watched. Restart the dev server after editing `src/i18n/locales/*`.
|
||||
|
||||
### Pre-commit hook fails on `validate:locales` but I didn't touch locales
|
||||
|
||||
You probably added a new key to `_schema.json` indirectly via the engine types (`src/engine/types.ts` → `CONTENT_WARNINGS`). New IDs require translations in all 6 locales.
|
||||
|
||||
## See Also
|
||||
|
||||
- [ARCHITECTURE.md](./ARCHITECTURE.md) — layer model, data flow, engine design.
|
||||
- [I18N.md](./I18N.md) — adding new languages step-by-step.
|
||||
- [PACKAGING.md](./PACKAGING.md) — Tauri release builds and signing.
|
||||
- [Top-level CONTRIBUTING.md](../CONTRIBUTING.md) — PR process, commit conventions, auto-ignore rules.
|
||||
- [Top-level SECURITY.md](../SECURITY.md) — reporting vulnerabilities.
|
||||
-120
@@ -1,120 +0,0 @@
|
||||
# Product Requirements Document (PRD)
|
||||
|
||||
## YTDescGen — YouTube Gameplay Description Generator
|
||||
|
||||
**Version**: 1.0
|
||||
**Author**: Kokone (skullmute)
|
||||
**Last Updated**: 2026-04-07
|
||||
|
||||
---
|
||||
|
||||
## 1. Problem Statement
|
||||
|
||||
Kênh YouTube Gameplay No Commentary cần tạo title, description, và tags cho mỗi video upload. Quy trình hiện tại:
|
||||
|
||||
1. Mở file template → copy → paste vào YouTube Studio
|
||||
2. Thay thế từng placeholder bằng thông tin game cụ thể
|
||||
3. Tìm và thêm tags phù hợp thể loại
|
||||
4. Lặp lại toàn bộ cho mỗi ngôn ngữ
|
||||
5. Lặp lại toàn bộ cho mỗi video trong series
|
||||
|
||||
**Pain Points:**
|
||||
- Lặp lại thao tác nhập Social/Rig/Channel info mỗi lần
|
||||
- Dễ quên/sai khi thay placeholder
|
||||
- Tags phải nhớ hoặc tra cứu từ file Excel
|
||||
- Không có cách kiểm tra character limit trước khi paste
|
||||
- Multi-language phải làm riêng từng bản
|
||||
- Không tái sử dụng được game info cho multi-part series
|
||||
|
||||
## 2. Solution
|
||||
|
||||
Ứng dụng web (+ desktop) với form-based UI:
|
||||
- Chọn video type, ngôn ngữ, thể loại game
|
||||
- Nhập thông tin một lần → lưu Profile
|
||||
- Nhập game info một lần → lưu Preset cho cả series
|
||||
- Tự động generate title + description + tags
|
||||
- Copy trực tiếp vào clipboard, paste vào YouTube Studio
|
||||
- Hỗ trợ batch mode cho nhiều video cùng game
|
||||
|
||||
## 3. Target Users
|
||||
|
||||
- **Primary**: Bản thân Kokone — kênh Gameplay No Commentary
|
||||
- **Secondary**: Các YouTuber gameplay nhỏ lẻ cùng niche
|
||||
- **Future**: Mở rộng cho community qua GitHub release
|
||||
|
||||
## 4. Core User Stories
|
||||
|
||||
### Must Have (P0)
|
||||
|
||||
| ID | Story | Acceptance Criteria |
|
||||
|----|-------|-------------------|
|
||||
| US-01 | Chọn loại video (Full, Part, Boss, etc.) | UI hiển thị đúng form fields theo loại video đã chọn |
|
||||
| US-02 | Chọn ngôn ngữ output (EN/VI/JA) | Toàn bộ generated output chuyển sang ngôn ngữ đã chọn |
|
||||
| US-03 | Chọn thể loại game | Tags được generate phù hợp thể loại |
|
||||
| US-04 | Nhập game info (tên, platform, store links) | Thông tin được đưa vào title + description đúng vị trí |
|
||||
| US-05 | Nhập timestamps | Timestamps xuất hiện trong description với format YouTube chapters |
|
||||
| US-06 | Nhập Social/Donate links | Links xuất hiện trong description section phù hợp |
|
||||
| US-07 | Nhập Rig info | Rig xuất hiện dưới dạng compact format trong description |
|
||||
| US-08 | Xem preview title + description + tags | Preview cập nhật real-time khi thay đổi input |
|
||||
| US-09 | Copy từng phần (title / desc / tags) | Clipboard chứa đúng nội dung, toast confirm |
|
||||
| US-10 | Copy tất cả | Clipboard chứa title + desc, tags riêng |
|
||||
| US-11 | Hiển thị character count | Description ≤ 5000, Tags ≤ 500, warning khi gần/vượt limit |
|
||||
| US-12 | Toggle Spoiler/18+ warning | Dòng warning xuất hiện/ẩn trong description |
|
||||
|
||||
### Should Have (P1)
|
||||
|
||||
| ID | Story | Acceptance Criteria |
|
||||
|----|-------|-------------------|
|
||||
| US-13 | Lưu Profile (social, rig, channel) | Profile persist qua sessions, load vào form |
|
||||
| US-14 | Lưu Game Preset (tên + store links) | Preset persist, selectable khi tạo video mới |
|
||||
| US-15 | Xem lịch sử generated outputs | Danh sách outputs đã tạo, có thể copy lại |
|
||||
| US-16 | Thêm ngôn ngữ mới dễ dàng | Chỉ cần thêm locale JSON files + register |
|
||||
| US-17 | Thêm thể loại game mới | Chỉ cần thêm entry trong config + tag pool |
|
||||
| US-18 | Import/Export settings | JSON export/import cho profiles + presets |
|
||||
| US-19 | Multi-language output đồng thời | Generate cả 3 ngôn ngữ cùng lúc, mỗi ngôn ngữ 1 tab |
|
||||
|
||||
### Nice to Have (P2)
|
||||
|
||||
| ID | Story | Acceptance Criteria |
|
||||
|----|-------|-------------------|
|
||||
| US-20 | Batch mode cho multi-part series | Nhập game info 1 lần, tạo N videos khác part/timestamps |
|
||||
| US-21 | Desktop app (Windows/macOS) | Tauri binary, hoạt động offline |
|
||||
| US-22 | Custom template editor | Người dùng tự sửa template structure |
|
||||
| US-23 | Keyboard shortcuts | Ctrl+Enter = generate, Ctrl+Shift+C = copy all |
|
||||
| US-24 | Dark/Light theme toggle | Theme persist qua sessions |
|
||||
| US-25 | Auto-save draft | Form state tự lưu, recover khi reload |
|
||||
| US-26 | Tag suggestions từ game name | Gợi ý tag dựa trên tên game + trending |
|
||||
| US-27 | YouTube API integration | Auto-fill qua YouTube Data API (future) |
|
||||
| US-28 | VS Code / IDE extension | Command palette → generate description |
|
||||
|
||||
## 5. Non-Functional Requirements
|
||||
|
||||
| Requirement | Target |
|
||||
|------------|--------|
|
||||
| First Contentful Paint | < 1.5s |
|
||||
| Bundle size (web) | < 500KB gzipped |
|
||||
| Desktop binary size | < 15MB (Tauri) |
|
||||
| Offline support | Full functionality without internet |
|
||||
| Browser support | Chrome 90+, Firefox 90+, Edge 90+ |
|
||||
| Accessibility | WCAG 2.1 Level AA |
|
||||
| Persistence | localStorage (web), file system (desktop) |
|
||||
|
||||
## 6. Out of Scope (v1)
|
||||
|
||||
- YouTube API auto-upload
|
||||
- Thumbnail generation
|
||||
- Video editing integration
|
||||
- Multi-user / team features
|
||||
- Cloud sync between devices
|
||||
- Analytics / tracking
|
||||
- Monetization
|
||||
|
||||
## 7. Success Metrics
|
||||
|
||||
| Metric | Target |
|
||||
|--------|--------|
|
||||
| Time to generate 1 video description | < 2 minutes (vs ~10 minutes manual) |
|
||||
| Error rate (missing fields, wrong format) | 0% — form validates before generate |
|
||||
| Languages supported at launch | 3 (EN, VI, JA) |
|
||||
| Genres supported at launch | 10+ |
|
||||
| Video types supported | 7+ |
|
||||
@@ -0,0 +1,145 @@
|
||||
# Hướng dẫn phát triển
|
||||
|
||||
> **Lưu ý dịch thuật:** Tiếng Anh là phiên bản chính ([`docs/DEVELOPMENT.md`](../../DEVELOPMENT.md)). Bản tiếng Việt này có thể chậm cập nhật một vài commit.
|
||||
|
||||
Hướng dẫn này bao gồm cách cài đặt YTDescGen để phát triển cục bộ trên Windows, macOS hoặc Linux. Ứng dụng là một web app Vite/React với tùy chọn vỏ desktop Tauri.
|
||||
|
||||
## Cấu hình máy tham chiếu
|
||||
|
||||
Cấu hình máy đã dùng để phát triển và phát hành dự án:
|
||||
|
||||
| Thành phần | Thông số |
|
||||
| --- | --- |
|
||||
| OS | Windows 11 Pro (24H2 trở lên) |
|
||||
| CPU | x86-64 hiện đại — 6 nhân trở lên có AVX2 (Intel gen 11 / AMD Zen 3 hoặc mới hơn) |
|
||||
| GPU | Rời hoặc tích hợp — backend WebView2 của Tauri chạy thoải mái trên iGPU |
|
||||
| RAM | Tối thiểu 16 GB, khuyến nghị 32 GB để chạy song song typecheck + dev server |
|
||||
| Lưu trữ | 5 GB trống cho `node_modules` + `target/` Cargo sau khi build Tauri đầy đủ |
|
||||
| Màn hình | Tối thiểu 1920×1080; layout mobile đã test đến 360×640 |
|
||||
|
||||
macOS và Linux đều dùng được để phát triển. Build release Tauri được cross-compile hoặc chạy trên CI riêng — xem [PACKAGING.md](../../PACKAGING.md).
|
||||
|
||||
## Toolchain
|
||||
|
||||
Cài theo thứ tự:
|
||||
|
||||
| Công cụ | Phiên bản | Lý do |
|
||||
| --- | --- | --- |
|
||||
| **Node.js** | `>= 22.0.0` | Vite 7 đã bỏ hỗ trợ Node cũ. Dùng [nvm](https://github.com/nvm-sh/nvm) hoặc [fnm](https://github.com/Schniz/fnm). |
|
||||
| **npm** | đi kèm Node 22 | Dự án dùng npm; `pnpm` và `yarn` chưa test. |
|
||||
| **Rust** | stable, `>= 1.78` | Bắt buộc cho build Tauri. Cài qua [rustup](https://rustup.rs/). |
|
||||
| **Python** | `3.12` | Tùy chọn — chỉ cần cho một số tooling Tauri trên Windows. |
|
||||
| **Tauri prerequisites** | theo OS | Xem <https://v2.tauri.app/start/prerequisites/>. |
|
||||
|
||||
### Windows
|
||||
|
||||
- Cài **Visual Studio Build Tools 2022** với workload "Desktop development with C++" (bắt buộc cho `tauri-build`).
|
||||
- Cài **WebView2 Runtime** (Windows 11 thường đã có sẵn).
|
||||
- Bật long path: `git config --global core.longpaths true`.
|
||||
|
||||
### macOS
|
||||
|
||||
- Cài Xcode Command Line Tools: `xcode-select --install`.
|
||||
|
||||
### Linux
|
||||
|
||||
- Cài Tauri prerequisites theo từng distro — `libwebkit2gtk-4.1-dev`, `libappindicator3-dev`, v.v. Xem docs Tauri ở link trên.
|
||||
|
||||
## Cấu hình IDE
|
||||
|
||||
Quy trình tham chiếu dùng **JetBrains 2026.x** (WebStorm hoặc RustRover) làm IDE chính, **VS Code** cho chỉnh sửa nhanh.
|
||||
|
||||
### JetBrains (WebStorm / RustRover / IntelliJ Ultimate)
|
||||
|
||||
- Bật plugin **Tailwind CSS**.
|
||||
- Bật plugin **i18next** (hoặc dùng `src/i18n/locales/_schema.json` để autocomplete).
|
||||
- Settings → Languages → TypeScript → "Use TypeScript from `node_modules/typescript`".
|
||||
- Settings → Code Style → Prettier → Run on save (`src/**/*.{ts,tsx,json,css}`).
|
||||
|
||||
### VS Code
|
||||
|
||||
Extension đề xuất (không có `.vscode/extensions.json` được commit — cài thủ công):
|
||||
|
||||
- `dbaeumer.vscode-eslint`
|
||||
- `esbenp.prettier-vscode`
|
||||
- `bradlc.vscode-tailwindcss`
|
||||
- `rust-lang.rust-analyzer` (nếu động vào `src-tauri/`)
|
||||
- `tauri-apps.tauri-vscode`
|
||||
|
||||
## Chạy lần đầu
|
||||
|
||||
```bash
|
||||
# 1. Clone
|
||||
git clone https://github.com/poli0981/youtube-generator.git
|
||||
cd youtube-generator
|
||||
|
||||
# 2. Cài web dependencies
|
||||
npm install
|
||||
|
||||
# 3. Chạy web dev server
|
||||
npm run dev
|
||||
# → http://localhost:5173
|
||||
```
|
||||
|
||||
## Lệnh thường dùng
|
||||
|
||||
| Lệnh | Tác dụng |
|
||||
| --- | --- |
|
||||
| `npm run dev` | Vite dev server, hot reload, chỉ web. |
|
||||
| `npm run build` | Bundle web production vào `dist/`. |
|
||||
| `npm run preview` | Phục vụ bundle production để kiểm tra. |
|
||||
| `npm run typecheck` | `tsc --noEmit`. Chạy trước mỗi PR. |
|
||||
| `npm run lint` | ESLint. Dùng `npm run lint:fix` để autofix. |
|
||||
| `npm run format` | Chạy Prettier trên `src/`. |
|
||||
| `npm run test` | Vitest chế độ watch. |
|
||||
| `npm run test:run` | Vitest chạy một lần (cho CI / pre-commit). |
|
||||
| `npm run test:coverage` | Báo cáo coverage vào `coverage/`. |
|
||||
| `npm run validate:locales` | Bắt buộc cả 6 locale có cùng key với `_schema.json`. **Phải pass trước khi merge PR động đến locale.** |
|
||||
| `npm run generate:locale` | Scaffold locale rỗng từ `_schema.json` cho ngôn ngữ mới. |
|
||||
| `npm run tauri:dev` | Tauri desktop chế độ dev (tự restart khi đổi Rust hoặc frontend). |
|
||||
| `npm run tauri:build` | Build binary Tauri release cho platform hiện tại. |
|
||||
|
||||
## Build Tauri desktop
|
||||
|
||||
Xem [PACKAGING.md](../../PACKAGING.md) cho pipeline release đầy đủ. Build cục bộ nhanh:
|
||||
|
||||
```bash
|
||||
npm run tauri:build
|
||||
# Output: src-tauri/target/release/bundle/{msi,deb,dmg,app}
|
||||
```
|
||||
|
||||
Build đầu tiên mất khoảng 5–10 phút (Cargo cache rỗng). Build sau đó là incremental.
|
||||
|
||||
## Khắc phục sự cố
|
||||
|
||||
### `validate:locales` fail sau khi thêm key
|
||||
|
||||
Bạn quên cập nhật `src/i18n/locales/_schema.json`. Schema là source of truth; locale phải khớp 100%.
|
||||
|
||||
### Build Tauri báo `link.exe not found` (Windows)
|
||||
|
||||
Cài Visual Studio Build Tools 2022 + workload Desktop C++, sau đó khởi động lại shell để PATH được cập nhật.
|
||||
|
||||
### Build Tauri báo `pkg-config not found` (Linux)
|
||||
|
||||
Cài Tauri prerequisites theo distro tại <https://v2.tauri.app/start/prerequisites/>.
|
||||
|
||||
### `npm install` chậm / treo
|
||||
|
||||
Tắt VPN/proxy doanh nghiệp chặn npm registry. Lock file đã commit; install offline chạy được sau lần install thành công đầu tiên.
|
||||
|
||||
### Hot reload không bắt được sửa đổi locale
|
||||
|
||||
Locale JSON bundle vào lúc build, không được watch. Restart dev server sau khi sửa `src/i18n/locales/*`.
|
||||
|
||||
### Pre-commit hook fail ở `validate:locales` mà mình không động đến locale
|
||||
|
||||
Có thể bạn vô tình thêm key mới vào `_schema.json` thông qua `src/engine/types.ts` → `CONTENT_WARNINGS`. ID mới cần dịch ở cả 6 locale.
|
||||
|
||||
## Xem thêm
|
||||
|
||||
- [ARCHITECTURE.md](../../ARCHITECTURE.md) — mô hình layer, data flow, thiết kế engine.
|
||||
- [I18N.md](../../I18N.md) — thêm ngôn ngữ mới từng bước.
|
||||
- [PACKAGING.md](../../PACKAGING.md) — Tauri release build và signing.
|
||||
- [CONTRIBUTING.md ở root](../../../CONTRIBUTING.md) — quy trình PR, quy ước commit, auto-ignore rules.
|
||||
- [SECURITY.md ở root](../../../SECURITY.md) — báo cáo lỗ hổng bảo mật.
|
||||
@@ -0,0 +1,55 @@
|
||||
# Tuyên bố miễn trừ
|
||||
|
||||
> **Lưu ý dịch thuật:** Tiếng Anh là phiên bản chính ([`DISCLAIMER.md` ở root](../../../DISCLAIMER.md)). Bản tiếng Việt này có thể chậm cập nhật một vài commit.
|
||||
|
||||
## Dự án cá nhân, có sự hỗ trợ của AI
|
||||
|
||||
YTDescGen là dự án cá nhân do một người duy trì (`@poli0981`) để dùng cho kênh YouTube [`@SkullMute`](https://www.youtube.com/@SkullMute), và chia sẻ công khai dưới dạng mã nguồn mở. Đây **không phải sản phẩm thương mại** và không có nghĩa vụ hỗ trợ.
|
||||
|
||||
Mã nguồn, tài liệu, bản dịch locale, và các quyết định thiết kế trong repo này được **đồng tác giả với sự hỗ trợ của Anthropic's Claude Code (model 4.7 Opus, cửa sổ context 1M)**. Tất cả commit, release, và quyết định kiến trúc được người duy trì xem xét và phê duyệt trước khi merge.
|
||||
|
||||
Tuyên bố này áp dụng cho:
|
||||
|
||||
- Mã nguồn trong `src/` và `src-tauri/`.
|
||||
- Tài liệu trong `docs/` và các file markdown ở root.
|
||||
- File locale trong `src/i18n/locales/`.
|
||||
- Workflow CI/CD trong `.github/workflows/`.
|
||||
|
||||
Xem thêm: [`THIRD_PARTY_NOTICES.md`](../../../THIRD_PARTY_NOTICES.md) § "AI-Assisted Development Disclosure".
|
||||
|
||||
## Chất lượng bản dịch
|
||||
|
||||
UI ứng dụng hỗ trợ sáu ngôn ngữ. Chất lượng tác giả khác nhau:
|
||||
|
||||
| Locale | Tác giả | Ghi chú |
|
||||
| --- | --- | --- |
|
||||
| Tiếng Anh (`en`) | Người duy trì + AI | Locale làm việc chính. Chuỗi được review trước khi commit. |
|
||||
| Tiếng Việt (`vi`) | Người duy trì (bản ngữ) + AI | Review bởi người duy trì là người bản ngữ tiếng Việt. |
|
||||
| Tiếng Nhật (`ja`) | AI dịch | Không có review bản ngữ. Ngữ pháp và văn phong có thể chưa chuẩn. |
|
||||
| Tiếng Tây Ban Nha (`es`) | AI dịch | Không có review bản ngữ. Không nhắm cụ thể vào giọng vùng miền (LatAm vs. Castilian). |
|
||||
| Tiếng Hàn (`ko`) | AI dịch | Không có review bản ngữ. Honorific register chọn ở mức trung tính. |
|
||||
| Tiếng Trung (`zh`) | AI dịch | Giản thể. Không có review bản ngữ. |
|
||||
|
||||
Nếu bạn là người bản ngữ và phát hiện dịch sai, vui lòng mở issue hoặc PR — xem [CONTRIBUTING.md](../../../CONTRIBUTING.md) § "i18n Contributions".
|
||||
|
||||
## Giọng văn và phong cách
|
||||
|
||||
Template description sinh ra dùng giọng văn được điều chỉnh cho ngách **gameplay no-commentary** trên YouTube, đặc biệt nhấn mạnh game horror / kinh dị (vì đó là nội dung kênh của người duy trì). Output có thể không hợp với mọi kênh hay mọi văn hoá đọc. Ứng dụng dùng template — bạn có thể sửa bất kỳ text sinh ra nào trước khi đăng.
|
||||
|
||||
Một số cụm tiếng Việt cố tình giữ từ vay mượn và giọng casual phản ánh cách các creator gameplay Việt thường viết description. Đây không phải "dịch sai" mà là lựa chọn phong cách cho đối tượng đọc.
|
||||
|
||||
## Không bảo hành
|
||||
|
||||
Phần mềm cung cấp **nguyên trạng, không có bất kỳ bảo hành nào**. Xem [`LICENSE`](../../../LICENSE) (Apache 2.0) §§ 7 và 8 cho đầy đủ điều khoản miễn trừ bảo hành và giới hạn trách nhiệm.
|
||||
|
||||
Nói ngắn gọn: nếu ứng dụng crash, làm hỏng draft, sinh ra description khiến video bị YouTube flag, hoặc gây bất kỳ thiệt hại nào — người duy trì không chịu trách nhiệm. Dùng tự chịu rủi ro; back up draft của bạn.
|
||||
|
||||
## Không liên kết với YouTube / Anthropic
|
||||
|
||||
YTDescGen **không** liên kết, được tài trợ, hay được YouTube, Google LLC, hay Alphabet Inc. xác nhận. Output sinh ra dành để paste vào YouTube Studio editor; ứng dụng này không tương tác với YouTube API.
|
||||
|
||||
Việc dùng Claude Code trong quá trình phát triển **không** biến đây thành sản phẩm của Anthropic. Anthropic, Claude, và Claude Code là nhãn hiệu của Anthropic, PBC. Dự án này độc lập.
|
||||
|
||||
## Không phải tư vấn pháp lý hay tài chính
|
||||
|
||||
Bất kỳ đề cập nào đến GDPR, CCPA, luật bản quyền, chính sách monetization của YouTube, hay các chủ đề tương tự trong tài liệu repo này chỉ để định hướng — **không phải tư vấn pháp lý**. Tham vấn luật sư có chuyên môn ở khu vực của bạn nếu cần câu trả lời chính thống.
|
||||
+64
-1
@@ -3,7 +3,70 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>YTDescGen</title>
|
||||
<meta name="color-scheme" content="dark light" />
|
||||
<meta name="theme-color" content="#0a0a0a" />
|
||||
|
||||
<title>YTDescGen — YouTube Title, Description & Tag Generator for Gameplay Channels</title>
|
||||
<meta name="description" content="Generate YouTube titles, descriptions, and tags for Gameplay No Commentary channels — multilingual templates, profile presets, and a Tauri-based desktop build." />
|
||||
<meta name="keywords" content="youtube, gameplay, no commentary, description generator, tags generator, video title, vietnamese, japanese, korean, spanish, chinese, multilingual, tauri, desktop" />
|
||||
<meta name="author" content="SkullMute (poli0981)" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
<meta name="generator" content="Vite + React" />
|
||||
|
||||
<link rel="canonical" href="https://poli0981.github.io/youtube-generator/" />
|
||||
<link rel="icon" type="image/svg+xml" href="/youtube-generator/favicon.svg" />
|
||||
<link rel="apple-touch-icon" href="/youtube-generator/apple-touch-icon.png" />
|
||||
<link rel="manifest" href="/youtube-generator/manifest.webmanifest" />
|
||||
|
||||
<!-- OpenGraph -->
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:site_name" content="YTDescGen" />
|
||||
<meta property="og:title" content="YTDescGen — YouTube Title, Description & Tag Generator" />
|
||||
<meta property="og:description" content="Multilingual title, description, and tag generator for Gameplay No Commentary channels." />
|
||||
<meta property="og:url" content="https://poli0981.github.io/youtube-generator/" />
|
||||
<meta property="og:image" content="https://poli0981.github.io/youtube-generator/og-image.png" />
|
||||
<meta property="og:image:width" content="1200" />
|
||||
<meta property="og:image:height" content="630" />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
<meta property="og:locale:alternate" content="vi_VN" />
|
||||
<meta property="og:locale:alternate" content="ja_JP" />
|
||||
<meta property="og:locale:alternate" content="es_ES" />
|
||||
<meta property="og:locale:alternate" content="ko_KR" />
|
||||
<meta property="og:locale:alternate" content="zh_CN" />
|
||||
|
||||
<!-- Twitter / X card -->
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:site" content="@SkullMute0011" />
|
||||
<meta name="twitter:creator" content="@SkullMute0011" />
|
||||
<meta name="twitter:title" content="YTDescGen — YouTube Title, Description & Tag Generator" />
|
||||
<meta name="twitter:description" content="Multilingual title, description, and tag generator for Gameplay No Commentary channels." />
|
||||
<meta name="twitter:image" content="https://poli0981.github.io/youtube-generator/og-image.png" />
|
||||
|
||||
<!-- Structured data -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "WebApplication",
|
||||
"name": "YTDescGen",
|
||||
"alternateName": "YouTube Description Generator",
|
||||
"url": "https://poli0981.github.io/youtube-generator/",
|
||||
"applicationCategory": "MultimediaApplication",
|
||||
"operatingSystem": "Web, Windows, macOS, Linux",
|
||||
"description": "Generate YouTube titles, descriptions, and tags for Gameplay No Commentary channels — multilingual templates, profile presets, and a Tauri-based desktop build.",
|
||||
"inLanguage": ["en", "vi", "ja", "es", "ko", "zh"],
|
||||
"offers": {
|
||||
"@type": "Offer",
|
||||
"price": "0",
|
||||
"priceCurrency": "USD"
|
||||
},
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "SkullMute",
|
||||
"url": "https://github.com/poli0981"
|
||||
},
|
||||
"license": "https://github.com/poli0981/youtube-generator/blob/main/LICENSE"
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
Generated
+204
-566
File diff suppressed because it is too large.
Load diff
+23
-22
@@ -1,7 +1,8 @@
|
||||
{
|
||||
"name": "yt-desc-gen",
|
||||
"version": "0.10.0",
|
||||
"version": "0.14.1",
|
||||
"private": true,
|
||||
"license": "Apache-2.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
@@ -21,39 +22,39 @@
|
||||
"tauri:build": "tauri build"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "^18.3.0",
|
||||
"react-dom": "^18.3.0",
|
||||
"react-router-dom": "^6.26.0",
|
||||
"zustand": "^4.5.0",
|
||||
"i18next": "^23.15.0",
|
||||
"react-i18next": "^15.0.0",
|
||||
"react-hot-toast": "^2.4.0",
|
||||
"lucide-react": "^0.400.0",
|
||||
"clsx": "^2.1.0",
|
||||
"@tauri-apps/api": "^2.0.0",
|
||||
"@tauri-apps/api": "^2.11.0",
|
||||
"@tauri-apps/plugin-dialog": "^2.0.0",
|
||||
"@tauri-apps/plugin-fs": "^2.0.0",
|
||||
"@tauri-apps/plugin-opener": "^2.0.0",
|
||||
"@tauri-apps/plugin-shell": "^2.0.0"
|
||||
"@tauri-apps/plugin-shell": "^2.0.0",
|
||||
"clsx": "^2.1.0",
|
||||
"i18next": "^23.15.0",
|
||||
"lucide-react": "^0.400.0",
|
||||
"react": "^18.3.0",
|
||||
"react-dom": "^18.3.0",
|
||||
"react-hot-toast": "^2.4.0",
|
||||
"react-i18next": "^15.0.0",
|
||||
"react-router-dom": "^6.26.0",
|
||||
"zustand": "^4.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.0.0",
|
||||
"@testing-library/jest-dom": "^6.4.0",
|
||||
"@testing-library/react": "^16.0.0",
|
||||
"@types/react": "^18.3.0",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"@vitejs/plugin-react": "^4.3.0",
|
||||
"typescript": "^5.5.0",
|
||||
"vite": "^5.4.0",
|
||||
"vitest": "^2.0.0",
|
||||
"@testing-library/react": "^16.0.0",
|
||||
"@testing-library/jest-dom": "^6.4.0",
|
||||
"tailwindcss": "^3.4.0",
|
||||
"postcss": "^8.4.0",
|
||||
"autoprefixer": "^10.4.0",
|
||||
"eslint": "^9.0.0",
|
||||
"@eslint/js": "^9.0.0",
|
||||
"typescript-eslint": "^8.0.0",
|
||||
"eslint-plugin-react-hooks": "^5.0.0",
|
||||
"postcss": "^8.5.14",
|
||||
"prettier": "^3.3.0",
|
||||
"prettier-plugin-tailwindcss": "^0.6.0",
|
||||
"tsx": "^4.16.0"
|
||||
"tailwindcss": "^3.4.0",
|
||||
"tsx": "^4.16.0",
|
||||
"typescript": "^5.5.0",
|
||||
"typescript-eslint": "^8.0.0",
|
||||
"vite": "^7.3.3",
|
||||
"vitest": "^3.2.4"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" fill="none">
|
||||
<rect width="64" height="64" rx="12" fill="#0a0a0a"/>
|
||||
<rect x="14" y="14" width="36" height="36" rx="6" fill="none" stroke="#ec4899" stroke-width="3"/>
|
||||
<path d="M22 22h20M22 30h20M22 38h12" stroke="#ec4899" stroke-width="3" stroke-linecap="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 335 B |
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"name": "YTDescGen",
|
||||
"short_name": "YTDescGen",
|
||||
"description": "YouTube title, description, and tag generator for Gameplay No Commentary channels.",
|
||||
"start_url": "/youtube-generator/",
|
||||
"scope": "/youtube-generator/",
|
||||
"display": "standalone",
|
||||
"background_color": "#0a0a0a",
|
||||
"theme_color": "#0a0a0a",
|
||||
"lang": "en",
|
||||
"categories": ["productivity", "utilities", "multimedia"],
|
||||
"icons": [
|
||||
{
|
||||
"src": "favicon.svg",
|
||||
"sizes": "any",
|
||||
"type": "image/svg+xml",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "icon-192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"purpose": "any maskable"
|
||||
},
|
||||
{
|
||||
"src": "icon-512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "any maskable"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
User-agent: *
|
||||
Allow: /
|
||||
Sitemap: https://poli0981.github.io/youtube-generator/sitemap.xml
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://poli0981.github.io/youtube-generator/</loc>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1.0</priority>
|
||||
</url>
|
||||
</urlset>
|
||||
Generated
+186
-61
@@ -616,14 +616,20 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ctor"
|
||||
version = "0.2.9"
|
||||
version = "0.8.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "32a2785755761f3ddc1492979ce1e48d2c00d09311c39e4466429188f3dd6501"
|
||||
checksum = "352d39c2f7bef1d6ad73db6f5160efcaed66d94ef8c6c573a8410c00bf909a98"
|
||||
dependencies = [
|
||||
"quote",
|
||||
"syn 2.0.117",
|
||||
"ctor-proc-macro",
|
||||
"dtor",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ctor-proc-macro"
|
||||
version = "0.0.7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "52560adf09603e58c9a7ee1fe1dcb95a16927b17c127f0ac02d6e768a0e25bc1"
|
||||
|
||||
[[package]]
|
||||
name = "darling"
|
||||
version = "0.23.0"
|
||||
@@ -658,6 +664,17 @@ dependencies = [
|
||||
"syn 2.0.117",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "dbus"
|
||||
version = "0.9.11"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b942602992bb7acfd1f51c49811c58a610ef9181b6e66f3e519d79b540a3bf73"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"libdbus-sys",
|
||||
"windows-sys 0.61.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "deranged"
|
||||
version = "0.5.8"
|
||||
@@ -818,6 +835,21 @@ dependencies = [
|
||||
"dtoa",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "dtor"
|
||||
version = "0.3.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f1057d6c64987086ff8ed0fd3fbf377a6b7d205cc7715868cd401705f715cbe4"
|
||||
dependencies = [
|
||||
"dtor-proc-macro",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "dtor-proc-macro"
|
||||
version = "0.0.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f678cf4a922c215c63e0de95eb1ff08a958a81d47e485cf9da1e27bf6305cfa5"
|
||||
|
||||
[[package]]
|
||||
name = "dunce"
|
||||
version = "1.0.5"
|
||||
@@ -1616,7 +1648,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "3e795dff5605e0f04bff85ca41b51a96b83e80b281e96231bcaaf1ac35103371"
|
||||
dependencies = [
|
||||
"byteorder",
|
||||
"png",
|
||||
"png 0.17.16",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -1967,6 +1999,15 @@ version = "0.2.184"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "48f5d2a454e16a5ea0f4ced81bd44e4cfc7bd3a507b61887c99fd3538b28e4af"
|
||||
|
||||
[[package]]
|
||||
name = "libdbus-sys"
|
||||
version = "0.2.7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "328c4789d42200f1eeec05bd86c9c13c7f091d2ba9a6ea35acdf51f31bc0f043"
|
||||
dependencies = [
|
||||
"pkg-config",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "libloading"
|
||||
version = "0.7.4"
|
||||
@@ -2105,9 +2146,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "muda"
|
||||
version = "0.17.2"
|
||||
version = "0.19.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7c9fec5a4e89860383d778d10563a605838f8f0b2f9303868937e5ff32e86177"
|
||||
checksum = "0ae8844f63b5b118e334e205585b8c5c17b984121dbdb179d44aeb087ffad3cb"
|
||||
dependencies = [
|
||||
"crossbeam-channel",
|
||||
"dpi",
|
||||
@@ -2118,10 +2159,10 @@ dependencies = [
|
||||
"objc2-core-foundation",
|
||||
"objc2-foundation",
|
||||
"once_cell",
|
||||
"png",
|
||||
"png 0.18.1",
|
||||
"serde",
|
||||
"thiserror 2.0.18",
|
||||
"windows-sys 0.60.2",
|
||||
"windows-sys 0.61.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -2139,12 +2180,6 @@ dependencies = [
|
||||
"thiserror 1.0.69",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ndk-context"
|
||||
version = "0.1.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b"
|
||||
|
||||
[[package]]
|
||||
name = "ndk-sys"
|
||||
version = "0.6.0+11769913"
|
||||
@@ -2226,6 +2261,27 @@ dependencies = [
|
||||
"objc2-foundation",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "objc2-cloud-kit"
|
||||
version = "0.3.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "73ad74d880bb43877038da939b7427bba67e9dd42004a18b809ba7d87cee241c"
|
||||
dependencies = [
|
||||
"bitflags 2.11.0",
|
||||
"objc2",
|
||||
"objc2-foundation",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "objc2-core-data"
|
||||
version = "0.3.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0b402a653efbb5e82ce4df10683b6b28027616a2715e90009947d50b8dd298fa"
|
||||
dependencies = [
|
||||
"objc2",
|
||||
"objc2-foundation",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "objc2-core-foundation"
|
||||
version = "0.3.2"
|
||||
@@ -2250,6 +2306,38 @@ dependencies = [
|
||||
"objc2-io-surface",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "objc2-core-image"
|
||||
version = "0.3.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e5d563b38d2b97209f8e861173de434bd0214cf020e3423a52624cd1d989f006"
|
||||
dependencies = [
|
||||
"objc2",
|
||||
"objc2-foundation",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "objc2-core-location"
|
||||
version = "0.3.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ca347214e24bc973fc025fd0d36ebb179ff30536ed1f80252706db19ee452009"
|
||||
dependencies = [
|
||||
"objc2",
|
||||
"objc2-foundation",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "objc2-core-text"
|
||||
version = "0.3.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0cde0dfb48d25d2b4862161a4d5fcc0e3c24367869ad306b0c9ec0073bfed92d"
|
||||
dependencies = [
|
||||
"bitflags 2.11.0",
|
||||
"objc2",
|
||||
"objc2-core-foundation",
|
||||
"objc2-core-graphics",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "objc2-encode"
|
||||
version = "4.1.0"
|
||||
@@ -2308,8 +2396,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d87d638e33c06f577498cbcc50491496a3ed4246998a7fbba7ccb98b1e7eab22"
|
||||
dependencies = [
|
||||
"bitflags 2.11.0",
|
||||
"block2",
|
||||
"objc2",
|
||||
"objc2-cloud-kit",
|
||||
"objc2-core-data",
|
||||
"objc2-core-foundation",
|
||||
"objc2-core-graphics",
|
||||
"objc2-core-image",
|
||||
"objc2-core-location",
|
||||
"objc2-core-text",
|
||||
"objc2-foundation",
|
||||
"objc2-quartz-core",
|
||||
"objc2-user-notifications",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "objc2-user-notifications"
|
||||
version = "0.3.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9df9128cbbfef73cda168416ccf7f837b62737d748333bfe9ab71c245d76613e"
|
||||
dependencies = [
|
||||
"objc2",
|
||||
"objc2-foundation",
|
||||
]
|
||||
|
||||
@@ -2463,7 +2570,6 @@ version = "0.11.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078"
|
||||
dependencies = [
|
||||
"phf_macros 0.11.3",
|
||||
"phf_shared 0.11.3",
|
||||
]
|
||||
|
||||
@@ -2525,7 +2631,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6"
|
||||
dependencies = [
|
||||
"phf_shared 0.10.0",
|
||||
"rand 0.8.5",
|
||||
"rand 0.8.6",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -2535,7 +2641,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d"
|
||||
dependencies = [
|
||||
"phf_shared 0.11.3",
|
||||
"rand 0.8.5",
|
||||
"rand 0.8.6",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -2562,19 +2668,6 @@ dependencies = [
|
||||
"syn 1.0.109",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "phf_macros"
|
||||
version = "0.11.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216"
|
||||
dependencies = [
|
||||
"phf_generator 0.11.3",
|
||||
"phf_shared 0.11.3",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.117",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "phf_macros"
|
||||
version = "0.13.1"
|
||||
@@ -2673,6 +2766,19 @@ dependencies = [
|
||||
"miniz_oxide",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "png"
|
||||
version = "0.18.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "60769b8b31b2a9f263dae2776c37b1b28ae246943cf719eb6946a1db05128a61"
|
||||
dependencies = [
|
||||
"bitflags 2.11.0",
|
||||
"crc32fast",
|
||||
"fdeflate",
|
||||
"flate2",
|
||||
"miniz_oxide",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "polling"
|
||||
version = "3.11.0"
|
||||
@@ -2841,9 +2947,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rand"
|
||||
version = "0.8.5"
|
||||
version = "0.8.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
|
||||
checksum = "5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"rand_chacha 0.3.1",
|
||||
@@ -3629,15 +3735,16 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "tao"
|
||||
version = "0.34.8"
|
||||
version = "0.35.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9103edf55f2da3c82aea4c7fab7c4241032bfeea0e71fa557d98e00e7ce7cc20"
|
||||
checksum = "a33f7f9e486ade65fcf1e45c440f9236c904f5c1002cdc7fc6ae582777345ce4"
|
||||
dependencies = [
|
||||
"bitflags 2.11.0",
|
||||
"block2",
|
||||
"core-foundation",
|
||||
"core-graphics",
|
||||
"crossbeam-channel",
|
||||
"dbus",
|
||||
"dispatch2",
|
||||
"dlopen2",
|
||||
"dpi",
|
||||
@@ -3648,13 +3755,14 @@ dependencies = [
|
||||
"libc",
|
||||
"log",
|
||||
"ndk",
|
||||
"ndk-context",
|
||||
"ndk-sys",
|
||||
"objc2",
|
||||
"objc2-app-kit",
|
||||
"objc2-foundation",
|
||||
"objc2-ui-kit",
|
||||
"once_cell",
|
||||
"parking_lot",
|
||||
"percent-encoding",
|
||||
"raw-window-handle",
|
||||
"tao-macros",
|
||||
"unicode-segmentation",
|
||||
@@ -3684,9 +3792,9 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
|
||||
|
||||
[[package]]
|
||||
name = "tauri"
|
||||
version = "2.10.3"
|
||||
version = "2.11.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "da77cc00fb9028caf5b5d4650f75e31f1ef3693459dfca7f7e506d1ecef0ba2d"
|
||||
checksum = "b93bd86d231f0a8138f11a02a584769fe4b703dc36ae133d783228dbc4801405"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"bytes",
|
||||
@@ -3735,9 +3843,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "tauri-build"
|
||||
version = "2.5.6"
|
||||
version = "2.6.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4bbc990d1dbf57a8e1c7fa2327f2a614d8b757805603c1b9ba5c81bade09fd4d"
|
||||
checksum = "3a318b234cc2dea65f575467bafcfb76286bce228ebc3778e337d61d03213007"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"cargo_toml",
|
||||
@@ -3751,22 +3859,21 @@ dependencies = [
|
||||
"serde_json",
|
||||
"tauri-utils",
|
||||
"tauri-winres",
|
||||
"toml 0.9.12+spec-1.1.0",
|
||||
"walkdir",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "tauri-codegen"
|
||||
version = "2.5.5"
|
||||
version = "2.6.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d4a24476afd977c5d5d169f72425868613d82747916dd29e0a357c84c4bd6d29"
|
||||
checksum = "6bd11644962add2549a60b7e7c6800f17d7020156e02f516021d8103e80cc528"
|
||||
dependencies = [
|
||||
"base64 0.22.1",
|
||||
"brotli",
|
||||
"ico",
|
||||
"json-patch",
|
||||
"plist",
|
||||
"png",
|
||||
"png 0.17.16",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"semver",
|
||||
@@ -3784,9 +3891,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "tauri-macros"
|
||||
version = "2.5.5"
|
||||
version = "2.6.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d39b349a98dadaffebb73f0a40dcd1f23c999211e5a2e744403db384d0c33de7"
|
||||
checksum = "fed9d3742a37a355d2e47c9af924e9fbc112abb76f9835d35d4780e318419502"
|
||||
dependencies = [
|
||||
"heck 0.5.0",
|
||||
"proc-macro2",
|
||||
@@ -3899,10 +4006,25 @@ dependencies = [
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "tauri-runtime"
|
||||
version = "2.10.1"
|
||||
name = "tauri-plugin-single-instance"
|
||||
version = "2.4.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2826d79a3297ed08cd6ea7f412644ef58e32969504bc4fbd8d7dbeabc4445ea2"
|
||||
checksum = "5c8f29386f5e9fdc699182388a33ee80a56de436d91b67459e86afef426282af"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"serde_json",
|
||||
"tauri",
|
||||
"thiserror 2.0.18",
|
||||
"tracing",
|
||||
"windows-sys 0.60.2",
|
||||
"zbus",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "tauri-runtime"
|
||||
version = "2.11.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8fef478ba1d2ac21c2d528740b24d0cb315e1e8b1111aae53fafac34804371fc"
|
||||
dependencies = [
|
||||
"cookie",
|
||||
"dpi",
|
||||
@@ -3925,9 +4047,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "tauri-runtime-wry"
|
||||
version = "2.10.1"
|
||||
version = "2.11.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e11ea2e6f801d275fdd890d6c9603736012742a1c33b96d0db788c9cdebf7f9e"
|
||||
checksum = "a3989df2ae1c476404fe0a2e8ffc4cfbde97e51efd613c2bb5355fbc9ab52cf0"
|
||||
dependencies = [
|
||||
"gtk",
|
||||
"http",
|
||||
@@ -3951,14 +4073,15 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "tauri-utils"
|
||||
version = "2.8.3"
|
||||
version = "2.9.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "219a1f983a2af3653f75b5747f76733b0da7ff03069c7a41901a5eb3ace4557d"
|
||||
checksum = "d57200389a2f82b4b0a40ae29ca19b6978116e8f4d4e974c3234ce40c0ffbdec"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"brotli",
|
||||
"cargo_metadata",
|
||||
"ctor",
|
||||
"dom_query",
|
||||
"dunce",
|
||||
"glob",
|
||||
"html5ever 0.29.1",
|
||||
@@ -3968,7 +4091,8 @@ dependencies = [
|
||||
"kuchikiki",
|
||||
"log",
|
||||
"memchr",
|
||||
"phf 0.11.3",
|
||||
"phf 0.13.1",
|
||||
"plist",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"regex",
|
||||
@@ -4323,9 +4447,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "tray-icon"
|
||||
version = "0.21.3"
|
||||
version = "0.23.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a5e85aa143ceb072062fc4d6356c1b520a51d636e7bc8e77ec94be3608e5e80c"
|
||||
checksum = "15edbb0d80583e85ee8df283410038e17314df5cba30da2087a54a85216c0773"
|
||||
dependencies = [
|
||||
"crossbeam-channel",
|
||||
"dirs",
|
||||
@@ -4337,10 +4461,10 @@ dependencies = [
|
||||
"objc2-core-graphics",
|
||||
"objc2-foundation",
|
||||
"once_cell",
|
||||
"png",
|
||||
"png 0.18.1",
|
||||
"serde",
|
||||
"thiserror 2.0.18",
|
||||
"windows-sys 0.60.2",
|
||||
"windows-sys 0.61.2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -5323,9 +5447,9 @@ checksum = "1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4"
|
||||
|
||||
[[package]]
|
||||
name = "wry"
|
||||
version = "0.54.4"
|
||||
version = "0.55.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e5a8135d8676225e5744de000d4dff5a082501bf7db6a1c1495034f8c314edbc"
|
||||
checksum = "186f9871daa55fd9c016578b810d149de58367113db7fb72b462d2323ce19514"
|
||||
dependencies = [
|
||||
"base64 0.22.1",
|
||||
"block2",
|
||||
@@ -5411,7 +5535,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "yt-desc-gen"
|
||||
version = "0.10.0"
|
||||
version = "0.14.1"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"serde_json",
|
||||
@@ -5421,6 +5545,7 @@ dependencies = [
|
||||
"tauri-plugin-fs",
|
||||
"tauri-plugin-opener",
|
||||
"tauri-plugin-shell",
|
||||
"tauri-plugin-single-instance",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
[package]
|
||||
name = "yt-desc-gen"
|
||||
version = "0.10.0"
|
||||
version = "0.14.1"
|
||||
description = "YouTube Gameplay Description Generator"
|
||||
authors = ["poli0981"]
|
||||
edition = "2021"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[lib]
|
||||
name = "yt_desc_gen_lib"
|
||||
@@ -18,5 +19,6 @@ tauri-plugin-dialog = "2"
|
||||
tauri-plugin-fs = "2"
|
||||
tauri-plugin-opener = "2"
|
||||
tauri-plugin-shell = "2"
|
||||
tauri-plugin-single-instance = "2"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
@@ -1 +1 @@
|
||||
{"core":{"default_permission":{"identifier":"default","description":"Default core plugins set.","permissions":["core:path:default","core:event:default","core:window:default","core:webview:default","core:app:default","core:image:default","core:resources:default","core:menu:default","core:tray:default"]},"permissions":{},"permission_sets":{},"global_scope_schema":null},"core:app":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-version","allow-name","allow-tauri-version","allow-identifier","allow-bundle-type","allow-register-listener","allow-remove-listener"]},"permissions":{"allow-app-hide":{"identifier":"allow-app-hide","description":"Enables the app_hide command without any pre-configured scope.","commands":{"allow":["app_hide"],"deny":[]}},"allow-app-show":{"identifier":"allow-app-show","description":"Enables the app_show command without any pre-configured scope.","commands":{"allow":["app_show"],"deny":[]}},"allow-bundle-type":{"identifier":"allow-bundle-type","description":"Enables the bundle_type command without any pre-configured scope.","commands":{"allow":["bundle_type"],"deny":[]}},"allow-default-window-icon":{"identifier":"allow-default-window-icon","description":"Enables the default_window_icon command without any pre-configured scope.","commands":{"allow":["default_window_icon"],"deny":[]}},"allow-fetch-data-store-identifiers":{"identifier":"allow-fetch-data-store-identifiers","description":"Enables the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":["fetch_data_store_identifiers"],"deny":[]}},"allow-identifier":{"identifier":"allow-identifier","description":"Enables the identifier command without any pre-configured scope.","commands":{"allow":["identifier"],"deny":[]}},"allow-name":{"identifier":"allow-name","description":"Enables the name command without any pre-configured scope.","commands":{"allow":["name"],"deny":[]}},"allow-register-listener":{"identifier":"allow-register-listener","description":"Enables the register_listener command without any pre-configured scope.","commands":{"allow":["register_listener"],"deny":[]}},"allow-remove-data-store":{"identifier":"allow-remove-data-store","description":"Enables the remove_data_store command without any pre-configured scope.","commands":{"allow":["remove_data_store"],"deny":[]}},"allow-remove-listener":{"identifier":"allow-remove-listener","description":"Enables the remove_listener command without any pre-configured scope.","commands":{"allow":["remove_listener"],"deny":[]}},"allow-set-app-theme":{"identifier":"allow-set-app-theme","description":"Enables the set_app_theme command without any pre-configured scope.","commands":{"allow":["set_app_theme"],"deny":[]}},"allow-set-dock-visibility":{"identifier":"allow-set-dock-visibility","description":"Enables the set_dock_visibility command without any pre-configured scope.","commands":{"allow":["set_dock_visibility"],"deny":[]}},"allow-tauri-version":{"identifier":"allow-tauri-version","description":"Enables the tauri_version command without any pre-configured scope.","commands":{"allow":["tauri_version"],"deny":[]}},"allow-version":{"identifier":"allow-version","description":"Enables the version command without any pre-configured scope.","commands":{"allow":["version"],"deny":[]}},"deny-app-hide":{"identifier":"deny-app-hide","description":"Denies the app_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["app_hide"]}},"deny-app-show":{"identifier":"deny-app-show","description":"Denies the app_show command without any pre-configured scope.","commands":{"allow":[],"deny":["app_show"]}},"deny-bundle-type":{"identifier":"deny-bundle-type","description":"Denies the bundle_type command without any pre-configured scope.","commands":{"allow":[],"deny":["bundle_type"]}},"deny-default-window-icon":{"identifier":"deny-default-window-icon","description":"Denies the default_window_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["default_window_icon"]}},"deny-fetch-data-store-identifiers":{"identifier":"deny-fetch-data-store-identifiers","description":"Denies the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":[],"deny":["fetch_data_store_identifiers"]}},"deny-identifier":{"identifier":"deny-identifier","description":"Denies the identifier command without any pre-configured scope.","commands":{"allow":[],"deny":["identifier"]}},"deny-name":{"identifier":"deny-name","description":"Denies the name command without any pre-configured scope.","commands":{"allow":[],"deny":["name"]}},"deny-register-listener":{"identifier":"deny-register-listener","description":"Denies the register_listener command without any pre-configured scope.","commands":{"allow":[],"deny":["register_listener"]}},"deny-remove-data-store":{"identifier":"deny-remove-data-store","description":"Denies the remove_data_store command Line truncated
|
||||
{"core":{"default_permission":{"identifier":"default","description":"Default core plugins set.","permissions":["core:path:default","core:event:default","core:window:default","core:webview:default","core:app:default","core:image:default","core:resources:default","core:menu:default","core:tray:default"]},"permissions":{},"permission_sets":{},"global_scope_schema":null},"core:app":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-version","allow-name","allow-tauri-version","allow-identifier","allow-bundle-type","allow-register-listener","allow-remove-listener","allow-supports-multiple-windows"]},"permissions":{"allow-app-hide":{"identifier":"allow-app-hide","description":"Enables the app_hide command without any pre-configured scope.","commands":{"allow":["app_hide"],"deny":[]}},"allow-app-show":{"identifier":"allow-app-show","description":"Enables the app_show command without any pre-configured scope.","commands":{"allow":["app_show"],"deny":[]}},"allow-bundle-type":{"identifier":"allow-bundle-type","description":"Enables the bundle_type command without any pre-configured scope.","commands":{"allow":["bundle_type"],"deny":[]}},"allow-default-window-icon":{"identifier":"allow-default-window-icon","description":"Enables the default_window_icon command without any pre-configured scope.","commands":{"allow":["default_window_icon"],"deny":[]}},"allow-fetch-data-store-identifiers":{"identifier":"allow-fetch-data-store-identifiers","description":"Enables the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":["fetch_data_store_identifiers"],"deny":[]}},"allow-identifier":{"identifier":"allow-identifier","description":"Enables the identifier command without any pre-configured scope.","commands":{"allow":["identifier"],"deny":[]}},"allow-name":{"identifier":"allow-name","description":"Enables the name command without any pre-configured scope.","commands":{"allow":["name"],"deny":[]}},"allow-register-listener":{"identifier":"allow-register-listener","description":"Enables the register_listener command without any pre-configured scope.","commands":{"allow":["register_listener"],"deny":[]}},"allow-remove-data-store":{"identifier":"allow-remove-data-store","description":"Enables the remove_data_store command without any pre-configured scope.","commands":{"allow":["remove_data_store"],"deny":[]}},"allow-remove-listener":{"identifier":"allow-remove-listener","description":"Enables the remove_listener command without any pre-configured scope.","commands":{"allow":["remove_listener"],"deny":[]}},"allow-set-app-theme":{"identifier":"allow-set-app-theme","description":"Enables the set_app_theme command without any pre-configured scope.","commands":{"allow":["set_app_theme"],"deny":[]}},"allow-set-dock-visibility":{"identifier":"allow-set-dock-visibility","description":"Enables the set_dock_visibility command without any pre-configured scope.","commands":{"allow":["set_dock_visibility"],"deny":[]}},"allow-supports-multiple-windows":{"identifier":"allow-supports-multiple-windows","description":"Enables the supports_multiple_windows command without any pre-configured scope.","commands":{"allow":["supports_multiple_windows"],"deny":[]}},"allow-tauri-version":{"identifier":"allow-tauri-version","description":"Enables the tauri_version command without any pre-configured scope.","commands":{"allow":["tauri_version"],"deny":[]}},"allow-version":{"identifier":"allow-version","description":"Enables the version command without any pre-configured scope.","commands":{"allow":["version"],"deny":[]}},"deny-app-hide":{"identifier":"deny-app-hide","description":"Denies the app_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["app_hide"]}},"deny-app-show":{"identifier":"deny-app-show","description":"Denies the app_show command without any pre-configured scope.","commands":{"allow":[],"deny":["app_show"]}},"deny-bundle-type":{"identifier":"deny-bundle-type","description":"Denies the bundle_type command without any pre-configured scope.","commands":{"allow":[],"deny":["bundle_type"]}},"deny-default-window-icon":{"identifier":"deny-default-window-icon","description":"Denies the default_window_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["default_window_icon"]}},"deny-fetch-data-store-identifiers":{"identifier":"deny-fetch-data-store-identifiers","description":"Denies the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":[],"deny":["fetch_data_store_identifiers"]}},"deny-identifier":{"identifier":"deny-identifier","description":"Denies the identifier command without any pre-configured scope.","commands":{"allow":[],"deny":["identifier"]}},"deny-name":{"identifier":"deny-name","description":"Denies the name command without any pre-configured scope.","commands":{"allow":[],"deny":["name"]}},"deny-register-listener":{"identifier":"deny-reLine truncated
|
||||
@@ -2385,10 +2385,10 @@
|
||||
"markdownDescription": "Default core plugins set.\n#### This default permission set includes:\n\n- `core:path:default`\n- `core:event:default`\n- `core:window:default`\n- `core:webview:default`\n- `core:app:default`\n- `core:image:default`\n- `core:resources:default`\n- `core:menu:default`\n- `core:tray:default`"
|
||||
},
|
||||
{
|
||||
"description": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-version`\n- `allow-name`\n- `allow-tauri-version`\n- `allow-identifier`\n- `allow-bundle-type`\n- `allow-register-listener`\n- `allow-remove-listener`",
|
||||
"description": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-version`\n- `allow-name`\n- `allow-tauri-version`\n- `allow-identifier`\n- `allow-bundle-type`\n- `allow-register-listener`\n- `allow-remove-listener`\n- `allow-supports-multiple-windows`",
|
||||
"type": "string",
|
||||
"const": "core:app:default",
|
||||
"markdownDescription": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-version`\n- `allow-name`\n- `allow-tauri-version`\n- `allow-identifier`\n- `allow-bundle-type`\n- `allow-register-listener`\n- `allow-remove-listener`"
|
||||
"markdownDescription": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-version`\n- `allow-name`\n- `allow-tauri-version`\n- `allow-identifier`\n- `allow-bundle-type`\n- `allow-register-listener`\n- `allow-remove-listener`\n- `allow-supports-multiple-windows`"
|
||||
},
|
||||
{
|
||||
"description": "Enables the app_hide command without any pre-configured scope.",
|
||||
@@ -2462,6 +2462,12 @@
|
||||
"const": "core:app:allow-set-dock-visibility",
|
||||
"markdownDescription": "Enables the set_dock_visibility command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Enables the supports_multiple_windows command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "core:app:allow-supports-multiple-windows",
|
||||
"markdownDescription": "Enables the supports_multiple_windows command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Enables the tauri_version command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
@@ -2546,6 +2552,12 @@
|
||||
"const": "core:app:deny-set-dock-visibility",
|
||||
"markdownDescription": "Denies the set_dock_visibility command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Denies the supports_multiple_windows command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "core:app:deny-supports-multiple-windows",
|
||||
"markdownDescription": "Denies the supports_multiple_windows command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Denies the tauri_version command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
@@ -3069,10 +3081,10 @@
|
||||
"markdownDescription": "Denies the close command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-new`\n- `allow-get-by-id`\n- `allow-remove-by-id`\n- `allow-set-icon`\n- `allow-set-menu`\n- `allow-set-tooltip`\n- `allow-set-title`\n- `allow-set-visible`\n- `allow-set-temp-dir-path`\n- `allow-set-icon-as-template`\n- `allow-set-show-menu-on-left-click`",
|
||||
"description": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-new`\n- `allow-get-by-id`\n- `allow-remove-by-id`\n- `allow-set-icon`\n- `allow-set-menu`\n- `allow-set-tooltip`\n- `allow-set-title`\n- `allow-set-visible`\n- `allow-set-temp-dir-path`\n- `allow-set-icon-as-template`\n- `allow-set-icon-with-as-template`\n- `allow-set-show-menu-on-left-click`",
|
||||
"type": "string",
|
||||
"const": "core:tray:default",
|
||||
"markdownDescription": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-new`\n- `allow-get-by-id`\n- `allow-remove-by-id`\n- `allow-set-icon`\n- `allow-set-menu`\n- `allow-set-tooltip`\n- `allow-set-title`\n- `allow-set-visible`\n- `allow-set-temp-dir-path`\n- `allow-set-icon-as-template`\n- `allow-set-show-menu-on-left-click`"
|
||||
"markdownDescription": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-new`\n- `allow-get-by-id`\n- `allow-remove-by-id`\n- `allow-set-icon`\n- `allow-set-menu`\n- `allow-set-tooltip`\n- `allow-set-title`\n- `allow-set-visible`\n- `allow-set-temp-dir-path`\n- `allow-set-icon-as-template`\n- `allow-set-icon-with-as-template`\n- `allow-set-show-menu-on-left-click`"
|
||||
},
|
||||
{
|
||||
"description": "Enables the get_by_id command without any pre-configured scope.",
|
||||
@@ -3104,6 +3116,12 @@
|
||||
"const": "core:tray:allow-set-icon-as-template",
|
||||
"markdownDescription": "Enables the set_icon_as_template command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Enables the set_icon_with_as_template command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "core:tray:allow-set-icon-with-as-template",
|
||||
"markdownDescription": "Enables the set_icon_with_as_template command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Enables the set_menu command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
@@ -3170,6 +3188,12 @@
|
||||
"const": "core:tray:deny-set-icon-as-template",
|
||||
"markdownDescription": "Denies the set_icon_as_template command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Denies the set_icon_with_as_template command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "core:tray:deny-set-icon-with-as-template",
|
||||
"markdownDescription": "Denies the set_icon_with_as_template command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Denies the set_menu command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
@@ -3429,10 +3453,16 @@
|
||||
"markdownDescription": "Denies the webview_size command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-get-all-windows`\n- `allow-scale-factor`\n- `allow-inner-position`\n- `allow-outer-position`\n- `allow-inner-size`\n- `allow-outer-size`\n- `allow-is-fullscreen`\n- `allow-is-minimized`\n- `allow-is-maximized`\n- `allow-is-focused`\n- `allow-is-decorated`\n- `allow-is-resizable`\n- `allow-is-maximizable`\n- `allow-is-minimizable`\n- `allow-is-closable`\n- `allow-is-visible`\n- `allow-is-enabled`\n- `allow-title`\n- `allow-current-monitor`\n- `allow-primary-monitor`\n- `allow-monitor-from-point`\n- `allow-available-monitors`\n- `allow-cursor-position`\n- `allow-theme`\n- `allow-is-always-on-top`\n- `allow-internal-toggle-maximize`",
|
||||
"description": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-get-all-windows`\n- `allow-scale-factor`\n- `allow-inner-position`\n- `allow-outer-position`\n- `allow-inner-size`\n- `allow-outer-size`\n- `allow-is-fullscreen`\n- `allow-is-minimized`\n- `allow-is-maximized`\n- `allow-is-focused`\n- `allow-is-decorated`\n- `allow-is-resizable`\n- `allow-is-maximizable`\n- `allow-is-minimizable`\n- `allow-is-closable`\n- `allow-is-visible`\n- `allow-is-enabled`\n- `allow-title`\n- `allow-current-monitor`\n- `allow-primary-monitor`\n- `allow-monitor-from-point`\n- `allow-available-monitors`\n- `allow-cursor-position`\n- `allow-theme`\n- `allow-is-always-on-top`\n- `allow-activity-name`\n- `allow-scene-identifier`\n- `allow-internal-toggle-maximize`",
|
||||
"type": "string",
|
||||
"const": "core:window:default",
|
||||
"markdownDescription": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-get-all-windows`\n- `allow-scale-factor`\n- `allow-inner-position`\n- `allow-outer-position`\n- `allow-inner-size`\n- `allow-outer-size`\n- `allow-is-fullscreen`\n- `allow-is-minimized`\n- `allow-is-maximized`\n- `allow-is-focused`\n- `allow-is-decorated`\n- `allow-is-resizable`\n- `allow-is-maximizable`\n- `allow-is-minimizable`\n- `allow-is-closable`\n- `allow-is-visible`\n- `allow-is-enabled`\n- `allow-title`\n- `allow-current-monitor`\n- `allow-primary-monitor`\n- `allow-monitor-from-point`\n- `allow-available-monitors`\n- `allow-cursor-position`\n- `allow-theme`\n- `allow-is-always-on-top`\n- `allow-internal-toggle-maximize`"
|
||||
"markdownDescription": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-get-all-windows`\n- `allow-scale-factor`\n- `allow-inner-position`\n- `allow-outer-position`\n- `allow-inner-size`\n- `allow-outer-size`\n- `allow-is-fullscreen`\n- `allow-is-minimized`\n- `allow-is-maximized`\n- `allow-is-focused`\n- `allow-is-decorated`\n- `allow-is-resizable`\n- `allow-is-maximizable`\n- `allow-is-minimizable`\n- `allow-is-closable`\n- `allow-is-visible`\n- `allow-is-enabled`\n- `allow-title`\n- `allow-current-monitor`\n- `allow-primary-monitor`\n- `allow-monitor-from-point`\n- `allow-available-monitors`\n- `allow-cursor-position`\n- `allow-theme`\n- `allow-is-always-on-top`\n- `allow-activity-name`\n- `allow-scene-identifier`\n- `allow-internal-toggle-maximize`"
|
||||
},
|
||||
{
|
||||
"description": "Enables the activity_name command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "core:window:allow-activity-name",
|
||||
"markdownDescription": "Enables the activity_name command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Enables the available_monitors command without any pre-configured scope.",
|
||||
@@ -3626,6 +3656,12 @@
|
||||
"const": "core:window:allow-scale-factor",
|
||||
"markdownDescription": "Enables the scale_factor command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Enables the scene_identifier command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "core:window:allow-scene-identifier",
|
||||
"markdownDescription": "Enables the scene_identifier command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Enables the set_always_on_bottom command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
@@ -3890,6 +3926,12 @@
|
||||
"const": "core:window:allow-unminimize",
|
||||
"markdownDescription": "Enables the unminimize command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Denies the activity_name command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "core:window:deny-activity-name",
|
||||
"markdownDescription": "Denies the activity_name command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Denies the available_monitors command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
@@ -4082,6 +4124,12 @@
|
||||
"const": "core:window:deny-scale-factor",
|
||||
"markdownDescription": "Denies the scale_factor command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Denies the scene_identifier command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "core:window:deny-scene-identifier",
|
||||
"markdownDescription": "Denies the scene_identifier command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Denies the set_always_on_bottom command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
|
||||
@@ -2385,10 +2385,10 @@
|
||||
"markdownDescription": "Default core plugins set.\n#### This default permission set includes:\n\n- `core:path:default`\n- `core:event:default`\n- `core:window:default`\n- `core:webview:default`\n- `core:app:default`\n- `core:image:default`\n- `core:resources:default`\n- `core:menu:default`\n- `core:tray:default`"
|
||||
},
|
||||
{
|
||||
"description": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-version`\n- `allow-name`\n- `allow-tauri-version`\n- `allow-identifier`\n- `allow-bundle-type`\n- `allow-register-listener`\n- `allow-remove-listener`",
|
||||
"description": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-version`\n- `allow-name`\n- `allow-tauri-version`\n- `allow-identifier`\n- `allow-bundle-type`\n- `allow-register-listener`\n- `allow-remove-listener`\n- `allow-supports-multiple-windows`",
|
||||
"type": "string",
|
||||
"const": "core:app:default",
|
||||
"markdownDescription": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-version`\n- `allow-name`\n- `allow-tauri-version`\n- `allow-identifier`\n- `allow-bundle-type`\n- `allow-register-listener`\n- `allow-remove-listener`"
|
||||
"markdownDescription": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-version`\n- `allow-name`\n- `allow-tauri-version`\n- `allow-identifier`\n- `allow-bundle-type`\n- `allow-register-listener`\n- `allow-remove-listener`\n- `allow-supports-multiple-windows`"
|
||||
},
|
||||
{
|
||||
"description": "Enables the app_hide command without any pre-configured scope.",
|
||||
@@ -2462,6 +2462,12 @@
|
||||
"const": "core:app:allow-set-dock-visibility",
|
||||
"markdownDescription": "Enables the set_dock_visibility command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Enables the supports_multiple_windows command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "core:app:allow-supports-multiple-windows",
|
||||
"markdownDescription": "Enables the supports_multiple_windows command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Enables the tauri_version command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
@@ -2546,6 +2552,12 @@
|
||||
"const": "core:app:deny-set-dock-visibility",
|
||||
"markdownDescription": "Denies the set_dock_visibility command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Denies the supports_multiple_windows command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "core:app:deny-supports-multiple-windows",
|
||||
"markdownDescription": "Denies the supports_multiple_windows command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Denies the tauri_version command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
@@ -3069,10 +3081,10 @@
|
||||
"markdownDescription": "Denies the close command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-new`\n- `allow-get-by-id`\n- `allow-remove-by-id`\n- `allow-set-icon`\n- `allow-set-menu`\n- `allow-set-tooltip`\n- `allow-set-title`\n- `allow-set-visible`\n- `allow-set-temp-dir-path`\n- `allow-set-icon-as-template`\n- `allow-set-show-menu-on-left-click`",
|
||||
"description": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-new`\n- `allow-get-by-id`\n- `allow-remove-by-id`\n- `allow-set-icon`\n- `allow-set-menu`\n- `allow-set-tooltip`\n- `allow-set-title`\n- `allow-set-visible`\n- `allow-set-temp-dir-path`\n- `allow-set-icon-as-template`\n- `allow-set-icon-with-as-template`\n- `allow-set-show-menu-on-left-click`",
|
||||
"type": "string",
|
||||
"const": "core:tray:default",
|
||||
"markdownDescription": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-new`\n- `allow-get-by-id`\n- `allow-remove-by-id`\n- `allow-set-icon`\n- `allow-set-menu`\n- `allow-set-tooltip`\n- `allow-set-title`\n- `allow-set-visible`\n- `allow-set-temp-dir-path`\n- `allow-set-icon-as-template`\n- `allow-set-show-menu-on-left-click`"
|
||||
"markdownDescription": "Default permissions for the plugin, which enables all commands.\n#### This default permission set includes:\n\n- `allow-new`\n- `allow-get-by-id`\n- `allow-remove-by-id`\n- `allow-set-icon`\n- `allow-set-menu`\n- `allow-set-tooltip`\n- `allow-set-title`\n- `allow-set-visible`\n- `allow-set-temp-dir-path`\n- `allow-set-icon-as-template`\n- `allow-set-icon-with-as-template`\n- `allow-set-show-menu-on-left-click`"
|
||||
},
|
||||
{
|
||||
"description": "Enables the get_by_id command without any pre-configured scope.",
|
||||
@@ -3104,6 +3116,12 @@
|
||||
"const": "core:tray:allow-set-icon-as-template",
|
||||
"markdownDescription": "Enables the set_icon_as_template command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Enables the set_icon_with_as_template command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "core:tray:allow-set-icon-with-as-template",
|
||||
"markdownDescription": "Enables the set_icon_with_as_template command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Enables the set_menu command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
@@ -3170,6 +3188,12 @@
|
||||
"const": "core:tray:deny-set-icon-as-template",
|
||||
"markdownDescription": "Denies the set_icon_as_template command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Denies the set_icon_with_as_template command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "core:tray:deny-set-icon-with-as-template",
|
||||
"markdownDescription": "Denies the set_icon_with_as_template command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Denies the set_menu command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
@@ -3429,10 +3453,16 @@
|
||||
"markdownDescription": "Denies the webview_size command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-get-all-windows`\n- `allow-scale-factor`\n- `allow-inner-position`\n- `allow-outer-position`\n- `allow-inner-size`\n- `allow-outer-size`\n- `allow-is-fullscreen`\n- `allow-is-minimized`\n- `allow-is-maximized`\n- `allow-is-focused`\n- `allow-is-decorated`\n- `allow-is-resizable`\n- `allow-is-maximizable`\n- `allow-is-minimizable`\n- `allow-is-closable`\n- `allow-is-visible`\n- `allow-is-enabled`\n- `allow-title`\n- `allow-current-monitor`\n- `allow-primary-monitor`\n- `allow-monitor-from-point`\n- `allow-available-monitors`\n- `allow-cursor-position`\n- `allow-theme`\n- `allow-is-always-on-top`\n- `allow-internal-toggle-maximize`",
|
||||
"description": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-get-all-windows`\n- `allow-scale-factor`\n- `allow-inner-position`\n- `allow-outer-position`\n- `allow-inner-size`\n- `allow-outer-size`\n- `allow-is-fullscreen`\n- `allow-is-minimized`\n- `allow-is-maximized`\n- `allow-is-focused`\n- `allow-is-decorated`\n- `allow-is-resizable`\n- `allow-is-maximizable`\n- `allow-is-minimizable`\n- `allow-is-closable`\n- `allow-is-visible`\n- `allow-is-enabled`\n- `allow-title`\n- `allow-current-monitor`\n- `allow-primary-monitor`\n- `allow-monitor-from-point`\n- `allow-available-monitors`\n- `allow-cursor-position`\n- `allow-theme`\n- `allow-is-always-on-top`\n- `allow-activity-name`\n- `allow-scene-identifier`\n- `allow-internal-toggle-maximize`",
|
||||
"type": "string",
|
||||
"const": "core:window:default",
|
||||
"markdownDescription": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-get-all-windows`\n- `allow-scale-factor`\n- `allow-inner-position`\n- `allow-outer-position`\n- `allow-inner-size`\n- `allow-outer-size`\n- `allow-is-fullscreen`\n- `allow-is-minimized`\n- `allow-is-maximized`\n- `allow-is-focused`\n- `allow-is-decorated`\n- `allow-is-resizable`\n- `allow-is-maximizable`\n- `allow-is-minimizable`\n- `allow-is-closable`\n- `allow-is-visible`\n- `allow-is-enabled`\n- `allow-title`\n- `allow-current-monitor`\n- `allow-primary-monitor`\n- `allow-monitor-from-point`\n- `allow-available-monitors`\n- `allow-cursor-position`\n- `allow-theme`\n- `allow-is-always-on-top`\n- `allow-internal-toggle-maximize`"
|
||||
"markdownDescription": "Default permissions for the plugin.\n#### This default permission set includes:\n\n- `allow-get-all-windows`\n- `allow-scale-factor`\n- `allow-inner-position`\n- `allow-outer-position`\n- `allow-inner-size`\n- `allow-outer-size`\n- `allow-is-fullscreen`\n- `allow-is-minimized`\n- `allow-is-maximized`\n- `allow-is-focused`\n- `allow-is-decorated`\n- `allow-is-resizable`\n- `allow-is-maximizable`\n- `allow-is-minimizable`\n- `allow-is-closable`\n- `allow-is-visible`\n- `allow-is-enabled`\n- `allow-title`\n- `allow-current-monitor`\n- `allow-primary-monitor`\n- `allow-monitor-from-point`\n- `allow-available-monitors`\n- `allow-cursor-position`\n- `allow-theme`\n- `allow-is-always-on-top`\n- `allow-activity-name`\n- `allow-scene-identifier`\n- `allow-internal-toggle-maximize`"
|
||||
},
|
||||
{
|
||||
"description": "Enables the activity_name command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "core:window:allow-activity-name",
|
||||
"markdownDescription": "Enables the activity_name command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Enables the available_monitors command without any pre-configured scope.",
|
||||
@@ -3626,6 +3656,12 @@
|
||||
"const": "core:window:allow-scale-factor",
|
||||
"markdownDescription": "Enables the scale_factor command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Enables the scene_identifier command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "core:window:allow-scene-identifier",
|
||||
"markdownDescription": "Enables the scene_identifier command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Enables the set_always_on_bottom command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
@@ -3890,6 +3926,12 @@
|
||||
"const": "core:window:allow-unminimize",
|
||||
"markdownDescription": "Enables the unminimize command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Denies the activity_name command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "core:window:deny-activity-name",
|
||||
"markdownDescription": "Denies the activity_name command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Denies the available_monitors command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
@@ -4082,6 +4124,12 @@
|
||||
"const": "core:window:deny-scale-factor",
|
||||
"markdownDescription": "Denies the scale_factor command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Denies the scene_identifier command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "core:window:deny-scene-identifier",
|
||||
"markdownDescription": "Denies the scene_identifier command without any pre-configured scope."
|
||||
},
|
||||
{
|
||||
"description": "Denies the set_always_on_bottom command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
|
||||
+27
-1
@@ -20,6 +20,19 @@ fn read_from_file(path: String) -> Result<String, String> {
|
||||
std::fs::read_to_string(&path).map_err(|e| e.to_string())
|
||||
}
|
||||
|
||||
/// Ensure a directory exists on disk, creating it (and any missing
|
||||
/// parents) if necessary. No-op when the path already exists as a
|
||||
/// directory. Fixes the "Windows cannot find ... AppData\Roaming\
|
||||
/// com.skullmute.ytdescgen" Explorer error on first launch — see
|
||||
/// `openSettingsFolder()` in `SettingsPage.tsx`, where this is called
|
||||
/// before `openPath(dir)` so the OS shell never sees a non-existent
|
||||
/// path. Returns the OS error string on failure (e.g. permission
|
||||
/// denied) so the caller can surface it via the in-app log.
|
||||
#[tauri::command]
|
||||
fn ensure_dir(path: String) -> Result<(), String> {
|
||||
std::fs::create_dir_all(&path).map_err(|e| e.to_string())
|
||||
}
|
||||
|
||||
#[cfg_attr(mobile, tauri::mobile_entry_point)]
|
||||
pub fn run() {
|
||||
// Flag that signals the user has requested a full quit (via tray menu).
|
||||
@@ -31,6 +44,19 @@ pub fn run() {
|
||||
let quitting_run = quitting.clone();
|
||||
|
||||
tauri::Builder::default()
|
||||
// Single-instance MUST be the first plugin registered (v0.12). Without
|
||||
// it, every launch spawns a fresh process — which then builds its own
|
||||
// tray icon in `setup()`, stacking duplicates in the system tray and
|
||||
// leaving orphan processes in Task Manager. The callback runs in the
|
||||
// *first* (already-running) instance when a second launch is attempted:
|
||||
// we surface its window instead of letting the second process boot.
|
||||
.plugin(tauri_plugin_single_instance::init(|app, _argv, _cwd| {
|
||||
if let Some(window) = app.get_webview_window("main") {
|
||||
let _ = window.show();
|
||||
let _ = window.unminimize();
|
||||
let _ = window.set_focus();
|
||||
}
|
||||
}))
|
||||
.plugin(tauri_plugin_dialog::init())
|
||||
.plugin(tauri_plugin_fs::init())
|
||||
.plugin(tauri_plugin_opener::init())
|
||||
@@ -86,7 +112,7 @@ pub fn run() {
|
||||
}
|
||||
}
|
||||
})
|
||||
.invoke_handler(tauri::generate_handler![save_to_file, read_from_file])
|
||||
.invoke_handler(tauri::generate_handler![save_to_file, read_from_file, ensure_dir])
|
||||
.build(tauri::generate_context!())
|
||||
.expect("error while building tauri application")
|
||||
.run(move |_app_handle, event| {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/tauri-apps/tauri/dev/crates/tauri-cli/schema.json",
|
||||
"productName": "YTDescGen",
|
||||
"version": "0.10.0",
|
||||
"version": "0.14.1",
|
||||
"identifier": "com.skullmute.ytdescgen",
|
||||
"build": {
|
||||
"beforeBuildCommand": "npm run build",
|
||||
@@ -15,9 +15,12 @@
|
||||
"title": "YTDescGen",
|
||||
"width": 1100,
|
||||
"height": 750,
|
||||
"minWidth": 800,
|
||||
"minHeight": 600,
|
||||
"resizable": true,
|
||||
"minWidth": 1100,
|
||||
"minHeight": 750,
|
||||
"maxWidth": 1100,
|
||||
"maxHeight": 750,
|
||||
"resizable": false,
|
||||
"maximizable": false,
|
||||
"fullscreen": false,
|
||||
"center": true
|
||||
}
|
||||
|
||||
@@ -1,82 +0,0 @@
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { Select } from "@components/ui/Select";
|
||||
import { Input } from "@components/ui/Input";
|
||||
import { ChipGroup } from "@components/ui/ChipGroup";
|
||||
import { useEditorStore } from "@store/editor-store";
|
||||
import {
|
||||
PLAYTHROUGH_STATUSES,
|
||||
DIFFICULTY_LEVELS,
|
||||
CONTENT_WARNINGS,
|
||||
type PlaythroughStatus,
|
||||
type DifficultyLevel,
|
||||
type ContentWarning,
|
||||
} from "@engine/types";
|
||||
|
||||
/**
|
||||
* Metadata that tells viewers "what kind of run is this and is it safe
|
||||
* to watch". Lives in the Content Details accordion alongside
|
||||
* timestamps + spoiler/mature toggles because all four are about
|
||||
* framing, not about the capture itself.
|
||||
*
|
||||
* Design notes:
|
||||
* - Playthrough + Difficulty default to `"none"`, which renders as "(no
|
||||
* value)" in the select and suppresses the section in the generated
|
||||
* description. Makes "no opinion" explicit rather than ambiguous.
|
||||
* - The custom-difficulty input only appears when the creator picks
|
||||
* `"custom"` — free-form text is intentionally not translated, so
|
||||
* game-specific names like "Lethal" or "Blueberry" survive a locale
|
||||
* switch unchanged.
|
||||
* - Content warnings use the existing ChipGroup multi-select, capped at
|
||||
* the full set (no `max` prop — every warning is additive).
|
||||
*/
|
||||
export function ContentDetailsForm() {
|
||||
const { t } = useTranslation("ui");
|
||||
const store = useEditorStore();
|
||||
|
||||
const playthroughOptions = PLAYTHROUGH_STATUSES.map((id) => ({
|
||||
value: id,
|
||||
label: t(`editor.playthroughOptions.${id}`),
|
||||
}));
|
||||
|
||||
const difficultyOptions = DIFFICULTY_LEVELS.map((id) => ({
|
||||
value: id,
|
||||
label: t(`editor.difficultyOptions.${id}`),
|
||||
}));
|
||||
|
||||
const contentWarningOptions = CONTENT_WARNINGS.map((id) => ({
|
||||
id,
|
||||
label: t(`editor.contentWarningOptions.${id}`),
|
||||
}));
|
||||
|
||||
return (
|
||||
<div className="flex flex-col gap-3">
|
||||
<Select
|
||||
label={t("editor.playthrough")}
|
||||
options={playthroughOptions}
|
||||
value={store.playthroughStatus}
|
||||
onChange={(v) => store.set("playthroughStatus", v as PlaythroughStatus)}
|
||||
/>
|
||||
<Select
|
||||
label={t("editor.difficulty")}
|
||||
options={difficultyOptions}
|
||||
value={store.difficulty}
|
||||
onChange={(v) => store.set("difficulty", v as DifficultyLevel)}
|
||||
/>
|
||||
{store.difficulty === "custom" && (
|
||||
<Input
|
||||
label={t("editor.difficultyCustomLabel")}
|
||||
placeholder={t("editor.difficultyCustomPlaceholder")}
|
||||
value={store.difficultyCustomLabel}
|
||||
onChange={(e) => store.set("difficultyCustomLabel", e.target.value)}
|
||||
/>
|
||||
)}
|
||||
<ChipGroup
|
||||
label={t("editor.contentWarnings")}
|
||||
multiple
|
||||
options={contentWarningOptions}
|
||||
value={store.contentWarnings}
|
||||
onChange={(next) => store.set("contentWarnings", next as ContentWarning[])}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,171 @@
|
||||
import { useMemo, useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { ChevronDown, ChevronRight, Search, X } from "lucide-react";
|
||||
import clsx from "clsx";
|
||||
import { useEditorStore } from "@store/editor-store";
|
||||
import {
|
||||
CONTENT_WARNING_GROUPS,
|
||||
type ContentWarningGroup,
|
||||
} from "@config/content-warning-groups";
|
||||
import type { ContentWarning } from "@engine/types";
|
||||
|
||||
/**
|
||||
* Replaces the v0.7 `WarningToggles` (2 boolean toggles + small
|
||||
* checklist) with a unified, searchable, grouped checklist of ~40
|
||||
* content-warning items. Each item maps to an entry in the editor's
|
||||
* `contentWarnings` array; checking appends, unchecking removes.
|
||||
*
|
||||
* Selection order is preserved — the description renders bullets in
|
||||
* the order the user picked them.
|
||||
*/
|
||||
export function ContentWarningChecklist() {
|
||||
const { t } = useTranslation("ui");
|
||||
const selected = useEditorStore((s) => s.contentWarnings);
|
||||
const set = useEditorStore((s) => s.set);
|
||||
|
||||
const [query, setQuery] = useState("");
|
||||
// Groups start collapsed except the one with the most-likely-needed
|
||||
// items (Spoilers). Users can search to bypass the collapse anyway.
|
||||
const [openGroups, setOpenGroups] = useState<Record<string, boolean>>(() => ({
|
||||
spoilers: true,
|
||||
photosensitive: false,
|
||||
phobias: false,
|
||||
mental_health: false,
|
||||
sensitive: false,
|
||||
horror_specific: false,
|
||||
}));
|
||||
|
||||
const trimmedQuery = query.trim().toLowerCase();
|
||||
const isFiltering = trimmedQuery.length > 0;
|
||||
|
||||
const filteredGroups = useMemo<ContentWarningGroup[]>(() => {
|
||||
if (!isFiltering) return [...CONTENT_WARNING_GROUPS];
|
||||
return CONTENT_WARNING_GROUPS.map((group) => ({
|
||||
...group,
|
||||
items: group.items.filter((id) =>
|
||||
t(`editor.contentWarningOptions.${id}`).toLowerCase().includes(trimmedQuery),
|
||||
),
|
||||
})).filter((group) => group.items.length > 0);
|
||||
}, [t, trimmedQuery, isFiltering]);
|
||||
|
||||
const totalMatching = filteredGroups.reduce((acc, g) => acc + g.items.length, 0);
|
||||
|
||||
function toggleItem(id: ContentWarning) {
|
||||
if (selected.includes(id)) {
|
||||
set(
|
||||
"contentWarnings",
|
||||
selected.filter((x) => x !== id),
|
||||
);
|
||||
} else {
|
||||
set("contentWarnings", [...selected, id]);
|
||||
}
|
||||
}
|
||||
|
||||
function toggleGroup(groupId: string) {
|
||||
setOpenGroups((prev) => ({ ...prev, [groupId]: !prev[groupId] }));
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="flex flex-col gap-2">
|
||||
<div className="flex items-baseline justify-between">
|
||||
<span className="text-sm font-medium text-text-secondary">
|
||||
{t("editor.warnings")}
|
||||
</span>
|
||||
{selected.length > 0 && (
|
||||
<span className="text-xs text-text-muted">
|
||||
{selected.length} selected
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<div className="relative">
|
||||
<Search className="pointer-events-none absolute left-2.5 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-text-muted" />
|
||||
<input
|
||||
type="text"
|
||||
value={query}
|
||||
onChange={(e) => setQuery(e.target.value)}
|
||||
placeholder={t("editor.contentWarningSearchPlaceholder")}
|
||||
className="w-full rounded-md border border-border bg-surface-1 py-1.5 pl-8 pr-7 text-sm text-text-primary placeholder:text-text-muted focus:border-accent focus:outline-none"
|
||||
/>
|
||||
{query && (
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setQuery("")}
|
||||
className="absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-text-primary"
|
||||
aria-label="Clear search"
|
||||
>
|
||||
<X className="h-3.5 w-3.5" />
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{isFiltering && totalMatching === 0 ? (
|
||||
<p className="py-2 text-center text-xs text-text-muted">
|
||||
{t("editor.contentWarningEmpty")}
|
||||
</p>
|
||||
) : (
|
||||
<div className="flex flex-col gap-1">
|
||||
{filteredGroups.map((group) => {
|
||||
const isOpen = isFiltering || openGroups[group.id];
|
||||
const groupSelectedCount = group.items.filter((id) =>
|
||||
selected.includes(id),
|
||||
).length;
|
||||
return (
|
||||
<div
|
||||
key={group.id}
|
||||
className="overflow-hidden rounded-md border border-border bg-surface-1"
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => toggleGroup(group.id)}
|
||||
className="flex w-full items-center justify-between px-3 py-2 text-left text-xs font-medium text-text-secondary hover:bg-surface-2"
|
||||
aria-expanded={isOpen}
|
||||
>
|
||||
<span className="flex items-center gap-1.5">
|
||||
{isOpen ? (
|
||||
<ChevronDown className="h-3.5 w-3.5" />
|
||||
) : (
|
||||
<ChevronRight className="h-3.5 w-3.5" />
|
||||
)}
|
||||
{t(group.labelKey)}
|
||||
</span>
|
||||
{groupSelectedCount > 0 && (
|
||||
<span className="rounded-full bg-accent/15 px-2 py-0.5 text-[10px] font-medium text-accent">
|
||||
{groupSelectedCount}
|
||||
</span>
|
||||
)}
|
||||
</button>
|
||||
{isOpen && (
|
||||
<div className="grid grid-cols-1 gap-x-3 gap-y-1 border-t border-border bg-surface-1 px-3 py-2 sm:grid-cols-2">
|
||||
{group.items.map((id) => {
|
||||
const checked = selected.includes(id);
|
||||
return (
|
||||
<label
|
||||
key={id}
|
||||
className={clsx(
|
||||
"flex cursor-pointer items-center gap-2 rounded px-1.5 py-1 text-xs transition-colors",
|
||||
checked
|
||||
? "text-text-primary"
|
||||
: "text-text-secondary hover:text-text-primary",
|
||||
)}
|
||||
>
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={checked}
|
||||
onChange={() => toggleItem(id)}
|
||||
className="h-3.5 w-3.5 shrink-0 cursor-pointer rounded border-border text-accent focus:ring-1 focus:ring-accent/40"
|
||||
/>
|
||||
<span>{t(`editor.contentWarningOptions.${id}`)}</span>
|
||||
</label>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -4,10 +4,15 @@ import { Textarea } from "@components/ui/Textarea";
|
||||
import { VIDEO_TYPES } from "@config/video-types";
|
||||
import {
|
||||
GACHA_QUEST_TYPE_GROUPS,
|
||||
GACHA_QUEST_FIELD_VISIBILITY,
|
||||
GACHA_QUEST_PLACEHOLDERS,
|
||||
DEFAULT_GACHA_QUEST_TYPE,
|
||||
type GachaQuestType,
|
||||
} from "@config/gacha-quest-types";
|
||||
import { useEditorStore } from "@store/editor-store";
|
||||
|
||||
const ANNIVERSARY_YEARS = Array.from({ length: 20 }, (_, i) => i + 1);
|
||||
|
||||
/**
|
||||
* Renders inputs for the extra fields required by the currently selected
|
||||
* video type — e.g. "Part Number" for `part`, "Boss Name" for `boss`,
|
||||
@@ -22,6 +27,32 @@ export function ExtraFieldsInput() {
|
||||
const extraFields: readonly string[] = currentVideoType?.extraFields ?? [];
|
||||
if (extraFields.length === 0) return null;
|
||||
|
||||
const isGacha = store.videoType === "gacha_quest";
|
||||
const questType = (store.gachaQuestType ?? DEFAULT_GACHA_QUEST_TYPE) as GachaQuestType;
|
||||
const visibility = GACHA_QUEST_FIELD_VISIBILITY[questType];
|
||||
const placeholders = GACHA_QUEST_PLACEHOLDERS[questType];
|
||||
|
||||
const placeholderFor = (
|
||||
field: "chapterName" | "questName" | "partNumber",
|
||||
): string => {
|
||||
const key = `editor.placeholders.questType.${questType}.${field}`;
|
||||
const localised = t(key);
|
||||
if (localised && localised !== key) return localised;
|
||||
const fromMap = placeholders[field];
|
||||
if (fromMap) return fromMap;
|
||||
return t(`editor.${field}Placeholder`);
|
||||
};
|
||||
|
||||
// For non-gacha video types, the original visibility logic still applies
|
||||
// — every extraField listed renders. Only gacha-quest gates the trio
|
||||
// through `GACHA_QUEST_FIELD_VISIBILITY` plus the new char/year/version
|
||||
// fields.
|
||||
const showField = (id: "chapterName" | "questName" | "partNumber"): boolean => {
|
||||
if (!extraFields.includes(id)) return false;
|
||||
if (!isGacha) return true;
|
||||
return visibility[id];
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="flex flex-col gap-3">
|
||||
{extraFields.includes("gachaQuestType") && (
|
||||
@@ -55,30 +86,74 @@ export function ExtraFieldsInput() {
|
||||
</select>
|
||||
</div>
|
||||
)}
|
||||
{extraFields.includes("chapterName") && (
|
||||
{isGacha && visibility.characterName && (
|
||||
<Input
|
||||
label={t("editor.characterName")}
|
||||
placeholder={t("editor.characterNamePlaceholder")}
|
||||
value={store.characterName ?? ""}
|
||||
onChange={(e) => store.set("characterName", e.target.value)}
|
||||
/>
|
||||
)}
|
||||
{isGacha && visibility.anniversaryYear && (
|
||||
<div className="flex flex-col gap-1">
|
||||
<label
|
||||
htmlFor="anniversary-year"
|
||||
className="text-sm font-medium text-text-secondary"
|
||||
>
|
||||
{t("editor.anniversaryYear")}
|
||||
</label>
|
||||
<select
|
||||
id="anniversary-year"
|
||||
value={store.anniversaryYear ?? ""}
|
||||
onChange={(e) =>
|
||||
store.set(
|
||||
"anniversaryYear",
|
||||
e.target.value === "" ? null : Number(e.target.value),
|
||||
)
|
||||
}
|
||||
className="rounded-lg border border-border bg-surface-1 px-3 py-2 text-sm text-text-primary transition-colors focus:border-accent focus:outline-none focus:ring-2 focus:ring-accent/50"
|
||||
>
|
||||
<option value="">—</option>
|
||||
{ANNIVERSARY_YEARS.map((y) => (
|
||||
<option key={y} value={y}>
|
||||
{t("editor.anniversaryYearOption", { count: y })}
|
||||
</option>
|
||||
))}
|
||||
</select>
|
||||
</div>
|
||||
)}
|
||||
{showField("chapterName") && (
|
||||
<Input
|
||||
label={t("editor.chapterName")}
|
||||
placeholder={t("editor.chapterNamePlaceholder")}
|
||||
placeholder={isGacha ? placeholderFor("chapterName") : t("editor.chapterNamePlaceholder")}
|
||||
value={store.chapterName ?? ""}
|
||||
onChange={(e) => store.set("chapterName", e.target.value)}
|
||||
/>
|
||||
)}
|
||||
{extraFields.includes("questName") && (
|
||||
{showField("questName") && (
|
||||
<Input
|
||||
label={t("editor.questName")}
|
||||
placeholder={t("editor.questNamePlaceholder")}
|
||||
placeholder={isGacha ? placeholderFor("questName") : t("editor.questNamePlaceholder")}
|
||||
value={store.questName ?? ""}
|
||||
onChange={(e) => store.set("questName", e.target.value)}
|
||||
/>
|
||||
)}
|
||||
{extraFields.includes("partNumber") && (
|
||||
{showField("partNumber") && (
|
||||
<Input
|
||||
label={t("editor.partNumber")}
|
||||
placeholder={t("editor.partNumberPlaceholder")}
|
||||
placeholder={isGacha ? placeholderFor("partNumber") : t("editor.partNumberPlaceholder")}
|
||||
value={store.partNumber ?? ""}
|
||||
onChange={(e) => store.set("partNumber", e.target.value)}
|
||||
/>
|
||||
)}
|
||||
{isGacha && (
|
||||
<Input
|
||||
label={t("editor.gachaVersion")}
|
||||
placeholder={t("editor.gachaVersionPlaceholder")}
|
||||
value={store.gachaVersion ?? ""}
|
||||
onChange={(e) => store.set("gachaVersion", e.target.value)}
|
||||
/>
|
||||
)}
|
||||
{extraFields.includes("bossName") && (
|
||||
<Input
|
||||
label={t("editor.bossName")}
|
||||
|
||||
@@ -22,12 +22,16 @@ export function GameInfoForm() {
|
||||
placeholder={t("editor.gameNamePlaceholder")}
|
||||
value={store.gameName}
|
||||
onChange={(e) => store.set("gameName", e.target.value)}
|
||||
autoComplete="off"
|
||||
enterKeyHint="next"
|
||||
/>
|
||||
<Input
|
||||
label={t("editor.channelName")}
|
||||
placeholder={t("editor.channelNamePlaceholder")}
|
||||
value={store.channelName}
|
||||
onChange={(e) => store.set("channelName", e.target.value)}
|
||||
autoComplete="off"
|
||||
enterKeyHint="next"
|
||||
/>
|
||||
<Select
|
||||
label={t("editor.platform")}
|
||||
|
||||
@@ -0,0 +1,129 @@
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { Select } from "@components/ui/Select";
|
||||
import { Input } from "@components/ui/Input";
|
||||
import { useEditorStore } from "@store/editor-store";
|
||||
import {
|
||||
PLAYTHROUGH_STATUSES,
|
||||
DIFFICULTY_LEVELS,
|
||||
type PlaythroughStatus,
|
||||
type DifficultyLevel,
|
||||
type LanguagePatch,
|
||||
type GameVersion,
|
||||
} from "@engine/types";
|
||||
import {
|
||||
LANGUAGE_PATCH_UI_OPTIONS,
|
||||
GAME_VERSION_UI_OPTIONS,
|
||||
languagePatchHasCustomSlot,
|
||||
gameVersionHasCustomSlot,
|
||||
} from "@config/playthrough-options";
|
||||
|
||||
/**
|
||||
* v0.12 unified Playthrough Notes form. Replaces the v0.7
|
||||
* `ContentDetailsForm` (deleted in v0.12 — it only carried Playthrough
|
||||
* + Difficulty) with a 5-field block that maps 1:1 to the bullets of
|
||||
* the `▸ 🎮 PLAYTHROUGH NOTES` description section:
|
||||
*
|
||||
* • Run type ← `playthroughStatus` (existing)
|
||||
* • Difficulty ← `difficulty` (+ custom label, existing)
|
||||
* • Endings shown ← `endingsShown` (NEW free text)
|
||||
* • Language patch ← `languagePatch` (+ custom label, NEW)
|
||||
* • Game version ← `gameVersion` (+ custom label, NEW)
|
||||
*
|
||||
* Custom-text inputs only appear when their parent enum is set to a
|
||||
* custom-bearing value (`difficulty === "custom"`, language patch is
|
||||
* `"official_other"` or `"custom"`, etc.) — keeps the form compact in
|
||||
* the common path and surfaces the slot exactly when it's needed.
|
||||
*/
|
||||
export function PlaythroughNotesForm() {
|
||||
const { t } = useTranslation("ui");
|
||||
const store = useEditorStore();
|
||||
|
||||
const playthroughOptions = PLAYTHROUGH_STATUSES.map((id) => ({
|
||||
value: id,
|
||||
label: t(`editor.playthroughOptions.${id}`),
|
||||
}));
|
||||
|
||||
const difficultyOptions = DIFFICULTY_LEVELS.map((id) => ({
|
||||
value: id,
|
||||
label: t(`editor.difficultyOptions.${id}`),
|
||||
}));
|
||||
|
||||
const languagePatchOptions = LANGUAGE_PATCH_UI_OPTIONS.map((opt) => ({
|
||||
value: opt.id,
|
||||
label: t(opt.labelKey),
|
||||
}));
|
||||
|
||||
const gameVersionOptions = GAME_VERSION_UI_OPTIONS.map((opt) => ({
|
||||
value: opt.id,
|
||||
label: t(opt.labelKey),
|
||||
}));
|
||||
|
||||
return (
|
||||
<div className="flex flex-col gap-3">
|
||||
<div className="flex items-baseline justify-between">
|
||||
<span className="text-sm font-medium text-text-secondary">
|
||||
{t("editor.playthroughNotes.title")}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<Select
|
||||
label={t("editor.playthroughNotes.runTypeLabel")}
|
||||
options={playthroughOptions}
|
||||
value={store.playthroughStatus}
|
||||
onChange={(v) => store.set("playthroughStatus", v as PlaythroughStatus)}
|
||||
/>
|
||||
|
||||
<Select
|
||||
label={t("editor.playthroughNotes.difficultyLabel")}
|
||||
options={difficultyOptions}
|
||||
value={store.difficulty}
|
||||
onChange={(v) => store.set("difficulty", v as DifficultyLevel)}
|
||||
/>
|
||||
{store.difficulty === "custom" && (
|
||||
<Input
|
||||
label={t("editor.difficultyCustomLabel")}
|
||||
placeholder={t("editor.difficultyCustomPlaceholder")}
|
||||
value={store.difficultyCustomLabel}
|
||||
onChange={(e) => store.set("difficultyCustomLabel", e.target.value)}
|
||||
/>
|
||||
)}
|
||||
|
||||
<Input
|
||||
label={t("editor.playthroughNotes.endingsLabel")}
|
||||
placeholder={t("editor.playthroughNotes.endingsPlaceholder")}
|
||||
value={store.endingsShown}
|
||||
onChange={(e) => store.set("endingsShown", e.target.value)}
|
||||
/>
|
||||
|
||||
<Select
|
||||
label={t("editor.playthroughNotes.languagePatchLabel")}
|
||||
options={languagePatchOptions}
|
||||
value={store.languagePatch}
|
||||
onChange={(v) => store.set("languagePatch", v as LanguagePatch)}
|
||||
/>
|
||||
{languagePatchHasCustomSlot(store.languagePatch) && (
|
||||
<Input
|
||||
label={t("editor.playthroughNotes.languagePatchCustomLabel")}
|
||||
placeholder={t("editor.playthroughNotes.languagePatchCustomPlaceholder")}
|
||||
value={store.languagePatchCustom}
|
||||
onChange={(e) => store.set("languagePatchCustom", e.target.value)}
|
||||
/>
|
||||
)}
|
||||
|
||||
<Select
|
||||
label={t("editor.playthroughNotes.gameVersionLabel")}
|
||||
options={gameVersionOptions}
|
||||
value={store.gameVersion}
|
||||
onChange={(v) => store.set("gameVersion", v as GameVersion)}
|
||||
/>
|
||||
{gameVersionHasCustomSlot(store.gameVersion) && (
|
||||
<Input
|
||||
label={t("editor.playthroughNotes.gameVersionCustomLabel")}
|
||||
placeholder={t("editor.playthroughNotes.gameVersionCustomPlaceholder")}
|
||||
value={store.gameVersionCustom}
|
||||
onChange={(e) => store.set("gameVersionCustom", e.target.value)}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -1,48 +1,242 @@
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { AlertTriangle } from "lucide-react";
|
||||
import { Input } from "@components/ui/Input";
|
||||
import { Select } from "@components/ui/Select";
|
||||
import { RIG_FIELDS } from "@config/rig-fields";
|
||||
import {
|
||||
RIG_FIELDS,
|
||||
parseCascadingValue,
|
||||
parseCompositeValue,
|
||||
type RigField,
|
||||
type CompositePart,
|
||||
} from "@config/rig-fields";
|
||||
import { GPU_CUSTOM_BRAND_ID, findGpuBrand } from "@config/gpu-catalog";
|
||||
import { useEditorStore } from "@store/editor-store";
|
||||
import {
|
||||
validateGpuValue,
|
||||
validateRamValue,
|
||||
type RigValidationIssue,
|
||||
} from "@utils/rig-validation";
|
||||
|
||||
const CUSTOM_PREFIX = "custom:";
|
||||
|
||||
function joinCascading(brand: string, series: string, model: string): string {
|
||||
if (!brand && !series && !model) return "";
|
||||
return `${brand}|${series}|${model}`;
|
||||
}
|
||||
|
||||
function joinComposite(parts: readonly string[]): string {
|
||||
if (parts.every((p) => !p)) return "";
|
||||
return parts.join("|");
|
||||
}
|
||||
|
||||
export function RigEditor() {
|
||||
const { t } = useTranslation("ui");
|
||||
const rig = useEditorStore((s) => s.rig);
|
||||
const setNested = useEditorStore((s) => s.setNested);
|
||||
|
||||
const renderValidationBadge = (issue: RigValidationIssue | null) => {
|
||||
if (!issue) return null;
|
||||
return (
|
||||
<div className="flex items-center gap-1 text-xs text-warning">
|
||||
<AlertTriangle className="h-3 w-3" />
|
||||
<span>{t(issue.messageKey)}</span>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
const renderCascading = (field: RigField) => {
|
||||
const raw = rig[field.id] ?? "";
|
||||
const { brand, series, model } = parseCascadingValue(raw);
|
||||
const isCustom = brand === GPU_CUSTOM_BRAND_ID;
|
||||
const issue = validateGpuValue(raw);
|
||||
const catalog = field.catalog ?? [];
|
||||
|
||||
const brandOptions = [
|
||||
{ value: "", label: "—" },
|
||||
...catalog.map((b) => ({ value: b.id, label: b.label })),
|
||||
];
|
||||
const currentBrand = findGpuBrand(brand);
|
||||
const seriesOptions = currentBrand
|
||||
? [
|
||||
{ value: "", label: "—" },
|
||||
...currentBrand.series.map((s) => ({ value: s.id, label: s.label })),
|
||||
]
|
||||
: [{ value: "", label: "—" }];
|
||||
const currentSeries = currentBrand?.series.find((s) => s.id === series);
|
||||
const modelOptions = currentSeries
|
||||
? [
|
||||
{ value: "", label: "—" },
|
||||
...currentSeries.models.map((m) => ({ value: m, label: m })),
|
||||
]
|
||||
: [{ value: "", label: "—" }];
|
||||
|
||||
const setBrand = (next: string) => {
|
||||
// Switching brand resets series + model so the user can't end up
|
||||
// with mismatched cascading values (NVIDIA brand + AMD series).
|
||||
setNested("rig", field.id, next ? joinCascading(next, "", "") : "");
|
||||
};
|
||||
const setSeries = (next: string) => {
|
||||
setNested("rig", field.id, joinCascading(brand, next, ""));
|
||||
};
|
||||
const setModel = (next: string) => {
|
||||
setNested("rig", field.id, joinCascading(brand, series, next));
|
||||
};
|
||||
const setCustomText = (text: string) => {
|
||||
setNested(
|
||||
"rig",
|
||||
field.id,
|
||||
text ? joinCascading(GPU_CUSTOM_BRAND_ID, "", text) : "",
|
||||
);
|
||||
};
|
||||
|
||||
return (
|
||||
<div key={field.id} className="col-span-2 flex flex-col gap-2">
|
||||
<span className="text-sm font-medium text-text-secondary">{t(field.labelKey)}</span>
|
||||
<div className="grid grid-cols-3 gap-2">
|
||||
<Select
|
||||
label={t("editor.gpu_brand")}
|
||||
value={brand}
|
||||
options={brandOptions}
|
||||
onChange={setBrand}
|
||||
/>
|
||||
{isCustom ? (
|
||||
<div className="col-span-2">
|
||||
<Input
|
||||
label={t("editor.gpu_custom")}
|
||||
placeholder="e.g. RTX 4090 (custom OC)"
|
||||
value={model}
|
||||
onChange={(e) => setCustomText(e.target.value)}
|
||||
/>
|
||||
</div>
|
||||
) : (
|
||||
<>
|
||||
<Select
|
||||
label={t("editor.gpu_series")}
|
||||
value={series}
|
||||
options={seriesOptions}
|
||||
onChange={setSeries}
|
||||
disabled={!brand}
|
||||
/>
|
||||
<Select
|
||||
label={t("editor.gpu_model")}
|
||||
value={model}
|
||||
options={modelOptions}
|
||||
onChange={setModel}
|
||||
disabled={!series}
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
{renderValidationBadge(issue)}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
const renderComposite = (field: RigField) => {
|
||||
if (!field.composite) return null;
|
||||
const raw = rig[field.id] ?? "";
|
||||
const { parts: storedParts } = parseCompositeValue(raw);
|
||||
const issue = validateRamValue(raw);
|
||||
const partValues = field.composite.parts.map(
|
||||
(_p, i) => storedParts[i] ?? "",
|
||||
);
|
||||
|
||||
const setPart = (index: number, next: string) => {
|
||||
const updated = [...partValues];
|
||||
updated[index] = next;
|
||||
setNested("rig", field.id, joinComposite(updated));
|
||||
};
|
||||
|
||||
const renderPart = (part: CompositePart, index: number) => {
|
||||
const stored = partValues[index] ?? "";
|
||||
const isCustom = part.allowCustom && stored.startsWith(CUSTOM_PREFIX);
|
||||
const customText = isCustom ? stored.slice(CUSTOM_PREFIX.length) : "";
|
||||
const selectValue = isCustom ? "custom" : stored;
|
||||
|
||||
const onSelectChange = (next: string) => {
|
||||
if (next === "custom" && part.allowCustom) {
|
||||
setPart(index, `${CUSTOM_PREFIX}`);
|
||||
} else {
|
||||
setPart(index, next);
|
||||
}
|
||||
};
|
||||
const onCustomChange = (next: string) => {
|
||||
setPart(index, `${CUSTOM_PREFIX}${next}`);
|
||||
};
|
||||
|
||||
return (
|
||||
<div key={part.id} className="flex flex-col gap-1">
|
||||
<Select
|
||||
label={t(part.labelKey)}
|
||||
value={selectValue}
|
||||
options={part.options}
|
||||
onChange={onSelectChange}
|
||||
/>
|
||||
{isCustom && part.allowCustom && (
|
||||
<div className="flex items-center gap-2">
|
||||
<Input
|
||||
placeholder={part.customPlaceholder}
|
||||
value={customText}
|
||||
inputMode="numeric"
|
||||
onChange={(e) => onCustomChange(e.target.value)}
|
||||
/>
|
||||
{part.customSuffix && (
|
||||
<span className="text-sm text-text-muted">{part.customSuffix.trim()}</span>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
return (
|
||||
<div key={field.id} className="col-span-2 flex flex-col gap-2">
|
||||
<span className="text-sm font-medium text-text-secondary">{t(field.labelKey)}</span>
|
||||
<div className="grid grid-cols-2 gap-2">
|
||||
{field.composite.parts.map((p, i) => renderPart(p, i))}
|
||||
</div>
|
||||
{renderValidationBadge(issue)}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
const renderDropdownWithVersion = (field: RigField) => {
|
||||
const raw = rig[field.id] ?? "";
|
||||
const [value = "", version = ""] = raw.split("|");
|
||||
|
||||
const commit = (nextValue: string, nextVersion: string) => {
|
||||
// Keep the stored form compact: drop the pipe when empty.
|
||||
const next =
|
||||
!nextValue && !nextVersion ? "" : `${nextValue}|${nextVersion}`;
|
||||
setNested("rig", field.id, next);
|
||||
};
|
||||
|
||||
return (
|
||||
<div key={field.id} className="col-span-2 grid grid-cols-[1fr_auto] gap-2">
|
||||
<Select
|
||||
label={t(field.labelKey)}
|
||||
value={value}
|
||||
options={field.options ?? []}
|
||||
onChange={(v) => commit(v, version)}
|
||||
/>
|
||||
<Input
|
||||
label={t("editor.version")}
|
||||
placeholder={field.versionPlaceholder}
|
||||
value={version}
|
||||
onChange={(e) => commit(value, e.target.value)}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="flex flex-col gap-3">
|
||||
<span className="text-sm font-medium text-text-secondary">{t("editor.rig")}</span>
|
||||
<div className="grid grid-cols-2 gap-2">
|
||||
{RIG_FIELDS.map((field) => {
|
||||
if (field.type === "dropdown_with_version") {
|
||||
const raw = rig[field.id] ?? "";
|
||||
const [value = "", version = ""] = raw.split("|");
|
||||
|
||||
const commit = (nextValue: string, nextVersion: string) => {
|
||||
// Keep the stored form compact: drop the pipe when empty.
|
||||
const next =
|
||||
!nextValue && !nextVersion ? "" : `${nextValue}|${nextVersion}`;
|
||||
setNested("rig", field.id, next);
|
||||
};
|
||||
|
||||
return (
|
||||
<div key={field.id} className="col-span-2 grid grid-cols-[1fr_auto] gap-2">
|
||||
<Select
|
||||
label={t(field.labelKey)}
|
||||
value={value}
|
||||
options={field.options ?? []}
|
||||
onChange={(v) => commit(v, version)}
|
||||
/>
|
||||
<Input
|
||||
label={t("editor.version")}
|
||||
placeholder={field.versionPlaceholder}
|
||||
value={version}
|
||||
onChange={(e) => commit(value, e.target.value)}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
if (field.type === "cascading_dropdown") return renderCascading(field);
|
||||
if (field.type === "composite_dropdown") return renderComposite(field);
|
||||
if (field.type === "dropdown_with_version") return renderDropdownWithVersion(field);
|
||||
return (
|
||||
<Input
|
||||
key={field.id}
|
||||
|
||||
@@ -0,0 +1,173 @@
|
||||
import { useMemo, useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { ChevronDown, ChevronRight, Search, X } from "lucide-react";
|
||||
import clsx from "clsx";
|
||||
import { useEditorStore } from "@store/editor-store";
|
||||
import {
|
||||
TECH_NOTE_GROUPS,
|
||||
type TechNoteGroup,
|
||||
} from "@config/tech-note-groups";
|
||||
import type { TechNote } from "@engine/types";
|
||||
|
||||
/**
|
||||
* v0.12 Tech Notes checklist — searchable, collapsible, grouped
|
||||
* multi-select for the 24 production / playstyle disclaimers that feed
|
||||
* the `▸ 🛠 TECH NOTES` description block. Cloned 1:1 from
|
||||
* {@link ContentWarningChecklist} since both share the same UX shape;
|
||||
* only the data source (`techNotes` vs `contentWarnings`), groups,
|
||||
* and i18n namespace differ.
|
||||
*
|
||||
* Selection order is preserved so the description renders bullets in
|
||||
* the order the user picked them.
|
||||
*/
|
||||
export function TechNotesChecklist() {
|
||||
const { t } = useTranslation("ui");
|
||||
const selected = useEditorStore((s) => s.techNotes);
|
||||
const set = useEditorStore((s) => s.set);
|
||||
|
||||
const [query, setQuery] = useState("");
|
||||
// Default all groups closed — 24 items across 5 groups is too tall to
|
||||
// expand by default. Users with a specific note in mind use search;
|
||||
// users browsing pop open the group they care about.
|
||||
const [openGroups, setOpenGroups] = useState<Record<string, boolean>>(() => ({
|
||||
audio: false,
|
||||
video_quality: false,
|
||||
recording_issues: false,
|
||||
playstyle: false,
|
||||
production: false,
|
||||
}));
|
||||
|
||||
const trimmedQuery = query.trim().toLowerCase();
|
||||
const isFiltering = trimmedQuery.length > 0;
|
||||
|
||||
const filteredGroups = useMemo<TechNoteGroup[]>(() => {
|
||||
if (!isFiltering) return [...TECH_NOTE_GROUPS];
|
||||
return TECH_NOTE_GROUPS.map((group) => ({
|
||||
...group,
|
||||
items: group.items.filter((id) =>
|
||||
t(`editor.techNoteOptions.${id}`).toLowerCase().includes(trimmedQuery),
|
||||
),
|
||||
})).filter((group) => group.items.length > 0);
|
||||
}, [t, trimmedQuery, isFiltering]);
|
||||
|
||||
const totalMatching = filteredGroups.reduce((acc, g) => acc + g.items.length, 0);
|
||||
|
||||
function toggleItem(id: TechNote) {
|
||||
if (selected.includes(id)) {
|
||||
set(
|
||||
"techNotes",
|
||||
selected.filter((x) => x !== id),
|
||||
);
|
||||
} else {
|
||||
set("techNotes", [...selected, id]);
|
||||
}
|
||||
}
|
||||
|
||||
function toggleGroup(groupId: string) {
|
||||
setOpenGroups((prev) => ({ ...prev, [groupId]: !prev[groupId] }));
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="flex flex-col gap-2">
|
||||
<div className="flex items-baseline justify-between">
|
||||
<span className="text-sm font-medium text-text-secondary">
|
||||
{t("editor.techNotes")}
|
||||
</span>
|
||||
{selected.length > 0 && (
|
||||
<span className="text-xs text-text-muted">
|
||||
{selected.length} selected
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<div className="relative">
|
||||
<Search className="pointer-events-none absolute left-2.5 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-text-muted" />
|
||||
<input
|
||||
type="text"
|
||||
value={query}
|
||||
onChange={(e) => setQuery(e.target.value)}
|
||||
placeholder={t("editor.techNoteSearchPlaceholder")}
|
||||
className="w-full rounded-md border border-border bg-surface-1 py-1.5 pl-8 pr-7 text-sm text-text-primary placeholder:text-text-muted focus:border-accent focus:outline-none"
|
||||
/>
|
||||
{query && (
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setQuery("")}
|
||||
className="absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-text-primary"
|
||||
aria-label="Clear search"
|
||||
>
|
||||
<X className="h-3.5 w-3.5" />
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{isFiltering && totalMatching === 0 ? (
|
||||
<p className="py-2 text-center text-xs text-text-muted">
|
||||
{t("editor.techNoteEmpty")}
|
||||
</p>
|
||||
) : (
|
||||
<div className="flex flex-col gap-1">
|
||||
{filteredGroups.map((group) => {
|
||||
const isOpen = isFiltering || openGroups[group.id];
|
||||
const groupSelectedCount = group.items.filter((id) =>
|
||||
selected.includes(id),
|
||||
).length;
|
||||
return (
|
||||
<div
|
||||
key={group.id}
|
||||
className="overflow-hidden rounded-md border border-border bg-surface-1"
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => toggleGroup(group.id)}
|
||||
className="flex w-full items-center justify-between px-3 py-2 text-left text-xs font-medium text-text-secondary hover:bg-surface-2"
|
||||
aria-expanded={isOpen}
|
||||
>
|
||||
<span className="flex items-center gap-1.5">
|
||||
{isOpen ? (
|
||||
<ChevronDown className="h-3.5 w-3.5" />
|
||||
) : (
|
||||
<ChevronRight className="h-3.5 w-3.5" />
|
||||
)}
|
||||
{t(group.labelKey)}
|
||||
</span>
|
||||
{groupSelectedCount > 0 && (
|
||||
<span className="rounded-full bg-accent/15 px-2 py-0.5 text-[10px] font-medium text-accent">
|
||||
{groupSelectedCount}
|
||||
</span>
|
||||
)}
|
||||
</button>
|
||||
{isOpen && (
|
||||
<div className="grid grid-cols-1 gap-x-3 gap-y-1 border-t border-border bg-surface-1 px-3 py-2 sm:grid-cols-2">
|
||||
{group.items.map((id) => {
|
||||
const checked = selected.includes(id);
|
||||
return (
|
||||
<label
|
||||
key={id}
|
||||
className={clsx(
|
||||
"flex cursor-pointer items-center gap-2 rounded px-1.5 py-1 text-xs transition-colors",
|
||||
checked
|
||||
? "text-text-primary"
|
||||
: "text-text-secondary hover:text-text-primary",
|
||||
)}
|
||||
>
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={checked}
|
||||
onChange={() => toggleItem(id)}
|
||||
className="h-3.5 w-3.5 shrink-0 cursor-pointer rounded border-border text-accent focus:ring-1 focus:ring-accent/40"
|
||||
/>
|
||||
<span>{t(`editor.techNoteOptions.${id}`)}</span>
|
||||
</label>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -8,8 +8,6 @@ import {
|
||||
GRAPHICS_PRESETS,
|
||||
RT_MODES,
|
||||
FRAMEGEN_VENDORS,
|
||||
FRAMEGEN_MULTIPLIERS,
|
||||
UPSCALE_QUALITIES,
|
||||
ART_STYLES,
|
||||
type GraphicsPreset,
|
||||
type RTMode,
|
||||
@@ -18,6 +16,12 @@ import {
|
||||
type UpscaleQuality,
|
||||
type ArtStyle,
|
||||
} from "@config/graphics-settings";
|
||||
import {
|
||||
getValidUpscaleQualities,
|
||||
getValidFrameGenMultipliers,
|
||||
coerceUpscaleQuality,
|
||||
coerceFrameGenMultiplier,
|
||||
} from "@engine/graphics-vendor";
|
||||
|
||||
const RESOLUTION_OPTIONS = [
|
||||
{ value: "720p", label: "720p" },
|
||||
@@ -52,16 +56,41 @@ export function VideoSettingsForm() {
|
||||
label: t(`editor.frameGenVendorOptions.${v}`),
|
||||
}));
|
||||
|
||||
const multiplierOptions = FRAMEGEN_MULTIPLIERS.map((m) => ({
|
||||
// v0.11: vendor-filtered option lists. NVIDIA exposes DLAA + 4 quality
|
||||
// tiers, AMD exposes FSR Native AA + 4, Intel exposes XeSS Native AA +
|
||||
// Ultra Quality + 4. None falls back to the vendor-agnostic ladder so
|
||||
// pre-v0.11 drafts keep their settings on rehydrate. Labels live in
|
||||
// vendor-keyed `editor.upscaleQuality.{vendor}.{id}` /
|
||||
// `editor.frameGenMultiplier.{vendor}.{id}` namespaces; vendor=none
|
||||
// uses the legacy flat `Options` keys.
|
||||
const multiplierOptions = getValidFrameGenMultipliers(store.frameGenVendor).map((m) => ({
|
||||
value: m,
|
||||
label: t(`editor.frameGenMultiplierOptions.${m}`),
|
||||
label:
|
||||
store.frameGenVendor === "none"
|
||||
? t(`editor.frameGenMultiplierOptions.${m}`)
|
||||
: t(`editor.frameGenMultiplier.${store.frameGenVendor}.${m}`),
|
||||
}));
|
||||
|
||||
const upscaleOptions = UPSCALE_QUALITIES.map((q) => ({
|
||||
const upscaleOptions = getValidUpscaleQualities(store.frameGenVendor).map((q) => ({
|
||||
value: q,
|
||||
label: t(`editor.upscaleQualityOptions.${q}`),
|
||||
label:
|
||||
store.frameGenVendor === "none"
|
||||
? t(`editor.upscaleQualityOptions.${q}`)
|
||||
: t(`editor.upscaleQuality.${store.frameGenVendor}.${q}`),
|
||||
}));
|
||||
|
||||
// When the vendor changes, the previously-selected upscale quality /
|
||||
// frame-gen multiplier may no longer be in the new dropdown's options
|
||||
// (e.g. switching DLSS→FSR drops `dlaa`). Coerce to "none" so the
|
||||
// Select doesn't render with a stale, no-longer-rendered value.
|
||||
function handleVendorChange(next: FrameGenVendor) {
|
||||
store.set("frameGenVendor", next);
|
||||
const coercedQ = coerceUpscaleQuality(next, store.upscaleQuality);
|
||||
if (coercedQ !== store.upscaleQuality) store.set("upscaleQuality", coercedQ);
|
||||
const coercedM = coerceFrameGenMultiplier(next, store.frameGenMultiplier);
|
||||
if (coercedM !== store.frameGenMultiplier) store.set("frameGenMultiplier", coercedM);
|
||||
}
|
||||
|
||||
const artStyleOptions = ART_STYLES.map((s) => ({
|
||||
value: s,
|
||||
label: t(`editor.artStyleOptions.${s}`),
|
||||
@@ -123,7 +152,7 @@ export function VideoSettingsForm() {
|
||||
label={t("editor.frameGenVendor")}
|
||||
options={vendorOptions}
|
||||
value={store.frameGenVendor}
|
||||
onChange={(v) => store.set("frameGenVendor", v as FrameGenVendor)}
|
||||
onChange={(v) => handleVendorChange(v as FrameGenVendor)}
|
||||
/>
|
||||
<Select
|
||||
label={t("editor.frameGenMultiplier")}
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { Toggle } from "@components/ui/Toggle";
|
||||
import { useEditorStore } from "@store/editor-store";
|
||||
|
||||
export function WarningToggles() {
|
||||
const { t } = useTranslation("ui");
|
||||
const spoilerWarning = useEditorStore((s) => s.spoilerWarning);
|
||||
const matureWarning = useEditorStore((s) => s.matureWarning);
|
||||
const set = useEditorStore((s) => s.set);
|
||||
|
||||
return (
|
||||
<div className="flex flex-col gap-3">
|
||||
<span className="text-sm font-medium text-text-secondary">{t("editor.warnings")}</span>
|
||||
<Toggle
|
||||
label={t("editor.spoilerWarning")}
|
||||
checked={spoilerWarning}
|
||||
onChange={(v) => set("spoilerWarning", v)}
|
||||
/>
|
||||
<Toggle
|
||||
label={t("editor.matureWarning")}
|
||||
checked={matureWarning}
|
||||
onChange={(v) => set("matureWarning", v)}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -1,7 +1,8 @@
|
||||
import { useState } from "react";
|
||||
import { Outlet } from "react-router-dom";
|
||||
import { Header } from "./Header";
|
||||
import { Sidebar } from "./Sidebar";
|
||||
import { Sidebar, SidebarNavList } from "./Sidebar";
|
||||
import { Drawer } from "@components/ui/Drawer";
|
||||
import { ShortcutHelpModal } from "@components/ui/ShortcutHelpModal";
|
||||
import { useKeyboardShortcuts } from "@hooks/use-keyboard-shortcuts";
|
||||
import { useGlobalErrorHandler } from "@hooks/use-global-error-handler";
|
||||
@@ -9,6 +10,7 @@ import { useSettingsStore } from "@store/settings-store";
|
||||
|
||||
export function AppShell() {
|
||||
const [showShortcuts, setShowShortcuts] = useState(false);
|
||||
const [mobileNavOpen, setMobileNavOpen] = useState(false);
|
||||
const setSetting = useSettingsStore((s) => s.setSetting);
|
||||
const collapsed = useSettingsStore((s) => s.sidebarCollapsed);
|
||||
|
||||
@@ -19,14 +21,22 @@ export function AppShell() {
|
||||
useGlobalErrorHandler();
|
||||
|
||||
return (
|
||||
<div className="flex min-h-screen bg-surface-0">
|
||||
<div className="flex h-screen overflow-hidden bg-surface-0">
|
||||
<Sidebar />
|
||||
<div className="flex min-w-0 flex-1 flex-col">
|
||||
<Header />
|
||||
<main className="flex-1 overflow-y-auto">
|
||||
<Header onOpenMobileNav={() => setMobileNavOpen(true)} />
|
||||
<main className="min-h-0 flex-1 overflow-y-auto">
|
||||
<Outlet />
|
||||
</main>
|
||||
</div>
|
||||
<Drawer
|
||||
open={mobileNavOpen}
|
||||
onClose={() => setMobileNavOpen(false)}
|
||||
side="left"
|
||||
ariaLabel="Navigation"
|
||||
>
|
||||
<SidebarNavList collapsed={false} onItemClick={() => setMobileNavOpen(false)} />
|
||||
</Drawer>
|
||||
<ShortcutHelpModal open={showShortcuts} onClose={() => setShowShortcuts(false)} />
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -1,12 +1,17 @@
|
||||
import { useState, useRef, useEffect } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { ChevronDown } from "lucide-react";
|
||||
import { ChevronDown, Heart, Menu } from "lucide-react";
|
||||
import { SUPPORTED_LANGUAGES } from "@i18n/index";
|
||||
import { useSettingsStore } from "@store/settings-store";
|
||||
import { PRIMARY_DONATE_URL } from "@config/donate";
|
||||
import type { SupportedLanguage } from "@engine/types";
|
||||
import clsx from "clsx";
|
||||
|
||||
export function Header() {
|
||||
interface HeaderProps {
|
||||
onOpenMobileNav?: () => void;
|
||||
}
|
||||
|
||||
export function Header({ onOpenMobileNav }: HeaderProps) {
|
||||
const { t, i18n } = useTranslation("ui");
|
||||
const { appLanguage, setAppLanguage } = useSettingsStore();
|
||||
const [open, setOpen] = useState(false);
|
||||
@@ -32,37 +37,70 @@ export function Header() {
|
||||
};
|
||||
|
||||
return (
|
||||
<header className="flex items-center justify-between border-b border-border bg-surface-1 px-6 py-3">
|
||||
<div>
|
||||
<h1 className="text-lg font-bold text-text-primary">{t("app.title")}</h1>
|
||||
<p className="text-xs text-text-muted">{t("app.subtitle")}</p>
|
||||
</div>
|
||||
<div className="relative" ref={dropdownRef}>
|
||||
<button
|
||||
onClick={() => setOpen(!open)}
|
||||
className="flex items-center gap-1.5 rounded-lg px-3 py-1.5 text-sm transition-colors hover:bg-surface-2"
|
||||
>
|
||||
<span>{current?.flag}</span>
|
||||
<span className="text-text-primary">{current?.nativeName}</span>
|
||||
<ChevronDown className="h-3.5 w-3.5 text-text-muted" />
|
||||
</button>
|
||||
{open && (
|
||||
<div className="absolute right-0 top-full z-50 mt-1 min-w-44 rounded-lg border border-border bg-surface-1 py-1 shadow-xl">
|
||||
{SUPPORTED_LANGUAGES.map((lang) => (
|
||||
<button
|
||||
key={lang.id}
|
||||
onClick={() => handleSwitch(lang.id as SupportedLanguage)}
|
||||
className={clsx(
|
||||
"flex w-full items-center gap-2 px-3 py-2 text-sm transition-colors hover:bg-surface-2",
|
||||
lang.id === appLanguage ? "bg-accent-muted text-accent" : "text-text-primary",
|
||||
)}
|
||||
>
|
||||
<span>{lang.flag}</span>
|
||||
<span>{lang.nativeName}</span>
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
<header
|
||||
className="flex items-center justify-between gap-2 border-b border-border bg-surface-1 px-3 py-3 pt-[max(0.75rem,env(safe-area-inset-top))] sm:px-6"
|
||||
>
|
||||
<div className="flex min-w-0 items-center gap-2">
|
||||
{onOpenMobileNav && (
|
||||
<button
|
||||
type="button"
|
||||
onClick={onOpenMobileNav}
|
||||
aria-label="Open navigation menu"
|
||||
className="-ml-1 rounded-lg p-2 text-text-secondary transition-colors hover:bg-surface-2 hover:text-text-primary md:hidden"
|
||||
>
|
||||
<Menu className="h-5 w-5" />
|
||||
</button>
|
||||
)}
|
||||
<div className="min-w-0">
|
||||
<h1 className="truncate text-base font-bold text-text-primary sm:text-lg">
|
||||
{t("app.title")}
|
||||
</h1>
|
||||
<p className="hidden truncate text-xs text-text-muted sm:block">
|
||||
{t("app.subtitle")}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex shrink-0 items-center gap-2">
|
||||
<a
|
||||
href={PRIMARY_DONATE_URL}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="flex items-center gap-1.5 rounded-lg border border-pink-500/30 bg-pink-500/10 px-2.5 py-1.5 text-sm text-pink-300 transition-colors hover:border-pink-400/60 hover:bg-pink-500/20 hover:text-pink-200 sm:px-3"
|
||||
title={t("header.donate")}
|
||||
aria-label={t("header.donate")}
|
||||
>
|
||||
<Heart className="h-4 w-4 sm:h-3.5 sm:w-3.5" />
|
||||
<span className="hidden md:inline">{t("header.donate")}</span>
|
||||
</a>
|
||||
<div className="relative" ref={dropdownRef}>
|
||||
<button
|
||||
onClick={() => setOpen(!open)}
|
||||
className="flex items-center gap-1.5 rounded-lg px-2.5 py-1.5 text-sm transition-colors hover:bg-surface-2 sm:px-3"
|
||||
aria-haspopup="listbox"
|
||||
aria-expanded={open}
|
||||
>
|
||||
<span>{current?.flag}</span>
|
||||
<span className="hidden text-text-primary sm:inline">{current?.nativeName}</span>
|
||||
<ChevronDown className="h-3.5 w-3.5 text-text-muted" />
|
||||
</button>
|
||||
{open && (
|
||||
<div className="absolute right-0 top-full z-50 mt-1 max-w-[calc(100vw-2rem)] min-w-[200px] rounded-lg border border-border bg-surface-1 py-1 shadow-xl">
|
||||
{SUPPORTED_LANGUAGES.map((lang) => (
|
||||
<button
|
||||
key={lang.id}
|
||||
onClick={() => handleSwitch(lang.id as SupportedLanguage)}
|
||||
className={clsx(
|
||||
"flex w-full items-center gap-2 px-3 py-2 text-sm transition-colors hover:bg-surface-2",
|
||||
lang.id === appLanguage ? "bg-accent-muted text-accent" : "text-text-primary",
|
||||
)}
|
||||
>
|
||||
<span>{lang.flag}</span>
|
||||
<span>{lang.nativeName}</span>
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
);
|
||||
|
||||
@@ -10,13 +10,23 @@ import {
|
||||
ListVideo,
|
||||
ScrollText,
|
||||
Info,
|
||||
Bug,
|
||||
PanelLeftClose,
|
||||
PanelLeftOpen,
|
||||
type LucideIcon,
|
||||
} from "lucide-react";
|
||||
import clsx from "clsx";
|
||||
import { useSettingsStore } from "@store/settings-store";
|
||||
import { ABOUT } from "@config/about";
|
||||
|
||||
const tabs = [
|
||||
interface TabItem {
|
||||
to: string;
|
||||
labelKey: string;
|
||||
icon: LucideIcon;
|
||||
external?: boolean;
|
||||
}
|
||||
|
||||
const tabs: readonly TabItem[] = [
|
||||
{ to: "/", labelKey: "tabs.editor", icon: Pencil },
|
||||
{ to: "/output", labelKey: "tabs.output", icon: FileText },
|
||||
{ to: "/batch", labelKey: "tabs.batch", icon: Layers },
|
||||
@@ -26,8 +36,68 @@ const tabs = [
|
||||
{ to: "/logs", labelKey: "tabs.logs", icon: ScrollText },
|
||||
{ to: "/settings", labelKey: "tabs.settings", icon: Settings },
|
||||
{ to: "/about", labelKey: "tabs.about", icon: Info },
|
||||
{ to: ABOUT.bugReportUrl, labelKey: "tabs.reportBug", icon: Bug, external: true },
|
||||
] as const;
|
||||
|
||||
interface SidebarNavListProps {
|
||||
collapsed: boolean;
|
||||
onItemClick?: () => void;
|
||||
}
|
||||
|
||||
export function SidebarNavList({ collapsed, onItemClick }: SidebarNavListProps) {
|
||||
const { t } = useTranslation("ui");
|
||||
|
||||
return (
|
||||
<nav className="flex flex-1 flex-col gap-0.5 overflow-y-auto p-2">
|
||||
{tabs.map((tab) => {
|
||||
const baseClass = clsx(
|
||||
"flex items-center gap-3 rounded-lg px-3 py-2 text-sm font-medium transition-colors",
|
||||
collapsed && "justify-center px-0",
|
||||
);
|
||||
if (tab.external) {
|
||||
return (
|
||||
<a
|
||||
key={tab.to}
|
||||
href={tab.to}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
title={collapsed ? t(tab.labelKey) : undefined}
|
||||
onClick={onItemClick}
|
||||
className={clsx(
|
||||
baseClass,
|
||||
"text-text-secondary hover:bg-surface-2 hover:text-text-primary",
|
||||
)}
|
||||
>
|
||||
<tab.icon className="h-4 w-4 shrink-0" />
|
||||
{!collapsed && <span className="truncate">{t(tab.labelKey)}</span>}
|
||||
</a>
|
||||
);
|
||||
}
|
||||
return (
|
||||
<NavLink
|
||||
key={tab.to}
|
||||
to={tab.to}
|
||||
end={tab.to === "/"}
|
||||
title={collapsed ? t(tab.labelKey) : undefined}
|
||||
onClick={onItemClick}
|
||||
className={({ isActive }) =>
|
||||
clsx(
|
||||
baseClass,
|
||||
isActive
|
||||
? "bg-accent-muted text-accent"
|
||||
: "text-text-secondary hover:bg-surface-2 hover:text-text-primary",
|
||||
)
|
||||
}
|
||||
>
|
||||
<tab.icon className="h-4 w-4 shrink-0" />
|
||||
{!collapsed && <span className="truncate">{t(tab.labelKey)}</span>}
|
||||
</NavLink>
|
||||
);
|
||||
})}
|
||||
</nav>
|
||||
);
|
||||
}
|
||||
|
||||
export function Sidebar() {
|
||||
const { t } = useTranslation("ui");
|
||||
const collapsed = useSettingsStore((s) => s.sidebarCollapsed);
|
||||
@@ -38,7 +108,7 @@ export function Sidebar() {
|
||||
return (
|
||||
<aside
|
||||
className={clsx(
|
||||
"flex shrink-0 flex-col border-r border-border bg-surface-1 transition-[width] duration-200",
|
||||
"hidden shrink-0 flex-col border-r border-border bg-surface-1 transition-[width] duration-200 md:flex",
|
||||
collapsed ? "w-14" : "w-56",
|
||||
)}
|
||||
>
|
||||
@@ -55,28 +125,7 @@ export function Sidebar() {
|
||||
<PanelLeftClose className="h-5 w-5" />
|
||||
)}
|
||||
</button>
|
||||
<nav className="flex flex-1 flex-col gap-0.5 overflow-y-auto p-2">
|
||||
{tabs.map((tab) => (
|
||||
<NavLink
|
||||
key={tab.to}
|
||||
to={tab.to}
|
||||
end={tab.to === "/"}
|
||||
title={collapsed ? t(tab.labelKey) : undefined}
|
||||
className={({ isActive }) =>
|
||||
clsx(
|
||||
"flex items-center gap-3 rounded-lg px-3 py-2 text-sm font-medium transition-colors",
|
||||
collapsed && "justify-center px-0",
|
||||
isActive
|
||||
? "bg-accent-muted text-accent"
|
||||
: "text-text-secondary hover:bg-surface-2 hover:text-text-primary",
|
||||
)
|
||||
}
|
||||
>
|
||||
<tab.icon className="h-4 w-4 shrink-0" />
|
||||
{!collapsed && <span className="truncate">{t(tab.labelKey)}</span>}
|
||||
</NavLink>
|
||||
))}
|
||||
</nav>
|
||||
<SidebarNavList collapsed={collapsed} />
|
||||
</aside>
|
||||
);
|
||||
}
|
||||
@@ -1,8 +1,10 @@
|
||||
import { useTranslation } from "react-i18next";
|
||||
import toast from "react-hot-toast";
|
||||
import { ClipboardCopy } from "lucide-react";
|
||||
import { Button } from "@components/ui/Button";
|
||||
import { useGeneratedOutput } from "@hooks/use-generated-output";
|
||||
import { useClipboard } from "@hooks/use-clipboard";
|
||||
import { YT_LIMITS } from "@engine/types";
|
||||
|
||||
interface CopyAllBarProps {
|
||||
extraText?: string;
|
||||
@@ -14,13 +16,43 @@ export function CopyAllBar({ extraText }: CopyAllBarProps) {
|
||||
const { copy } = useClipboard();
|
||||
|
||||
const handleCopyAll = () => {
|
||||
const text = extraText || `${output.title}\n\n${output.description}`;
|
||||
copy(text);
|
||||
if (extraText) {
|
||||
copy(extraText);
|
||||
return;
|
||||
}
|
||||
const overflows: string[] = [];
|
||||
if (output.title.length > YT_LIMITS.TITLE_MAX) {
|
||||
overflows.push(
|
||||
t("output.copy.overLimit", {
|
||||
field: t("output.title"),
|
||||
count: output.title.length,
|
||||
limit: YT_LIMITS.TITLE_MAX,
|
||||
}),
|
||||
);
|
||||
}
|
||||
if (output.description.length > YT_LIMITS.DESCRIPTION_MAX) {
|
||||
overflows.push(
|
||||
t("output.copy.overLimit", {
|
||||
field: t("output.description"),
|
||||
count: output.description.length,
|
||||
limit: YT_LIMITS.DESCRIPTION_MAX,
|
||||
}),
|
||||
);
|
||||
}
|
||||
if (overflows.length > 0) {
|
||||
toast.error(overflows.join("\n"));
|
||||
return;
|
||||
}
|
||||
copy(`${output.title}\n\n${output.description}`);
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="sticky bottom-0 flex items-center justify-end border-t border-border bg-surface-0 px-4 py-3">
|
||||
<Button onClick={handleCopyAll} size="lg">
|
||||
<div className="sticky bottom-0 flex items-center justify-end border-t border-border bg-surface-0 px-3 py-3 pb-[max(0.75rem,env(safe-area-inset-bottom))] sm:px-4">
|
||||
<Button
|
||||
onClick={handleCopyAll}
|
||||
size="lg"
|
||||
className="text-sm sm:text-base"
|
||||
>
|
||||
<ClipboardCopy className="h-4 w-4" />
|
||||
{t("output.copyAll")}
|
||||
</Button>
|
||||
|
||||
@@ -1,18 +1,35 @@
|
||||
import { Copy, Check } from "lucide-react";
|
||||
import { Copy, Check, AlertTriangle } from "lucide-react";
|
||||
import clsx from "clsx";
|
||||
import { Button } from "@components/ui/Button";
|
||||
import { useClipboard } from "@hooks/use-clipboard";
|
||||
|
||||
interface CopyButtonProps {
|
||||
text: string;
|
||||
label: string;
|
||||
limit?: number;
|
||||
fieldLabel?: string;
|
||||
}
|
||||
|
||||
export function CopyButton({ text, label }: CopyButtonProps) {
|
||||
export function CopyButton({ text, label, limit, fieldLabel }: CopyButtonProps) {
|
||||
const { copy, copied } = useClipboard();
|
||||
const isOver = limit !== undefined && text.length > limit;
|
||||
|
||||
return (
|
||||
<Button variant="ghost" size="sm" onClick={() => copy(text)} disabled={!text}>
|
||||
{copied ? <Check className="h-4 w-4" /> : <Copy className="h-4 w-4" />}
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="sm"
|
||||
onClick={() => copy(text, { limit, fieldLabel })}
|
||||
disabled={!text}
|
||||
className={clsx(isOver && "text-danger hover:bg-surface-2 hover:text-danger")}
|
||||
title={isOver ? `${text.length}/${limit}` : undefined}
|
||||
>
|
||||
{isOver ? (
|
||||
<AlertTriangle className="h-4 w-4" />
|
||||
) : copied ? (
|
||||
<Check className="h-4 w-4" />
|
||||
) : (
|
||||
<Copy className="h-4 w-4" />
|
||||
)}
|
||||
{copied ? "Copied!" : label}
|
||||
</Button>
|
||||
);
|
||||
|
||||
@@ -24,7 +24,12 @@ export function OutputPreview({ output: outputProp }: OutputPreviewProps) {
|
||||
<h3 className="text-sm font-semibold text-text-primary">{t("output.title")}</h3>
|
||||
<div className="flex items-center gap-3">
|
||||
{showCharCount && <CharCounter text={output.title} limit={YT_LIMITS.TITLE_MAX} />}
|
||||
<CopyButton text={output.title} label={t("output.copyTitle")} />
|
||||
<CopyButton
|
||||
text={output.title}
|
||||
label={t("output.copyTitle")}
|
||||
limit={YT_LIMITS.TITLE_MAX}
|
||||
fieldLabel={t("output.title")}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="rounded-lg border border-border bg-surface-1 p-3">
|
||||
@@ -38,10 +43,15 @@ export function OutputPreview({ output: outputProp }: OutputPreviewProps) {
|
||||
<h3 className="text-sm font-semibold text-text-primary">{t("output.description")}</h3>
|
||||
<div className="flex items-center gap-3">
|
||||
{showCharCount && <CharCounter text={output.description} limit={YT_LIMITS.DESCRIPTION_MAX} />}
|
||||
<CopyButton text={output.description} label={t("output.copyDescription")} />
|
||||
<CopyButton
|
||||
text={output.description}
|
||||
label={t("output.copyDescription")}
|
||||
limit={YT_LIMITS.DESCRIPTION_MAX}
|
||||
fieldLabel={t("output.description")}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="max-h-[400px] overflow-y-auto rounded-lg border border-border bg-surface-1 p-3">
|
||||
<div className="max-h-[60vh] overflow-y-auto rounded-lg border border-border bg-surface-1 p-3 sm:max-h-[400px]">
|
||||
<pre className="whitespace-pre-wrap font-sans text-sm text-text-secondary">
|
||||
{output.description}
|
||||
</pre>
|
||||
@@ -56,7 +66,12 @@ export function OutputPreview({ output: outputProp }: OutputPreviewProps) {
|
||||
</h3>
|
||||
<div className="flex items-center gap-3">
|
||||
{showCharCount && <CharCounter text={output.tagString} limit={YT_LIMITS.TAGS_MAX} />}
|
||||
<CopyButton text={output.tagString} label={t("output.copyTags")} />
|
||||
<CopyButton
|
||||
text={output.tagString}
|
||||
label={t("output.copyTags")}
|
||||
limit={YT_LIMITS.TAGS_MAX}
|
||||
fieldLabel={t("output.tags")}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="rounded-lg border border-border bg-surface-1 p-3">
|
||||
|
||||
@@ -27,6 +27,7 @@ export function ProfileCard({ profile }: ProfileCardProps) {
|
||||
resolution: profile.resolution,
|
||||
fps: profile.fps,
|
||||
graphicsPreset: profile.graphicsPreset,
|
||||
thirdPartyAdText: profile.thirdPartyAdText ?? "",
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@ import { useTranslation } from "react-i18next";
|
||||
import { Modal } from "@components/ui/Modal";
|
||||
import { Button } from "@components/ui/Button";
|
||||
import { Input } from "@components/ui/Input";
|
||||
import { Textarea } from "@components/ui/Textarea";
|
||||
import { useEditorStore } from "@store/editor-store";
|
||||
import { useProfileStore, type Profile } from "@store/profile-store";
|
||||
|
||||
@@ -18,6 +19,15 @@ export function ProfileSaveForm({ open, onClose, editProfile }: ProfileSaveFormP
|
||||
const { addProfile, updateProfile } = useProfileStore();
|
||||
|
||||
const [name, setName] = useState(editProfile?.name ?? "");
|
||||
// v0.11: third-party ad copy is the only Profile field that doesn't
|
||||
// round-trip through the editor. Edit it inline here so the user can
|
||||
// set it once per channel without round-tripping through the editor
|
||||
// form. New profiles inherit from `editor.thirdPartyAdText` (so a
|
||||
// fresh profile picks up whatever the user typed in the editor); edit
|
||||
// mode reads the existing value.
|
||||
const [adText, setAdText] = useState(
|
||||
editProfile?.thirdPartyAdText ?? editor.thirdPartyAdText ?? "",
|
||||
);
|
||||
|
||||
const handleSave = () => {
|
||||
const data = {
|
||||
@@ -29,6 +39,7 @@ export function ProfileSaveForm({ open, onClose, editProfile }: ProfileSaveFormP
|
||||
resolution: editProfile?.resolution ?? editor.resolution,
|
||||
fps: editProfile?.fps ?? editor.fps,
|
||||
graphicsPreset: editProfile?.graphicsPreset ?? editor.graphicsPreset,
|
||||
thirdPartyAdText: adText,
|
||||
};
|
||||
|
||||
if (editProfile) {
|
||||
@@ -61,9 +72,17 @@ export function ProfileSaveForm({ open, onClose, editProfile }: ProfileSaveFormP
|
||||
onChange={(e) => setName(e.target.value)}
|
||||
autoFocus
|
||||
/>
|
||||
<Textarea
|
||||
label={t("profiles.thirdPartyAdText")}
|
||||
placeholder={t("profiles.thirdPartyAdTextPlaceholder")}
|
||||
value={adText}
|
||||
onChange={(e) => setAdText(e.target.value)}
|
||||
rows={4}
|
||||
/>
|
||||
<p className="text-xs text-text-muted">{t("profiles.thirdPartyAdTextHelp")}</p>
|
||||
<p className="text-xs text-text-muted">
|
||||
{editProfile
|
||||
? "Update this profile's name. Other fields are saved from the editor."
|
||||
? "Update this profile's name and ad copy. Other fields are saved from the editor."
|
||||
: "Profile will save your current channel name, social links, rig info, and video settings."}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -64,7 +64,13 @@ export function TemplateSaveForm({ open, onClose }: TemplateSaveFormProps) {
|
||||
playthroughStatus: editor.playthroughStatus,
|
||||
difficulty: editor.difficulty,
|
||||
difficultyCustomLabel: editor.difficultyCustomLabel,
|
||||
endingsShown: editor.endingsShown,
|
||||
languagePatch: editor.languagePatch,
|
||||
languagePatchCustom: editor.languagePatchCustom,
|
||||
gameVersion: editor.gameVersion,
|
||||
gameVersionCustom: editor.gameVersionCustom,
|
||||
contentWarnings: [...editor.contentWarnings],
|
||||
techNotes: [...editor.techNotes],
|
||||
storeLinks: { ...editor.storeLinks },
|
||||
storeLinkTypes: { ...editor.storeLinkTypes },
|
||||
social: { ...editor.social },
|
||||
|
||||
@@ -13,9 +13,9 @@ const variantClasses = {
|
||||
};
|
||||
|
||||
const sizeClasses = {
|
||||
sm: "px-2.5 py-1 text-xs",
|
||||
md: "px-4 py-2 text-sm",
|
||||
lg: "px-6 py-2.5 text-base",
|
||||
sm: "px-2.5 py-1 text-xs min-h-[36px]",
|
||||
md: "px-4 py-2 text-sm min-h-touch",
|
||||
lg: "px-6 py-2.5 text-base min-h-touch",
|
||||
};
|
||||
|
||||
export const Button = forwardRef<HTMLButtonElement, ButtonProps>(
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
import { useEffect, type ReactNode } from "react";
|
||||
import { X } from "lucide-react";
|
||||
import clsx from "clsx";
|
||||
|
||||
interface DrawerProps {
|
||||
open: boolean;
|
||||
onClose: () => void;
|
||||
side?: "left" | "right";
|
||||
title?: string;
|
||||
children: ReactNode;
|
||||
className?: string;
|
||||
ariaLabel?: string;
|
||||
}
|
||||
|
||||
export function Drawer({
|
||||
open,
|
||||
onClose,
|
||||
side = "left",
|
||||
title,
|
||||
children,
|
||||
className,
|
||||
ariaLabel,
|
||||
}: DrawerProps) {
|
||||
useEffect(() => {
|
||||
if (!open) return;
|
||||
const handleEsc = (e: KeyboardEvent) => {
|
||||
if (e.key === "Escape") onClose();
|
||||
};
|
||||
document.addEventListener("keydown", handleEsc);
|
||||
const prevOverflow = document.body.style.overflow;
|
||||
document.body.style.overflow = "hidden";
|
||||
return () => {
|
||||
document.removeEventListener("keydown", handleEsc);
|
||||
document.body.style.overflow = prevOverflow;
|
||||
};
|
||||
}, [open, onClose]);
|
||||
|
||||
return (
|
||||
<div
|
||||
className={clsx(
|
||||
"fixed inset-0 z-50 transition-opacity duration-200",
|
||||
open ? "pointer-events-auto opacity-100" : "pointer-events-none opacity-0",
|
||||
)}
|
||||
aria-hidden={!open}
|
||||
>
|
||||
<div
|
||||
className="absolute inset-0 bg-black/60"
|
||||
onClick={onClose}
|
||||
aria-hidden="true"
|
||||
/>
|
||||
<div
|
||||
role="dialog"
|
||||
aria-modal="true"
|
||||
aria-label={ariaLabel ?? title}
|
||||
className={clsx(
|
||||
"absolute bottom-0 top-0 flex w-64 max-w-[85vw] flex-col bg-surface-1 shadow-2xl transition-transform duration-200",
|
||||
side === "left" ? "left-0 border-r border-border" : "right-0 border-l border-border",
|
||||
open
|
||||
? "translate-x-0"
|
||||
: side === "left"
|
||||
? "-translate-x-full"
|
||||
: "translate-x-full",
|
||||
className,
|
||||
)}
|
||||
style={{
|
||||
paddingTop: "env(safe-area-inset-top)",
|
||||
paddingBottom: "env(safe-area-inset-bottom)",
|
||||
}}
|
||||
>
|
||||
{title && (
|
||||
<div className="flex items-center justify-between border-b border-border px-4 py-3">
|
||||
<h2 className="text-base font-semibold text-text-primary">{title}</h2>
|
||||
<button
|
||||
type="button"
|
||||
onClick={onClose}
|
||||
className="rounded-lg p-2 text-text-muted hover:bg-surface-2 hover:text-text-primary"
|
||||
aria-label="Close"
|
||||
>
|
||||
<X className="h-4 w-4" />
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
<div className="flex-1 overflow-y-auto">{children}</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -21,7 +21,7 @@ export const Input = forwardRef<HTMLInputElement, InputProps>(
|
||||
ref={ref}
|
||||
id={inputId}
|
||||
className={clsx(
|
||||
"rounded-lg border bg-surface-1 px-3 py-2 text-sm text-text-primary placeholder:text-text-muted transition-colors focus:outline-none focus:ring-2 focus:ring-accent/50",
|
||||
"min-h-touch rounded-lg border bg-surface-1 px-3 py-2.5 text-base text-text-primary placeholder:text-text-muted transition-colors focus:outline-none focus:ring-2 focus:ring-accent/50 sm:text-sm",
|
||||
error ? "border-danger" : "border-border focus:border-accent",
|
||||
className,
|
||||
)}
|
||||
|
||||
@@ -21,7 +21,7 @@ export const Textarea = forwardRef<HTMLTextAreaElement, TextareaProps>(
|
||||
ref={ref}
|
||||
id={inputId}
|
||||
className={clsx(
|
||||
"min-h-[80px] rounded-lg border bg-surface-1 px-3 py-2 text-sm text-text-primary placeholder:text-text-muted transition-colors focus:outline-none focus:ring-2 focus:ring-accent/50 resize-y",
|
||||
"min-h-[96px] rounded-lg border bg-surface-1 px-3 py-2.5 text-base text-text-primary placeholder:text-text-muted transition-colors focus:outline-none focus:ring-2 focus:ring-accent/50 resize-y sm:text-sm",
|
||||
error ? "border-danger" : "border-border focus:border-accent",
|
||||
className,
|
||||
)}
|
||||
|
||||
@@ -10,6 +10,9 @@ interface ValidatedInputProps {
|
||||
validate: (value: string) => ValidationResult;
|
||||
placeholder?: string;
|
||||
helpText?: string;
|
||||
inputMode?: "text" | "email" | "url" | "numeric" | "tel" | "search" | "decimal";
|
||||
autoComplete?: string;
|
||||
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send";
|
||||
/**
|
||||
* Forwarded to the inner `<input>`. Used by StoreLinkEditor to sniff a
|
||||
* pasted URL and auto-fill the Game Name field — see
|
||||
@@ -26,6 +29,9 @@ export function ValidatedInput({
|
||||
validate,
|
||||
placeholder,
|
||||
helpText,
|
||||
inputMode,
|
||||
autoComplete,
|
||||
enterKeyHint,
|
||||
onPaste,
|
||||
}: ValidatedInputProps) {
|
||||
const { t } = useTranslation("ui");
|
||||
@@ -68,8 +74,11 @@ export function ValidatedInput({
|
||||
onBlur={() => setTouched(true)}
|
||||
onPaste={onPaste}
|
||||
placeholder={placeholder}
|
||||
inputMode={inputMode}
|
||||
autoComplete={autoComplete}
|
||||
enterKeyHint={enterKeyHint}
|
||||
className={clsx(
|
||||
"rounded-lg border bg-surface-1 px-3 py-2 text-sm text-text-primary placeholder:text-text-muted transition-colors focus:outline-none focus:ring-2 focus:ring-accent/50",
|
||||
"min-h-touch rounded-lg border bg-surface-1 px-3 py-2.5 text-base text-text-primary placeholder:text-text-muted transition-colors focus:outline-none focus:ring-2 focus:ring-accent/50 sm:text-sm",
|
||||
touched && error ? "border-danger" : "border-border focus:border-accent",
|
||||
)}
|
||||
/>
|
||||
|
||||
+19
-3
@@ -6,21 +6,37 @@ import pkg from "../../package.json";
|
||||
* Versions come from `package.json` so the About page never lies after a
|
||||
* version bump. Empty social URLs are hidden by the page; fill in the
|
||||
* channel / handle URLs you want to expose before tagging a release.
|
||||
*
|
||||
* Note: Ko-fi / Patreon were moved out of `socials` into `@config/donate`
|
||||
* in v0.13.1 — they're "support" links, not "presence" links.
|
||||
*/
|
||||
export const ABOUT = {
|
||||
appName: "YTDescGen",
|
||||
version: pkg.version,
|
||||
license: "MIT",
|
||||
license: "Apache-2.0",
|
||||
repo: "https://github.com/poli0981/youtube-generator",
|
||||
issuesUrl: "https://github.com/poli0981/youtube-generator/issues",
|
||||
bugReportUrl: "https://github.com/poli0981/youtube-generator/issues/new?template=bug_report.yml",
|
||||
discussionsUrl: "https://github.com/poli0981/youtube-generator/discussions",
|
||||
licenseUrl: "https://github.com/poli0981/youtube-generator/blob/main/LICENSE",
|
||||
githubAuthor: "https://github.com/poli0981",
|
||||
// v0.14: pc_spec.md + dev_env.md merged into DEVELOPMENT.md.
|
||||
// The two URL fields are kept for backwards compatibility with the About
|
||||
// page layout — `pcSpecDocUrl` now points to the EN guide, `devEnvDocUrl`
|
||||
// to the VI mirror.
|
||||
pcSpecDocUrl: "https://github.com/poli0981/youtube-generator/blob/main/docs/DEVELOPMENT.md",
|
||||
devEnvDocUrl: "https://github.com/poli0981/youtube-generator/blob/main/docs/i18n/vi/DEVELOPMENT.md",
|
||||
socials: {
|
||||
youtube: "https://www.youtube.com/@SkullMute",
|
||||
x: "https://x.com/SkullMute0011",
|
||||
bluesky: "https://bsky.app/profile/skullmute0011.bsky.social",
|
||||
mastodon: "https://mastodon.social/@skullmute1122",
|
||||
discord: "https://discord.gg/2aNR3aVt",
|
||||
kofi: "https://ko-fi.com/skullmute",
|
||||
patreon: "https://www.patreon.com/skullmute",
|
||||
discordGame: "https://discord.gg/kDM9GMu5vm",
|
||||
steam: "https://steamcommunity.com/profiles/76561199544666292/",
|
||||
telegramBot: "https://t.me/my_skull_bot",
|
||||
telegramUser: "https://t.me/SkullMute0011",
|
||||
email: "mailto:lopop05905@proton.me",
|
||||
},
|
||||
} as const;
|
||||
|
||||
|
||||
@@ -0,0 +1,163 @@
|
||||
import type { ContentWarning } from "@engine/types";
|
||||
|
||||
/**
|
||||
* UI grouping for the content-warning checklist. The engine doesn't
|
||||
* care about groups — render order in the description follows the
|
||||
* user's selection order in the array — but the editor uses these
|
||||
* groups to render collapsible sections so 40+ items are scannable.
|
||||
*
|
||||
* Add a new warning by:
|
||||
* 1. Appending the id to {@link CONTENT_WARNINGS} in `@engine/types`.
|
||||
* 2. Adding it to one of these groups (UI placement).
|
||||
* 3. Translating `description.contentWarnings.items.{id}` in all locales
|
||||
* + the editor's `editor.contentWarningOptions.{id}` short label.
|
||||
*/
|
||||
export interface ContentWarningGroup {
|
||||
id: string;
|
||||
/** i18n key for the group heading shown in the editor. */
|
||||
labelKey: string;
|
||||
items: ContentWarning[];
|
||||
}
|
||||
|
||||
export const CONTENT_WARNING_GROUPS: readonly ContentWarningGroup[] = [
|
||||
{
|
||||
id: "spoilers",
|
||||
labelKey: "editor.contentWarningGroups.spoilers",
|
||||
items: [
|
||||
"spoiler_story",
|
||||
"spoiler_ending",
|
||||
"spoiler_true_ending",
|
||||
"spoiler_post_game",
|
||||
"spoiler_secret_ending",
|
||||
"spoiler_dlc",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "photosensitive",
|
||||
labelKey: "editor.contentWarningGroups.photosensitive",
|
||||
items: [
|
||||
"flashing_lights",
|
||||
"motion_sickness",
|
||||
"migraine_trigger",
|
||||
"loud_noises",
|
||||
"strobe_effects",
|
||||
"screen_shake_intense",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "phobias",
|
||||
labelKey: "editor.contentWarningGroups.phobias",
|
||||
items: [
|
||||
"jump_scares",
|
||||
"acrophobia",
|
||||
"trypophobia",
|
||||
"thalassophobia",
|
||||
"claustrophobia",
|
||||
"arachnophobia",
|
||||
"entomophobia",
|
||||
"ophidiophobia",
|
||||
"cynophobia",
|
||||
"nyctophobia",
|
||||
"pyrophobia",
|
||||
"pediophobia",
|
||||
"hemophobia",
|
||||
"coulrophobia",
|
||||
"ablutophobia",
|
||||
"taphophobia",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "mental_health",
|
||||
labelKey: "editor.contentWarningGroups.mental_health",
|
||||
items: [
|
||||
"anxiety_inducing",
|
||||
"depression_themes",
|
||||
"eating_disorders",
|
||||
"substance_use",
|
||||
"self_harm",
|
||||
"ptsd_themes",
|
||||
"needles",
|
||||
"body_fluids",
|
||||
"pregnancy_horror",
|
||||
"illness_themes",
|
||||
"bipolar_themes",
|
||||
"ocd_themes",
|
||||
"panic_attacks",
|
||||
"dissociation",
|
||||
"paranoia_themes",
|
||||
"intrusive_thoughts",
|
||||
"medical_horror",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "sensitive",
|
||||
labelKey: "editor.contentWarningGroups.sensitive",
|
||||
items: [
|
||||
"blood_gore",
|
||||
"mature_18plus",
|
||||
"disturbing_imagery",
|
||||
"animal_abuse",
|
||||
"child_harm",
|
||||
"domestic_violence",
|
||||
"sexual_assault",
|
||||
"torture",
|
||||
"religion_themes",
|
||||
"war_violence",
|
||||
"discrimination",
|
||||
"police_violence",
|
||||
"smoking_drinking",
|
||||
"detailed_killing",
|
||||
"cult_occult",
|
||||
"psychological_manipulation",
|
||||
"grief_loss",
|
||||
"kidnapping",
|
||||
"hate_speech",
|
||||
"historical_atrocity",
|
||||
"slavery_themes",
|
||||
"terrorism_themes",
|
||||
"bullying_themes",
|
||||
"human_experimentation",
|
||||
"cannibalism",
|
||||
"nuclear_themes",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "horror_specific",
|
||||
labelKey: "editor.contentWarningGroups.horror_specific",
|
||||
items: [
|
||||
"eye_horror",
|
||||
"body_horror",
|
||||
"face_horror",
|
||||
"cosmic_horror",
|
||||
"extreme_gore",
|
||||
"decay_rot",
|
||||
"mutilation",
|
||||
"liminal_spaces",
|
||||
"analog_horror",
|
||||
"unreality_themes",
|
||||
"pursuit_chase",
|
||||
"entity_horror",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "playstyle",
|
||||
labelKey: "editor.contentWarningGroups.playstyle",
|
||||
items: [
|
||||
"blind_playthrough",
|
||||
"no_spoilers_chat",
|
||||
"casual_difficulty",
|
||||
"hardcore_difficulty",
|
||||
"permadeath_run",
|
||||
"speedrun_attempt",
|
||||
"completionist_run",
|
||||
"learning_mechanics",
|
||||
"first_time_playing",
|
||||
"returning_player",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "gameplay_disclosure",
|
||||
labelKey: "editor.contentWarningGroups.gameplay_disclosure",
|
||||
items: ["mods_used", "cheats_enabled", "glitch_exploits", "assisted_run"],
|
||||
},
|
||||
] as const;
|
||||
@@ -15,6 +15,9 @@ import type {
|
||||
PlaythroughStatus,
|
||||
DifficultyLevel,
|
||||
ContentWarning,
|
||||
LanguagePatch,
|
||||
GameVersion,
|
||||
TechNote,
|
||||
} from "@engine/types";
|
||||
|
||||
export interface EditorDefaults {
|
||||
@@ -42,6 +45,12 @@ export interface EditorDefaults {
|
||||
chapterName: string;
|
||||
/** Gacha-quest individual quest / event name (free-form). */
|
||||
questName: string;
|
||||
/** Gacha-quest character name (v0.13) — only rendered for `showcase` quest type. */
|
||||
characterName: string;
|
||||
/** Gacha-quest anniversary year (v0.13) — only rendered for `anniversary` quest type. 1–20 or null. */
|
||||
anniversaryYear: number | null;
|
||||
/** Gacha-quest game version label (v0.13) — e.g. "1.2", "2.4". Only used for `gacha_quest` videoType. */
|
||||
gachaVersion: string;
|
||||
resolution: string;
|
||||
fps: string;
|
||||
graphicsPreset: GraphicsPreset;
|
||||
@@ -67,14 +76,36 @@ export interface EditorDefaults {
|
||||
* "🎁 Thanks to …" line and is not added to tags.
|
||||
*/
|
||||
pubDevName: string;
|
||||
/**
|
||||
* Channel-level third-party advertising / sponsor / partner copy
|
||||
* (v0.11). Persisted on the Profile so it carries across all videos
|
||||
* for a given channel. Empty string by default — the description
|
||||
* block is gated on both this being non-empty AND the
|
||||
* `showThirdPartyAds` settings toggle being on.
|
||||
*/
|
||||
thirdPartyAdText: string;
|
||||
thumbnailText: string;
|
||||
pinnedComment: string;
|
||||
/** @deprecated v0.11 — superseded by `contentWarnings` checklist. */
|
||||
spoilerWarning: boolean;
|
||||
/** @deprecated v0.11 — superseded by `contentWarnings` checklist. */
|
||||
matureWarning: boolean;
|
||||
playthroughStatus: PlaythroughStatus;
|
||||
difficulty: DifficultyLevel;
|
||||
difficultyCustomLabel: string;
|
||||
/** Free-text endings descriptor for Playthrough Notes section (v0.12). */
|
||||
endingsShown: string;
|
||||
/** Language-patch enum for Playthrough Notes section (v0.12). */
|
||||
languagePatch: LanguagePatch;
|
||||
/** Free-form label when `languagePatch` is `"official_other"` or `"custom"`. */
|
||||
languagePatchCustom: string;
|
||||
/** Game-version enum for Playthrough Notes section (v0.12). */
|
||||
gameVersion: GameVersion;
|
||||
/** Free-form label when `gameVersion === "custom"`. */
|
||||
gameVersionCustom: string;
|
||||
contentWarnings: ContentWarning[];
|
||||
/** Tech / production / playstyle disclaimer checklist items (v0.12). */
|
||||
techNotes: TechNote[];
|
||||
storeLinks: Record<string, string>;
|
||||
storeLinkTypes: Record<string, StoreLinkType>;
|
||||
social: Record<string, string>;
|
||||
@@ -114,6 +145,9 @@ export const DEFAULTS = {
|
||||
gachaQuestType: DEFAULT_GACHA_QUEST_TYPE,
|
||||
chapterName: "",
|
||||
questName: "",
|
||||
characterName: "",
|
||||
anniversaryYear: null,
|
||||
gachaVersion: "",
|
||||
resolution: "1080p",
|
||||
fps: "60",
|
||||
graphicsPreset: "medium",
|
||||
@@ -132,6 +166,7 @@ export const DEFAULTS = {
|
||||
sponsorName: "",
|
||||
sponsorPlatform: "",
|
||||
pubDevName: "",
|
||||
thirdPartyAdText: "",
|
||||
thumbnailText: "",
|
||||
pinnedComment: "",
|
||||
spoilerWarning: false,
|
||||
@@ -139,7 +174,13 @@ export const DEFAULTS = {
|
||||
playthroughStatus: "none",
|
||||
difficulty: "none",
|
||||
difficultyCustomLabel: "",
|
||||
endingsShown: "",
|
||||
languagePatch: "none",
|
||||
languagePatchCustom: "",
|
||||
gameVersion: "full_release",
|
||||
gameVersionCustom: "",
|
||||
contentWarnings: [],
|
||||
techNotes: [],
|
||||
storeLinks: {},
|
||||
storeLinkTypes: {},
|
||||
social: {},
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* Donate / support links surfaced on the About page and via the persistent
|
||||
* Donate button in the Header.
|
||||
*
|
||||
* Mirrors `.github/FUNDING.yml` so GitHub's "Sponsor this project" picker
|
||||
* and the in-app surface stay aligned. Update both files together.
|
||||
*/
|
||||
export const DONATE = {
|
||||
githubSponsors: "https://github.com/sponsors/poli0981",
|
||||
kofi: "https://ko-fi.com/skullmute",
|
||||
buyMeACoffee: "https://buymeacoffee.com/skullmute",
|
||||
patreon: "https://www.patreon.com/skullmute",
|
||||
paypal: "https://paypal.me/DungDang212",
|
||||
} as const;
|
||||
|
||||
export type DonateId = keyof typeof DONATE;
|
||||
|
||||
/**
|
||||
* Single "primary" link the Header button points at. Ko-fi has no account
|
||||
* gate and lowest friction — change here to swap the Header default.
|
||||
*/
|
||||
export const PRIMARY_DONATE_URL = DONATE.kofi;
|
||||
@@ -114,3 +114,102 @@ export const GACHA_PART_SUFFIX_STYLES: Record<GachaQuestType, GachaPartSuffixSty
|
||||
daily_commission: "day",
|
||||
showcase: "none",
|
||||
};
|
||||
|
||||
/**
|
||||
* Quest-type → which extra fields to render in the Gacha-quest editor
|
||||
* (v0.13). Keeps the `extra-fields` UI surgical: Showcase replaces
|
||||
* Chapter/Quest with Character Name, Anniversary swaps the part-number
|
||||
* input for a 1–20 year dropdown, and the rest fall back to the default
|
||||
* Chapter/Quest/Part triplet. `gachaVersion` is always shown for the
|
||||
* `gacha_quest` video type, regardless of the selected quest type — it
|
||||
* applies broadly (game patch labels like "1.2", "2.4").
|
||||
*/
|
||||
export interface GachaQuestFieldVisibility {
|
||||
chapterName: boolean;
|
||||
questName: boolean;
|
||||
partNumber: boolean;
|
||||
characterName: boolean;
|
||||
anniversaryYear: boolean;
|
||||
}
|
||||
|
||||
const DEFAULT_FIELD_VISIBILITY: GachaQuestFieldVisibility = {
|
||||
chapterName: true,
|
||||
questName: true,
|
||||
partNumber: true,
|
||||
characterName: false,
|
||||
anniversaryYear: false,
|
||||
};
|
||||
|
||||
export const GACHA_QUEST_FIELD_VISIBILITY: Record<
|
||||
GachaQuestType,
|
||||
GachaQuestFieldVisibility
|
||||
> = {
|
||||
main_story: { ...DEFAULT_FIELD_VISIBILITY, questName: false },
|
||||
world_quest: { ...DEFAULT_FIELD_VISIBILITY, chapterName: false, partNumber: false },
|
||||
side_quest: { ...DEFAULT_FIELD_VISIBILITY, chapterName: false, partNumber: false },
|
||||
spinoff_quest: { ...DEFAULT_FIELD_VISIBILITY, chapterName: false, partNumber: false },
|
||||
companion_quest: { ...DEFAULT_FIELD_VISIBILITY, chapterName: false, partNumber: false },
|
||||
bond_quest: { ...DEFAULT_FIELD_VISIBILITY, chapterName: false, partNumber: false },
|
||||
event: { ...DEFAULT_FIELD_VISIBILITY, chapterName: false, partNumber: false },
|
||||
anniversary: {
|
||||
chapterName: false,
|
||||
questName: false,
|
||||
partNumber: true,
|
||||
characterName: false,
|
||||
anniversaryYear: true,
|
||||
},
|
||||
crossover: { ...DEFAULT_FIELD_VISIBILITY, chapterName: false, partNumber: false },
|
||||
dating_event: { ...DEFAULT_FIELD_VISIBILITY, chapterName: false, partNumber: false },
|
||||
tutorial_quest: { ...DEFAULT_FIELD_VISIBILITY, chapterName: false, partNumber: false },
|
||||
guide_quest: { ...DEFAULT_FIELD_VISIBILITY, chapterName: false, partNumber: false },
|
||||
trial_quest: { ...DEFAULT_FIELD_VISIBILITY, chapterName: false, partNumber: false },
|
||||
endgame: { ...DEFAULT_FIELD_VISIBILITY, questName: false },
|
||||
coop: { ...DEFAULT_FIELD_VISIBILITY, chapterName: false, partNumber: false },
|
||||
daily_commission: { ...DEFAULT_FIELD_VISIBILITY, chapterName: false, questName: false },
|
||||
showcase: {
|
||||
chapterName: false,
|
||||
questName: false,
|
||||
partNumber: false,
|
||||
characterName: true,
|
||||
anniversaryYear: false,
|
||||
},
|
||||
};
|
||||
|
||||
/**
|
||||
* Per-quest-type placeholder hints for Chapter Name / Quest Name / Part
|
||||
* Number inputs (v0.13 QoL). Surfaces concrete examples so creators
|
||||
* don't have to guess what each field expects under different quest
|
||||
* patterns. Translated via `editor.placeholders.questType.<id>.<field>`
|
||||
* — fall back to the static defaults when the locale lacks the override.
|
||||
*/
|
||||
export interface GachaQuestPlaceholders {
|
||||
chapterName?: string;
|
||||
questName?: string;
|
||||
partNumber?: string;
|
||||
}
|
||||
|
||||
export const GACHA_QUEST_PLACEHOLDERS: Record<GachaQuestType, GachaQuestPlaceholders> = {
|
||||
main_story: {
|
||||
chapterName: "e.g. Chapter 5 Act 2",
|
||||
partNumber: "e.g. Part 1",
|
||||
},
|
||||
world_quest: { questName: "e.g. The Hidden Path" },
|
||||
side_quest: { questName: "e.g. A Solitary Constellation" },
|
||||
spinoff_quest: { questName: "e.g. The Tale of Wuthering Waves" },
|
||||
companion_quest: { questName: "e.g. Yelan: Path of Stillness" },
|
||||
bond_quest: { questName: "e.g. Trust Mission - Hina" },
|
||||
event: { questName: "e.g. Summer Festival 2024" },
|
||||
anniversary: { partNumber: "Day 1, Day 7, etc." },
|
||||
crossover: { questName: "e.g. Honkai x Genshin Crossover" },
|
||||
dating_event: { questName: "e.g. Date with Furina" },
|
||||
tutorial_quest: { questName: "e.g. First Steps in Teyvat" },
|
||||
guide_quest: { questName: "e.g. How to upgrade artifacts" },
|
||||
trial_quest: { questName: "e.g. Adventure Trial - Diluc" },
|
||||
endgame: {
|
||||
chapterName: "e.g. Spiral Abyss / Memory of Chaos",
|
||||
partNumber: "Floor 12, Floor 11",
|
||||
},
|
||||
coop: { questName: "e.g. Co-op Boss Run" },
|
||||
daily_commission: { partNumber: "Day 1, Day 12, etc." },
|
||||
showcase: {},
|
||||
};
|
||||
@@ -0,0 +1,265 @@
|
||||
/**
|
||||
* GPU catalog for the My Rig editor (v0.13). Three-level taxonomy:
|
||||
*
|
||||
* Brand → Series → Model
|
||||
*
|
||||
* The cascading-dropdown UI in {@link RigEditor} stores the user's
|
||||
* choice as a pipe-delimited string `"<brandId>|<seriesId>|<model>"` so
|
||||
* the rig store stays a flat `Record<string, string>` (no schema
|
||||
* migration vs. v0.12). The third segment is the verbatim model display
|
||||
* string — it's stored as-is so we never need a reverse lookup table to
|
||||
* render the value back into the description output.
|
||||
*
|
||||
* Backward-compatibility: pre-v0.13 rigs persisted GPU as free-form text
|
||||
* (`"NVIDIA RTX 4090"`). Those values lack pipes, so `formatRigValue`
|
||||
* passes them through unchanged, and the editor renders them under the
|
||||
* `custom` brand for further editing.
|
||||
*
|
||||
* Scope: ambitious — covers the GPUs viewers commonly own in 2026,
|
||||
* which still includes 10+ years of legacy NVIDIA / AMD parts because
|
||||
* gameplay-no-commentary audiences run a wide spread of hardware ages.
|
||||
*
|
||||
* Apple Silicon is included for creators who edit on Mac and want their
|
||||
* rig listing to reflect that, even though Apple chips aren't really
|
||||
* "gaming GPUs" in the discrete-card sense.
|
||||
*/
|
||||
|
||||
export interface GpuSeries {
|
||||
/** Stable id used in the storage tuple (`<brandId>|<seriesId>|<model>`). */
|
||||
readonly id: string;
|
||||
readonly label: string;
|
||||
/** Free-form display strings — stored verbatim as the model segment. */
|
||||
readonly models: readonly string[];
|
||||
}
|
||||
|
||||
export interface GpuBrand {
|
||||
readonly id: string;
|
||||
readonly label: string;
|
||||
readonly series: readonly GpuSeries[];
|
||||
}
|
||||
|
||||
export type GpuCatalog = readonly GpuBrand[];
|
||||
|
||||
const NVIDIA_SERIES: readonly GpuSeries[] = [
|
||||
{
|
||||
id: "rtx_50",
|
||||
label: "RTX 50 Series",
|
||||
models: ["RTX 5050", "RTX 5060", "RTX 5060 Ti", "RTX 5070", "RTX 5070 Ti", "RTX 5080", "RTX 5090"],
|
||||
},
|
||||
{
|
||||
id: "rtx_40",
|
||||
label: "RTX 40 Series",
|
||||
models: [
|
||||
"RTX 4050 (laptop)",
|
||||
"RTX 4060",
|
||||
"RTX 4060 Ti",
|
||||
"RTX 4070",
|
||||
"RTX 4070 SUPER",
|
||||
"RTX 4070 Ti",
|
||||
"RTX 4070 Ti SUPER",
|
||||
"RTX 4080",
|
||||
"RTX 4080 SUPER",
|
||||
"RTX 4090",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "rtx_30",
|
||||
label: "RTX 30 Series",
|
||||
models: [
|
||||
"RTX 3050",
|
||||
"RTX 3050 6GB",
|
||||
"RTX 3060",
|
||||
"RTX 3060 Ti",
|
||||
"RTX 3070",
|
||||
"RTX 3070 Ti",
|
||||
"RTX 3080",
|
||||
"RTX 3080 12GB",
|
||||
"RTX 3080 Ti",
|
||||
"RTX 3090",
|
||||
"RTX 3090 Ti",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "rtx_20",
|
||||
label: "RTX 20 Series",
|
||||
models: [
|
||||
"RTX 2060",
|
||||
"RTX 2060 SUPER",
|
||||
"RTX 2070",
|
||||
"RTX 2070 SUPER",
|
||||
"RTX 2080",
|
||||
"RTX 2080 SUPER",
|
||||
"RTX 2080 Ti",
|
||||
"TITAN RTX",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "gtx_16",
|
||||
label: "GTX 16 Series",
|
||||
models: ["GTX 1630", "GTX 1650", "GTX 1650 SUPER", "GTX 1660", "GTX 1660 SUPER", "GTX 1660 Ti"],
|
||||
},
|
||||
{
|
||||
id: "gtx_10",
|
||||
label: "GTX 10 Series",
|
||||
models: [
|
||||
"GTX 1050",
|
||||
"GTX 1050 Ti",
|
||||
"GTX 1060 3GB",
|
||||
"GTX 1060 6GB",
|
||||
"GTX 1070",
|
||||
"GTX 1070 Ti",
|
||||
"GTX 1080",
|
||||
"GTX 1080 Ti",
|
||||
"TITAN Xp",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "gtx_900",
|
||||
label: "GTX 900 Series",
|
||||
models: ["GTX 950", "GTX 960", "GTX 970", "GTX 980", "GTX 980 Ti", "TITAN X (Maxwell)"],
|
||||
},
|
||||
{
|
||||
id: "gtx_700",
|
||||
label: "GTX 700 Series",
|
||||
models: ["GTX 750", "GTX 750 Ti", "GTX 760", "GTX 770", "GTX 780", "GTX 780 Ti", "TITAN Black"],
|
||||
},
|
||||
];
|
||||
|
||||
const AMD_SERIES: readonly GpuSeries[] = [
|
||||
{
|
||||
id: "rx_9000",
|
||||
label: "Radeon RX 9000",
|
||||
models: ["RX 9060", "RX 9060 XT", "RX 9070", "RX 9070 XT", "RX 9080", "RX 9090 XT"],
|
||||
},
|
||||
{
|
||||
id: "rx_7000",
|
||||
label: "Radeon RX 7000",
|
||||
models: [
|
||||
"RX 7600",
|
||||
"RX 7600 XT",
|
||||
"RX 7700 XT",
|
||||
"RX 7800 XT",
|
||||
"RX 7900 GRE",
|
||||
"RX 7900 XT",
|
||||
"RX 7900 XTX",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "rx_6000",
|
||||
label: "Radeon RX 6000",
|
||||
models: [
|
||||
"RX 6400",
|
||||
"RX 6500 XT",
|
||||
"RX 6600",
|
||||
"RX 6600 XT",
|
||||
"RX 6650 XT",
|
||||
"RX 6700",
|
||||
"RX 6700 XT",
|
||||
"RX 6750 XT",
|
||||
"RX 6800",
|
||||
"RX 6800 XT",
|
||||
"RX 6900 XT",
|
||||
"RX 6950 XT",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "rx_5000",
|
||||
label: "Radeon RX 5000",
|
||||
models: ["RX 5500", "RX 5500 XT", "RX 5600", "RX 5600 XT", "RX 5700", "RX 5700 XT"],
|
||||
},
|
||||
{
|
||||
id: "rx_vega",
|
||||
label: "Radeon RX Vega",
|
||||
models: ["RX Vega 56", "RX Vega 64", "Radeon VII"],
|
||||
},
|
||||
{
|
||||
id: "rx_500",
|
||||
label: "Radeon RX 500",
|
||||
models: ["RX 550", "RX 560", "RX 570", "RX 580", "RX 590"],
|
||||
},
|
||||
{
|
||||
id: "rx_400",
|
||||
label: "Radeon RX 400",
|
||||
models: ["RX 460", "RX 470", "RX 480"],
|
||||
},
|
||||
{
|
||||
id: "r9_300",
|
||||
label: "Radeon R7/R9 300",
|
||||
models: ["R7 360", "R7 370", "R9 380", "R9 380X", "R9 390", "R9 390X", "R9 Fury", "R9 Fury X", "R9 Nano"],
|
||||
},
|
||||
{
|
||||
id: "r9_200",
|
||||
label: "Radeon R7/R9 200",
|
||||
models: ["R7 250", "R7 260", "R7 260X", "R9 270", "R9 270X", "R9 280", "R9 280X", "R9 290", "R9 290X"],
|
||||
},
|
||||
{
|
||||
id: "hd_7000",
|
||||
label: "Radeon HD 7000",
|
||||
models: ["HD 7750", "HD 7770", "HD 7850", "HD 7870", "HD 7950", "HD 7970"],
|
||||
},
|
||||
];
|
||||
|
||||
const INTEL_SERIES: readonly GpuSeries[] = [
|
||||
{
|
||||
id: "arc_b",
|
||||
label: "Arc B Series (Battlemage)",
|
||||
models: ["Arc B380", "Arc B570", "Arc B580"],
|
||||
},
|
||||
{
|
||||
id: "arc_a",
|
||||
label: "Arc A Series (Alchemist)",
|
||||
models: ["Arc A310", "Arc A380", "Arc A580", "Arc A750", "Arc A770"],
|
||||
},
|
||||
];
|
||||
|
||||
const APPLE_SERIES: readonly GpuSeries[] = [
|
||||
{
|
||||
id: "m4",
|
||||
label: "Apple M4",
|
||||
models: ["M4", "M4 Pro", "M4 Max"],
|
||||
},
|
||||
{
|
||||
id: "m3",
|
||||
label: "Apple M3",
|
||||
models: ["M3", "M3 Pro", "M3 Max", "M3 Ultra"],
|
||||
},
|
||||
{
|
||||
id: "m2",
|
||||
label: "Apple M2",
|
||||
models: ["M2", "M2 Pro", "M2 Max", "M2 Ultra"],
|
||||
},
|
||||
{
|
||||
id: "m1",
|
||||
label: "Apple M1",
|
||||
models: ["M1", "M1 Pro", "M1 Max", "M1 Ultra"],
|
||||
},
|
||||
];
|
||||
|
||||
export const GPU_CATALOG: GpuCatalog = [
|
||||
{ id: "nvidia", label: "NVIDIA", series: NVIDIA_SERIES },
|
||||
{ id: "amd", label: "AMD", series: AMD_SERIES },
|
||||
{ id: "intel", label: "Intel", series: INTEL_SERIES },
|
||||
{ id: "apple", label: "Apple Silicon", series: APPLE_SERIES },
|
||||
{ id: "custom", label: "Custom", series: [] },
|
||||
];
|
||||
|
||||
/** Stable signal that the user picked the free-text fallback. */
|
||||
export const GPU_CUSTOM_BRAND_ID = "custom";
|
||||
|
||||
/**
|
||||
* Lookup a brand by id without throwing. Returns `undefined` for unknown
|
||||
* ids so callers can render a graceful fallback (legacy free-text values
|
||||
* round-trip without exploding).
|
||||
*/
|
||||
export function findGpuBrand(brandId: string): GpuBrand | undefined {
|
||||
return GPU_CATALOG.find((b) => b.id === brandId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Lookup a series within a known brand. Returns `undefined` for both
|
||||
* unknown brand and unknown series; the caller decides whether to clear
|
||||
* the downstream model selection or preserve it.
|
||||
*/
|
||||
export function findGpuSeries(brandId: string, seriesId: string): GpuSeries | undefined {
|
||||
return findGpuBrand(brandId)?.series.find((s) => s.id === seriesId);
|
||||
}
|
||||
@@ -55,11 +55,18 @@ export type FrameGenMultiplier = (typeof FRAMEGEN_MULTIPLIERS)[number];
|
||||
/**
|
||||
* Upscaling-quality preset across DLSS Super Resolution / FSR / XeSS.
|
||||
* The actual brand name is rendered from {@link FRAMEGEN_VENDORS}; this
|
||||
* enum carries only the quality dimension.
|
||||
* enum carries the quality dimension only.
|
||||
*
|
||||
* v0.11 expansion: `dlaa` (NVIDIA's anti-aliasing-only mode, distinct from
|
||||
* the brand-agnostic `native_aa`) and `ultra_quality` (XeSS's highest
|
||||
* quality tier) joined the ladder. Vendor-aware filtering happens in the
|
||||
* UI / engine via {@link getValidUpscaleQualities} — this enum stays flat.
|
||||
*/
|
||||
export const UPSCALE_QUALITIES = [
|
||||
"none",
|
||||
"native_aa",
|
||||
"dlaa",
|
||||
"ultra_quality",
|
||||
"quality",
|
||||
"balanced",
|
||||
"performance",
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
import {
|
||||
LANGUAGE_PATCH_OPTIONS,
|
||||
GAME_VERSION_OPTIONS,
|
||||
type LanguagePatch,
|
||||
type GameVersion,
|
||||
} from "@engine/types";
|
||||
|
||||
/**
|
||||
* UI-friendly option lists for the Playthrough Notes form (v0.12).
|
||||
* Mirrors the const arrays from `@engine/types` but as `{ id, labelKey }`
|
||||
* objects so Select renders both an i18n key and a stable value. The
|
||||
* engine continues to read straight from the typed unions — these
|
||||
* helpers exist purely so the editor doesn't repeat the i18n-key
|
||||
* convention in every component.
|
||||
*/
|
||||
export interface PlaythroughOption<T extends string> {
|
||||
id: T;
|
||||
/** i18n key for the localised display label. */
|
||||
labelKey: string;
|
||||
}
|
||||
|
||||
export const LANGUAGE_PATCH_UI_OPTIONS: readonly PlaythroughOption<LanguagePatch>[] =
|
||||
LANGUAGE_PATCH_OPTIONS.map((id) => ({
|
||||
id,
|
||||
labelKey: `editor.playthroughNotes.languagePatchOptions.${id}`,
|
||||
}));
|
||||
|
||||
export const GAME_VERSION_UI_OPTIONS: readonly PlaythroughOption<GameVersion>[] =
|
||||
GAME_VERSION_OPTIONS.map((id) => ({
|
||||
id,
|
||||
labelKey: `editor.playthroughNotes.gameVersionOptions.${id}`,
|
||||
}));
|
||||
|
||||
/**
|
||||
* Whether the language-patch enum value pairs with a free-form custom
|
||||
* label slot (`languagePatchCustom`). True for `"official_other"` (e.g.
|
||||
* "Official KR") and `"custom"` (everything else); false for the
|
||||
* canonical EN / fan / MTL options whose labels come from i18n.
|
||||
*/
|
||||
export function languagePatchHasCustomSlot(value: LanguagePatch): boolean {
|
||||
return value === "official_other" || value === "custom";
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether the game-version enum value pairs with a free-form custom
|
||||
* label slot (`gameVersionCustom`). Only `"custom"` does — used for
|
||||
* niche cases like "Steam Next Fest demo", "Kickstarter backer build".
|
||||
*/
|
||||
export function gameVersionHasCustomSlot(value: GameVersion): boolean {
|
||||
return value === "custom";
|
||||
}
|
||||
+207
-17
@@ -1,3 +1,10 @@
|
||||
import {
|
||||
GPU_CATALOG,
|
||||
GPU_CUSTOM_BRAND_ID,
|
||||
findGpuBrand,
|
||||
type GpuCatalog,
|
||||
} from "./gpu-catalog";
|
||||
|
||||
/**
|
||||
* Supported rig field input types.
|
||||
*
|
||||
@@ -6,8 +13,23 @@
|
||||
* free-form version text input. The stored value is
|
||||
* `"<option_value>|<version>"` so we don't break the flat
|
||||
* `Partial<Record<string, string>>` rig shape in the editor store.
|
||||
* - `cascading_dropdown` (v0.13): three-level Brand → Series → Model
|
||||
* dropdown for GPU. Stored as `"<brand>|<series>|<model>"`. When
|
||||
* brand = `"custom"`, the UI swaps to a single free-text input and
|
||||
* stores `"custom||<freeText>"` (the model is the verbatim text the
|
||||
* user typed). Pre-v0.13 free-text values lack pipes — they pass
|
||||
* through `formatRigValue` unchanged so old profiles render the same
|
||||
* string they did before.
|
||||
* - `composite_dropdown` (v0.13): two-or-more dropdowns combined into
|
||||
* one logical field. Used by RAM (size + DDR generation). Each part
|
||||
* may opt into a free-text "Custom" override; the stored format is
|
||||
* pipe-delimited in the order parts are declared.
|
||||
*/
|
||||
export type RigFieldType = "text" | "dropdown_with_version";
|
||||
export type RigFieldType =
|
||||
| "text"
|
||||
| "dropdown_with_version"
|
||||
| "cascading_dropdown"
|
||||
| "composite_dropdown";
|
||||
|
||||
export interface RigFieldOption {
|
||||
readonly value: string;
|
||||
@@ -15,6 +37,29 @@ export interface RigFieldOption {
|
||||
readonly label: string;
|
||||
}
|
||||
|
||||
export interface CompositePart {
|
||||
/** Stable id, used to assemble the storage tuple in declaration order. */
|
||||
readonly id: string;
|
||||
readonly labelKey: string;
|
||||
readonly options: readonly RigFieldOption[];
|
||||
/** When true, the part renders an extra free-text input when value === `"custom"`. */
|
||||
readonly allowCustom?: boolean;
|
||||
/** Suffix shown after the custom numeric input (e.g. " GB"). */
|
||||
readonly customSuffix?: string;
|
||||
/** Optional placeholder for the custom input. */
|
||||
readonly customPlaceholder?: string;
|
||||
}
|
||||
|
||||
export interface CompositeFieldSpec {
|
||||
readonly parts: readonly CompositePart[];
|
||||
/**
|
||||
* Format the stored parts into the description-output string. Receives
|
||||
* resolved labels (not raw ids) — for `custom` parts the resolved value
|
||||
* is the free-text the user typed.
|
||||
*/
|
||||
readonly format: (resolvedParts: readonly string[]) => string;
|
||||
}
|
||||
|
||||
export interface RigField {
|
||||
readonly id: string;
|
||||
readonly labelKey: string;
|
||||
@@ -22,6 +67,10 @@ export interface RigField {
|
||||
readonly placeholder?: string;
|
||||
readonly options?: readonly RigFieldOption[];
|
||||
readonly versionPlaceholder?: string;
|
||||
/** Set when {@link type} is `"cascading_dropdown"`. */
|
||||
readonly catalog?: GpuCatalog;
|
||||
/** Set when {@link type} is `"composite_dropdown"`. */
|
||||
readonly composite?: CompositeFieldSpec;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -45,10 +94,73 @@ export const VIDEO_EDITOR_OPTIONS: readonly RigFieldOption[] = [
|
||||
{ value: "other", label: "Other" },
|
||||
];
|
||||
|
||||
/** RAM size options in GB. `custom` opens a numeric free-text input. */
|
||||
export const RAM_SIZE_OPTIONS: readonly RigFieldOption[] = [
|
||||
{ value: "", label: "—" },
|
||||
{ value: "4", label: "4 GB" },
|
||||
{ value: "6", label: "6 GB" },
|
||||
{ value: "8", label: "8 GB" },
|
||||
{ value: "12", label: "12 GB" },
|
||||
{ value: "16", label: "16 GB" },
|
||||
{ value: "32", label: "32 GB" },
|
||||
{ value: "64", label: "64 GB" },
|
||||
{ value: "96", label: "96 GB" },
|
||||
{ value: "128", label: "128 GB" },
|
||||
{ value: "256", label: "256 GB" },
|
||||
{ value: "custom", label: "Custom…" },
|
||||
];
|
||||
|
||||
/** DDR generation. DDR1 stays in the list for legacy gear; users with
|
||||
* unusual rigs (DDR6/DDR7) can pick early-spec options. */
|
||||
export const RAM_DDR_OPTIONS: readonly RigFieldOption[] = [
|
||||
{ value: "", label: "—" },
|
||||
{ value: "DDR1", label: "DDR1" },
|
||||
{ value: "DDR2", label: "DDR2" },
|
||||
{ value: "DDR3", label: "DDR3" },
|
||||
{ value: "DDR4", label: "DDR4" },
|
||||
{ value: "DDR5", label: "DDR5" },
|
||||
{ value: "DDR6", label: "DDR6" },
|
||||
{ value: "DDR7", label: "DDR7" },
|
||||
];
|
||||
|
||||
const RAM_COMPOSITE: CompositeFieldSpec = {
|
||||
parts: [
|
||||
{
|
||||
id: "size",
|
||||
labelKey: "editor.ram_size",
|
||||
options: RAM_SIZE_OPTIONS,
|
||||
allowCustom: true,
|
||||
customSuffix: " GB",
|
||||
customPlaceholder: "48",
|
||||
},
|
||||
{
|
||||
id: "ddr",
|
||||
labelKey: "editor.ram_ddr",
|
||||
options: RAM_DDR_OPTIONS,
|
||||
},
|
||||
],
|
||||
format: ([size = "", ddr = ""]) => {
|
||||
if (!size && !ddr) return "";
|
||||
if (!size) return ddr;
|
||||
if (!ddr) return size;
|
||||
return `${size} ${ddr}`;
|
||||
},
|
||||
};
|
||||
|
||||
export const RIG_FIELDS: readonly RigField[] = [
|
||||
{ id: "cpu", labelKey: "rig.cpu", type: "text", placeholder: "Intel i9-14900K / AMD Ryzen 9 7950X" },
|
||||
{ id: "gpu", labelKey: "rig.gpu", type: "text", placeholder: "NVIDIA RTX 4090 / AMD RX 7900 XTX" },
|
||||
{ id: "ram", labelKey: "rig.ram", type: "text", placeholder: "32GB DDR5-6000" },
|
||||
{
|
||||
id: "gpu",
|
||||
labelKey: "rig.gpu",
|
||||
type: "cascading_dropdown",
|
||||
catalog: GPU_CATALOG,
|
||||
},
|
||||
{
|
||||
id: "ram",
|
||||
labelKey: "rig.ram",
|
||||
type: "composite_dropdown",
|
||||
composite: RAM_COMPOSITE,
|
||||
},
|
||||
{ id: "storage", labelKey: "rig.storage", type: "text", placeholder: "2TB Samsung 990 PRO NVMe" },
|
||||
{ id: "monitor", labelKey: "rig.monitor", type: "text", placeholder: "LG 27GP950 27\" 4K 144Hz" },
|
||||
{ id: "capture", labelKey: "rig.capture", type: "text", placeholder: "OBS Studio 30.x" },
|
||||
@@ -65,27 +177,105 @@ export const RIG_FIELDS: readonly RigField[] = [
|
||||
|
||||
export type RigFieldId = (typeof RIG_FIELDS)[number]["id"];
|
||||
|
||||
/**
|
||||
* Parse a cascading-dropdown stored value into its three segments.
|
||||
* Empty segments stay as empty strings. Pipeless legacy values are
|
||||
* returned as `["", "", raw]` so the caller can render them under the
|
||||
* Custom brand without losing the original text.
|
||||
*/
|
||||
export function parseCascadingValue(raw: string): {
|
||||
brand: string;
|
||||
series: string;
|
||||
model: string;
|
||||
isLegacy: boolean;
|
||||
} {
|
||||
if (!raw) return { brand: "", series: "", model: "", isLegacy: false };
|
||||
if (!raw.includes("|")) {
|
||||
// Pre-v0.13 free-text. Treat as Custom + verbatim model.
|
||||
return { brand: GPU_CUSTOM_BRAND_ID, series: "", model: raw, isLegacy: true };
|
||||
}
|
||||
const [brand = "", series = "", model = ""] = raw.split("|");
|
||||
return { brand, series, model, isLegacy: false };
|
||||
}
|
||||
|
||||
/**
|
||||
* Parse a composite-dropdown stored value into its segments. The order
|
||||
* matches the parts declared on the field's {@link CompositeFieldSpec}.
|
||||
* Pipeless legacy values are returned as a single-element tuple so the
|
||||
* caller can render them as a fallback string.
|
||||
*/
|
||||
export function parseCompositeValue(raw: string): {
|
||||
parts: readonly string[];
|
||||
isLegacy: boolean;
|
||||
} {
|
||||
if (!raw) return { parts: [], isLegacy: false };
|
||||
if (!raw.includes("|")) return { parts: [raw], isLegacy: true };
|
||||
return { parts: raw.split("|"), isLegacy: false };
|
||||
}
|
||||
|
||||
/**
|
||||
* Format a stored rig value for display in the description output.
|
||||
* For dropdown_with_version fields, this turns `"davinci_resolve_studio|19.1"`
|
||||
* into `"DaVinci Resolve Studio 19.1"`. Other values pass through.
|
||||
*
|
||||
* - `dropdown_with_version` ("davinci_resolve_studio|19.1") →
|
||||
* `"DaVinci Resolve Studio 19.1"`.
|
||||
* - `cascading_dropdown` ("nvidia|rtx_40|RTX 4090") →
|
||||
* `"NVIDIA RTX 4090"` (series label dropped — the model string is
|
||||
* already verbose enough). Custom brand returns the verbatim model.
|
||||
* Legacy pipeless values pass through unchanged.
|
||||
* - `composite_dropdown` ("16|DDR5", "custom:48|DDR5") →
|
||||
* `"16 GB DDR5"` / `"48 GB DDR5"` via the field's
|
||||
* {@link CompositeFieldSpec.format}.
|
||||
* - All other field types pass the raw value through.
|
||||
*/
|
||||
export function formatRigValue(fieldId: string, raw: string): string {
|
||||
const field = RIG_FIELDS.find((f) => f.id === fieldId);
|
||||
if (!field || field.type !== "dropdown_with_version") return raw;
|
||||
if (!field) return raw;
|
||||
|
||||
const [value = "", version = ""] = raw.split("|");
|
||||
const trimmedVersion = version.trim();
|
||||
if (!value && !trimmedVersion) return "";
|
||||
if (field.type === "dropdown_with_version") {
|
||||
const [value = "", version = ""] = raw.split("|");
|
||||
const trimmedVersion = version.trim();
|
||||
if (!value && !trimmedVersion) return "";
|
||||
|
||||
// The empty-value sentinel option renders as "—" in the dropdown but
|
||||
// should act as "no selection" in the output.
|
||||
let label = "";
|
||||
if (value) {
|
||||
const option = field.options?.find((o) => o.value === value);
|
||||
label = option?.label ?? value;
|
||||
let label = "";
|
||||
if (value) {
|
||||
const option = field.options?.find((o) => o.value === value);
|
||||
label = option?.label ?? value;
|
||||
}
|
||||
|
||||
if (!label) return trimmedVersion;
|
||||
return trimmedVersion ? `${label} ${trimmedVersion}` : label;
|
||||
}
|
||||
|
||||
if (!label) return trimmedVersion;
|
||||
return trimmedVersion ? `${label} ${trimmedVersion}` : label;
|
||||
if (field.type === "cascading_dropdown") {
|
||||
const { brand, model, isLegacy } = parseCascadingValue(raw);
|
||||
if (isLegacy) return raw;
|
||||
if (!brand && !model) return "";
|
||||
if (brand === GPU_CUSTOM_BRAND_ID) return model.trim();
|
||||
const brandLabel = findGpuBrand(brand)?.label ?? brand;
|
||||
if (!model.trim()) return brandLabel;
|
||||
return `${brandLabel} ${model.trim()}`;
|
||||
}
|
||||
|
||||
if (field.type === "composite_dropdown" && field.composite) {
|
||||
const { parts, isLegacy } = parseCompositeValue(raw);
|
||||
if (isLegacy) return raw;
|
||||
if (parts.length === 0) return "";
|
||||
|
||||
// Resolve each declared part. `custom:<value>` segments collapse to
|
||||
// the free-text payload (without the `custom:` prefix).
|
||||
const resolved = field.composite.parts.map((spec, i) => {
|
||||
const stored = (parts[i] ?? "").trim();
|
||||
if (!stored) return "";
|
||||
if (spec.allowCustom && stored.startsWith("custom:")) {
|
||||
const txt = stored.slice("custom:".length).trim();
|
||||
return txt ? `${txt}${spec.customSuffix ?? ""}` : "";
|
||||
}
|
||||
const opt = spec.options.find((o) => o.value === stored);
|
||||
return opt?.label ?? stored;
|
||||
});
|
||||
|
||||
return field.composite.format(resolved);
|
||||
}
|
||||
|
||||
return raw;
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
import type { TechNote } from "@engine/types";
|
||||
|
||||
/**
|
||||
* UI grouping for the Tech Notes checklist (v0.12). Mirrors the shape
|
||||
* of {@link CONTENT_WARNING_GROUPS} — flat array on the engine side,
|
||||
* grouped here so 24+ items stay scannable in a collapsible UI.
|
||||
*
|
||||
* Add a new tech note by:
|
||||
* 1. Appending the id to {@link TECH_NOTES} in `@engine/types`.
|
||||
* 2. Adding it to one of these groups (UI placement only — engine
|
||||
* renders bullets in the order the user picked them).
|
||||
* 3. Translating `description.techNotes.items.{id}` in all locales
|
||||
* + the editor's `editor.techNoteOptions.{id}` short label.
|
||||
*/
|
||||
export interface TechNoteGroup {
|
||||
id: string;
|
||||
/** i18n key for the group heading shown in the editor. */
|
||||
labelKey: string;
|
||||
items: TechNote[];
|
||||
}
|
||||
|
||||
export const TECH_NOTE_GROUPS: readonly TechNoteGroup[] = [
|
||||
{
|
||||
id: "audio",
|
||||
labelKey: "editor.techNoteGroups.audio",
|
||||
items: [
|
||||
"copyright_muted_sections",
|
||||
"volume_reduced_copyright",
|
||||
"music_replaced_copyright",
|
||||
"cutscene_audio_muted_only",
|
||||
"original_audio_kept",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "video_quality",
|
||||
labelKey: "editor.techNoteGroups.video_quality",
|
||||
items: [
|
||||
"low_resolution_hardware",
|
||||
"low_graphics_performance",
|
||||
"fps_drops_hardware",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "recording_issues",
|
||||
labelKey: "editor.techNoteGroups.recording_issues",
|
||||
items: [
|
||||
"bug_from_game",
|
||||
"crash_kept_transparency",
|
||||
"loading_cut",
|
||||
"obs_artifacts_possible",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "playstyle",
|
||||
labelKey: "editor.techNoteGroups.playstyle",
|
||||
items: [
|
||||
"not_no_hit_run",
|
||||
"not_clean_walkthrough",
|
||||
"casual_no_commentary",
|
||||
"many_deaths_patience",
|
||||
"slow_exploration",
|
||||
"puzzle_stuck_possible",
|
||||
"grinding_cut",
|
||||
"not_speedrun_relaxed",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "production",
|
||||
labelKey: "editor.techNoteGroups.production",
|
||||
items: [
|
||||
"exploration_focus_skip_combat",
|
||||
"edited_for_pacing",
|
||||
"support_developers",
|
||||
"online_connectivity_issues",
|
||||
],
|
||||
},
|
||||
] as const;
|
||||
@@ -4,6 +4,7 @@ import { PLATFORMS } from "@config/platforms";
|
||||
import { SOCIAL_FIELDS } from "@config/social-fields";
|
||||
import { formatRigValue } from "@config/rig-fields";
|
||||
import { DEFAULT_GACHA_QUEST_TYPE } from "@config/gacha-quest-types";
|
||||
import { ordinalSuffix } from "./title-builder";
|
||||
import { parseTimeline, renderTimeline } from "./timeline-parser";
|
||||
import { sanitizeHashtag } from "@utils/sanitize";
|
||||
|
||||
@@ -122,14 +123,35 @@ function composeGraphicsPart(input: GeneratorInput, t: TranslationFn): string {
|
||||
const brands = VENDOR_GFX_BRANDS[vendor];
|
||||
const parts: string[] = [];
|
||||
if (upscaleQ) {
|
||||
const qLabel = t(`description.graphics.upscaleQualityOptions.${upscaleQ}`);
|
||||
parts.push(`${brands.upscale} ${qLabel}`);
|
||||
// v0.11: try the vendor-keyed full label first ("NVIDIA DLAA",
|
||||
// "AMD FSR Native AA", "Intel XeSS Ultra Quality"). Fall back to
|
||||
// the pre-v0.11 flat key + brand prefix for legacy locales /
|
||||
// unmigrated translations. The vendor-keyed label embeds the
|
||||
// brand so we don't double-prefix on this path.
|
||||
const newKey = `description.graphics.upscale.${vendor}.${upscaleQ}`;
|
||||
const newLabel = t(newKey);
|
||||
if (newLabel && newLabel !== newKey && newLabel.trim()) {
|
||||
parts.push(newLabel);
|
||||
} else {
|
||||
const legacyKey = `description.graphics.upscaleQualityOptions.${upscaleQ}`;
|
||||
const legacyLabel = t(legacyKey);
|
||||
if (legacyLabel && legacyLabel !== legacyKey) {
|
||||
parts.push(`${brands.upscale} ${legacyLabel}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (fgMul) {
|
||||
// When upscaling is also present, just say "Frame Generation x2"
|
||||
// without re-stating the brand — the upscaler already established
|
||||
// it. Otherwise spell out "NVIDIA Frame Generation x2".
|
||||
parts.push(parts.length > 0 ? `Frame Generation ${fgMul}` : `${brands.framegen} ${fgMul}`);
|
||||
// Vendor-keyed full label embeds the brand AND the feature name
|
||||
// ("NVIDIA Frame Generation x2", "AMD Fluid Motion Frames x3",
|
||||
// "Intel XeFG x2"). Fall back to brand + raw multiplier for
|
||||
// pre-v0.11 locales.
|
||||
const newKey = `description.graphics.frameGen.${vendor}.${fgMul}`;
|
||||
const newLabel = t(newKey);
|
||||
if (newLabel && newLabel !== newKey && newLabel.trim()) {
|
||||
parts.push(newLabel);
|
||||
} else {
|
||||
parts.push(`${brands.framegen} ${fgMul}`);
|
||||
}
|
||||
}
|
||||
modifier = parts.join(" + ");
|
||||
}
|
||||
@@ -168,6 +190,14 @@ export interface BuildDescriptionOptions {
|
||||
/** When true and both `sponsorName` and `sponsorPlatform` are set,
|
||||
* emits a "🎁 Thanks to …" credit line above the music section. */
|
||||
showSponsorCredit?: boolean;
|
||||
/** When true and the active profile's `thirdPartyAdText` is non-empty,
|
||||
* emits a "🤝 SPONSORS & PARTNERS" block (v0.11). */
|
||||
showThirdPartyAds?: boolean;
|
||||
/** Optional English-fixed translation function used by the unified
|
||||
* content-warnings block (v0.11) to render bilingual lines
|
||||
* `EN · output-language`. When omitted, the warnings block falls
|
||||
* back to single-language output via `t`. */
|
||||
tEn?: TranslationFn;
|
||||
}
|
||||
|
||||
export function buildDescription(
|
||||
@@ -180,6 +210,8 @@ export function buildDescription(
|
||||
showCopyright = false,
|
||||
showUsagePolicy = false,
|
||||
showSponsorCredit = false,
|
||||
showThirdPartyAds = false,
|
||||
tEn,
|
||||
} = options;
|
||||
const sections: string[] = [];
|
||||
const gameName =
|
||||
@@ -195,6 +227,9 @@ export function buildDescription(
|
||||
const questType = input.gachaQuestType ?? DEFAULT_GACHA_QUEST_TYPE;
|
||||
introKey = `description.intro.gacha_quest_${questType}`;
|
||||
}
|
||||
const versionLabel = input.gachaVersion?.trim()
|
||||
? ` (${t("description.intro.versionInline", { v: input.gachaVersion.trim() })})`
|
||||
: "";
|
||||
const intro = t(introKey, {
|
||||
gameName,
|
||||
channelName: input.channelName,
|
||||
@@ -205,6 +240,12 @@ export function buildDescription(
|
||||
modName: input.modName ?? "",
|
||||
chapterName: input.chapterName ?? "",
|
||||
questName: input.questName ?? "",
|
||||
characterName: input.characterName ?? "",
|
||||
anniversaryYear: input.anniversaryYear != null ? String(input.anniversaryYear) : "",
|
||||
ordinalSuffix:
|
||||
input.anniversaryYear != null ? ordinalSuffix(input.anniversaryYear) : "",
|
||||
gachaVersion: input.gachaVersion ?? "",
|
||||
versionLabel,
|
||||
});
|
||||
sections.push(intro);
|
||||
|
||||
@@ -226,13 +267,16 @@ export function buildDescription(
|
||||
if (lines.length > 0) sections.push(lines.join("\n"));
|
||||
}
|
||||
|
||||
// 1.5 Playthrough status — surfaces "is this a blind run / NG+ / …"
|
||||
// right after the intro because that context frames how viewers read
|
||||
// everything below. Skipped when creator hasn't picked a value.
|
||||
if (input.playthroughStatus && input.playthroughStatus !== "none") {
|
||||
const label = t(`description.playthrough.${input.playthroughStatus}`);
|
||||
sections.push(t("description.sections.playthrough", { value: label }));
|
||||
}
|
||||
// 1.5 Playthrough Notes — v0.12 unified block that consolidates the
|
||||
// pre-v0.12 standalone "🎯 Playthrough" line and the standalone
|
||||
// "🎮 DIFFICULTY" block, plus three new bullets (endings shown,
|
||||
// language patch, game version). Sits right after the intro because
|
||||
// these facts frame how viewers read everything below. Empty bullets
|
||||
// are skipped; if every bullet is empty the whole block is skipped.
|
||||
// Bilingual when `tEn` is provided AND output language ≠ English —
|
||||
// pattern mirrors the v0.11 content-warnings block.
|
||||
const pnBlock = buildPlaythroughNotesSection(input, t, tEn);
|
||||
if (pnBlock) sections.push(pnBlock);
|
||||
|
||||
// 2. No Commentary tagline
|
||||
sections.push(t("description.noCommentaryLine"));
|
||||
@@ -328,20 +372,9 @@ export function buildDescription(
|
||||
}
|
||||
}
|
||||
|
||||
// 5.5 Difficulty — sits with Video Settings because a difficulty
|
||||
// choice is another gameplay setting, not a content warning. For
|
||||
// `"custom"`, the user's free-form label is used verbatim (not
|
||||
// translated — intentional: lets creators use game-specific names
|
||||
// like "Lethal" without per-locale fallback friction).
|
||||
if (input.difficulty && input.difficulty !== "none") {
|
||||
const value =
|
||||
input.difficulty === "custom"
|
||||
? (input.difficultyCustomLabel ?? "").trim()
|
||||
: t(`description.difficulty.${input.difficulty}`);
|
||||
if (value) {
|
||||
sections.push(`${t("description.sections.difficulty")}\n${value}`);
|
||||
}
|
||||
}
|
||||
// 5.5 Difficulty — moved into the unified Playthrough Notes block
|
||||
// above (slot 1.5) in v0.12. Kept here as a no-op placeholder so the
|
||||
// numbering of subsequent comments stays stable.
|
||||
|
||||
// 6. Rig
|
||||
if (hasEntries(input.rig)) {
|
||||
@@ -370,31 +403,51 @@ export function buildDescription(
|
||||
);
|
||||
}
|
||||
|
||||
// 7. Spoiler Warning
|
||||
if (input.spoilerWarning) {
|
||||
sections.push(t("description.sections.spoilerWarning"));
|
||||
}
|
||||
// 7. Content warnings — unified bilingual checklist (v0.11). Replaces
|
||||
// the v0.7 trio of separate spoiler / generic-content-warnings /
|
||||
// mature blocks. Renders header + intro + bulleted list. When the
|
||||
// output language is not English, each piece is paired with its
|
||||
// English equivalent: header `EN / LOCAL`, intro on two lines,
|
||||
// bullets `• EN · LOCAL` (separator is U+00B7 MIDDLE DOT). When
|
||||
// `tEn` is omitted (e.g. legacy callers / unit tests that haven't
|
||||
// migrated), falls back to single-language output via `t` — degraded
|
||||
// but never broken.
|
||||
const cw = input.contentWarnings ?? [];
|
||||
if (cw.length > 0) {
|
||||
const isEn = input.language === "en";
|
||||
const renderBilingual = !isEn && Boolean(tEn);
|
||||
const tEnUse: TranslationFn = tEn ?? t;
|
||||
|
||||
// 7.5 Content warnings — accessibility block. Rendered as a bulleted
|
||||
// list so viewers using screen readers or avoiding triggers can scan
|
||||
// quickly. Each warning has its own emoji bullet (⚡ / 🔊 / 😱) and a
|
||||
// localised label. Empty array → skipped, matching the behaviour for
|
||||
// every other opt-in section.
|
||||
if (input.contentWarnings && input.contentWarnings.length > 0) {
|
||||
const bullets = input.contentWarnings
|
||||
.map((w) => t(`description.contentWarnings.${w}`))
|
||||
.filter((line) => line && line.trim() !== "")
|
||||
.map((line) => `• ${line}`)
|
||||
const headerEn = tEnUse("description.contentWarnings.header");
|
||||
const headerLocal = t("description.contentWarnings.header");
|
||||
const introEn = tEnUse("description.contentWarnings.intro");
|
||||
const introLocal = t("description.contentWarnings.intro");
|
||||
|
||||
const headerLine = renderBilingual ? `${headerEn} / ${headerLocal}` : headerEn;
|
||||
const introLines = renderBilingual ? `${introEn}\n${introLocal}` : introEn;
|
||||
|
||||
const bullets = cw
|
||||
.map((id) => {
|
||||
const key = `description.contentWarnings.items.${id}`;
|
||||
const enLabel = tEnUse(key);
|
||||
const localLabel = t(key);
|
||||
if (!enLabel || enLabel === key || !enLabel.trim()) return null;
|
||||
return renderBilingual ? `• ${enLabel} · ${localLabel}` : `• ${enLabel}`;
|
||||
})
|
||||
.filter((line): line is string => Boolean(line))
|
||||
.join("\n");
|
||||
|
||||
if (bullets) {
|
||||
sections.push(`${t("description.sections.contentWarnings")}\n${bullets}`);
|
||||
sections.push(`${headerLine}\n${introLines}\n\n${bullets}`);
|
||||
}
|
||||
}
|
||||
|
||||
// 8. Mature Warning
|
||||
if (input.matureWarning) {
|
||||
sections.push(t("description.sections.matureWarning"));
|
||||
}
|
||||
// 7.5 Tech Notes — v0.12 production / playstyle disclaimer checklist.
|
||||
// Sits next to Content Warnings because both are transparency blocks;
|
||||
// grouping them keeps disclaimers visually together. Same bilingual
|
||||
// render pattern as the content-warnings block above.
|
||||
const tnBlock = buildTechNotesSection(input, t, tEn);
|
||||
if (tnBlock) sections.push(tnBlock);
|
||||
|
||||
// 8.3. Sponsor credit — appears above the music / donate block so the
|
||||
// "thanks to X" line stands out. Only renders when both the toggle is
|
||||
@@ -416,6 +469,21 @@ export function buildDescription(
|
||||
);
|
||||
}
|
||||
|
||||
// 8.4. Third-party ads — channel-level partner / affiliate / sponsor
|
||||
// copy stored on the active profile (v0.11). Multi-line preserved
|
||||
// verbatim. Gated on settings toggle AND profile field non-empty;
|
||||
// partial state is a no-op so flipping the toggle without filling
|
||||
// the profile doesn't sneak an empty section into the description.
|
||||
if (
|
||||
showThirdPartyAds &&
|
||||
input.thirdPartyAdText &&
|
||||
input.thirdPartyAdText.trim()
|
||||
) {
|
||||
sections.push(
|
||||
`${t("description.sections.thirdPartyAds")}\n${input.thirdPartyAdText.trim()}`,
|
||||
);
|
||||
}
|
||||
|
||||
// 8.5. Music / sound attribution — sits right before the donate
|
||||
// block because both are "credits"-adjacent sections.
|
||||
if (input.musicAttribution && input.musicAttribution.trim()) {
|
||||
@@ -517,6 +585,239 @@ export function buildDescription(
|
||||
return sections.join("\n\n");
|
||||
}
|
||||
|
||||
/**
|
||||
* Builds the unified `▸ 🎮 PLAYTHROUGH NOTES` block (v0.12). Combines
|
||||
* five bullets (run type, difficulty, endings, language patch, game
|
||||
* version) into one section. Each bullet's value is resolved through
|
||||
* `t` (localised) plus `tEn` (English fallback) so the rendered line
|
||||
* can be bilingual `EN · LOCAL` when the output language ≠ English.
|
||||
*
|
||||
* Returns "" when every bullet is empty / skipped — caller drops the
|
||||
* section entirely instead of emitting a header with no body.
|
||||
*
|
||||
* Custom string slots (`difficultyCustomLabel`, `languagePatchCustom`,
|
||||
* `gameVersionCustom`) are intentionally NOT translated: a creator who
|
||||
* types "Lethal" or "Steam Next Fest backer build" wants that label
|
||||
* preserved verbatim across locale switches, not run through a
|
||||
* non-existent translation key.
|
||||
*/
|
||||
function buildPlaythroughNotesSection(
|
||||
input: GeneratorInput,
|
||||
t: TranslationFn,
|
||||
tEn?: TranslationFn,
|
||||
): string {
|
||||
const isEn = input.language === "en";
|
||||
const renderBilingual = !isEn && Boolean(tEn);
|
||||
const tEnUse: TranslationFn = tEn ?? t;
|
||||
|
||||
/**
|
||||
* Resolve a key against both `t` and `tEnUse`, returning a single bullet
|
||||
* line. Bullets are formatted as `Label · NhãnLocal: ValueEn · ValueLocal`
|
||||
* in bilingual mode and `Label: Value` otherwise. Returns null when the
|
||||
* value is empty (caller filters these out).
|
||||
*/
|
||||
function bullet(
|
||||
labelKey: string,
|
||||
valueEn: string,
|
||||
valueLocal: string,
|
||||
): string | null {
|
||||
const trimmedEn = valueEn.trim();
|
||||
const trimmedLocal = valueLocal.trim();
|
||||
if (!trimmedEn && !trimmedLocal) return null;
|
||||
const labelEn = tEnUse(labelKey);
|
||||
const labelLocal = t(labelKey);
|
||||
const labelLine = renderBilingual
|
||||
? `${labelEn} · ${labelLocal}`
|
||||
: labelEn;
|
||||
const valueLine = renderBilingual
|
||||
? `${trimmedEn || trimmedLocal} · ${trimmedLocal || trimmedEn}`
|
||||
: trimmedEn || trimmedLocal;
|
||||
return `• ${labelLine}: ${valueLine}`;
|
||||
}
|
||||
|
||||
/**
|
||||
* Resolve an enum value through i18n. Returns ["", ""] for the
|
||||
* skip-sentinel value (caller drops the bullet). Falls back to the raw
|
||||
* id if a locale hasn't translated the key — degraded but never
|
||||
* "[object Object]".
|
||||
*/
|
||||
function resolveEnum(
|
||||
namespace: string,
|
||||
value: string,
|
||||
skipSentinel: string,
|
||||
): { en: string; local: string } {
|
||||
if (!value || value === skipSentinel) return { en: "", local: "" };
|
||||
const key = `description.playthroughNotes.${namespace}.${value}`;
|
||||
const en = tEnUse(key);
|
||||
const local = t(key);
|
||||
return {
|
||||
en: en === key ? value : en,
|
||||
local: local === key ? value : local,
|
||||
};
|
||||
}
|
||||
|
||||
const bullets: string[] = [];
|
||||
|
||||
// Run type — reads from `playthroughStatus`, looks up the existing
|
||||
// v0.7 `description.playthrough.<status>` keys (kept in templates so
|
||||
// the migration stays purely about render shape, not value labels).
|
||||
if (input.playthroughStatus && input.playthroughStatus !== "none") {
|
||||
const key = `description.playthrough.${input.playthroughStatus}`;
|
||||
const valueEn = tEnUse(key);
|
||||
const valueLocal = t(key);
|
||||
const b = bullet(
|
||||
"description.playthroughNotes.labels.runType",
|
||||
valueEn === key ? input.playthroughStatus : valueEn,
|
||||
valueLocal === key ? input.playthroughStatus : valueLocal,
|
||||
);
|
||||
if (b) bullets.push(b);
|
||||
}
|
||||
|
||||
// Difficulty — reads from `difficulty`, with custom slot for
|
||||
// free-form labels. Custom labels are passed through verbatim
|
||||
// (no translation) on both sides of the bilingual separator.
|
||||
if (input.difficulty && input.difficulty !== "none") {
|
||||
let valueEn: string;
|
||||
let valueLocal: string;
|
||||
if (input.difficulty === "custom") {
|
||||
const custom = (input.difficultyCustomLabel ?? "").trim();
|
||||
valueEn = custom;
|
||||
valueLocal = custom;
|
||||
} else {
|
||||
const key = `description.difficulty.${input.difficulty}`;
|
||||
const en = tEnUse(key);
|
||||
const local = t(key);
|
||||
valueEn = en === key ? input.difficulty : en;
|
||||
valueLocal = local === key ? input.difficulty : local;
|
||||
}
|
||||
const b = bullet(
|
||||
"description.playthroughNotes.labels.difficulty",
|
||||
valueEn,
|
||||
valueLocal,
|
||||
);
|
||||
if (b) bullets.push(b);
|
||||
}
|
||||
|
||||
// Endings shown — free text, identical on both sides of the bilingual
|
||||
// separator (it's a creator-typed label, not localised content).
|
||||
const endings = (input.endingsShown ?? "").trim();
|
||||
if (endings) {
|
||||
const b = bullet(
|
||||
"description.playthroughNotes.labels.endings",
|
||||
endings,
|
||||
endings,
|
||||
);
|
||||
if (b) bullets.push(b);
|
||||
}
|
||||
|
||||
// Language patch — enum + custom slot. `official_other` and `custom`
|
||||
// both pull their value from `languagePatchCustom`; the enum-resolved
|
||||
// label is used otherwise. `none` is the skip sentinel.
|
||||
if (input.languagePatch && input.languagePatch !== "none") {
|
||||
let valueEn: string;
|
||||
let valueLocal: string;
|
||||
if (input.languagePatch === "official_other" || input.languagePatch === "custom") {
|
||||
const custom = (input.languagePatchCustom ?? "").trim();
|
||||
valueEn = custom;
|
||||
valueLocal = custom;
|
||||
} else {
|
||||
const resolved = resolveEnum("languagePatchOptions", input.languagePatch, "none");
|
||||
valueEn = resolved.en;
|
||||
valueLocal = resolved.local;
|
||||
}
|
||||
const b = bullet(
|
||||
"description.playthroughNotes.labels.languagePatch",
|
||||
valueEn,
|
||||
valueLocal,
|
||||
);
|
||||
if (b) bullets.push(b);
|
||||
}
|
||||
|
||||
// Game version — `full_release` is the implicit default and skips
|
||||
// the bullet entirely (no need to announce "this is the full game").
|
||||
if (input.gameVersion && input.gameVersion !== "full_release") {
|
||||
let valueEn: string;
|
||||
let valueLocal: string;
|
||||
if (input.gameVersion === "custom") {
|
||||
const custom = (input.gameVersionCustom ?? "").trim();
|
||||
valueEn = custom;
|
||||
valueLocal = custom;
|
||||
} else {
|
||||
const resolved = resolveEnum(
|
||||
"gameVersionOptions",
|
||||
input.gameVersion,
|
||||
"full_release",
|
||||
);
|
||||
valueEn = resolved.en;
|
||||
valueLocal = resolved.local;
|
||||
}
|
||||
const b = bullet(
|
||||
"description.playthroughNotes.labels.gameVersion",
|
||||
valueEn,
|
||||
valueLocal,
|
||||
);
|
||||
if (b) bullets.push(b);
|
||||
}
|
||||
|
||||
if (bullets.length === 0) return "";
|
||||
|
||||
const headerEn = tEnUse("description.playthroughNotes.header");
|
||||
const headerLocal = t("description.playthroughNotes.header");
|
||||
const introEn = tEnUse("description.playthroughNotes.intro");
|
||||
const introLocal = t("description.playthroughNotes.intro");
|
||||
|
||||
const headerLine = renderBilingual ? `${headerEn} / ${headerLocal}` : headerEn;
|
||||
const introLines = renderBilingual ? `${introEn}\n${introLocal}` : introEn;
|
||||
|
||||
return `${headerLine}\n${introLines}\n\n${bullets.join("\n")}`;
|
||||
}
|
||||
|
||||
/**
|
||||
* Builds the `▸ 🛠 TECH NOTES` block (v0.12). Renders selected items
|
||||
* from {@link GeneratorInput.techNotes} as bulleted bilingual lines —
|
||||
* the rendering logic mirrors the v0.11 content-warnings block exactly,
|
||||
* just with a different header, intro, and items namespace.
|
||||
*
|
||||
* Returns "" when no items are selected. Items whose translation key
|
||||
* doesn't resolve are filtered out so a stale id from a hand-edited
|
||||
* persistent blob doesn't render as a bare key.
|
||||
*/
|
||||
function buildTechNotesSection(
|
||||
input: GeneratorInput,
|
||||
t: TranslationFn,
|
||||
tEn?: TranslationFn,
|
||||
): string {
|
||||
const tn = input.techNotes ?? [];
|
||||
if (tn.length === 0) return "";
|
||||
|
||||
const isEn = input.language === "en";
|
||||
const renderBilingual = !isEn && Boolean(tEn);
|
||||
const tEnUse: TranslationFn = tEn ?? t;
|
||||
|
||||
const headerEn = tEnUse("description.techNotes.header");
|
||||
const headerLocal = t("description.techNotes.header");
|
||||
const introEn = tEnUse("description.techNotes.intro");
|
||||
const introLocal = t("description.techNotes.intro");
|
||||
|
||||
const headerLine = renderBilingual ? `${headerEn} / ${headerLocal}` : headerEn;
|
||||
const introLines = renderBilingual ? `${introEn}\n${introLocal}` : introEn;
|
||||
|
||||
const bullets = tn
|
||||
.map((id) => {
|
||||
const key = `description.techNotes.items.${id}`;
|
||||
const enLabel = tEnUse(key);
|
||||
const localLabel = t(key);
|
||||
if (!enLabel || enLabel === key || !enLabel.trim()) return null;
|
||||
return renderBilingual ? `• ${enLabel} · ${localLabel}` : `• ${enLabel}`;
|
||||
})
|
||||
.filter((line): line is string => Boolean(line))
|
||||
.join("\n");
|
||||
|
||||
if (!bullets) return "";
|
||||
|
||||
return `${headerLine}\n${introLines}\n\n${bullets}`;
|
||||
}
|
||||
|
||||
export function checkDescriptionWarning(description: string): CharLimitWarning | null {
|
||||
if (description.length > YT_LIMITS.DESCRIPTION_MAX) {
|
||||
return {
|
||||
|
||||
@@ -0,0 +1,101 @@
|
||||
import type {
|
||||
FrameGenVendor,
|
||||
FrameGenMultiplier,
|
||||
UpscaleQuality,
|
||||
} from "@config/graphics-settings";
|
||||
|
||||
/**
|
||||
* Vendor-aware filtering for upscaling-quality and frame-generation
|
||||
* multiplier dropdowns. Each vendor exposes only the quality / multiplier
|
||||
* tiers it actually ships:
|
||||
*
|
||||
* - NVIDIA: DLAA (anti-aliasing-only) + 4 quality bins. DLSS 4 supports
|
||||
* multi-frame-gen up to x4.
|
||||
* - AMD: FSR Native AA + 4 quality bins. FSR 3.1 caps at x3.
|
||||
* - Intel: XeSS Native AA + Ultra Quality + 4 quality bins. Intel XeFG
|
||||
* has only shipped x2.
|
||||
* - none: vendor-agnostic legacy ladder (no DLAA, no Ultra Quality) —
|
||||
* keeps pre-v0.11 presets / templates rendering without coercion loss.
|
||||
*
|
||||
* Pure functions — used by VideoSettingsForm to filter Select options
|
||||
* and by description-builder / editor-store / template-store to coerce
|
||||
* invalid vendor×quality combos back to `"none"` on rehydrate.
|
||||
*/
|
||||
export function getValidUpscaleQualities(
|
||||
vendor: FrameGenVendor,
|
||||
): readonly UpscaleQuality[] {
|
||||
switch (vendor) {
|
||||
case "nvidia":
|
||||
return [
|
||||
"none",
|
||||
"dlaa",
|
||||
"quality",
|
||||
"balanced",
|
||||
"performance",
|
||||
"ultra_performance",
|
||||
] as const;
|
||||
case "amd":
|
||||
return [
|
||||
"none",
|
||||
"native_aa",
|
||||
"quality",
|
||||
"balanced",
|
||||
"performance",
|
||||
"ultra_performance",
|
||||
] as const;
|
||||
case "intel":
|
||||
return [
|
||||
"none",
|
||||
"native_aa",
|
||||
"ultra_quality",
|
||||
"quality",
|
||||
"balanced",
|
||||
"performance",
|
||||
"ultra_performance",
|
||||
] as const;
|
||||
case "none":
|
||||
return [
|
||||
"none",
|
||||
"native_aa",
|
||||
"quality",
|
||||
"balanced",
|
||||
"performance",
|
||||
"ultra_performance",
|
||||
] as const;
|
||||
}
|
||||
}
|
||||
|
||||
export function getValidFrameGenMultipliers(
|
||||
vendor: FrameGenVendor,
|
||||
): readonly FrameGenMultiplier[] {
|
||||
switch (vendor) {
|
||||
case "nvidia":
|
||||
return ["none", "x2", "x3", "x4"] as const;
|
||||
case "amd":
|
||||
return ["none", "x2", "x3"] as const;
|
||||
case "intel":
|
||||
return ["none", "x2"] as const;
|
||||
case "none":
|
||||
return ["none"] as const;
|
||||
}
|
||||
}
|
||||
|
||||
/** Returns `current` if it's valid for the vendor, else `"none"`. */
|
||||
export function coerceUpscaleQuality(
|
||||
vendor: FrameGenVendor,
|
||||
current: UpscaleQuality | undefined,
|
||||
): UpscaleQuality {
|
||||
const valid = getValidUpscaleQualities(vendor);
|
||||
if (current && (valid as readonly string[]).includes(current)) return current;
|
||||
return "none";
|
||||
}
|
||||
|
||||
/** Returns `current` if it's valid for the vendor, else `"none"`. */
|
||||
export function coerceFrameGenMultiplier(
|
||||
vendor: FrameGenVendor,
|
||||
current: FrameGenMultiplier | undefined,
|
||||
): FrameGenMultiplier {
|
||||
const valid = getValidFrameGenMultipliers(vendor);
|
||||
if (current && (valid as readonly string[]).includes(current)) return current;
|
||||
return "none";
|
||||
}
|
||||
@@ -41,6 +41,19 @@ export interface RenderOptions extends TagOptions {
|
||||
* above the music / donate block.
|
||||
*/
|
||||
showSponsorCredit?: boolean;
|
||||
/**
|
||||
* When true and the active profile's `thirdPartyAdText` is non-empty,
|
||||
* the description emits a "🤝 SPONSORS & PARTNERS" block above the
|
||||
* music section (v0.11).
|
||||
*/
|
||||
showThirdPartyAds?: boolean;
|
||||
/**
|
||||
* Optional English-fixed translation function. Used by the v0.11
|
||||
* unified content-warnings block to render bilingual lines
|
||||
* `EN · output-language`. When omitted, the warnings block falls back
|
||||
* to single-language output via `t`.
|
||||
*/
|
||||
tEn?: TranslationFn;
|
||||
}
|
||||
|
||||
export function renderAll(
|
||||
@@ -59,6 +72,8 @@ export function renderAll(
|
||||
showCopyright: options?.showCopyright,
|
||||
showUsagePolicy: options?.showUsagePolicy,
|
||||
showSponsorCredit: options?.showSponsorCredit,
|
||||
showThirdPartyAds: options?.showThirdPartyAds,
|
||||
tEn: options?.tEn,
|
||||
});
|
||||
const tags = generateTags(input, options);
|
||||
const tagString = formatTagString(tags);
|
||||
|
||||
@@ -125,6 +125,29 @@ function composeTitle(args: ComposeArgs): string {
|
||||
return parts.join(separator);
|
||||
}
|
||||
|
||||
/**
|
||||
* English ordinal suffix for an integer (1 → "st", 2 → "nd", 11 → "th",
|
||||
* 21 → "st", etc.). Used by the Anniversary template to render
|
||||
* `"{{anniversaryYear}}{{ordinalSuffix}} Anniversary"` as e.g.
|
||||
* `"2nd Anniversary"`. Non-English locales pass an empty string so the
|
||||
* native form ("第2周年", "주년") doesn't pick up an English suffix.
|
||||
*/
|
||||
export function ordinalSuffix(n: number): string {
|
||||
const abs = Math.abs(Math.trunc(n));
|
||||
const lastTwo = abs % 100;
|
||||
if (lastTwo >= 11 && lastTwo <= 13) return "th";
|
||||
switch (abs % 10) {
|
||||
case 1:
|
||||
return "st";
|
||||
case 2:
|
||||
return "nd";
|
||||
case 3:
|
||||
return "rd";
|
||||
default:
|
||||
return "th";
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Build the per-quest-type partNumber suffix for a gacha title — e.g.
|
||||
* `" - Part 5"`, `" - Day 3"`, `" - Floor 12"`. Driven by the
|
||||
@@ -180,6 +203,10 @@ export function buildTitle(
|
||||
gameName,
|
||||
chapterName: input.chapterName ?? "",
|
||||
questName: input.questName ?? "",
|
||||
characterName: input.characterName ?? "",
|
||||
anniversaryYear: input.anniversaryYear != null ? String(input.anniversaryYear) : "",
|
||||
ordinalSuffix: input.anniversaryYear != null ? ordinalSuffix(input.anniversaryYear) : "",
|
||||
gachaVersion: input.gachaVersion ?? "",
|
||||
partSuffix,
|
||||
});
|
||||
|
||||
|
||||
+280
-8
@@ -125,14 +125,206 @@ export const DIFFICULTY_LEVELS = [
|
||||
export type DifficultyLevel = (typeof DIFFICULTY_LEVELS)[number];
|
||||
|
||||
/**
|
||||
* Accessibility-oriented content warnings (v0.7 phase 2). Multi-select:
|
||||
* a single video can have flashing lights AND loud noises AND jump
|
||||
* scares. Empty array → skip the section entirely.
|
||||
* Language-patch state (v0.12). Distinguishes between an officially
|
||||
* shipped translation, a fan translation, machine translation, or no
|
||||
* patch at all. `"official_other"` covers official non-English releases
|
||||
* — pair with {@link languagePatchCustom} to surface the actual locale
|
||||
* (e.g. "Official KR"). `"none"` skips the bullet in the description.
|
||||
*/
|
||||
export const LANGUAGE_PATCH_OPTIONS = [
|
||||
"none",
|
||||
"official_en",
|
||||
"official_other",
|
||||
"fan_translation",
|
||||
"mtl",
|
||||
"custom",
|
||||
] as const;
|
||||
export type LanguagePatch = (typeof LANGUAGE_PATCH_OPTIONS)[number];
|
||||
|
||||
/**
|
||||
* Game-version state (v0.12). Lets viewers know if they're watching the
|
||||
* full release vs. a demo / EA / beta / prologue. `"custom"` is the
|
||||
* escape hatch for niche cases ("Steam Next Fest demo", "Kickstarter
|
||||
* backer build"); pair with {@link gameVersionCustom}. `"full_release"`
|
||||
* is the implicit default and skips the bullet (no need to announce
|
||||
* "this is the full game" — that's the assumed baseline).
|
||||
*/
|
||||
export const GAME_VERSION_OPTIONS = [
|
||||
"full_release",
|
||||
"demo",
|
||||
"early_access",
|
||||
"beta",
|
||||
"prologue",
|
||||
"pre_release",
|
||||
"custom",
|
||||
] as const;
|
||||
export type GameVersion = (typeof GAME_VERSION_OPTIONS)[number];
|
||||
|
||||
/**
|
||||
* Tech / production / playstyle disclaimer items (v0.12). One unified
|
||||
* checklist that consolidates "Technical issue", "Gameplay", and
|
||||
* "Game State" disclaimer pools. Items that overlap with structured
|
||||
* fields ({@link PlaythroughStatus}, {@link DifficultyLevel},
|
||||
* {@link LanguagePatch}, {@link GameVersion}, `endingsShown`) are
|
||||
* intentionally NOT in this list — the structured field renders that
|
||||
* data instead, so duplicating it here would surface the same fact
|
||||
* twice.
|
||||
*
|
||||
* Grouped semantically in the UI (see {@link TECH_NOTE_GROUPS} in
|
||||
* `@config/tech-note-groups`) but flat in the array — render order in
|
||||
* the description matches the user's selection order. Like content
|
||||
* warnings, the rendered block is bilingual when `tEn` is provided.
|
||||
*/
|
||||
export const TECH_NOTES = [
|
||||
// Audio
|
||||
"copyright_muted_sections",
|
||||
"volume_reduced_copyright",
|
||||
"music_replaced_copyright",
|
||||
"cutscene_audio_muted_only",
|
||||
"original_audio_kept",
|
||||
// Video quality
|
||||
"low_resolution_hardware",
|
||||
"low_graphics_performance",
|
||||
"fps_drops_hardware",
|
||||
// Recording issues
|
||||
"bug_from_game",
|
||||
"crash_kept_transparency",
|
||||
"loading_cut",
|
||||
"obs_artifacts_possible",
|
||||
// Playstyle disclaimers
|
||||
"not_no_hit_run",
|
||||
"not_clean_walkthrough",
|
||||
"casual_no_commentary",
|
||||
"many_deaths_patience",
|
||||
"slow_exploration",
|
||||
"puzzle_stuck_possible",
|
||||
"grinding_cut",
|
||||
"not_speedrun_relaxed",
|
||||
// Production / attribution
|
||||
"exploration_focus_skip_combat",
|
||||
"edited_for_pacing",
|
||||
"support_developers",
|
||||
"online_connectivity_issues",
|
||||
] as const;
|
||||
export type TechNote = (typeof TECH_NOTES)[number];
|
||||
|
||||
/**
|
||||
* Content warnings (v0.11 unified bilingual checklist). Replaces the
|
||||
* v0.7 trio (flashing_lights / loud_noises / jump_scares) plus the
|
||||
* standalone `spoilerWarning` / `matureWarning` boolean toggles. The 3
|
||||
* legacy ids are preserved unchanged so persisted drafts round-trip.
|
||||
*
|
||||
* Grouped semantically in the UI (see {@link CONTENT_WARNING_GROUPS} in
|
||||
* `@config/content-warning-groups`) but flat in the array — the engine
|
||||
* doesn't care about groups. Render order in the description matches
|
||||
* the user's selection order.
|
||||
*/
|
||||
export const CONTENT_WARNINGS = [
|
||||
// Spoilers
|
||||
"spoiler_story",
|
||||
"spoiler_ending",
|
||||
"spoiler_true_ending",
|
||||
"spoiler_post_game",
|
||||
"spoiler_secret_ending",
|
||||
"spoiler_dlc",
|
||||
// Photosensitive / health
|
||||
"flashing_lights",
|
||||
"motion_sickness",
|
||||
"migraine_trigger",
|
||||
"loud_noises",
|
||||
"strobe_effects",
|
||||
"screen_shake_intense",
|
||||
// Phobias
|
||||
"jump_scares",
|
||||
"acrophobia",
|
||||
"trypophobia",
|
||||
"thalassophobia",
|
||||
"claustrophobia",
|
||||
"arachnophobia",
|
||||
"entomophobia",
|
||||
"ophidiophobia",
|
||||
"cynophobia",
|
||||
"nyctophobia",
|
||||
"pyrophobia",
|
||||
"pediophobia",
|
||||
"hemophobia",
|
||||
"coulrophobia",
|
||||
"ablutophobia",
|
||||
"taphophobia",
|
||||
// Mental health
|
||||
"anxiety_inducing",
|
||||
"depression_themes",
|
||||
"eating_disorders",
|
||||
"substance_use",
|
||||
"self_harm",
|
||||
"ptsd_themes",
|
||||
"needles",
|
||||
"body_fluids",
|
||||
"pregnancy_horror",
|
||||
"illness_themes",
|
||||
"bipolar_themes",
|
||||
"ocd_themes",
|
||||
"panic_attacks",
|
||||
"dissociation",
|
||||
"paranoia_themes",
|
||||
"intrusive_thoughts",
|
||||
"medical_horror",
|
||||
// Mature / sensitive
|
||||
"blood_gore",
|
||||
"mature_18plus",
|
||||
"disturbing_imagery",
|
||||
"animal_abuse",
|
||||
"child_harm",
|
||||
"domestic_violence",
|
||||
"sexual_assault",
|
||||
"torture",
|
||||
"religion_themes",
|
||||
"war_violence",
|
||||
"discrimination",
|
||||
"police_violence",
|
||||
"smoking_drinking",
|
||||
"detailed_killing",
|
||||
"cult_occult",
|
||||
"psychological_manipulation",
|
||||
"grief_loss",
|
||||
"kidnapping",
|
||||
"hate_speech",
|
||||
"historical_atrocity",
|
||||
"slavery_themes",
|
||||
"terrorism_themes",
|
||||
"bullying_themes",
|
||||
"human_experimentation",
|
||||
"cannibalism",
|
||||
"nuclear_themes",
|
||||
// Heavy-horror specific (v0.13.1)
|
||||
"eye_horror",
|
||||
"body_horror",
|
||||
"face_horror",
|
||||
"cosmic_horror",
|
||||
"extreme_gore",
|
||||
"decay_rot",
|
||||
"mutilation",
|
||||
"liminal_spaces",
|
||||
"analog_horror",
|
||||
"unreality_themes",
|
||||
"pursuit_chase",
|
||||
"entity_horror",
|
||||
// Playstyle disclosures
|
||||
"blind_playthrough",
|
||||
"no_spoilers_chat",
|
||||
"casual_difficulty",
|
||||
"hardcore_difficulty",
|
||||
"permadeath_run",
|
||||
"speedrun_attempt",
|
||||
"completionist_run",
|
||||
"learning_mechanics",
|
||||
"first_time_playing",
|
||||
"returning_player",
|
||||
// Gameplay disclosure (v0.14)
|
||||
"mods_used",
|
||||
"cheats_enabled",
|
||||
"glitch_exploits",
|
||||
"assisted_run",
|
||||
] as const;
|
||||
export type ContentWarning = (typeof CONTENT_WARNINGS)[number];
|
||||
|
||||
@@ -184,6 +376,24 @@ export interface GeneratorInput {
|
||||
* usually rely on `chapterName` only.
|
||||
*/
|
||||
questName?: string;
|
||||
/**
|
||||
* Gacha-quest-only (v0.13): character name. Used by the `showcase`
|
||||
* quest type as the primary subject of the title and description.
|
||||
*/
|
||||
characterName?: string;
|
||||
/**
|
||||
* Gacha-quest-only (v0.13): anniversary year (1–20). Used by the
|
||||
* `anniversary` quest type to render "1st", "2nd", ..., "Nth"
|
||||
* Anniversary in title and description templates.
|
||||
*/
|
||||
anniversaryYear?: number | null;
|
||||
/**
|
||||
* Gacha-quest-only (v0.13): game version label like `"1.2"`, `"2.4"`.
|
||||
* Distinct from {@link versionInfo} which is the driver / generic game
|
||||
* version shown in 🖥 VIDEO SETTINGS for any video type. `gachaVersion`
|
||||
* is rendered inside Gacha-specific intros (showcase / anniversary etc.).
|
||||
*/
|
||||
gachaVersion?: string;
|
||||
resolution?: string;
|
||||
fps?: string;
|
||||
/**
|
||||
@@ -245,26 +455,79 @@ export interface GeneratorInput {
|
||||
* drives the description's "🎁 Thanks to …" line and is not tagged.
|
||||
*/
|
||||
pubDevName?: string;
|
||||
/**
|
||||
* Channel-level third-party advertising / sponsor / partner copy
|
||||
* (v0.11). Free-form multi-line text persisted on the Profile (so it
|
||||
* carries across all videos for a given channel). Rendered into a
|
||||
* "🤝 SPONSORS & PARTNERS" description block when both the
|
||||
* `showThirdPartyAds` settings toggle is on AND this field is non-empty.
|
||||
*/
|
||||
thirdPartyAdText?: string;
|
||||
/**
|
||||
* @deprecated v0.11 — merged into the unified content-warning checklist
|
||||
* as the `spoiler_story` item. Field retained on input for back-compat
|
||||
* with persisted drafts; the engine no longer renders a standalone
|
||||
* spoiler block.
|
||||
*/
|
||||
spoilerWarning: boolean;
|
||||
/**
|
||||
* @deprecated v0.11 — merged into the unified content-warning checklist
|
||||
* as the `mature_18plus` item. Field retained on input for back-compat
|
||||
* with persisted drafts; the engine no longer renders a standalone
|
||||
* mature block.
|
||||
*/
|
||||
matureWarning: boolean;
|
||||
/**
|
||||
* Playthrough state — renders a "🎯 Playthrough: …" block above
|
||||
* `noCommentaryLine`. Defaults to `"none"` (skipped).
|
||||
* Playthrough state — feeds the "Run type" bullet of the unified
|
||||
* `▸ 🎮 PLAYTHROUGH NOTES` block (v0.12). Defaults to `"none"` (bullet
|
||||
* is skipped). Pre-v0.12 this rendered as a standalone "🎯 Playthrough:"
|
||||
* line above `noCommentaryLine`.
|
||||
*/
|
||||
playthroughStatus?: PlaythroughStatus;
|
||||
/**
|
||||
* Preset / custom difficulty — renders a "🎮 DIFFICULTY" block after
|
||||
* the Video Settings section. When `"custom"`, the value is taken
|
||||
* from {@link difficultyCustomLabel} instead of the locale preset.
|
||||
* Preset / custom difficulty — feeds the "Difficulty" bullet of the
|
||||
* unified `▸ 🎮 PLAYTHROUGH NOTES` block (v0.12). When `"custom"`, the
|
||||
* value comes from {@link difficultyCustomLabel}. Pre-v0.12 this had
|
||||
* its own `🎮 DIFFICULTY` section after Video Settings.
|
||||
*/
|
||||
difficulty?: DifficultyLevel;
|
||||
/** Free-form label used when `difficulty === "custom"`. */
|
||||
difficultyCustomLabel?: string;
|
||||
/**
|
||||
* Free-text "endings shown" bullet for the `▸ 🎮 PLAYTHROUGH NOTES`
|
||||
* block (v0.12). Examples: "1 of 3", "True ending only", "All routes
|
||||
* 100%". Empty → bullet is skipped. Free-form on purpose: the natural
|
||||
* value space is too varied for an enum.
|
||||
*/
|
||||
endingsShown?: string;
|
||||
/**
|
||||
* Language-patch state for the `▸ 🎮 PLAYTHROUGH NOTES` block (v0.12).
|
||||
* `"none"` → skip the bullet. `"official_other"` and `"custom"` pair
|
||||
* with {@link languagePatchCustom} to surface a free-form value
|
||||
* ("Official KR", "VNI fan translation v2.1").
|
||||
*/
|
||||
languagePatch?: LanguagePatch;
|
||||
/** Free-form label for `languagePatch === "official_other"` or `"custom"`. */
|
||||
languagePatchCustom?: string;
|
||||
/**
|
||||
* Game-version state for the `▸ 🎮 PLAYTHROUGH NOTES` block (v0.12).
|
||||
* `"full_release"` → skip the bullet (it's the assumed baseline; no
|
||||
* need to announce). `"custom"` pairs with {@link gameVersionCustom}.
|
||||
*/
|
||||
gameVersion?: GameVersion;
|
||||
/** Free-form label for `gameVersion === "custom"`. */
|
||||
gameVersionCustom?: string;
|
||||
/**
|
||||
* Accessibility warnings — renders a "⚠️ CONTENT WARNINGS" bulleted
|
||||
* block after the spoiler section. Empty / missing → skipped.
|
||||
*/
|
||||
contentWarnings?: ContentWarning[];
|
||||
/**
|
||||
* Tech / production / playstyle disclaimers (v0.12) — renders a
|
||||
* "▸ 🛠 TECH NOTES" bulleted block after the content-warnings block.
|
||||
* Bilingual when `tEn` is provided. Empty / missing → skipped.
|
||||
*/
|
||||
techNotes?: TechNote[];
|
||||
storeLinks: Partial<Record<string, string>>;
|
||||
/**
|
||||
* Parallel map from the same platform id to a pricing category.
|
||||
@@ -318,6 +581,15 @@ export interface TranslationFn {
|
||||
(key: string, options?: Record<string, string>): string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Optional second translation function, fixed to English. Used by the
|
||||
* description-builder to render the bilingual content-warning block
|
||||
* (v0.11): each line becomes `{EN} · {output-language}`. The engine
|
||||
* stays framework-agnostic — the caller (use-generated-output) builds it
|
||||
* via i18next's `getFixedT("en", "templates")` and passes it in.
|
||||
*/
|
||||
export type EnglishTranslationFn = TranslationFn;
|
||||
|
||||
/**
|
||||
* Where the quality-badge ("[2K]") sits relative to the other title segments:
|
||||
* - "middle" → attached to the video-type segment (v0.6 behavior)
|
||||
|
||||
+36
-13
@@ -1,29 +1,52 @@
|
||||
import { useState, useCallback, useRef } from "react";
|
||||
import toast from "react-hot-toast";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { logger } from "@utils/logger";
|
||||
|
||||
export interface CopyOptions {
|
||||
limit?: number;
|
||||
fieldLabel?: string;
|
||||
}
|
||||
|
||||
interface UseClipboardReturn {
|
||||
copy: (text: string) => Promise<void>;
|
||||
copy: (text: string, opts?: CopyOptions) => Promise<boolean>;
|
||||
copied: boolean;
|
||||
}
|
||||
|
||||
export function useClipboard(): UseClipboardReturn {
|
||||
const { t } = useTranslation("ui");
|
||||
const [copied, setCopied] = useState(false);
|
||||
const timeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);
|
||||
|
||||
const copy = useCallback(async (text: string) => {
|
||||
try {
|
||||
await navigator.clipboard.writeText(text);
|
||||
setCopied(true);
|
||||
toast.success("Copied!");
|
||||
const copy = useCallback(
|
||||
async (text: string, opts?: CopyOptions): Promise<boolean> => {
|
||||
if (opts?.limit !== undefined && text.length > opts.limit) {
|
||||
toast.error(
|
||||
t("output.copy.overLimit", {
|
||||
field: opts.fieldLabel ?? t("output.copy.fieldGeneric"),
|
||||
count: text.length,
|
||||
limit: opts.limit,
|
||||
}),
|
||||
);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (timeoutRef.current) clearTimeout(timeoutRef.current);
|
||||
timeoutRef.current = setTimeout(() => setCopied(false), 2000);
|
||||
} catch (e) {
|
||||
toast.error("Failed to copy");
|
||||
logger.error("clipboard", "Failed to copy to clipboard", String(e));
|
||||
}
|
||||
}, []);
|
||||
try {
|
||||
await navigator.clipboard.writeText(text);
|
||||
setCopied(true);
|
||||
toast.success(t("output.copied"));
|
||||
|
||||
if (timeoutRef.current) clearTimeout(timeoutRef.current);
|
||||
timeoutRef.current = setTimeout(() => setCopied(false), 2000);
|
||||
return true;
|
||||
} catch (e) {
|
||||
toast.error(t("output.copy.failed"));
|
||||
logger.error("clipboard", "Failed to copy to clipboard", String(e));
|
||||
return false;
|
||||
}
|
||||
},
|
||||
[t],
|
||||
);
|
||||
|
||||
return { copy, copied };
|
||||
}
|
||||
@@ -1,16 +1,94 @@
|
||||
import { useMemo } from "react";
|
||||
import { useEditorStore } from "@store/editor-store";
|
||||
import { useEditorStore, type EditorData } from "@store/editor-store";
|
||||
import type { GeneratorInput, SupportedLanguage } from "@engine/types";
|
||||
|
||||
/**
|
||||
* Shapes the editor-store state into a {@link GeneratorInput} — the
|
||||
* Shapes an editor-store snapshot into a {@link GeneratorInput} — the
|
||||
* exact blob that every engine function (title / description / tags /
|
||||
* pinned comment) consumes.
|
||||
* pinned comment) consumes. Pure function so it's directly testable
|
||||
* without React rendering; the hook below wraps it in `useMemo` for
|
||||
* referential stability.
|
||||
*
|
||||
* Why a hook: four call sites (two hooks + BatchPage + OutputExtras)
|
||||
* used to hand-roll the same 25-field object. Adding a new editor
|
||||
* field meant editing every site; drift was likely. Centralising here
|
||||
* means one place to update when v0.8 adds more input fields.
|
||||
* Why split: a v0.12.0 regression silently dropped the new Playthrough
|
||||
* Notes / Tech Notes fields here when the input shape gained them but
|
||||
* this mapping wasn't kept in sync — symptom was the editor's checkbox
|
||||
* state being correct but the description preview never reflecting it.
|
||||
* Pulling the mapping into a pure function lets tests assert parity
|
||||
* between {@link EditorData} fields and the resulting `GeneratorInput`,
|
||||
* so the next field add can't slip through unnoticed.
|
||||
*/
|
||||
export function buildGeneratorInputFromEditor(
|
||||
state: EditorData,
|
||||
languageOverride?: SupportedLanguage,
|
||||
): GeneratorInput {
|
||||
return {
|
||||
videoType: state.videoType,
|
||||
language: languageOverride ?? state.language,
|
||||
genres: state.genres,
|
||||
gameName: state.gameName,
|
||||
gameNameLocalized: state.gameNameLocalized,
|
||||
channelName: state.channelName,
|
||||
platform: state.platform,
|
||||
partNumber: state.partNumber,
|
||||
bossName: state.bossName,
|
||||
dlcName: state.dlcName,
|
||||
challengeName: state.challengeName,
|
||||
modName: state.modName,
|
||||
modList: state.modList,
|
||||
liveUrl: state.liveUrl,
|
||||
scheduledTime: state.scheduledTime,
|
||||
gachaQuestType: state.gachaQuestType,
|
||||
chapterName: state.chapterName,
|
||||
questName: state.questName,
|
||||
characterName: state.characterName,
|
||||
anniversaryYear: state.anniversaryYear,
|
||||
gachaVersion: state.gachaVersion,
|
||||
resolution: state.resolution,
|
||||
fps: state.fps,
|
||||
graphicsPreset: state.graphicsPreset,
|
||||
graphicsPresetCustom: state.graphicsPresetCustom,
|
||||
skipGraphicsSettings: state.skipGraphicsSettings,
|
||||
rayTracingModes: state.rayTracingModes,
|
||||
frameGenVendor: state.frameGenVendor,
|
||||
frameGenMultiplier: state.frameGenMultiplier,
|
||||
upscaleQuality: state.upscaleQuality,
|
||||
artStyle: state.artStyle,
|
||||
versionInfo: state.versionInfo,
|
||||
timestamps: state.timestamps,
|
||||
playlistLink: state.playlistLink,
|
||||
contactEmail: state.contactEmail,
|
||||
musicAttribution: state.musicAttribution,
|
||||
sponsorName: state.sponsorName,
|
||||
sponsorPlatform: state.sponsorPlatform,
|
||||
pubDevName: state.pubDevName,
|
||||
thirdPartyAdText: state.thirdPartyAdText,
|
||||
spoilerWarning: state.spoilerWarning,
|
||||
matureWarning: state.matureWarning,
|
||||
playthroughStatus: state.playthroughStatus,
|
||||
difficulty: state.difficulty,
|
||||
difficultyCustomLabel: state.difficultyCustomLabel,
|
||||
endingsShown: state.endingsShown,
|
||||
languagePatch: state.languagePatch,
|
||||
languagePatchCustom: state.languagePatchCustom,
|
||||
gameVersion: state.gameVersion,
|
||||
gameVersionCustom: state.gameVersionCustom,
|
||||
contentWarnings: state.contentWarnings,
|
||||
techNotes: state.techNotes,
|
||||
storeLinks: state.storeLinks,
|
||||
storeLinkTypes: state.storeLinkTypes,
|
||||
social: state.social,
|
||||
rig: state.rig,
|
||||
vnBankName: state.vnBankName,
|
||||
vnBankAccount: state.vnBankAccount,
|
||||
vnBankHolder: state.vnBankHolder,
|
||||
vnMomo: state.vnMomo,
|
||||
vnZalopay: state.vnZalopay,
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Memoised editor-state → GeneratorInput hook used by every engine
|
||||
* caller (description / title / tags / pinned-comment / batch).
|
||||
*
|
||||
* Takes an optional `language` override — BatchPage builds the same
|
||||
* input for multiple languages, so the hook supports passing a target
|
||||
@@ -20,112 +98,13 @@ export function useCurrentGeneratorInput(languageOverride?: SupportedLanguage):
|
||||
const state = useEditorStore();
|
||||
|
||||
return useMemo<GeneratorInput>(
|
||||
() => ({
|
||||
videoType: state.videoType,
|
||||
language: languageOverride ?? state.language,
|
||||
genres: state.genres,
|
||||
gameName: state.gameName,
|
||||
gameNameLocalized: state.gameNameLocalized,
|
||||
channelName: state.channelName,
|
||||
platform: state.platform,
|
||||
partNumber: state.partNumber,
|
||||
bossName: state.bossName,
|
||||
dlcName: state.dlcName,
|
||||
challengeName: state.challengeName,
|
||||
modName: state.modName,
|
||||
modList: state.modList,
|
||||
liveUrl: state.liveUrl,
|
||||
scheduledTime: state.scheduledTime,
|
||||
gachaQuestType: state.gachaQuestType,
|
||||
chapterName: state.chapterName,
|
||||
questName: state.questName,
|
||||
resolution: state.resolution,
|
||||
fps: state.fps,
|
||||
graphicsPreset: state.graphicsPreset,
|
||||
graphicsPresetCustom: state.graphicsPresetCustom,
|
||||
skipGraphicsSettings: state.skipGraphicsSettings,
|
||||
rayTracingModes: state.rayTracingModes,
|
||||
frameGenVendor: state.frameGenVendor,
|
||||
frameGenMultiplier: state.frameGenMultiplier,
|
||||
upscaleQuality: state.upscaleQuality,
|
||||
artStyle: state.artStyle,
|
||||
versionInfo: state.versionInfo,
|
||||
timestamps: state.timestamps,
|
||||
playlistLink: state.playlistLink,
|
||||
contactEmail: state.contactEmail,
|
||||
musicAttribution: state.musicAttribution,
|
||||
sponsorName: state.sponsorName,
|
||||
sponsorPlatform: state.sponsorPlatform,
|
||||
pubDevName: state.pubDevName,
|
||||
spoilerWarning: state.spoilerWarning,
|
||||
matureWarning: state.matureWarning,
|
||||
playthroughStatus: state.playthroughStatus,
|
||||
difficulty: state.difficulty,
|
||||
difficultyCustomLabel: state.difficultyCustomLabel,
|
||||
contentWarnings: state.contentWarnings,
|
||||
storeLinks: state.storeLinks,
|
||||
storeLinkTypes: state.storeLinkTypes,
|
||||
social: state.social,
|
||||
rig: state.rig,
|
||||
vnBankName: state.vnBankName,
|
||||
vnBankAccount: state.vnBankAccount,
|
||||
vnBankHolder: state.vnBankHolder,
|
||||
vnMomo: state.vnMomo,
|
||||
vnZalopay: state.vnZalopay,
|
||||
}),
|
||||
[
|
||||
languageOverride,
|
||||
state.videoType,
|
||||
state.language,
|
||||
state.genres,
|
||||
state.gameName,
|
||||
state.gameNameLocalized,
|
||||
state.channelName,
|
||||
state.platform,
|
||||
state.partNumber,
|
||||
state.bossName,
|
||||
state.dlcName,
|
||||
state.challengeName,
|
||||
state.modName,
|
||||
state.modList,
|
||||
state.liveUrl,
|
||||
state.scheduledTime,
|
||||
state.gachaQuestType,
|
||||
state.chapterName,
|
||||
state.questName,
|
||||
state.resolution,
|
||||
state.fps,
|
||||
state.graphicsPreset,
|
||||
state.graphicsPresetCustom,
|
||||
state.skipGraphicsSettings,
|
||||
state.rayTracingModes,
|
||||
state.frameGenVendor,
|
||||
state.frameGenMultiplier,
|
||||
state.upscaleQuality,
|
||||
state.artStyle,
|
||||
state.versionInfo,
|
||||
state.timestamps,
|
||||
state.playlistLink,
|
||||
state.contactEmail,
|
||||
state.musicAttribution,
|
||||
state.sponsorName,
|
||||
state.sponsorPlatform,
|
||||
state.pubDevName,
|
||||
state.spoilerWarning,
|
||||
state.matureWarning,
|
||||
state.playthroughStatus,
|
||||
state.difficulty,
|
||||
state.difficultyCustomLabel,
|
||||
state.contentWarnings,
|
||||
state.storeLinks,
|
||||
state.storeLinkTypes,
|
||||
state.social,
|
||||
state.rig,
|
||||
state.vnBankName,
|
||||
state.vnBankAccount,
|
||||
state.vnBankHolder,
|
||||
state.vnMomo,
|
||||
state.vnZalopay,
|
||||
],
|
||||
// `useEditorStore()` (no selector) returns a fresh `state` reference
|
||||
// on every store update, so depending on `state` alone captures every
|
||||
// field change without enumerating each one — same memoisation
|
||||
// behaviour as the old per-field deps list, minus the v0.12.0 footgun
|
||||
// (any field added to EditorData but missing from the deps list would
|
||||
// silently stop participating in the memo invalidation).
|
||||
() => buildGeneratorInputFromEditor(state, languageOverride),
|
||||
[state, languageOverride],
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
import { useEffect } from "react";
|
||||
|
||||
/**
|
||||
* Sets `document.title` to `"<title> · YTDescGen"` for the lifetime of the
|
||||
* component, and restores the previous title on unmount. Per-page titles
|
||||
* help with browser-tab readability and OS-level window menus (and feed
|
||||
* the OG tag in `index.html` for the root route).
|
||||
*
|
||||
* Pass the localized page name — e.g. `useDocumentTitle(t("tabs.editor"))`.
|
||||
*/
|
||||
export function useDocumentTitle(title: string): void {
|
||||
useEffect(() => {
|
||||
const previous = document.title;
|
||||
document.title = `${title} · YTDescGen`;
|
||||
return () => {
|
||||
document.title = previous;
|
||||
};
|
||||
}, [title]);
|
||||
}
|
||||
@@ -15,10 +15,15 @@ export function useGeneratedOutput(): GeneratorOutput {
|
||||
showCopyright,
|
||||
showUsagePolicy,
|
||||
showSponsorCredit,
|
||||
showThirdPartyAds,
|
||||
titleFormat,
|
||||
} = useSettingsStore();
|
||||
|
||||
const t = useMemo(() => i18n.getFixedT(input.language, "templates"), [input.language]);
|
||||
// Always-English `t` for the v0.11 bilingual content-warning block.
|
||||
// Built once per render so the engine receives a stable function ref;
|
||||
// the engine falls back to `t` when this is undefined.
|
||||
const tEn = useMemo(() => i18n.getFixedT("en", "templates"), []);
|
||||
|
||||
return useMemo(
|
||||
() =>
|
||||
@@ -30,11 +35,14 @@ export function useGeneratedOutput(): GeneratorOutput {
|
||||
showCopyright,
|
||||
showUsagePolicy,
|
||||
showSponsorCredit,
|
||||
showThirdPartyAds,
|
||||
titleFormat,
|
||||
tEn,
|
||||
}),
|
||||
[
|
||||
input,
|
||||
t,
|
||||
tEn,
|
||||
includeMultilingualTags,
|
||||
includeTrendingTags,
|
||||
hashtagCount,
|
||||
@@ -42,6 +50,7 @@ export function useGeneratedOutput(): GeneratorOutput {
|
||||
showCopyright,
|
||||
showUsagePolicy,
|
||||
showSponsorCredit,
|
||||
showThirdPartyAds,
|
||||
titleFormat,
|
||||
],
|
||||
);
|
||||
|
||||
@@ -1,14 +1,20 @@
|
||||
{
|
||||
"ui": {
|
||||
"app": ["title", "subtitle"],
|
||||
"tabs": ["editor", "output", "profiles", "history", "settings", "batch", "playlist", "logs", "about"],
|
||||
"tabs": ["editor", "output", "profiles", "history", "settings", "batch", "playlist", "logs", "about", "reportBug"],
|
||||
"sidebar": ["expand", "collapse"],
|
||||
"header": ["donate"],
|
||||
"about": [
|
||||
"tagline",
|
||||
"repoHeading", "repoLabel", "issuesLabel", "authorLabel", "licenseLabel",
|
||||
"connectHeading", "thirdPartyHeading", "thirdPartyHelp"
|
||||
"repoHeading", "repoLabel", "issuesLabel", "reportBugLabel", "discussionsLabel", "authorLabel", "licenseLabel",
|
||||
"donateHeading", "donateHelp",
|
||||
"connectHeading",
|
||||
"devEnvHeading", "devEnvHelp",
|
||||
"thirdPartyHeading", "thirdPartyHelp"
|
||||
],
|
||||
"about.socials": ["youtube", "x", "discord", "kofi", "patreon"],
|
||||
"about.donate": ["githubSponsors", "kofi", "buyMeACoffee", "patreon", "paypal"],
|
||||
"about.devEnv": ["os", "cpu", "gpu", "ram", "ide", "toolchains", "fullSpecLink", "fullDevEnvLink"],
|
||||
"about.socials": ["youtube", "x", "bluesky", "mastodon", "discord", "discordGame", "steam", "telegramBot", "telegramUser", "email"],
|
||||
"editor.sections": ["gameInfo", "videoSettings", "contentDetails", "attribution", "rig", "storeAndSocial"],
|
||||
"editor": [
|
||||
"videoType", "language", "genre", "gameName", "gameNamePlaceholder",
|
||||
@@ -20,6 +26,11 @@
|
||||
"gachaQuestType",
|
||||
"chapterName", "chapterNamePlaceholder",
|
||||
"questName", "questNamePlaceholder",
|
||||
"characterName", "characterNamePlaceholder",
|
||||
"anniversaryYear", "anniversaryYearOption",
|
||||
"gachaVersion", "gachaVersionPlaceholder",
|
||||
"gpu_brand", "gpu_series", "gpu_model", "gpu_custom",
|
||||
"ram_size", "ram_ddr",
|
||||
"vnDonate", "vnDonateHelp",
|
||||
"vnBankName", "vnBankNamePlaceholder",
|
||||
"vnBankAccount", "vnBankAccountPlaceholder",
|
||||
@@ -35,7 +46,6 @@
|
||||
"skipGraphicsHintLabel", "skipGraphicsHintHide", "skipGraphicsHintKeep",
|
||||
"timestamps", "timestampsPlaceholder",
|
||||
"storeLinks", "storeLinkType", "rig", "social", "warnings",
|
||||
"spoilerWarning", "matureWarning",
|
||||
"playlistLink", "playlistLinkPlaceholder",
|
||||
"contactEmail", "contactEmailPlaceholder", "contactEmailHelp",
|
||||
"musicAttribution", "musicAttributionPlaceholder",
|
||||
@@ -46,6 +56,8 @@
|
||||
"pinnedComment", "pinnedCommentPlaceholder",
|
||||
"playthrough", "difficulty", "difficultyCustomLabel", "difficultyCustomPlaceholder",
|
||||
"contentWarnings",
|
||||
"contentWarningSearchPlaceholder", "contentWarningEmpty",
|
||||
"techNotes", "techNoteSearchPlaceholder", "techNoteEmpty",
|
||||
"videoSettings", "quickPreview", "version",
|
||||
"clearDraft", "draftSaved", "clearDraftConfirm",
|
||||
"genreSearchPlaceholder", "genreSearchNoResults"
|
||||
@@ -55,13 +67,52 @@
|
||||
"editor.rtOptions": ["ray_tracing", "full_rt", "path_tracing", "ray_reconstruction"],
|
||||
"editor.frameGenVendorOptions": ["none", "nvidia", "amd", "intel"],
|
||||
"editor.frameGenMultiplierOptions": ["none", "x2", "x3", "x4", "x6"],
|
||||
"editor.frameGenMultiplier.nvidia": ["none", "x2", "x3", "x4"],
|
||||
"editor.frameGenMultiplier.amd": ["none", "x2", "x3"],
|
||||
"editor.frameGenMultiplier.intel": ["none", "x2"],
|
||||
"editor.upscaleQualityOptions": ["none", "native_aa", "quality", "balanced", "performance", "ultra_performance"],
|
||||
"editor.upscaleQuality.nvidia": ["none", "dlaa", "quality", "balanced", "performance", "ultra_performance"],
|
||||
"editor.upscaleQuality.amd": ["none", "native_aa", "quality", "balanced", "performance", "ultra_performance"],
|
||||
"editor.upscaleQuality.intel": ["none", "native_aa", "ultra_quality", "quality", "balanced", "performance", "ultra_performance"],
|
||||
"editor.artStyleOptions": ["none", "realistic", "stylized", "anime", "cel_shaded", "low_poly", "voxel", "pixel_art", "hand_drawn", "comic", "photorealistic"],
|
||||
"editor.toast": ["urlAutoFilled"],
|
||||
"editor.warning": ["linkNameMismatch"],
|
||||
"editor.validation": [
|
||||
"gpuMissingSeries", "gpuMissingModel", "gpuCustomEmpty",
|
||||
"ramMissingDdr", "ramMissingSize", "ramCustomEmpty"
|
||||
],
|
||||
"editor.playthroughOptions": ["none", "blind", "replay", "newgame_plus", "postgame"],
|
||||
"editor.difficultyOptions": ["none", "easy", "normal", "hard", "nightmare", "custom"],
|
||||
"editor.contentWarningOptions": ["flashing_lights", "loud_noises", "jump_scares"],
|
||||
"editor.playthroughNotes": [
|
||||
"title",
|
||||
"runTypeLabel", "difficultyLabel", "endingsLabel", "endingsPlaceholder",
|
||||
"languagePatchLabel", "languagePatchCustomLabel", "languagePatchCustomPlaceholder",
|
||||
"gameVersionLabel", "gameVersionCustomLabel", "gameVersionCustomPlaceholder"
|
||||
],
|
||||
"editor.playthroughNotes.languagePatchOptions": ["none", "official_en", "official_other", "fan_translation", "mtl", "custom"],
|
||||
"editor.playthroughNotes.gameVersionOptions": ["full_release", "demo", "early_access", "beta", "prologue", "pre_release", "custom"],
|
||||
"editor.techNoteGroups": ["audio", "video_quality", "recording_issues", "playstyle", "production"],
|
||||
"editor.techNoteOptions": [
|
||||
"copyright_muted_sections", "volume_reduced_copyright", "music_replaced_copyright", "cutscene_audio_muted_only", "original_audio_kept",
|
||||
"low_resolution_hardware", "low_graphics_performance", "fps_drops_hardware",
|
||||
"bug_from_game", "crash_kept_transparency", "loading_cut", "obs_artifacts_possible",
|
||||
"not_no_hit_run", "not_clean_walkthrough", "casual_no_commentary", "many_deaths_patience", "slow_exploration", "puzzle_stuck_possible", "grinding_cut", "not_speedrun_relaxed",
|
||||
"exploration_focus_skip_combat", "edited_for_pacing", "support_developers", "online_connectivity_issues"
|
||||
],
|
||||
"editor.contentWarningGroups": ["spoilers", "photosensitive", "phobias", "mental_health", "sensitive", "playstyle", "horror_specific", "gameplay_disclosure"],
|
||||
"editor.contentWarningOptions": [
|
||||
"spoiler_story", "spoiler_ending", "spoiler_true_ending", "spoiler_post_game", "spoiler_secret_ending", "spoiler_dlc",
|
||||
"flashing_lights", "motion_sickness", "migraine_trigger", "loud_noises", "strobe_effects", "screen_shake_intense",
|
||||
"jump_scares", "acrophobia", "trypophobia", "thalassophobia", "claustrophobia", "arachnophobia", "entomophobia", "ophidiophobia",
|
||||
"cynophobia", "nyctophobia", "pyrophobia", "pediophobia", "hemophobia", "coulrophobia", "ablutophobia", "taphophobia",
|
||||
"anxiety_inducing", "depression_themes", "eating_disorders", "substance_use", "self_harm", "ptsd_themes", "needles", "body_fluids", "pregnancy_horror", "illness_themes",
|
||||
"bipolar_themes", "ocd_themes", "panic_attacks", "dissociation", "paranoia_themes", "intrusive_thoughts", "medical_horror",
|
||||
"blood_gore", "mature_18plus", "disturbing_imagery", "animal_abuse", "child_harm", "domestic_violence", "sexual_assault", "torture", "religion_themes", "war_violence", "discrimination", "police_violence", "smoking_drinking", "detailed_killing", "cult_occult", "psychological_manipulation", "grief_loss", "kidnapping",
|
||||
"hate_speech", "historical_atrocity", "slavery_themes", "terrorism_themes", "bullying_themes", "human_experimentation", "cannibalism", "nuclear_themes",
|
||||
"blind_playthrough", "no_spoilers_chat", "casual_difficulty", "hardcore_difficulty", "permadeath_run", "speedrun_attempt", "completionist_run", "learning_mechanics", "first_time_playing", "returning_player",
|
||||
"eye_horror", "body_horror", "face_horror", "cosmic_horror", "extreme_gore", "decay_rot", "mutilation", "liminal_spaces", "analog_horror", "unreality_themes", "pursuit_chase", "entity_horror",
|
||||
"mods_used", "cheats_enabled", "glitch_exploits", "assisted_run"
|
||||
],
|
||||
"editor.gachaQuestTypeOptions": [
|
||||
"main_story", "world_quest", "side_quest", "spinoff_quest", "companion_quest", "bond_quest",
|
||||
"event", "anniversary", "crossover", "dating_event",
|
||||
@@ -81,6 +132,7 @@
|
||||
"generateAlternatives", "saveAsTemplate"
|
||||
],
|
||||
"output.variants": ["default", "typeFirst", "qualityFirst"],
|
||||
"output.copy": ["overLimit", "fieldGeneric", "failed"],
|
||||
"common": ["save", "cancel", "delete", "confirm", "export", "import", "reset", "search", "generate", "undo", "dismiss"],
|
||||
"videoTypes": ["full", "part", "full_demo", "demo_part", "boss", "boss_nohit", "ending", "speedrun", "100percent", "dlc", "newgame_plus", "challenge", "side_quest", "secret", "comparison", "guide", "mods", "collectibles", "livestream", "gacha_quest"],
|
||||
"genres": ["action", "hack_slash", "beatemup", "platformer", "horror", "survival_horror", "psychological_horror", "rpg", "jrpg", "action_rpg", "crpg", "fps", "arena_shooter", "tactical_fps", "boomer_shooter", "extraction_shooter", "shmup", "openworld", "indie", "soulslike", "racing", "story", "simulation", "city_builder", "fighting", "stealth", "survival_craft", "roguelike", "metroidvania", "mmo", "rhythm", "puzzle", "tower_defense", "card_game", "deck_builder", "auto_battler", "battle_royale", "tactical", "space", "farming", "fmv", "visual_novel"],
|
||||
@@ -88,11 +140,11 @@
|
||||
"social": ["kofi", "patreon", "buymeacoffee", "paypal", "github", "twitter", "discord", "website", "twitch", "tiktok", "instagram", "streamlabs", "bluesky", "mastodon", "facebook", "fb_page", "fb_group"],
|
||||
"resolutions": ["720p", "1080p", "1440p", "4K"],
|
||||
"fpsOptions": ["30", "60", "120", "144"],
|
||||
"profiles": ["title", "createNew", "editProfile", "profileName", "profileNamePlaceholder", "loadProfile", "deleteConfirm", "emptyState", "exportProfiles", "importProfiles"],
|
||||
"profiles": ["title", "createNew", "editProfile", "profileName", "profileNamePlaceholder", "loadProfile", "deleteConfirm", "emptyState", "exportProfiles", "importProfiles", "thirdPartyAdText", "thirdPartyAdTextPlaceholder", "thirdPartyAdTextHelp"],
|
||||
"presets": ["title", "createNew", "editPreset", "loadPreset", "deleteConfirm", "emptyState", "selectPreset", "noPresets", "exportPresets", "importPresets"],
|
||||
"templates": ["title", "createNew", "saveAsTemplate", "templateName", "templateNamePlaceholder", "loadTemplate", "deleteConfirm", "emptyState", "saveHint", "savedAs", "appliedToast", "exportTemplates", "importTemplates"],
|
||||
"history": ["title", "emptyState", "clearAll", "clearConfirm", "searchPlaceholder"],
|
||||
"settings": ["title", "appearance", "defaults", "editorSettings", "tagSettings", "historySettings", "theme", "appLanguage", "defaultOutputLanguage", "defaultGenre", "showCharCount", "compactTagDisplay", "historyLimit", "multilingualTags", "trendingTags", "hashtagCount", "showQualityBadge", "showCopyright", "showUsagePolicy", "showSponsorCredit", "titleFormatTitle", "descriptionSettingsTitle", "badgePosition", "badgePositionPrefix", "badgePositionMiddle", "badgePositionSuffix", "titleSeparator", "titleSeparatorEmDash", "titleSeparatorHyphen", "titleSeparatorColon", "titleSeparatorPipe", "badgeCase", "badgeCaseUpper", "badgeCaseLower", "showPinnedCommentTemplate", "pinnedCommentIncludeAskNextGame", "pinnedCommentIncludeGenrePlaylist", "genrePlaylistsTitle", "genrePlaylistsHelp", "genrePlaylistsEmptyHint"],
|
||||
"settings": ["title", "appearance", "defaults", "editorSettings", "tagSettings", "historySettings", "theme", "appLanguage", "defaultOutputLanguage", "defaultGenre", "showCharCount", "compactTagDisplay", "historyLimit", "multilingualTags", "trendingTags", "hashtagCount", "showQualityBadge", "showCopyright", "showUsagePolicy", "showSponsorCredit", "showThirdPartyAds", "thirdPartyAdsHint", "titleFormatTitle", "descriptionSettingsTitle", "badgePosition", "badgePositionPrefix", "badgePositionMiddle", "badgePositionSuffix", "titleSeparator", "titleSeparatorEmDash", "titleSeparatorHyphen", "titleSeparatorColon", "titleSeparatorPipe", "badgeCase", "badgeCaseUpper", "badgeCaseLower", "showPinnedCommentTemplate", "pinnedCommentIncludeAskNextGame", "pinnedCommentIncludeGenrePlaylist", "genrePlaylistsTitle", "genrePlaylistsHelp", "genrePlaylistsEmptyHint"],
|
||||
"batch": ["title", "startPart", "endPart", "generateBatch", "copyAllBatch", "emptyState"],
|
||||
"shortcuts": ["title", "generate", "copyAll", "saveDraft", "toggleSidebar", "help", "close", "searchPlaceholder", "noResults"],
|
||||
"validation": ["emailInvalid", "emailMaxExceeded", "urlInvalid", "urlPrefixMismatch", "playlistUrlInvalid"],
|
||||
@@ -117,25 +169,56 @@
|
||||
"gacha_quest_event", "gacha_quest_anniversary", "gacha_quest_crossover", "gacha_quest_dating_event",
|
||||
"gacha_quest_tutorial_quest", "gacha_quest_guide_quest", "gacha_quest_trial_quest",
|
||||
"gacha_quest_endgame", "gacha_quest_coop", "gacha_quest_daily_commission",
|
||||
"gacha_quest_showcase"
|
||||
"gacha_quest_showcase",
|
||||
"versionInline"
|
||||
],
|
||||
"description": ["noCommentaryLine"],
|
||||
"description.sections": [
|
||||
"timestamps", "storeLinksBuy", "storeLinksDownload", "videoSettings", "rig",
|
||||
"modList", "vnDonate",
|
||||
"spoilerWarning", "matureWarning", "sponsorCredit", "music", "donate", "social",
|
||||
"sponsorCredit", "thirdPartyAds", "music", "donate", "social",
|
||||
"playlist", "contact", "cta",
|
||||
"copyright", "usagePolicyHeader", "usagePolicy",
|
||||
"playthrough", "difficulty", "contentWarnings"
|
||||
"copyright", "usagePolicyHeader", "usagePolicy"
|
||||
],
|
||||
"description.playthrough": ["blind", "replay", "newgame_plus", "postgame"],
|
||||
"description.difficulty": ["easy", "normal", "hard", "nightmare"],
|
||||
"description.contentWarnings": ["flashing_lights", "loud_noises", "jump_scares"],
|
||||
"description.playthroughNotes": ["header", "intro"],
|
||||
"description.playthroughNotes.labels": ["runType", "difficulty", "endings", "languagePatch", "gameVersion"],
|
||||
"description.playthroughNotes.languagePatchOptions": ["official_en", "official_other", "fan_translation", "mtl", "custom"],
|
||||
"description.playthroughNotes.gameVersionOptions": ["demo", "early_access", "beta", "prologue", "pre_release", "custom"],
|
||||
"description.techNotes": ["header", "intro"],
|
||||
"description.techNotes.items": [
|
||||
"copyright_muted_sections", "volume_reduced_copyright", "music_replaced_copyright", "cutscene_audio_muted_only", "original_audio_kept",
|
||||
"low_resolution_hardware", "low_graphics_performance", "fps_drops_hardware",
|
||||
"bug_from_game", "crash_kept_transparency", "loading_cut", "obs_artifacts_possible",
|
||||
"not_no_hit_run", "not_clean_walkthrough", "casual_no_commentary", "many_deaths_patience", "slow_exploration", "puzzle_stuck_possible", "grinding_cut", "not_speedrun_relaxed",
|
||||
"exploration_focus_skip_combat", "edited_for_pacing", "support_developers", "online_connectivity_issues"
|
||||
],
|
||||
"description.contentWarnings": ["header", "intro"],
|
||||
"description.contentWarnings.items": [
|
||||
"spoiler_story", "spoiler_ending", "spoiler_true_ending", "spoiler_post_game", "spoiler_secret_ending", "spoiler_dlc",
|
||||
"flashing_lights", "motion_sickness", "migraine_trigger", "loud_noises", "strobe_effects", "screen_shake_intense",
|
||||
"jump_scares", "acrophobia", "trypophobia", "thalassophobia", "claustrophobia", "arachnophobia", "entomophobia", "ophidiophobia",
|
||||
"cynophobia", "nyctophobia", "pyrophobia", "pediophobia", "hemophobia", "coulrophobia", "ablutophobia", "taphophobia",
|
||||
"anxiety_inducing", "depression_themes", "eating_disorders", "substance_use", "self_harm", "ptsd_themes", "needles", "body_fluids", "pregnancy_horror", "illness_themes",
|
||||
"bipolar_themes", "ocd_themes", "panic_attacks", "dissociation", "paranoia_themes", "intrusive_thoughts", "medical_horror",
|
||||
"blood_gore", "mature_18plus", "disturbing_imagery", "animal_abuse", "child_harm", "domestic_violence", "sexual_assault", "torture", "religion_themes", "war_violence", "discrimination", "police_violence", "smoking_drinking", "detailed_killing", "cult_occult", "psychological_manipulation", "grief_loss", "kidnapping",
|
||||
"hate_speech", "historical_atrocity", "slavery_themes", "terrorism_themes", "bullying_themes", "human_experimentation", "cannibalism", "nuclear_themes",
|
||||
"blind_playthrough", "no_spoilers_chat", "casual_difficulty", "hardcore_difficulty", "permadeath_run", "speedrun_attempt", "completionist_run", "learning_mechanics", "first_time_playing", "returning_player",
|
||||
"eye_horror", "body_horror", "face_horror", "cosmic_horror", "extreme_gore", "decay_rot", "mutilation", "liminal_spaces", "analog_horror", "unreality_themes", "pursuit_chase", "entity_horror",
|
||||
"mods_used", "cheats_enabled", "glitch_exploits", "assisted_run"
|
||||
],
|
||||
"description.storeLinkSuffix": ["free", "demo"],
|
||||
"description.graphics": ["with", "artStyle", "videoLabel", "inGameSettingLabel", "versionLabel"],
|
||||
"description.graphics.presetOptions": ["low", "medium", "high", "very_high", "cinematic", "ultra", "extreme"],
|
||||
"description.graphics.rtOptions": ["ray_tracing", "full_rt", "path_tracing", "ray_reconstruction"],
|
||||
"description.graphics.upscaleQualityOptions": ["native_aa", "quality", "balanced", "performance", "ultra_performance"],
|
||||
"description.graphics.upscale.nvidia": ["none", "dlaa", "quality", "balanced", "performance", "ultra_performance"],
|
||||
"description.graphics.upscale.amd": ["none", "native_aa", "quality", "balanced", "performance", "ultra_performance"],
|
||||
"description.graphics.upscale.intel": ["none", "native_aa", "ultra_quality", "quality", "balanced", "performance", "ultra_performance"],
|
||||
"description.graphics.frameGen.nvidia": ["none", "x2", "x3", "x4"],
|
||||
"description.graphics.frameGen.amd": ["none", "x2", "x3"],
|
||||
"description.graphics.frameGen.intel": ["none", "x2"],
|
||||
"description.graphics.artStyleOptions": ["realistic", "stylized", "anime", "cel_shaded", "low_poly", "voxel", "pixel_art", "hand_drawn", "comic", "photorealistic"],
|
||||
"description.livestream": ["scheduledLine", "watchLine"],
|
||||
"pinnedComment": ["thanksForWatching", "playlistPrompt", "engagementPrompt", "askNextGame", "genrePlaylistSuggestion"],
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
"companion_quest": "{{gameName}} — Companion Quest: {{questName}}",
|
||||
"bond_quest": "{{gameName}} — Bond Quest: {{questName}}",
|
||||
"event": "{{gameName}} — Event: {{questName}}",
|
||||
"anniversary": "{{gameName}} — {{chapterName}} Anniversary{{partSuffix}}",
|
||||
"anniversary": "{{gameName}} — {{anniversaryYear}}{{ordinalSuffix}} Anniversary{{partSuffix}}",
|
||||
"crossover": "{{gameName}} — Crossover: {{questName}}",
|
||||
"dating_event": "{{gameName}} — Dating Event: {{questName}}",
|
||||
"tutorial_quest": "{{gameName}} — Tutorial: {{questName}}",
|
||||
@@ -47,7 +47,7 @@
|
||||
"endgame": "{{gameName}} — {{chapterName}}{{partSuffix}}",
|
||||
"coop": "{{gameName}} — Co-op: {{questName}}",
|
||||
"daily_commission": "{{gameName}} — Daily Commissions{{partSuffix}}",
|
||||
"showcase": "{{gameName}} — Showcase: {{questName}}"
|
||||
"showcase": "{{gameName}} — Character Showcase: {{characterName}}"
|
||||
},
|
||||
"gachaPartSuffix": {
|
||||
"part": " - Part {{n}}",
|
||||
@@ -83,7 +83,7 @@
|
||||
"gacha_quest_companion_quest": "Companion Quest \"{{questName}}\" from {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_bond_quest": "Bond Quest \"{{questName}}\" from {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_event": "Limited-time Event \"{{questName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_anniversary": "{{chapterName}} Anniversary celebration in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_anniversary": "Celebrating the {{anniversaryYear}}{{ordinalSuffix}} anniversary of {{gameName}}{{versionLabel}} on {{channelName}}.",
|
||||
"gacha_quest_crossover": "Crossover Event \"{{questName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_dating_event": "Dating Event \"{{questName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_tutorial_quest": "Tutorial \"{{questName}}\" from {{gameName}} on {{channelName}}.",
|
||||
@@ -92,7 +92,8 @@
|
||||
"gacha_quest_endgame": "Endgame mode \"{{chapterName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_coop": "Co-op session \"{{questName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_daily_commission": "Daily Commissions in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_showcase": "Showcase \"{{questName}}\" from {{gameName}} on {{channelName}}."
|
||||
"gacha_quest_showcase": "This video showcases the skills, appearance, and details of {{characterName}} in {{gameName}}{{versionLabel}} on {{channelName}}.",
|
||||
"versionInline": "version {{v}}"
|
||||
},
|
||||
"noCommentaryLine": "No Commentary — pure gameplay for your enjoyment.",
|
||||
"storeLinkSuffix": {
|
||||
@@ -107,9 +108,8 @@
|
||||
"rig": "💻 MY RIG",
|
||||
"modList": "🧩 MOD LIST",
|
||||
"vnDonate": "🏦 BANK TRANSFER / E-WALLET (Vietnam)",
|
||||
"spoilerWarning": "⚠️ SPOILER WARNING: This video may contain spoilers. Watch at your own risk!",
|
||||
"matureWarning": "🔞 MATURE CONTENT (18+): Contains violence / strong language / graphic content.",
|
||||
"sponsorCredit": "🎁 Thanks to {{sponsor}} for providing the {{platform}} key of this game.",
|
||||
"thirdPartyAds": "🤝 SPONSORS & PARTNERS",
|
||||
"music": "🎵 MUSIC / SOUND",
|
||||
"donate": "☕ SUPPORT THE CHANNEL",
|
||||
"social": "🔗 FOLLOW ME",
|
||||
@@ -118,10 +118,7 @@
|
||||
"cta": "👍 Like | 🔔 Subscribe | ↗️ Share",
|
||||
"copyright": "© {{year}} {{channelName}}. All rights reserved.",
|
||||
"usagePolicyHeader": "📋 USAGE POLICY",
|
||||
"usagePolicy": "• Always credit with a link to the original video AND channel (at minimum in the description).\n• Don't re-upload the full video or large portions as your own content.\n• Don't monetize footage without explicit consent.\n• Don't edit footage to misrepresent the original content or creator.\n• Compilation, review, commentary, and reaction videos are OK — as long as you credit.\nIf in doubt, reach out via the social links or email in the description.",
|
||||
"playthrough": "🎯 Playthrough: {{value}}",
|
||||
"difficulty": "🎮 DIFFICULTY",
|
||||
"contentWarnings": "⚠️ CONTENT WARNINGS"
|
||||
"usagePolicy": "• Always credit with a link to the original video AND channel (at minimum in the description).\n• Don't re-upload the full video or large portions as your own content.\n• Don't monetize footage without explicit consent.\n• Don't edit footage to misrepresent the original content or creator.\n• Compilation, review, commentary, and reaction videos are OK — as long as you credit.\nIf in doubt, reach out via the social links or email in the description."
|
||||
},
|
||||
"playthrough": {
|
||||
"blind": "Blind run (first time playing)",
|
||||
@@ -135,10 +132,164 @@
|
||||
"hard": "Hard",
|
||||
"nightmare": "Nightmare / Extreme"
|
||||
},
|
||||
"playthroughNotes": {
|
||||
"header": "▸ 🎮 PLAYTHROUGH NOTES",
|
||||
"intro": "This run's settings, version, and approach.",
|
||||
"labels": {
|
||||
"runType": "Run type",
|
||||
"difficulty": "Difficulty",
|
||||
"endings": "Endings shown",
|
||||
"languagePatch": "Language patch",
|
||||
"gameVersion": "Game version"
|
||||
},
|
||||
"languagePatchOptions": {
|
||||
"official_en": "Official English release",
|
||||
"official_other": "Official release (other locale)",
|
||||
"fan_translation": "Fan translation",
|
||||
"mtl": "Machine translation",
|
||||
"custom": "Custom"
|
||||
},
|
||||
"gameVersionOptions": {
|
||||
"demo": "Demo",
|
||||
"early_access": "Early Access",
|
||||
"beta": "Beta",
|
||||
"prologue": "Prologue / Teaser",
|
||||
"pre_release": "Pre-release build",
|
||||
"custom": "Custom"
|
||||
}
|
||||
},
|
||||
"techNotes": {
|
||||
"header": "▸ 🛠 TECH NOTES",
|
||||
"intro": "Production and playstyle notes for transparency.",
|
||||
"items": {
|
||||
"copyright_muted_sections": "Some sections muted due to YouTube copyright",
|
||||
"volume_reduced_copyright": "Volume reduced in some sections due to copyright",
|
||||
"music_replaced_copyright": "Game music replaced to avoid copyright claims",
|
||||
"cutscene_audio_muted_only": "Only cutscene audio muted — gameplay audio kept",
|
||||
"original_audio_kept": "Original audio kept — accepting potential claim risk",
|
||||
"low_resolution_hardware": "Recorded at lower resolution due to hardware",
|
||||
"low_graphics_performance": "Graphics settings lowered for performance",
|
||||
"fps_drops_hardware": "FPS drops — caused by hardware (FPS counter visible top-left)",
|
||||
"bug_from_game": "Bugs / glitches are from the game, not the recording",
|
||||
"crash_kept_transparency": "Game crash kept in for transparency",
|
||||
"loading_cut": "Loading screens have been cut",
|
||||
"obs_artifacts_possible": "Possible OBS recording artifacts",
|
||||
"not_no_hit_run": "NOT a no-hit run — looking for clean play, skip this",
|
||||
"not_clean_walkthrough": "Not a polished walkthrough — exploring naturally",
|
||||
"casual_no_commentary": "Casual play, no commentary",
|
||||
"many_deaths_patience": "Many deaths — patience required",
|
||||
"slow_exploration": "Lots of backtracking — slow exploration pace",
|
||||
"puzzle_stuck_possible": "May get stuck on puzzles",
|
||||
"grinding_cut": "Grinding / repetitive sections cut",
|
||||
"not_speedrun_relaxed": "Not a speedrun — relaxed playthrough",
|
||||
"exploration_focus_skip_combat": "Exploration-focused — combat may be skipped",
|
||||
"edited_for_pacing": "Edited for pacing — not real-time",
|
||||
"support_developers": "Original game music — please support the developers",
|
||||
"online_connectivity_issues": "Online game — possible connectivity issues"
|
||||
}
|
||||
},
|
||||
"contentWarnings": {
|
||||
"flashing_lights": "⚡ Flashing lights / strobe effects",
|
||||
"loud_noises": "🔊 Loud noises / sudden volume spikes",
|
||||
"jump_scares": "😱 Jump scares"
|
||||
"header": "▸ ⚠️ CONTENT WARNINGS",
|
||||
"intro": "This video contains the following content. Viewer discretion advised.",
|
||||
"items": {
|
||||
"spoiler_story": "Spoilers — story / ending / true ending",
|
||||
"spoiler_ending": "Spoilers — ending only",
|
||||
"spoiler_true_ending": "Spoilers — true ending only",
|
||||
"spoiler_post_game": "Spoilers — post-game / New Game+ content",
|
||||
"spoiler_secret_ending": "Spoilers — secret ending",
|
||||
"spoiler_dlc": "Spoilers — DLC story",
|
||||
"flashing_lights": "Flashing lights — photosensitive viewers take care",
|
||||
"motion_sickness": "Motion sickness — fast camera / FPS movement",
|
||||
"migraine_trigger": "Possible migraine trigger",
|
||||
"loud_noises": "Loud / sudden sounds",
|
||||
"jump_scares": "Jumpscares",
|
||||
"acrophobia": "Heights",
|
||||
"trypophobia": "Holes / clusters",
|
||||
"thalassophobia": "Deep water",
|
||||
"claustrophobia": "Confined spaces",
|
||||
"arachnophobia": "Spiders",
|
||||
"entomophobia": "Insects",
|
||||
"ophidiophobia": "Snakes",
|
||||
"cynophobia": "Dogs",
|
||||
"nyctophobia": "Darkness / pitch-black scenes",
|
||||
"pyrophobia": "Fire / burning scenes",
|
||||
"pediophobia": "Dolls / mannequins",
|
||||
"hemophobia": "Blood",
|
||||
"anxiety_inducing": "Scenes that may cause anxiety",
|
||||
"depression_themes": "Depression themes",
|
||||
"eating_disorders": "Eating disorder themes",
|
||||
"substance_use": "Substance use",
|
||||
"self_harm": "Self-harm / suicide themes",
|
||||
"ptsd_themes": "PTSD-related content",
|
||||
"needles": "Needle imagery",
|
||||
"body_fluids": "Body fluids",
|
||||
"pregnancy_horror": "Pregnancy / birth horror",
|
||||
"illness_themes": "Illness / infection themes",
|
||||
"bipolar_themes": "Bipolar disorder themes",
|
||||
"ocd_themes": "Obsessive-compulsive themes",
|
||||
"panic_attacks": "Panic attack scenes",
|
||||
"dissociation": "Dissociation / derealization themes",
|
||||
"blood_gore": "Blood and gore",
|
||||
"mature_18plus": "Mature themes — 18+",
|
||||
"disturbing_imagery": "Disturbing imagery",
|
||||
"animal_abuse": "Animal cruelty",
|
||||
"child_harm": "Violence against minors",
|
||||
"domestic_violence": "Domestic violence",
|
||||
"sexual_assault": "Sexual assault references",
|
||||
"torture": "Torture scenes",
|
||||
"religion_themes": "Religious themes",
|
||||
"war_violence": "War violence",
|
||||
"discrimination": "Discrimination themes",
|
||||
"police_violence": "State / police violence",
|
||||
"smoking_drinking": "Smoking / drinking",
|
||||
"detailed_killing": "Detailed killing scenes",
|
||||
"cult_occult": "Cult / occult themes",
|
||||
"psychological_manipulation": "Psychological manipulation",
|
||||
"grief_loss": "Loss / grief themes",
|
||||
"kidnapping": "Kidnapping",
|
||||
"hate_speech": "Hate speech themes",
|
||||
"historical_atrocity": "Historical atrocities",
|
||||
"slavery_themes": "Slavery themes",
|
||||
"terrorism_themes": "Terrorism themes",
|
||||
"bullying_themes": "Bullying themes",
|
||||
"blind_playthrough": "Blind playthrough — first time playing",
|
||||
"no_spoilers_chat": "No spoilers in chat please",
|
||||
"casual_difficulty": "Casual / story difficulty",
|
||||
"hardcore_difficulty": "Hardcore / max difficulty",
|
||||
"permadeath_run": "Permadeath / Iron Man run",
|
||||
"speedrun_attempt": "Speedrun attempt",
|
||||
"completionist_run": "100% completionist run",
|
||||
"learning_mechanics": "Still learning the mechanics",
|
||||
"eye_horror": "Eyeball clusters / distorted gaze imagery",
|
||||
"body_horror": "Body horror — flesh distortion and mutation",
|
||||
"face_horror": "Distorted or mutilated face imagery",
|
||||
"cosmic_horror": "Cosmic / eldritch / Lovecraftian horror",
|
||||
"extreme_gore": "Extreme gore — dismemberment and viscera",
|
||||
"decay_rot": "Decay, rot, maggots, corpse imagery",
|
||||
"mutilation": "Mutilation / amputation imagery",
|
||||
"strobe_effects": "Strobe-lighting sequences",
|
||||
"screen_shake_intense": "Heavy screen shake / camera trauma",
|
||||
"coulrophobia": "Clowns / clown-like figures",
|
||||
"ablutophobia": "Drowning / extended water immersion",
|
||||
"taphophobia": "Live burial / coffin / tomb confinement",
|
||||
"paranoia_themes": "Paranoia / surveillance themes",
|
||||
"intrusive_thoughts": "Intrusive-thought sequences",
|
||||
"medical_horror": "Medical / surgical procedure horror",
|
||||
"human_experimentation": "Human experimentation themes",
|
||||
"cannibalism": "Cannibalism — depicted or implied",
|
||||
"nuclear_themes": "Nuclear war / radiation themes",
|
||||
"liminal_spaces": "Liminal / unsettling empty spaces",
|
||||
"analog_horror": "Analog horror / VHS distortion aesthetic",
|
||||
"unreality_themes": "Reality distortion / unreliable perception",
|
||||
"pursuit_chase": "Sustained chase / stalker pursuit sequences",
|
||||
"entity_horror": "Unknowable entity / SCP-style horror",
|
||||
"first_time_playing": "First playthrough — mechanics may be missed",
|
||||
"returning_player": "Returning player — NG+ context",
|
||||
"mods_used": "Gameplay mods enabled",
|
||||
"cheats_enabled": "Cheats / debug commands used",
|
||||
"glitch_exploits": "Intentional glitch usage / sequence-breaking",
|
||||
"assisted_run": "Guide-assisted — not a blind run"
|
||||
}
|
||||
},
|
||||
"graphics": {
|
||||
"with": "with",
|
||||
@@ -165,6 +316,50 @@
|
||||
"performance": "Performance",
|
||||
"ultra_performance": "Ultra Performance"
|
||||
},
|
||||
"upscale": {
|
||||
"nvidia": {
|
||||
"none": "",
|
||||
"dlaa": "NVIDIA DLAA",
|
||||
"quality": "NVIDIA DLSS Quality",
|
||||
"balanced": "NVIDIA DLSS Balanced",
|
||||
"performance": "NVIDIA DLSS Performance",
|
||||
"ultra_performance": "NVIDIA DLSS Ultra Performance"
|
||||
},
|
||||
"amd": {
|
||||
"none": "",
|
||||
"native_aa": "AMD FSR Native AA",
|
||||
"quality": "AMD FSR Quality",
|
||||
"balanced": "AMD FSR Balanced",
|
||||
"performance": "AMD FSR Performance",
|
||||
"ultra_performance": "AMD FSR Ultra Performance"
|
||||
},
|
||||
"intel": {
|
||||
"none": "",
|
||||
"native_aa": "Intel XeSS Native AA",
|
||||
"ultra_quality": "Intel XeSS Ultra Quality",
|
||||
"quality": "Intel XeSS Quality",
|
||||
"balanced": "Intel XeSS Balanced",
|
||||
"performance": "Intel XeSS Performance",
|
||||
"ultra_performance": "Intel XeSS Ultra Performance"
|
||||
}
|
||||
},
|
||||
"frameGen": {
|
||||
"nvidia": {
|
||||
"none": "",
|
||||
"x2": "NVIDIA Frame Generation x2",
|
||||
"x3": "NVIDIA Multi Frame Generation x3",
|
||||
"x4": "NVIDIA Multi Frame Generation x4"
|
||||
},
|
||||
"amd": {
|
||||
"none": "",
|
||||
"x2": "AMD Fluid Motion Frames x2",
|
||||
"x3": "AMD Fluid Motion Frames x3"
|
||||
},
|
||||
"intel": {
|
||||
"none": "",
|
||||
"x2": "Intel XeFG x2"
|
||||
}
|
||||
},
|
||||
"artStyleOptions": {
|
||||
"realistic": "Realistic",
|
||||
"stylized": "Stylized",
|
||||
|
||||
+283
-11
@@ -12,28 +12,60 @@
|
||||
"batch": "Batch",
|
||||
"playlist": "Playlist",
|
||||
"logs": "Logs",
|
||||
"about": "About"
|
||||
"about": "About",
|
||||
"reportBug": "Report Bug"
|
||||
},
|
||||
"sidebar": {
|
||||
"expand": "Expand sidebar",
|
||||
"collapse": "Collapse sidebar"
|
||||
},
|
||||
"header": {
|
||||
"donate": "Donate"
|
||||
},
|
||||
"about": {
|
||||
"tagline": "YouTube title, description, and tag generator for Gameplay No Commentary channels.",
|
||||
"repoHeading": "Repository & License",
|
||||
"repoLabel": "GitHub Repo",
|
||||
"issuesLabel": "Report an Issue",
|
||||
"reportBugLabel": "Report a Bug",
|
||||
"discussionsLabel": "Discussions",
|
||||
"authorLabel": "Author",
|
||||
"licenseLabel": "License",
|
||||
"donateHeading": "Donate / Support",
|
||||
"donateHelp": "If YTDescGen saves you time, consider buying me a coffee. Every bit helps keep the project going.",
|
||||
"donate": {
|
||||
"githubSponsors": "GitHub Sponsors",
|
||||
"kofi": "Ko-fi",
|
||||
"buyMeACoffee": "Buy Me a Coffee",
|
||||
"patreon": "Patreon",
|
||||
"paypal": "PayPal"
|
||||
},
|
||||
"connectHeading": "Connect",
|
||||
"devEnvHeading": "Dev Environment",
|
||||
"devEnvHelp": "Hardware and toolchain the public web build and desktop binaries are produced on.",
|
||||
"devEnv": {
|
||||
"os": "OS",
|
||||
"cpu": "CPU",
|
||||
"gpu": "GPU",
|
||||
"ram": "RAM",
|
||||
"ide": "IDE",
|
||||
"toolchains": "Toolchains",
|
||||
"fullSpecLink": "Read full PC spec ↗",
|
||||
"fullDevEnvLink": "Read dev environment guide ↗"
|
||||
},
|
||||
"thirdPartyHeading": "Third-Party Credits",
|
||||
"thirdPartyHelp": "YTDescGen is built on top of these open-source projects. Versions are pulled live from package.json.",
|
||||
"socials": {
|
||||
"youtube": "YouTube Channel",
|
||||
"x": "X / Twitter",
|
||||
"discord": "Discord Server",
|
||||
"kofi": "Ko-fi",
|
||||
"patreon": "Patreon"
|
||||
"bluesky": "Bluesky",
|
||||
"mastodon": "Mastodon",
|
||||
"discord": "Discord — Repo / General",
|
||||
"discordGame": "Discord — Game lobby",
|
||||
"steam": "Steam profile",
|
||||
"telegramBot": "Telegram bot",
|
||||
"telegramUser": "Telegram",
|
||||
"email": "Email"
|
||||
}
|
||||
},
|
||||
"editor": {
|
||||
@@ -96,6 +128,18 @@
|
||||
"chapterNamePlaceholder": "e.g. Chapter 5 Act 2: Where the Stars Fall",
|
||||
"questName": "Quest Name",
|
||||
"questNamePlaceholder": "e.g. A Solitary Constellation",
|
||||
"characterName": "Character Name",
|
||||
"characterNamePlaceholder": "e.g. Furina, Topaz, Acheron",
|
||||
"anniversaryYear": "Anniversary Year",
|
||||
"anniversaryYearOption": "Year {{count}}",
|
||||
"gachaVersion": "Game Version",
|
||||
"gachaVersionPlaceholder": "e.g. 1.2, 2.4",
|
||||
"gpu_brand": "Brand",
|
||||
"gpu_series": "Series",
|
||||
"gpu_model": "Model",
|
||||
"gpu_custom": "Custom GPU",
|
||||
"ram_size": "RAM Size",
|
||||
"ram_ddr": "DDR Generation",
|
||||
"vnDonate": "Donate (Vietnam)",
|
||||
"vnDonateHelp": "Only rendered into the description when output language is Vietnamese.",
|
||||
"vnBankName": "Bank name",
|
||||
@@ -147,6 +191,21 @@
|
||||
"x4": "x4",
|
||||
"x6": "x6"
|
||||
},
|
||||
"frameGenMultiplier.nvidia": {
|
||||
"none": "None",
|
||||
"x2": "x2 (Frame Gen)",
|
||||
"x3": "x3 (Multi Frame Gen)",
|
||||
"x4": "x4 (Multi Frame Gen)"
|
||||
},
|
||||
"frameGenMultiplier.amd": {
|
||||
"none": "None",
|
||||
"x2": "x2 (Fluid Motion Frames)",
|
||||
"x3": "x3 (Fluid Motion Frames)"
|
||||
},
|
||||
"frameGenMultiplier.intel": {
|
||||
"none": "None",
|
||||
"x2": "x2 (XeFG)"
|
||||
},
|
||||
"upscaleQuality": "Upscaling Quality",
|
||||
"upscaleQualityOptions": {
|
||||
"none": "None",
|
||||
@@ -156,6 +215,31 @@
|
||||
"performance": "Performance",
|
||||
"ultra_performance": "Ultra Performance"
|
||||
},
|
||||
"upscaleQuality.nvidia": {
|
||||
"none": "None",
|
||||
"dlaa": "DLAA",
|
||||
"quality": "DLSS Quality",
|
||||
"balanced": "DLSS Balanced",
|
||||
"performance": "DLSS Performance",
|
||||
"ultra_performance": "DLSS Ultra Performance"
|
||||
},
|
||||
"upscaleQuality.amd": {
|
||||
"none": "None",
|
||||
"native_aa": "FSR Native AA",
|
||||
"quality": "FSR Quality",
|
||||
"balanced": "FSR Balanced",
|
||||
"performance": "FSR Performance",
|
||||
"ultra_performance": "FSR Ultra Performance"
|
||||
},
|
||||
"upscaleQuality.intel": {
|
||||
"none": "None",
|
||||
"native_aa": "XeSS Native AA",
|
||||
"ultra_quality": "XeSS Ultra Quality",
|
||||
"quality": "XeSS Quality",
|
||||
"balanced": "XeSS Balanced",
|
||||
"performance": "XeSS Performance",
|
||||
"ultra_performance": "XeSS Ultra Performance"
|
||||
},
|
||||
"artStyle": "Art Style",
|
||||
"artStyleOptions": {
|
||||
"none": "— Not set —",
|
||||
@@ -184,9 +268,7 @@
|
||||
"storeLinkType": "Type",
|
||||
"rig": "My Rig",
|
||||
"social": "Social & Donate Links",
|
||||
"warnings": "Warnings",
|
||||
"spoilerWarning": "Spoiler Warning",
|
||||
"matureWarning": "Mature Content (18+)",
|
||||
"warnings": "Content warnings",
|
||||
"playlistLink": "Playlist Link",
|
||||
"playlistLinkPlaceholder": "https://youtube.com/playlist?list=...",
|
||||
"contactEmail": "Contact Email",
|
||||
@@ -223,10 +305,182 @@
|
||||
"difficultyCustomLabel": "Custom difficulty label",
|
||||
"difficultyCustomPlaceholder": "e.g. Lethal, NG+7, Fromsoft default",
|
||||
"contentWarnings": "Content warnings",
|
||||
"contentWarningSearchPlaceholder": "Search warnings…",
|
||||
"contentWarningEmpty": "No matching warnings",
|
||||
"contentWarningGroups": {
|
||||
"spoilers": "Spoilers",
|
||||
"photosensitive": "Photosensitive / Health",
|
||||
"phobias": "Phobias",
|
||||
"mental_health": "Mental health",
|
||||
"sensitive": "Mature / Sensitive content",
|
||||
"playstyle": "Playstyle disclosures",
|
||||
"horror_specific": "Heavy horror",
|
||||
"gameplay_disclosure": "Gameplay disclosure"
|
||||
},
|
||||
"contentWarningOptions": {
|
||||
"flashing_lights": "⚡ Flashing lights",
|
||||
"loud_noises": "🔊 Loud noises",
|
||||
"jump_scares": "😱 Jump scares"
|
||||
"spoiler_story": "Story / ending spoilers",
|
||||
"spoiler_ending": "Ending spoilers",
|
||||
"spoiler_true_ending": "True-ending spoilers",
|
||||
"spoiler_post_game": "Post-game / NG+ spoilers",
|
||||
"spoiler_secret_ending": "Secret-ending spoilers",
|
||||
"spoiler_dlc": "DLC story spoilers",
|
||||
"flashing_lights": "Flashing lights",
|
||||
"motion_sickness": "Motion sickness",
|
||||
"migraine_trigger": "Migraine trigger",
|
||||
"loud_noises": "Loud / sudden sounds",
|
||||
"jump_scares": "Jumpscares",
|
||||
"acrophobia": "Heights",
|
||||
"trypophobia": "Holes / clusters",
|
||||
"thalassophobia": "Deep water",
|
||||
"claustrophobia": "Confined spaces",
|
||||
"arachnophobia": "Spiders",
|
||||
"entomophobia": "Insects",
|
||||
"ophidiophobia": "Snakes",
|
||||
"cynophobia": "Dogs",
|
||||
"nyctophobia": "Darkness",
|
||||
"pyrophobia": "Fire",
|
||||
"pediophobia": "Dolls",
|
||||
"hemophobia": "Blood",
|
||||
"anxiety_inducing": "Anxiety-inducing scenes",
|
||||
"depression_themes": "Depression themes",
|
||||
"eating_disorders": "Eating disorders",
|
||||
"substance_use": "Substance use",
|
||||
"self_harm": "Self-harm / suicide",
|
||||
"ptsd_themes": "PTSD content",
|
||||
"needles": "Needles",
|
||||
"body_fluids": "Body fluids",
|
||||
"pregnancy_horror": "Pregnancy / birth horror",
|
||||
"illness_themes": "Illness / infection",
|
||||
"bipolar_themes": "Bipolar themes",
|
||||
"ocd_themes": "OCD themes",
|
||||
"panic_attacks": "Panic attacks",
|
||||
"dissociation": "Dissociation",
|
||||
"blood_gore": "Blood and gore",
|
||||
"mature_18plus": "Mature 18+",
|
||||
"disturbing_imagery": "Disturbing imagery",
|
||||
"animal_abuse": "Animal cruelty",
|
||||
"child_harm": "Violence against minors",
|
||||
"domestic_violence": "Domestic violence",
|
||||
"sexual_assault": "Sexual assault references",
|
||||
"torture": "Torture",
|
||||
"religion_themes": "Religious themes",
|
||||
"war_violence": "War violence",
|
||||
"discrimination": "Discrimination",
|
||||
"police_violence": "State / police violence",
|
||||
"smoking_drinking": "Smoking / drinking",
|
||||
"detailed_killing": "Detailed killing",
|
||||
"cult_occult": "Cult / occult",
|
||||
"psychological_manipulation": "Psychological manipulation",
|
||||
"grief_loss": "Loss / grief",
|
||||
"kidnapping": "Kidnapping",
|
||||
"hate_speech": "Hate speech",
|
||||
"historical_atrocity": "Historical atrocities",
|
||||
"slavery_themes": "Slavery themes",
|
||||
"terrorism_themes": "Terrorism themes",
|
||||
"bullying_themes": "Bullying themes",
|
||||
"blind_playthrough": "Blind playthrough",
|
||||
"no_spoilers_chat": "No spoilers in chat",
|
||||
"casual_difficulty": "Casual / story mode",
|
||||
"hardcore_difficulty": "Hardcore / max difficulty",
|
||||
"permadeath_run": "Permadeath / Iron Man",
|
||||
"speedrun_attempt": "Speedrun attempt",
|
||||
"completionist_run": "100% completionist",
|
||||
"learning_mechanics": "Still learning mechanics",
|
||||
"eye_horror": "Eyes / eyeball clusters",
|
||||
"body_horror": "Body horror (flesh distortion)",
|
||||
"face_horror": "Distorted / mutilated faces",
|
||||
"cosmic_horror": "Cosmic / eldritch horror",
|
||||
"extreme_gore": "Extreme gore / dismemberment",
|
||||
"decay_rot": "Decay, rot, maggots",
|
||||
"mutilation": "Mutilation / amputation",
|
||||
"strobe_effects": "Strobe lighting",
|
||||
"screen_shake_intense": "Heavy screen shake",
|
||||
"coulrophobia": "Clowns (coulrophobia)",
|
||||
"ablutophobia": "Drowning / water immersion",
|
||||
"taphophobia": "Live burial",
|
||||
"paranoia_themes": "Paranoia",
|
||||
"intrusive_thoughts": "Intrusive thoughts",
|
||||
"medical_horror": "Medical horror",
|
||||
"human_experimentation": "Human experimentation",
|
||||
"cannibalism": "Cannibalism",
|
||||
"nuclear_themes": "Nuclear / radiation",
|
||||
"liminal_spaces": "Liminal spaces",
|
||||
"analog_horror": "Analog horror / VHS",
|
||||
"unreality_themes": "Unreality / distortion",
|
||||
"pursuit_chase": "Pursuit / chase",
|
||||
"entity_horror": "Entity / SCP horror",
|
||||
"first_time_playing": "First time playing",
|
||||
"returning_player": "Returning / NG+",
|
||||
"mods_used": "Mods used",
|
||||
"cheats_enabled": "Cheats / debug",
|
||||
"glitch_exploits": "Glitches used",
|
||||
"assisted_run": "Guide-assisted"
|
||||
},
|
||||
"playthroughNotes": {
|
||||
"title": "Playthrough notes",
|
||||
"runTypeLabel": "Run type",
|
||||
"difficultyLabel": "Difficulty",
|
||||
"endingsLabel": "Endings shown",
|
||||
"endingsPlaceholder": "e.g. True ending only, 1 of 3, All routes 100%",
|
||||
"languagePatchLabel": "Language patch",
|
||||
"languagePatchCustomLabel": "Custom language label",
|
||||
"languagePatchCustomPlaceholder": "e.g. Official KR, VNI fan TL v2.1",
|
||||
"gameVersionLabel": "Game version",
|
||||
"gameVersionCustomLabel": "Custom version label",
|
||||
"gameVersionCustomPlaceholder": "e.g. Steam Next Fest demo, Kickstarter backer build",
|
||||
"languagePatchOptions": {
|
||||
"none": "— Not set —",
|
||||
"official_en": "Official English",
|
||||
"official_other": "Official (other locale)",
|
||||
"fan_translation": "Fan translation",
|
||||
"mtl": "Machine translation",
|
||||
"custom": "Custom…"
|
||||
},
|
||||
"gameVersionOptions": {
|
||||
"full_release": "— Full release —",
|
||||
"demo": "Demo",
|
||||
"early_access": "Early Access",
|
||||
"beta": "Beta",
|
||||
"prologue": "Prologue / Teaser",
|
||||
"pre_release": "Pre-release",
|
||||
"custom": "Custom…"
|
||||
}
|
||||
},
|
||||
"techNotes": "Tech notes",
|
||||
"techNoteSearchPlaceholder": "Search tech notes…",
|
||||
"techNoteEmpty": "No matching notes",
|
||||
"techNoteGroups": {
|
||||
"audio": "Audio",
|
||||
"video_quality": "Video quality",
|
||||
"recording_issues": "Recording issues",
|
||||
"playstyle": "Playstyle disclaimers",
|
||||
"production": "Production & attribution"
|
||||
},
|
||||
"techNoteOptions": {
|
||||
"copyright_muted_sections": "Some sections muted (copyright)",
|
||||
"volume_reduced_copyright": "Volume reduced (copyright)",
|
||||
"music_replaced_copyright": "Game music replaced (copyright)",
|
||||
"cutscene_audio_muted_only": "Cutscene audio muted only",
|
||||
"original_audio_kept": "Original audio kept (claim risk)",
|
||||
"low_resolution_hardware": "Low resolution (hardware)",
|
||||
"low_graphics_performance": "Lower graphics (performance)",
|
||||
"fps_drops_hardware": "FPS drops (hardware)",
|
||||
"bug_from_game": "Bugs are from the game",
|
||||
"crash_kept_transparency": "Crash kept (transparency)",
|
||||
"loading_cut": "Loading screens cut",
|
||||
"obs_artifacts_possible": "Possible OBS artifacts",
|
||||
"not_no_hit_run": "NOT a no-hit run",
|
||||
"not_clean_walkthrough": "Not a clean walkthrough",
|
||||
"casual_no_commentary": "Casual, no commentary",
|
||||
"many_deaths_patience": "Many deaths",
|
||||
"slow_exploration": "Slow exploration",
|
||||
"puzzle_stuck_possible": "May get stuck on puzzles",
|
||||
"grinding_cut": "Grinding cut",
|
||||
"not_speedrun_relaxed": "Not a speedrun",
|
||||
"exploration_focus_skip_combat": "Exploration-focused (skip combat)",
|
||||
"edited_for_pacing": "Edited for pacing",
|
||||
"support_developers": "Support the developers",
|
||||
"online_connectivity_issues": "Online connectivity issues"
|
||||
},
|
||||
"videoSettings": "Video Settings",
|
||||
"quickPreview": "Quick Preview",
|
||||
@@ -236,6 +490,14 @@
|
||||
"clearDraftConfirm": "Are you sure you want to clear all form data?",
|
||||
"genreSearchPlaceholder": "Search genres",
|
||||
"genreSearchNoResults": "No matching genres",
|
||||
"validation": {
|
||||
"gpuMissingSeries": "Pick a series to complete the GPU.",
|
||||
"gpuMissingModel": "Pick a model to complete the GPU.",
|
||||
"gpuCustomEmpty": "Enter a GPU name or pick from the catalog.",
|
||||
"ramMissingDdr": "Pick a DDR generation.",
|
||||
"ramMissingSize": "Pick a RAM size.",
|
||||
"ramCustomEmpty": "Enter a RAM size in GB."
|
||||
},
|
||||
"genreGroups": {
|
||||
"rpg": "All RPGs",
|
||||
"shooter": "All Shooters",
|
||||
@@ -272,6 +534,11 @@
|
||||
"default": "Default",
|
||||
"typeFirst": "Type First",
|
||||
"qualityFirst": "Quality First"
|
||||
},
|
||||
"copy": {
|
||||
"overLimit": "{{field}} is too long: {{count}}/{{limit}} chars. Trim before copying.",
|
||||
"fieldGeneric": "Text",
|
||||
"failed": "Failed to copy"
|
||||
}
|
||||
},
|
||||
"common": {
|
||||
@@ -405,7 +672,10 @@
|
||||
"deleteConfirm": "Are you sure you want to delete this profile?",
|
||||
"emptyState": "No profiles yet. Create one to save your channel info.",
|
||||
"exportProfiles": "Export Profiles",
|
||||
"importProfiles": "Import Profiles"
|
||||
"importProfiles": "Import Profiles",
|
||||
"thirdPartyAdText": "Third-party ad copy",
|
||||
"thirdPartyAdTextPlaceholder": "e.g. Use code SAVE10 at GameStore.com — 10% off all titles\nSponsored by ChairCo — link in description",
|
||||
"thirdPartyAdTextHelp": "Optional sponsor / partner / affiliate copy. Shown when 'Third-party ads' is enabled in Settings."
|
||||
},
|
||||
"presets": {
|
||||
"title": "Game Presets",
|
||||
@@ -462,6 +732,8 @@
|
||||
"showCopyright": "Append © copyright line to description",
|
||||
"showUsagePolicy": "Append usage policy block to description",
|
||||
"showSponsorCredit": "Show sponsor credit line in description (thanks for the key)",
|
||||
"showThirdPartyAds": "Show third-party advertising block in description",
|
||||
"thirdPartyAdsHint": "Set ad copy in your channel profile (Profiles → Edit).",
|
||||
"titleFormatTitle": "Title Format",
|
||||
"descriptionSettingsTitle": "Description",
|
||||
"badgePosition": "Quality badge position",
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
"companion_quest": "{{gameName}} — Companion Quest: {{questName}}",
|
||||
"bond_quest": "{{gameName}} — Bond Quest: {{questName}}",
|
||||
"event": "{{gameName}} — Event: {{questName}}",
|
||||
"anniversary": "{{gameName}} — {{chapterName}} Anniversary{{partSuffix}}",
|
||||
"anniversary": "{{gameName}} — Aniversario {{anniversaryYear}}{{partSuffix}}",
|
||||
"crossover": "{{gameName}} — Crossover: {{questName}}",
|
||||
"dating_event": "{{gameName}} — Dating Event: {{questName}}",
|
||||
"tutorial_quest": "{{gameName}} — Tutorial: {{questName}}",
|
||||
@@ -47,7 +47,7 @@
|
||||
"endgame": "{{gameName}} — {{chapterName}}{{partSuffix}}",
|
||||
"coop": "{{gameName}} — Co-op: {{questName}}",
|
||||
"daily_commission": "{{gameName}} — Daily Commissions{{partSuffix}}",
|
||||
"showcase": "{{gameName}} — Showcase: {{questName}}"
|
||||
"showcase": "{{gameName}} — Showcase de personaje: {{characterName}}"
|
||||
},
|
||||
"gachaPartSuffix": {
|
||||
"part": " - Part {{n}}",
|
||||
@@ -83,7 +83,7 @@
|
||||
"gacha_quest_companion_quest": "Companion Quest \"{{questName}}\" from {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_bond_quest": "Bond Quest \"{{questName}}\" from {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_event": "Limited-time Event \"{{questName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_anniversary": "{{chapterName}} Anniversary celebration in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_anniversary": "Celebrando el {{anniversaryYear}}º aniversario de {{gameName}}{{versionLabel}} en {{channelName}}.",
|
||||
"gacha_quest_crossover": "Crossover Event \"{{questName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_dating_event": "Dating Event \"{{questName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_tutorial_quest": "Tutorial \"{{questName}}\" from {{gameName}} on {{channelName}}.",
|
||||
@@ -92,7 +92,8 @@
|
||||
"gacha_quest_endgame": "Endgame mode \"{{chapterName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_coop": "Co-op session \"{{questName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_daily_commission": "Daily Commissions in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_showcase": "Showcase \"{{questName}}\" from {{gameName}} on {{channelName}}."
|
||||
"gacha_quest_showcase": "Este vídeo presenta las habilidades, apariencia y detalles de {{characterName}} en {{gameName}}{{versionLabel}} en {{channelName}}.",
|
||||
"versionInline": "versión {{v}}"
|
||||
},
|
||||
"noCommentaryLine": "Sin Comentarios — gameplay puro para tu disfrute.",
|
||||
"storeLinkSuffix": {
|
||||
@@ -107,9 +108,8 @@
|
||||
"rig": "💻 MI EQUIPO",
|
||||
"modList": "🧩 LISTA DE MODS",
|
||||
"vnDonate": "🏦 BANK TRANSFER / E-WALLET (Vietnam)",
|
||||
"spoilerWarning": "⚠️ ADVERTENCIA DE SPOILERS: Este video puede contener spoilers. ¡Míralo bajo tu propio riesgo!",
|
||||
"matureWarning": "🔞 CONTENIDO PARA ADULTOS (18+): Contiene violencia / lenguaje fuerte / contenido gráfico.",
|
||||
"sponsorCredit": "🎁 Gracias a {{sponsor}} por proporcionar la clave de {{platform}} de este juego.",
|
||||
"thirdPartyAds": "🤝 PATROCINADORES Y SOCIOS",
|
||||
"music": "🎵 MÚSICA / SONIDO",
|
||||
"donate": "☕ APOYA EL CANAL",
|
||||
"social": "🔗 SÍGUEME",
|
||||
@@ -118,10 +118,7 @@
|
||||
"cta": "👍 Me gusta | 🔔 Suscríbete | ↗️ Comparte",
|
||||
"copyright": "© {{year}} {{channelName}}. Todos los derechos reservados.",
|
||||
"usagePolicyHeader": "📋 POLÍTICA DE USO",
|
||||
"usagePolicy": "• Siempre acredita con un enlace al vídeo original Y al canal (al menos en la descripción).\n• No reuploadees el vídeo completo ni porciones grandes como contenido propio.\n• No monetices el material sin consentimiento explícito.\n• No edites el material de forma que tergiverse el contenido original o al creador.\n• Compilaciones, reseñas, comentarios y reacciones están OK — siempre que acredites.\nSi tienes dudas, contáctame por las redes sociales o el email de la descripción.",
|
||||
"playthrough": "🎯 Partida: {{value}}",
|
||||
"difficulty": "🎮 DIFICULTAD",
|
||||
"contentWarnings": "⚠️ ADVERTENCIAS DE CONTENIDO"
|
||||
"usagePolicy": "• Siempre acredita con un enlace al vídeo original Y al canal (al menos en la descripción).\n• No reuploadees el vídeo completo ni porciones grandes como contenido propio.\n• No monetices el material sin consentimiento explícito.\n• No edites el material de forma que tergiverse el contenido original o al creador.\n• Compilaciones, reseñas, comentarios y reacciones están OK — siempre que acredites.\nSi tienes dudas, contáctame por las redes sociales o el email de la descripción."
|
||||
},
|
||||
"playthrough": {
|
||||
"blind": "Partida a ciegas (primera vez)",
|
||||
@@ -135,10 +132,164 @@
|
||||
"hard": "Difícil",
|
||||
"nightmare": "Pesadilla / Extremo"
|
||||
},
|
||||
"playthroughNotes": {
|
||||
"header": "▸ 🎮 NOTAS DE LA PARTIDA",
|
||||
"intro": "Configuración, versión y enfoque de esta partida.",
|
||||
"labels": {
|
||||
"runType": "Tipo de partida",
|
||||
"difficulty": "Dificultad",
|
||||
"endings": "Finales mostrados",
|
||||
"languagePatch": "Parche de idioma",
|
||||
"gameVersion": "Versión del juego"
|
||||
},
|
||||
"languagePatchOptions": {
|
||||
"official_en": "Lanzamiento oficial en inglés",
|
||||
"official_other": "Lanzamiento oficial (otro idioma)",
|
||||
"fan_translation": "Traducción de fans",
|
||||
"mtl": "Traducción automática",
|
||||
"custom": "Personalizada"
|
||||
},
|
||||
"gameVersionOptions": {
|
||||
"demo": "Demo",
|
||||
"early_access": "Acceso anticipado",
|
||||
"beta": "Beta",
|
||||
"prologue": "Prólogo / Teaser",
|
||||
"pre_release": "Versión preliminar",
|
||||
"custom": "Personalizada"
|
||||
}
|
||||
},
|
||||
"techNotes": {
|
||||
"header": "▸ 🛠 NOTAS TÉCNICAS",
|
||||
"intro": "Notas de producción y estilo de juego para mayor transparencia.",
|
||||
"items": {
|
||||
"copyright_muted_sections": "Algunas secciones silenciadas por derechos de autor de YouTube",
|
||||
"volume_reduced_copyright": "Volumen reducido en algunas secciones por derechos de autor",
|
||||
"music_replaced_copyright": "Música del juego reemplazada para evitar reclamos de copyright",
|
||||
"cutscene_audio_muted_only": "Solo se silenció el audio de las cinemáticas — el audio del gameplay se mantiene",
|
||||
"original_audio_kept": "Audio original conservado — aceptando posible riesgo de reclamo",
|
||||
"low_resolution_hardware": "Grabado a menor resolución por limitaciones de hardware",
|
||||
"low_graphics_performance": "Configuración gráfica reducida por rendimiento",
|
||||
"fps_drops_hardware": "Caídas de FPS — causadas por hardware (contador de FPS visible arriba a la izquierda)",
|
||||
"bug_from_game": "Los bugs / glitches son del juego, no de la grabación",
|
||||
"crash_kept_transparency": "Crash del juego conservado por transparencia",
|
||||
"loading_cut": "Pantallas de carga eliminadas",
|
||||
"obs_artifacts_possible": "Posibles artefactos de grabación de OBS",
|
||||
"not_no_hit_run": "NO es una partida sin recibir daño — si buscas juego limpio, salta este vídeo",
|
||||
"not_clean_walkthrough": "No es una guía pulida — exploración natural",
|
||||
"casual_no_commentary": "Juego casual, sin comentario",
|
||||
"many_deaths_patience": "Muchas muertes — se requiere paciencia",
|
||||
"slow_exploration": "Mucho retroceso — ritmo de exploración lento",
|
||||
"puzzle_stuck_possible": "Puede haber bloqueos en los puzles",
|
||||
"grinding_cut": "Secciones de grindeo / repetición eliminadas",
|
||||
"not_speedrun_relaxed": "No es un speedrun — partida relajada",
|
||||
"exploration_focus_skip_combat": "Enfocado en exploración — se puede saltar combate",
|
||||
"edited_for_pacing": "Editado para el ritmo — no es en tiempo real",
|
||||
"support_developers": "Música original del juego — apoya a los desarrolladores",
|
||||
"online_connectivity_issues": "Juego online — posibles problemas de conexión"
|
||||
}
|
||||
},
|
||||
"contentWarnings": {
|
||||
"flashing_lights": "⚡ Luces parpadeantes / efecto estroboscópico",
|
||||
"loud_noises": "🔊 Ruidos fuertes / picos de volumen",
|
||||
"jump_scares": "😱 Sustos repentinos"
|
||||
"header": "▸ ⚠️ ADVERTENCIAS DE CONTENIDO",
|
||||
"intro": "Este video contiene los siguientes contenidos. Se recomienda discreción al espectador.",
|
||||
"items": {
|
||||
"spoiler_story": "Spoilers — historia / final / true ending",
|
||||
"spoiler_ending": "Spoilers — solo del final",
|
||||
"spoiler_true_ending": "Spoilers — del true ending",
|
||||
"spoiler_post_game": "Spoilers — post-game / New Game+",
|
||||
"spoiler_secret_ending": "Spoilers — final secreto",
|
||||
"spoiler_dlc": "Spoilers — historia del DLC",
|
||||
"flashing_lights": "Luces parpadeantes — cuidado con la fotosensibilidad",
|
||||
"motion_sickness": "Mareo por movimiento — cámara / FPS rápidos",
|
||||
"migraine_trigger": "Posible desencadenante de migraña",
|
||||
"loud_noises": "Sonidos fuertes / repentinos",
|
||||
"jump_scares": "Sustos repentinos",
|
||||
"acrophobia": "Alturas",
|
||||
"trypophobia": "Agujeros / patrones agrupados",
|
||||
"thalassophobia": "Aguas profundas",
|
||||
"claustrophobia": "Espacios cerrados",
|
||||
"arachnophobia": "Arañas",
|
||||
"entomophobia": "Insectos",
|
||||
"ophidiophobia": "Serpientes",
|
||||
"cynophobia": "Perros",
|
||||
"nyctophobia": "Oscuridad / escenas en negro",
|
||||
"pyrophobia": "Fuego / escenas de incendio",
|
||||
"pediophobia": "Muñecas / maniquíes",
|
||||
"hemophobia": "Sangre",
|
||||
"anxiety_inducing": "Escenas que pueden causar ansiedad",
|
||||
"depression_themes": "Temática de depresión",
|
||||
"eating_disorders": "Trastornos alimentarios",
|
||||
"substance_use": "Uso de sustancias",
|
||||
"self_harm": "Autolesión / suicidio",
|
||||
"ptsd_themes": "Contenido relacionado con TEPT",
|
||||
"needles": "Agujas / inyecciones",
|
||||
"body_fluids": "Fluidos corporales",
|
||||
"pregnancy_horror": "Horror de embarazo / parto",
|
||||
"illness_themes": "Enfermedad / infección",
|
||||
"bipolar_themes": "Trastorno bipolar",
|
||||
"ocd_themes": "Trastorno obsesivo-compulsivo",
|
||||
"panic_attacks": "Escenas de ataques de pánico",
|
||||
"dissociation": "Disociación / desrealización",
|
||||
"blood_gore": "Sangre y violencia gráfica",
|
||||
"mature_18plus": "Contenido adulto 18+",
|
||||
"disturbing_imagery": "Imágenes perturbadoras",
|
||||
"animal_abuse": "Crueldad animal",
|
||||
"child_harm": "Violencia contra menores",
|
||||
"domestic_violence": "Violencia doméstica",
|
||||
"sexual_assault": "Referencias a agresión sexual",
|
||||
"torture": "Escenas de tortura",
|
||||
"religion_themes": "Temas religiosos",
|
||||
"war_violence": "Violencia bélica",
|
||||
"discrimination": "Discriminación",
|
||||
"police_violence": "Violencia policial / estatal",
|
||||
"smoking_drinking": "Fumar / beber alcohol",
|
||||
"detailed_killing": "Asesinatos detallados",
|
||||
"cult_occult": "Sectas / ocultismo",
|
||||
"psychological_manipulation": "Manipulación psicológica",
|
||||
"grief_loss": "Pérdida / duelo",
|
||||
"kidnapping": "Secuestro",
|
||||
"hate_speech": "Discurso de odio",
|
||||
"historical_atrocity": "Atrocidades históricas",
|
||||
"slavery_themes": "Esclavitud",
|
||||
"terrorism_themes": "Terrorismo",
|
||||
"bullying_themes": "Acoso escolar",
|
||||
"blind_playthrough": "Sin spoilers — primera vez",
|
||||
"no_spoilers_chat": "Sin spoilers en el chat",
|
||||
"casual_difficulty": "Casual / dificultad historia",
|
||||
"hardcore_difficulty": "Hardcore / máxima dificultad",
|
||||
"permadeath_run": "Permadeath / Iron Man",
|
||||
"speedrun_attempt": "Intento de speedrun",
|
||||
"completionist_run": "Completista 100%",
|
||||
"learning_mechanics": "Aprendiendo las mecánicas",
|
||||
"eye_horror": "Racimos oculares / imágenes de miradas distorsionadas",
|
||||
"body_horror": "Body horror — deformación corporal y mutación",
|
||||
"face_horror": "Imágenes de rostros deformados o mutilados",
|
||||
"cosmic_horror": "Horror cósmico / lovecraftiano",
|
||||
"extreme_gore": "Gore extremo — desmembramiento y vísceras",
|
||||
"decay_rot": "Putrefacción, larvas, imágenes de cadáveres",
|
||||
"mutilation": "Imágenes de mutilación o amputación",
|
||||
"strobe_effects": "Secuencias de luces estroboscópicas",
|
||||
"screen_shake_intense": "Sacudida intensa de cámara / trauma visual",
|
||||
"coulrophobia": "Payasos — coulrofobia",
|
||||
"ablutophobia": "Ahogamiento / inmersión prolongada en agua",
|
||||
"taphophobia": "Enterramiento en vida / confinamiento en ataúd o tumba",
|
||||
"paranoia_themes": "Paranoia / temas de vigilancia",
|
||||
"intrusive_thoughts": "Secuencias de pensamientos intrusivos",
|
||||
"medical_horror": "Terror médico / quirúrgico",
|
||||
"human_experimentation": "Experimentación humana",
|
||||
"cannibalism": "Canibalismo — explícito o sugerido",
|
||||
"nuclear_themes": "Guerra nuclear / temas de radiación",
|
||||
"liminal_spaces": "Espacios liminales / vacíos inquietantes",
|
||||
"analog_horror": "Terror analógico / estética VHS distorsionada",
|
||||
"unreality_themes": "Distorsión de la realidad / percepción no confiable",
|
||||
"pursuit_chase": "Persecución sostenida / secuencias de acecho",
|
||||
"entity_horror": "Entidad desconocida / terror tipo SCP",
|
||||
"first_time_playing": "Primera partida — puede pasar por alto mecánicas",
|
||||
"returning_player": "Jugador que regresa — contexto NG+",
|
||||
"mods_used": "Mods de juego activos",
|
||||
"cheats_enabled": "Trucos / comandos de depuración usados",
|
||||
"glitch_exploits": "Uso intencional de glitches / sequence-breaking",
|
||||
"assisted_run": "Con guía — no es partida a ciegas"
|
||||
}
|
||||
},
|
||||
"graphics": {
|
||||
"with": "con",
|
||||
@@ -165,6 +316,50 @@
|
||||
"performance": "Performance",
|
||||
"ultra_performance": "Ultra Performance"
|
||||
},
|
||||
"upscale": {
|
||||
"nvidia": {
|
||||
"none": "",
|
||||
"dlaa": "NVIDIA DLAA",
|
||||
"quality": "NVIDIA DLSS Quality",
|
||||
"balanced": "NVIDIA DLSS Balanced",
|
||||
"performance": "NVIDIA DLSS Performance",
|
||||
"ultra_performance": "NVIDIA DLSS Ultra Performance"
|
||||
},
|
||||
"amd": {
|
||||
"none": "",
|
||||
"native_aa": "AMD FSR Native AA",
|
||||
"quality": "AMD FSR Quality",
|
||||
"balanced": "AMD FSR Balanced",
|
||||
"performance": "AMD FSR Performance",
|
||||
"ultra_performance": "AMD FSR Ultra Performance"
|
||||
},
|
||||
"intel": {
|
||||
"none": "",
|
||||
"native_aa": "Intel XeSS Native AA",
|
||||
"ultra_quality": "Intel XeSS Ultra Quality",
|
||||
"quality": "Intel XeSS Quality",
|
||||
"balanced": "Intel XeSS Balanced",
|
||||
"performance": "Intel XeSS Performance",
|
||||
"ultra_performance": "Intel XeSS Ultra Performance"
|
||||
}
|
||||
},
|
||||
"frameGen": {
|
||||
"nvidia": {
|
||||
"none": "",
|
||||
"x2": "NVIDIA Frame Generation x2",
|
||||
"x3": "NVIDIA Multi Frame Generation x3",
|
||||
"x4": "NVIDIA Multi Frame Generation x4"
|
||||
},
|
||||
"amd": {
|
||||
"none": "",
|
||||
"x2": "AMD Fluid Motion Frames x2",
|
||||
"x3": "AMD Fluid Motion Frames x3"
|
||||
},
|
||||
"intel": {
|
||||
"none": "",
|
||||
"x2": "Intel XeFG x2"
|
||||
}
|
||||
},
|
||||
"artStyleOptions": {
|
||||
"realistic": "Realista",
|
||||
"stylized": "Estilizado",
|
||||
|
||||
+283
-11
@@ -12,28 +12,60 @@
|
||||
"batch": "Lote",
|
||||
"playlist": "Playlist",
|
||||
"logs": "Registros",
|
||||
"about": "Acerca de"
|
||||
"about": "Acerca de",
|
||||
"reportBug": "Reportar bug"
|
||||
},
|
||||
"sidebar": {
|
||||
"expand": "Expandir barra lateral",
|
||||
"collapse": "Colapsar barra lateral"
|
||||
},
|
||||
"header": {
|
||||
"donate": "Donar"
|
||||
},
|
||||
"about": {
|
||||
"tagline": "Generador de título, descripción y etiquetas de YouTube para canales de Gameplay sin comentarios.",
|
||||
"repoHeading": "Repositorio y Licencia",
|
||||
"repoLabel": "Repositorio en GitHub",
|
||||
"issuesLabel": "Reportar un Problema",
|
||||
"reportBugLabel": "Reportar un bug",
|
||||
"discussionsLabel": "Discusiones",
|
||||
"authorLabel": "Autor",
|
||||
"licenseLabel": "Licencia",
|
||||
"donateHeading": "Donar / Apoyar",
|
||||
"donateHelp": "Si YTDescGen te ahorra tiempo, considera invitarme un café. Cada aporte ayuda al proyecto.",
|
||||
"donate": {
|
||||
"githubSponsors": "GitHub Sponsors",
|
||||
"kofi": "Ko-fi",
|
||||
"buyMeACoffee": "Buy Me a Coffee",
|
||||
"patreon": "Patreon",
|
||||
"paypal": "PayPal"
|
||||
},
|
||||
"connectHeading": "Contacto",
|
||||
"devEnvHeading": "Entorno de desarrollo",
|
||||
"devEnvHelp": "Hardware y toolchain con los que se compilan la web pública y los binarios de escritorio.",
|
||||
"devEnv": {
|
||||
"os": "SO",
|
||||
"cpu": "CPU",
|
||||
"gpu": "GPU",
|
||||
"ram": "RAM",
|
||||
"ide": "IDE",
|
||||
"toolchains": "Toolchain",
|
||||
"fullSpecLink": "Ver spec completa ↗",
|
||||
"fullDevEnvLink": "Guía de entorno dev ↗"
|
||||
},
|
||||
"thirdPartyHeading": "Créditos de Terceros",
|
||||
"thirdPartyHelp": "YTDescGen se basa en estos proyectos de código abierto. Las versiones se toman automáticamente de package.json.",
|
||||
"socials": {
|
||||
"youtube": "Canal de YouTube",
|
||||
"x": "X / Twitter",
|
||||
"discord": "Servidor de Discord",
|
||||
"kofi": "Ko-fi",
|
||||
"patreon": "Patreon"
|
||||
"bluesky": "Bluesky",
|
||||
"mastodon": "Mastodon",
|
||||
"discord": "Discord — Repo / General",
|
||||
"discordGame": "Discord — Sala de juego",
|
||||
"steam": "Perfil de Steam",
|
||||
"telegramBot": "Bot de Telegram",
|
||||
"telegramUser": "Telegram",
|
||||
"email": "Email"
|
||||
}
|
||||
},
|
||||
"editor": {
|
||||
@@ -96,6 +128,18 @@
|
||||
"chapterNamePlaceholder": "e.g. Chapter 5 Act 2: Where the Stars Fall",
|
||||
"questName": "Quest Name",
|
||||
"questNamePlaceholder": "e.g. A Solitary Constellation",
|
||||
"characterName": "Nombre del personaje",
|
||||
"characterNamePlaceholder": "ej. Furina, Topaz, Acheron",
|
||||
"anniversaryYear": "Año de aniversario",
|
||||
"anniversaryYearOption": "Año {{count}}",
|
||||
"gachaVersion": "Versión del juego",
|
||||
"gachaVersionPlaceholder": "ej. 1.2, 2.4",
|
||||
"gpu_brand": "Marca",
|
||||
"gpu_series": "Serie",
|
||||
"gpu_model": "Modelo",
|
||||
"gpu_custom": "GPU personalizada",
|
||||
"ram_size": "Tamaño RAM",
|
||||
"ram_ddr": "Generación DDR",
|
||||
"vnDonate": "Donate (Vietnam)",
|
||||
"vnDonateHelp": "Only rendered into the description when output language is Vietnamese.",
|
||||
"vnBankName": "Bank name",
|
||||
@@ -147,6 +191,21 @@
|
||||
"x4": "x4",
|
||||
"x6": "x6"
|
||||
},
|
||||
"frameGenMultiplier.nvidia": {
|
||||
"none": "None",
|
||||
"x2": "x2 (Frame Gen)",
|
||||
"x3": "x3 (Multi Frame Gen)",
|
||||
"x4": "x4 (Multi Frame Gen)"
|
||||
},
|
||||
"frameGenMultiplier.amd": {
|
||||
"none": "None",
|
||||
"x2": "x2 (Fluid Motion Frames)",
|
||||
"x3": "x3 (Fluid Motion Frames)"
|
||||
},
|
||||
"frameGenMultiplier.intel": {
|
||||
"none": "None",
|
||||
"x2": "x2 (XeFG)"
|
||||
},
|
||||
"upscaleQuality": "Upscaling Quality",
|
||||
"upscaleQualityOptions": {
|
||||
"none": "None",
|
||||
@@ -156,6 +215,31 @@
|
||||
"performance": "Performance",
|
||||
"ultra_performance": "Ultra Performance"
|
||||
},
|
||||
"upscaleQuality.nvidia": {
|
||||
"none": "None",
|
||||
"dlaa": "DLAA",
|
||||
"quality": "DLSS Quality",
|
||||
"balanced": "DLSS Balanced",
|
||||
"performance": "DLSS Performance",
|
||||
"ultra_performance": "DLSS Ultra Performance"
|
||||
},
|
||||
"upscaleQuality.amd": {
|
||||
"none": "None",
|
||||
"native_aa": "FSR Native AA",
|
||||
"quality": "FSR Quality",
|
||||
"balanced": "FSR Balanced",
|
||||
"performance": "FSR Performance",
|
||||
"ultra_performance": "FSR Ultra Performance"
|
||||
},
|
||||
"upscaleQuality.intel": {
|
||||
"none": "None",
|
||||
"native_aa": "XeSS Native AA",
|
||||
"ultra_quality": "XeSS Ultra Quality",
|
||||
"quality": "XeSS Quality",
|
||||
"balanced": "XeSS Balanced",
|
||||
"performance": "XeSS Performance",
|
||||
"ultra_performance": "XeSS Ultra Performance"
|
||||
},
|
||||
"artStyle": "Art Style",
|
||||
"artStyleOptions": {
|
||||
"none": "— Not set —",
|
||||
@@ -184,9 +268,7 @@
|
||||
"storeLinkType": "Tipo",
|
||||
"rig": "Mi Equipo",
|
||||
"social": "Redes Sociales y Donaciones",
|
||||
"warnings": "Advertencias",
|
||||
"spoilerWarning": "Advertencia de Spoilers",
|
||||
"matureWarning": "Contenido para Adultos (18+)",
|
||||
"warnings": "Advertencias de contenido",
|
||||
"playlistLink": "Enlace de Lista de Reproducción",
|
||||
"playlistLinkPlaceholder": "https://youtube.com/playlist?list=...",
|
||||
"contactEmail": "Correo de Contacto",
|
||||
@@ -223,10 +305,182 @@
|
||||
"difficultyCustomLabel": "Etiqueta de dificultad personalizada",
|
||||
"difficultyCustomPlaceholder": "ej. Lethal, NG+7, Fromsoft default",
|
||||
"contentWarnings": "Advertencias de contenido",
|
||||
"contentWarningSearchPlaceholder": "Buscar advertencias…",
|
||||
"contentWarningEmpty": "No hay advertencias coincidentes",
|
||||
"contentWarningGroups": {
|
||||
"spoilers": "Spoilers",
|
||||
"photosensitive": "Fotosensibilidad / Salud",
|
||||
"phobias": "Fobias",
|
||||
"mental_health": "Salud mental",
|
||||
"sensitive": "Adulto / Sensible",
|
||||
"playstyle": "Notas de juego",
|
||||
"horror_specific": "Horror intenso",
|
||||
"gameplay_disclosure": "Divulgaciones de jugabilidad"
|
||||
},
|
||||
"contentWarningOptions": {
|
||||
"flashing_lights": "⚡ Luces parpadeantes",
|
||||
"loud_noises": "🔊 Ruidos fuertes",
|
||||
"jump_scares": "😱 Sustos repentinos"
|
||||
"spoiler_story": "Spoilers — historia / final",
|
||||
"spoiler_ending": "Spoilers del final",
|
||||
"spoiler_true_ending": "Spoilers del true ending",
|
||||
"spoiler_post_game": "Spoilers post-game / NG+",
|
||||
"spoiler_secret_ending": "Spoilers final secreto",
|
||||
"spoiler_dlc": "Spoilers historia DLC",
|
||||
"flashing_lights": "Luces parpadeantes",
|
||||
"motion_sickness": "Mareo por movimiento",
|
||||
"migraine_trigger": "Posible migraña",
|
||||
"loud_noises": "Sonidos repentinos",
|
||||
"jump_scares": "Sustos repentinos",
|
||||
"acrophobia": "Alturas",
|
||||
"trypophobia": "Patrones agrupados",
|
||||
"thalassophobia": "Aguas profundas",
|
||||
"claustrophobia": "Espacios cerrados",
|
||||
"arachnophobia": "Arañas",
|
||||
"entomophobia": "Insectos",
|
||||
"ophidiophobia": "Serpientes",
|
||||
"cynophobia": "Perros",
|
||||
"nyctophobia": "Oscuridad",
|
||||
"pyrophobia": "Fuego",
|
||||
"pediophobia": "Muñecas",
|
||||
"hemophobia": "Sangre",
|
||||
"anxiety_inducing": "Escenas de ansiedad",
|
||||
"depression_themes": "Temática depresiva",
|
||||
"eating_disorders": "Trastornos alimentarios",
|
||||
"substance_use": "Uso de sustancias",
|
||||
"self_harm": "Autolesión / suicidio",
|
||||
"ptsd_themes": "Contenido TEPT",
|
||||
"needles": "Agujas",
|
||||
"body_fluids": "Fluidos corporales",
|
||||
"pregnancy_horror": "Horror de embarazo",
|
||||
"illness_themes": "Enfermedad",
|
||||
"bipolar_themes": "Trastorno bipolar",
|
||||
"ocd_themes": "TOC",
|
||||
"panic_attacks": "Ataques de pánico",
|
||||
"dissociation": "Disociación",
|
||||
"blood_gore": "Sangre y violencia gráfica",
|
||||
"mature_18plus": "Adulto 18+",
|
||||
"disturbing_imagery": "Imágenes perturbadoras",
|
||||
"animal_abuse": "Crueldad animal",
|
||||
"child_harm": "Violencia contra menores",
|
||||
"domestic_violence": "Violencia doméstica",
|
||||
"sexual_assault": "Agresión sexual",
|
||||
"torture": "Tortura",
|
||||
"religion_themes": "Temas religiosos",
|
||||
"war_violence": "Violencia bélica",
|
||||
"discrimination": "Discriminación",
|
||||
"police_violence": "Violencia policial",
|
||||
"smoking_drinking": "Fumar / beber",
|
||||
"detailed_killing": "Asesinatos detallados",
|
||||
"cult_occult": "Sectas / ocultismo",
|
||||
"psychological_manipulation": "Manipulación psicológica",
|
||||
"grief_loss": "Duelo / pérdida",
|
||||
"kidnapping": "Secuestro",
|
||||
"hate_speech": "Discurso de odio",
|
||||
"historical_atrocity": "Atrocidades históricas",
|
||||
"slavery_themes": "Esclavitud",
|
||||
"terrorism_themes": "Terrorismo",
|
||||
"bullying_themes": "Acoso escolar",
|
||||
"blind_playthrough": "Sin spoilers — primera vez",
|
||||
"no_spoilers_chat": "Sin spoilers en el chat",
|
||||
"casual_difficulty": "Casual / historia",
|
||||
"hardcore_difficulty": "Hardcore / máxima dificultad",
|
||||
"permadeath_run": "Permadeath / Iron Man",
|
||||
"speedrun_attempt": "Intento de speedrun",
|
||||
"completionist_run": "Completista 100%",
|
||||
"learning_mechanics": "Aprendiendo mecánicas",
|
||||
"eye_horror": "Ojos / racimos oculares",
|
||||
"body_horror": "Body horror (deformación)",
|
||||
"face_horror": "Rostros deformados",
|
||||
"cosmic_horror": "Horror cósmico / eldritch",
|
||||
"extreme_gore": "Gore extremo / desmembramiento",
|
||||
"decay_rot": "Putrefacción, larvas",
|
||||
"mutilation": "Mutilación / amputación",
|
||||
"strobe_effects": "Luz estroboscópica",
|
||||
"screen_shake_intense": "Sacudida fuerte",
|
||||
"coulrophobia": "Payasos",
|
||||
"ablutophobia": "Ahogamiento",
|
||||
"taphophobia": "Enterrado vivo",
|
||||
"paranoia_themes": "Paranoia",
|
||||
"intrusive_thoughts": "Pensamientos intrusivos",
|
||||
"medical_horror": "Terror médico",
|
||||
"human_experimentation": "Experimentación humana",
|
||||
"cannibalism": "Canibalismo",
|
||||
"nuclear_themes": "Nuclear / radiación",
|
||||
"liminal_spaces": "Espacios liminales",
|
||||
"analog_horror": "Analógico / VHS",
|
||||
"unreality_themes": "Distorsión realidad",
|
||||
"pursuit_chase": "Persecución",
|
||||
"entity_horror": "Entidad / SCP",
|
||||
"first_time_playing": "Primera partida",
|
||||
"returning_player": "Regreso / NG+",
|
||||
"mods_used": "Mods usados",
|
||||
"cheats_enabled": "Trucos / debug",
|
||||
"glitch_exploits": "Glitches usados",
|
||||
"assisted_run": "Con guía"
|
||||
},
|
||||
"playthroughNotes": {
|
||||
"title": "Notas de la partida",
|
||||
"runTypeLabel": "Tipo de partida",
|
||||
"difficultyLabel": "Dificultad",
|
||||
"endingsLabel": "Finales mostrados",
|
||||
"endingsPlaceholder": "ej. Solo final verdadero, 1 de 3, Todas las rutas 100%",
|
||||
"languagePatchLabel": "Parche de idioma",
|
||||
"languagePatchCustomLabel": "Etiqueta de idioma personalizada",
|
||||
"languagePatchCustomPlaceholder": "ej. Oficial KR, Trad. fan ES v2.1",
|
||||
"gameVersionLabel": "Versión del juego",
|
||||
"gameVersionCustomLabel": "Etiqueta de versión personalizada",
|
||||
"gameVersionCustomPlaceholder": "ej. Demo Steam Next Fest, Build de mecenas Kickstarter",
|
||||
"languagePatchOptions": {
|
||||
"none": "— No establecido —",
|
||||
"official_en": "Inglés oficial",
|
||||
"official_other": "Oficial (otro idioma)",
|
||||
"fan_translation": "Traducción de fans",
|
||||
"mtl": "Traducción automática",
|
||||
"custom": "Personalizada…"
|
||||
},
|
||||
"gameVersionOptions": {
|
||||
"full_release": "— Versión completa —",
|
||||
"demo": "Demo",
|
||||
"early_access": "Acceso anticipado",
|
||||
"beta": "Beta",
|
||||
"prologue": "Prólogo / Teaser",
|
||||
"pre_release": "Pre-release",
|
||||
"custom": "Personalizada…"
|
||||
}
|
||||
},
|
||||
"techNotes": "Notas técnicas",
|
||||
"techNoteSearchPlaceholder": "Buscar notas…",
|
||||
"techNoteEmpty": "No hay notas que coincidan",
|
||||
"techNoteGroups": {
|
||||
"audio": "Audio",
|
||||
"video_quality": "Calidad de vídeo",
|
||||
"recording_issues": "Problemas de grabación",
|
||||
"playstyle": "Aclaraciones de estilo",
|
||||
"production": "Producción y créditos"
|
||||
},
|
||||
"techNoteOptions": {
|
||||
"copyright_muted_sections": "Secciones silenciadas (copyright)",
|
||||
"volume_reduced_copyright": "Volumen reducido (copyright)",
|
||||
"music_replaced_copyright": "Música reemplazada (copyright)",
|
||||
"cutscene_audio_muted_only": "Solo cinemáticas silenciadas",
|
||||
"original_audio_kept": "Audio original (riesgo de reclamo)",
|
||||
"low_resolution_hardware": "Baja resolución (hardware)",
|
||||
"low_graphics_performance": "Gráficos reducidos (rendimiento)",
|
||||
"fps_drops_hardware": "Caídas de FPS (hardware)",
|
||||
"bug_from_game": "Los bugs son del juego",
|
||||
"crash_kept_transparency": "Crash incluido (transparencia)",
|
||||
"loading_cut": "Pantallas de carga eliminadas",
|
||||
"obs_artifacts_possible": "Posibles artefactos de OBS",
|
||||
"not_no_hit_run": "NO es no-hit run",
|
||||
"not_clean_walkthrough": "No es guía pulida",
|
||||
"casual_no_commentary": "Casual, sin comentario",
|
||||
"many_deaths_patience": "Muchas muertes",
|
||||
"slow_exploration": "Exploración lenta",
|
||||
"puzzle_stuck_possible": "Posibles bloqueos en puzles",
|
||||
"grinding_cut": "Grindeo eliminado",
|
||||
"not_speedrun_relaxed": "No es speedrun",
|
||||
"exploration_focus_skip_combat": "Enfocado en exploración (skip combate)",
|
||||
"edited_for_pacing": "Editado para el ritmo",
|
||||
"support_developers": "Apoya a los desarrolladores",
|
||||
"online_connectivity_issues": "Problemas de conexión online"
|
||||
},
|
||||
"videoSettings": "Ajustes de Video",
|
||||
"quickPreview": "Vista Previa Rápida",
|
||||
@@ -236,6 +490,14 @@
|
||||
"clearDraftConfirm": "¿Estás seguro de que quieres borrar todos los datos del formulario?",
|
||||
"genreSearchPlaceholder": "Buscar géneros",
|
||||
"genreSearchNoResults": "No se encontraron géneros",
|
||||
"validation": {
|
||||
"gpuMissingSeries": "Selecciona la serie del GPU.",
|
||||
"gpuMissingModel": "Selecciona el modelo del GPU.",
|
||||
"gpuCustomEmpty": "Introduce el nombre del GPU o elige uno del catálogo.",
|
||||
"ramMissingDdr": "Selecciona la generación DDR.",
|
||||
"ramMissingSize": "Selecciona la cantidad de RAM.",
|
||||
"ramCustomEmpty": "Introduce la cantidad de RAM (GB)."
|
||||
},
|
||||
"genreGroups": {
|
||||
"rpg": "Todos los RPG",
|
||||
"shooter": "Todos los Shooter",
|
||||
@@ -272,6 +534,11 @@
|
||||
"default": "Predeterminado",
|
||||
"typeFirst": "Tipo Primero",
|
||||
"qualityFirst": "Calidad Primero"
|
||||
},
|
||||
"copy": {
|
||||
"overLimit": "{{field}} demasiado largo: {{count}}/{{limit}} caracteres. Recórtalo antes de copiar.",
|
||||
"fieldGeneric": "Texto",
|
||||
"failed": "Error al copiar"
|
||||
}
|
||||
},
|
||||
"common": {
|
||||
@@ -405,7 +672,10 @@
|
||||
"deleteConfirm": "¿Estás seguro de que quieres eliminar este perfil?",
|
||||
"emptyState": "Aún no hay perfiles. Crea uno para guardar la información de tu canal.",
|
||||
"exportProfiles": "Exportar Perfiles",
|
||||
"importProfiles": "Importar Perfiles"
|
||||
"importProfiles": "Importar Perfiles",
|
||||
"thirdPartyAdText": "Texto publicitario de terceros",
|
||||
"thirdPartyAdTextPlaceholder": "ej. Usa el código SAVE10 en GameStore.com — 10% de descuento\nPatrocinado por ChairCo — enlace en la descripción",
|
||||
"thirdPartyAdTextHelp": "Texto opcional de patrocinador / socio / afiliado. Se muestra cuando 'Anuncios de terceros' está activado en Ajustes."
|
||||
},
|
||||
"templates": {
|
||||
"title": "Plantillas",
|
||||
@@ -462,6 +732,8 @@
|
||||
"showCopyright": "Agregar línea de © copyright a la descripción",
|
||||
"showUsagePolicy": "Agregar bloque de política de uso a la descripción",
|
||||
"showSponsorCredit": "Mostrar línea de agradecimiento al patrocinador (clave) en la descripción",
|
||||
"showThirdPartyAds": "Mostrar bloque de anuncios de terceros en la descripción",
|
||||
"thirdPartyAdsHint": "Configura el texto publicitario en el perfil del canal (Perfiles → Editar).",
|
||||
"titleFormatTitle": "Formato del título",
|
||||
"descriptionSettingsTitle": "Descripción",
|
||||
"badgePosition": "Posición de la insignia de calidad",
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
"companion_quest": "{{gameName}} — Companion Quest: {{questName}}",
|
||||
"bond_quest": "{{gameName}} — Bond Quest: {{questName}}",
|
||||
"event": "{{gameName}} — Event: {{questName}}",
|
||||
"anniversary": "{{gameName}} — {{chapterName}} Anniversary{{partSuffix}}",
|
||||
"anniversary": "{{gameName}} — {{anniversaryYear}}周年記念{{partSuffix}}",
|
||||
"crossover": "{{gameName}} — Crossover: {{questName}}",
|
||||
"dating_event": "{{gameName}} — Dating Event: {{questName}}",
|
||||
"tutorial_quest": "{{gameName}} — Tutorial: {{questName}}",
|
||||
@@ -47,7 +47,7 @@
|
||||
"endgame": "{{gameName}} — {{chapterName}}{{partSuffix}}",
|
||||
"coop": "{{gameName}} — Co-op: {{questName}}",
|
||||
"daily_commission": "{{gameName}} — Daily Commissions{{partSuffix}}",
|
||||
"showcase": "{{gameName}} — Showcase: {{questName}}"
|
||||
"showcase": "{{gameName}} — キャラクターショーケース:{{characterName}}"
|
||||
},
|
||||
"gachaPartSuffix": {
|
||||
"part": " - Part {{n}}",
|
||||
@@ -83,7 +83,7 @@
|
||||
"gacha_quest_companion_quest": "Companion Quest \"{{questName}}\" from {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_bond_quest": "Bond Quest \"{{questName}}\" from {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_event": "Limited-time Event \"{{questName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_anniversary": "{{chapterName}} Anniversary celebration in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_anniversary": "{{gameName}}{{versionLabel}}の{{anniversaryYear}}周年を{{channelName}}でお祝いします。",
|
||||
"gacha_quest_crossover": "Crossover Event \"{{questName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_dating_event": "Dating Event \"{{questName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_tutorial_quest": "Tutorial \"{{questName}}\" from {{gameName}} on {{channelName}}.",
|
||||
@@ -92,7 +92,8 @@
|
||||
"gacha_quest_endgame": "Endgame mode \"{{chapterName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_coop": "Co-op session \"{{questName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_daily_commission": "Daily Commissions in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_showcase": "Showcase \"{{questName}}\" from {{gameName}} on {{channelName}}."
|
||||
"gacha_quest_showcase": "{{gameName}}{{versionLabel}}の{{characterName}}のスキル・外見・詳細を{{channelName}}で紹介します。",
|
||||
"versionInline": "バージョン{{v}}"
|
||||
},
|
||||
"noCommentaryLine": "実況なし — 純粋なゲームプレイをお楽しみください。",
|
||||
"storeLinkSuffix": {
|
||||
@@ -107,9 +108,8 @@
|
||||
"rig": "💻 PC構成",
|
||||
"modList": "🧩 MODリスト",
|
||||
"vnDonate": "🏦 BANK TRANSFER / E-WALLET (Vietnam)",
|
||||
"spoilerWarning": "⚠️ ネタバレ注意:この動画にはネタバレが含まれている可能性があります。自己責任でご視聴ください!",
|
||||
"matureWarning": "🔞 成人向けコンテンツ (18+):暴力 / 強い言葉 / グラフィックコンテンツを含みます。",
|
||||
"sponsorCredit": "🎁 本作の {{platform}} キーをご提供いただいた {{sponsor}} 様、ありがとうございます。",
|
||||
"thirdPartyAds": "🤝 スポンサー & パートナー",
|
||||
"music": "🎵 音楽・サウンド",
|
||||
"donate": "☕ チャンネルを応援",
|
||||
"social": "🔗 フォローする",
|
||||
@@ -118,10 +118,7 @@
|
||||
"cta": "👍 いいね | 🔔 チャンネル登録 | ↗️ シェア",
|
||||
"copyright": "© {{year}} {{channelName}}. All rights reserved.",
|
||||
"usagePolicyHeader": "📋 動画利用ポリシー",
|
||||
"usagePolicy": "• 元動画のリンクとチャンネル名を必ずクレジットしてください(最低でも説明欄に)。\n• 動画全体または大部分の再アップロードは禁止です。\n• 明示的な許可なしに収益化しないでください。\n• 元の内容や制作者を歪曲するような編集は禁止です。\n• クレジットを明記すれば、コンピレーション、レビュー、解説、リアクション動画はOKです。\n不明な点があれば、説明欄のソーシャルアカウントまたはメールでご連絡ください。",
|
||||
"playthrough": "🎯 プレイスタイル: {{value}}",
|
||||
"difficulty": "🎮 難易度",
|
||||
"contentWarnings": "⚠️ コンテンツ警告"
|
||||
"usagePolicy": "• 元動画のリンクとチャンネル名を必ずクレジットしてください(最低でも説明欄に)。\n• 動画全体または大部分の再アップロードは禁止です。\n• 明示的な許可なしに収益化しないでください。\n• 元の内容や制作者を歪曲するような編集は禁止です。\n• クレジットを明記すれば、コンピレーション、レビュー、解説、リアクション動画はOKです。\n不明な点があれば、説明欄のソーシャルアカウントまたはメールでご連絡ください。"
|
||||
},
|
||||
"playthrough": {
|
||||
"blind": "初見プレイ",
|
||||
@@ -135,10 +132,164 @@
|
||||
"hard": "ハード",
|
||||
"nightmare": "ナイトメア / 最難関"
|
||||
},
|
||||
"playthroughNotes": {
|
||||
"header": "▸ 🎮 プレイ情報",
|
||||
"intro": "本プレイの設定、バージョン、進め方の情報。",
|
||||
"labels": {
|
||||
"runType": "プレイ種別",
|
||||
"difficulty": "難易度",
|
||||
"endings": "公開エンディング",
|
||||
"languagePatch": "言語パッチ",
|
||||
"gameVersion": "ゲームバージョン"
|
||||
},
|
||||
"languagePatchOptions": {
|
||||
"official_en": "公式英語版",
|
||||
"official_other": "公式版(他言語)",
|
||||
"fan_translation": "ファン翻訳",
|
||||
"mtl": "機械翻訳",
|
||||
"custom": "カスタム"
|
||||
},
|
||||
"gameVersionOptions": {
|
||||
"demo": "体験版",
|
||||
"early_access": "アーリーアクセス",
|
||||
"beta": "ベータ版",
|
||||
"prologue": "プロローグ / ティザー",
|
||||
"pre_release": "プレリリース",
|
||||
"custom": "カスタム"
|
||||
}
|
||||
},
|
||||
"techNotes": {
|
||||
"header": "▸ 🛠 技術メモ",
|
||||
"intro": "制作およびプレイスタイルに関する透明性メモ。",
|
||||
"items": {
|
||||
"copyright_muted_sections": "YouTube著作権により一部音声をミュート",
|
||||
"volume_reduced_copyright": "著作権の都合で一部音量を下げています",
|
||||
"music_replaced_copyright": "著作権回避のためBGMを差し替え",
|
||||
"cutscene_audio_muted_only": "ムービーのみミュート — ゲーム音声はそのまま",
|
||||
"original_audio_kept": "原音そのまま — クレーム発生のリスクを承知",
|
||||
"low_resolution_hardware": "ハードウェア性能の都合で低解像度収録",
|
||||
"low_graphics_performance": "パフォーマンスのためグラフィック設定を低下",
|
||||
"fps_drops_hardware": "FPS低下 — ハード起因(左上にFPS表示)",
|
||||
"bug_from_game": "バグ/グリッチはゲーム側のもの、収録環境ではありません",
|
||||
"crash_kept_transparency": "透明性のためクラッシュ場面もそのまま掲載",
|
||||
"loading_cut": "ロード画面はカット済み",
|
||||
"obs_artifacts_possible": "OBS収録由来のアーティファクトの可能性あり",
|
||||
"not_no_hit_run": "ノーヒットランではありません — クリーンプレイ目的の方は注意",
|
||||
"not_clean_walkthrough": "丁寧な攻略ではなく、自然なプレイ重視",
|
||||
"casual_no_commentary": "気楽なプレイ、解説なし",
|
||||
"many_deaths_patience": "死亡シーン多め — 視聴に忍耐が必要かも",
|
||||
"slow_exploration": "戻り道多め — じっくり探索ペース",
|
||||
"puzzle_stuck_possible": "パズルで詰まる場面あり",
|
||||
"grinding_cut": "周回/繰り返しパートはカット",
|
||||
"not_speedrun_relaxed": "スピードランではなく、ゆったりプレイ",
|
||||
"exploration_focus_skip_combat": "探索重視 — 戦闘はスキップする場合あり",
|
||||
"edited_for_pacing": "テンポ調整の編集あり — 実時間ではありません",
|
||||
"support_developers": "原曲使用 — 開発者への応援をよろしくお願いします",
|
||||
"online_connectivity_issues": "オンラインゲーム — 接続不調の可能性"
|
||||
}
|
||||
},
|
||||
"contentWarnings": {
|
||||
"flashing_lights": "⚡ 光の点滅 / ストロボ効果",
|
||||
"loud_noises": "🔊 大音量 / 突発的な音量",
|
||||
"jump_scares": "😱 ジャンプスケア"
|
||||
"header": "▸ ⚠️ コンテンツ警告",
|
||||
"intro": "本動画には以下の内容が含まれます。視聴の際はご注意ください。",
|
||||
"items": {
|
||||
"spoiler_story": "ストーリー / エンディングのネタバレ",
|
||||
"spoiler_ending": "エンディングのネタバレ",
|
||||
"spoiler_true_ending": "True エンディングのネタバレ",
|
||||
"spoiler_post_game": "ポストゲーム / NG+ のネタバレ",
|
||||
"spoiler_secret_ending": "隠しエンディングのネタバレ",
|
||||
"spoiler_dlc": "DLCストーリーのネタバレ",
|
||||
"flashing_lights": "光の点滅 — 光感受性のある方はご注意",
|
||||
"motion_sickness": "3D酔い — カメラ / FPSの激しい動き",
|
||||
"migraine_trigger": "片頭痛を誘発する可能性",
|
||||
"loud_noises": "大音量 / 突発的な音",
|
||||
"jump_scares": "ジャンプスケア",
|
||||
"acrophobia": "高所",
|
||||
"trypophobia": "集合体",
|
||||
"thalassophobia": "深海",
|
||||
"claustrophobia": "閉所",
|
||||
"arachnophobia": "クモ",
|
||||
"entomophobia": "昆虫",
|
||||
"ophidiophobia": "ヘビ",
|
||||
"cynophobia": "犬",
|
||||
"nyctophobia": "暗闇 / 漆黒のシーン",
|
||||
"pyrophobia": "炎 / 火災シーン",
|
||||
"pediophobia": "人形 / マネキン",
|
||||
"hemophobia": "血液",
|
||||
"anxiety_inducing": "不安を誘発するシーン",
|
||||
"depression_themes": "うつ病をテーマとする内容",
|
||||
"eating_disorders": "摂食障害",
|
||||
"substance_use": "薬物・依存物質",
|
||||
"self_harm": "自傷 / 自殺をテーマとする内容",
|
||||
"ptsd_themes": "PTSD関連の内容",
|
||||
"needles": "注射針の描写",
|
||||
"body_fluids": "体液の描写",
|
||||
"pregnancy_horror": "妊娠 / 出産ホラー",
|
||||
"illness_themes": "病気 / 感染をテーマとする内容",
|
||||
"bipolar_themes": "双極性障害をテーマとする内容",
|
||||
"ocd_themes": "強迫性障害をテーマとする内容",
|
||||
"panic_attacks": "パニック発作のシーン",
|
||||
"dissociation": "解離 / 現実感喪失をテーマとする内容",
|
||||
"blood_gore": "流血・グロ表現",
|
||||
"mature_18plus": "成人向け 18+",
|
||||
"disturbing_imagery": "不快な映像",
|
||||
"animal_abuse": "動物虐待の描写",
|
||||
"child_harm": "未成年への暴力",
|
||||
"domestic_violence": "家庭内暴力",
|
||||
"sexual_assault": "性的暴行への言及",
|
||||
"torture": "拷問シーン",
|
||||
"religion_themes": "宗教をテーマとする内容",
|
||||
"war_violence": "戦争による暴力",
|
||||
"discrimination": "差別をテーマとする内容",
|
||||
"police_violence": "公権力 / 警察暴力",
|
||||
"smoking_drinking": "喫煙 / 飲酒",
|
||||
"detailed_killing": "殺人の詳細描写",
|
||||
"cult_occult": "カルト / オカルト",
|
||||
"psychological_manipulation": "心理的操作",
|
||||
"grief_loss": "喪失 / 悲嘆",
|
||||
"kidnapping": "誘拐",
|
||||
"hate_speech": "ヘイトスピーチをテーマとする内容",
|
||||
"historical_atrocity": "歴史的残虐行為",
|
||||
"slavery_themes": "奴隷制をテーマとする内容",
|
||||
"terrorism_themes": "テロをテーマとする内容",
|
||||
"bullying_themes": "いじめをテーマとする内容",
|
||||
"blind_playthrough": "ブラインドプレイ — 初見プレイ",
|
||||
"no_spoilers_chat": "チャットでネタバレはお控えください",
|
||||
"casual_difficulty": "カジュアル / ストーリー難度でプレイ",
|
||||
"hardcore_difficulty": "ハードコア / 最高難度でプレイ",
|
||||
"permadeath_run": "パーマデス / アイアンマン縛り",
|
||||
"speedrun_attempt": "RTAチャレンジ",
|
||||
"completionist_run": "100% コンプリート",
|
||||
"learning_mechanics": "操作 / システム学習中",
|
||||
"eye_horror": "眼球の集合体・歪んだ視線の描写",
|
||||
"body_horror": "ボディホラー — 肉体変形・突然変異",
|
||||
"face_horror": "顔の歪み・損傷描写",
|
||||
"cosmic_horror": "コズミック / クトゥルフ系ホラー",
|
||||
"extreme_gore": "過激なゴア — 解体と内臓描写",
|
||||
"decay_rot": "腐敗・腐肉・蛆・死体描写",
|
||||
"mutilation": "切断・損傷の描写",
|
||||
"strobe_effects": "ストロボ照明 — 持続的な点滅",
|
||||
"screen_shake_intense": "激しい画面振動 / カメラ酔いを誘発",
|
||||
"coulrophobia": "ピエロ — クラウン恐怖症",
|
||||
"ablutophobia": "溺水 / 長時間の水没シーン",
|
||||
"taphophobia": "生き埋め / 棺・墓所への閉じ込め",
|
||||
"paranoia_themes": "パラノイア / 監視テーマ",
|
||||
"intrusive_thoughts": "侵入思考の描写",
|
||||
"medical_horror": "医療・手術ホラー",
|
||||
"human_experimentation": "人体実験テーマ",
|
||||
"cannibalism": "カニバリズム — 描写または示唆",
|
||||
"nuclear_themes": "核戦争 / 放射能テーマ",
|
||||
"liminal_spaces": "リミナルスペース / 不気味な空虚",
|
||||
"analog_horror": "アナログホラー / VHS歪み演出",
|
||||
"unreality_themes": "現実の歪み / 信頼できない知覚",
|
||||
"pursuit_chase": "持続的な追跡 / ストーカーシーン",
|
||||
"entity_horror": "未知の存在 / SCP系ホラー",
|
||||
"first_time_playing": "初回プレイ — 仕様を見逃す可能性あり",
|
||||
"returning_player": "再プレイ — NG+の文脈",
|
||||
"mods_used": "Mod使用あり",
|
||||
"cheats_enabled": "チート・デバッグコマンド使用",
|
||||
"glitch_exploits": "意図的なバグ利用 / 順序破壊",
|
||||
"assisted_run": "攻略参照あり — ブラインドではない"
|
||||
}
|
||||
},
|
||||
"graphics": {
|
||||
"with": "+",
|
||||
@@ -165,6 +316,50 @@
|
||||
"performance": "Performance",
|
||||
"ultra_performance": "Ultra Performance"
|
||||
},
|
||||
"upscale": {
|
||||
"nvidia": {
|
||||
"none": "",
|
||||
"dlaa": "NVIDIA DLAA",
|
||||
"quality": "NVIDIA DLSS Quality",
|
||||
"balanced": "NVIDIA DLSS Balanced",
|
||||
"performance": "NVIDIA DLSS Performance",
|
||||
"ultra_performance": "NVIDIA DLSS Ultra Performance"
|
||||
},
|
||||
"amd": {
|
||||
"none": "",
|
||||
"native_aa": "AMD FSR Native AA",
|
||||
"quality": "AMD FSR Quality",
|
||||
"balanced": "AMD FSR Balanced",
|
||||
"performance": "AMD FSR Performance",
|
||||
"ultra_performance": "AMD FSR Ultra Performance"
|
||||
},
|
||||
"intel": {
|
||||
"none": "",
|
||||
"native_aa": "Intel XeSS Native AA",
|
||||
"ultra_quality": "Intel XeSS Ultra Quality",
|
||||
"quality": "Intel XeSS Quality",
|
||||
"balanced": "Intel XeSS Balanced",
|
||||
"performance": "Intel XeSS Performance",
|
||||
"ultra_performance": "Intel XeSS Ultra Performance"
|
||||
}
|
||||
},
|
||||
"frameGen": {
|
||||
"nvidia": {
|
||||
"none": "",
|
||||
"x2": "NVIDIA Frame Generation x2",
|
||||
"x3": "NVIDIA Multi Frame Generation x3",
|
||||
"x4": "NVIDIA Multi Frame Generation x4"
|
||||
},
|
||||
"amd": {
|
||||
"none": "",
|
||||
"x2": "AMD Fluid Motion Frames x2",
|
||||
"x3": "AMD Fluid Motion Frames x3"
|
||||
},
|
||||
"intel": {
|
||||
"none": "",
|
||||
"x2": "Intel XeFG x2"
|
||||
}
|
||||
},
|
||||
"artStyleOptions": {
|
||||
"realistic": "リアル",
|
||||
"stylized": "スタイライズド",
|
||||
|
||||
+283
-11
@@ -12,28 +12,60 @@
|
||||
"batch": "一括",
|
||||
"playlist": "プレイリスト",
|
||||
"logs": "ログ",
|
||||
"about": "情報"
|
||||
"about": "情報",
|
||||
"reportBug": "バグ報告"
|
||||
},
|
||||
"sidebar": {
|
||||
"expand": "サイドバーを展開",
|
||||
"collapse": "サイドバーを折りたたむ"
|
||||
},
|
||||
"header": {
|
||||
"donate": "寄付"
|
||||
},
|
||||
"about": {
|
||||
"tagline": "ゲームプレイ実況なしチャンネル向けのタイトル・説明文・タグ生成ツール。",
|
||||
"repoHeading": "リポジトリ & ライセンス",
|
||||
"repoLabel": "GitHub リポジトリ",
|
||||
"issuesLabel": "問題を報告",
|
||||
"reportBugLabel": "バグを報告",
|
||||
"discussionsLabel": "ディスカッション",
|
||||
"authorLabel": "作者",
|
||||
"licenseLabel": "ライセンス",
|
||||
"donateHeading": "寄付 / サポート",
|
||||
"donateHelp": "YTDescGenが時短に役立ったら、コーヒー一杯分でも支援していただけると嬉しいです。",
|
||||
"donate": {
|
||||
"githubSponsors": "GitHub Sponsors",
|
||||
"kofi": "Ko-fi",
|
||||
"buyMeACoffee": "Buy Me a Coffee",
|
||||
"patreon": "Patreon",
|
||||
"paypal": "PayPal"
|
||||
},
|
||||
"connectHeading": "リンク",
|
||||
"devEnvHeading": "開発環境",
|
||||
"devEnvHelp": "パブリックなWebビルドとデスクトップバイナリを生成しているハードウェアとツールチェーン。",
|
||||
"devEnv": {
|
||||
"os": "OS",
|
||||
"cpu": "CPU",
|
||||
"gpu": "GPU",
|
||||
"ram": "RAM",
|
||||
"ide": "IDE",
|
||||
"toolchains": "ツールチェーン",
|
||||
"fullSpecLink": "PCスペック詳細 ↗",
|
||||
"fullDevEnvLink": "開発環境ガイド ↗"
|
||||
},
|
||||
"thirdPartyHeading": "サードパーティ クレジット",
|
||||
"thirdPartyHelp": "YTDescGen は以下のオープンソースプロジェクトを利用しています。バージョンは package.json から自動取得しています。",
|
||||
"socials": {
|
||||
"youtube": "YouTube チャンネル",
|
||||
"x": "X / Twitter",
|
||||
"discord": "Discord サーバー",
|
||||
"kofi": "Ko-fi",
|
||||
"patreon": "Patreon"
|
||||
"bluesky": "Bluesky",
|
||||
"mastodon": "Mastodon",
|
||||
"discord": "Discord — リポジトリ / 一般",
|
||||
"discordGame": "Discord — ゲームロビー",
|
||||
"steam": "Steamプロフィール",
|
||||
"telegramBot": "Telegram bot",
|
||||
"telegramUser": "Telegram",
|
||||
"email": "メール"
|
||||
}
|
||||
},
|
||||
"editor": {
|
||||
@@ -96,6 +128,18 @@
|
||||
"chapterNamePlaceholder": "e.g. Chapter 5 Act 2: Where the Stars Fall",
|
||||
"questName": "Quest Name",
|
||||
"questNamePlaceholder": "e.g. A Solitary Constellation",
|
||||
"characterName": "キャラクター名",
|
||||
"characterNamePlaceholder": "例:フリーナ、トパーズ、アチェロン",
|
||||
"anniversaryYear": "周年",
|
||||
"anniversaryYearOption": "{{count}}周年",
|
||||
"gachaVersion": "ゲームバージョン",
|
||||
"gachaVersionPlaceholder": "例:1.2、2.4",
|
||||
"gpu_brand": "メーカー",
|
||||
"gpu_series": "シリーズ",
|
||||
"gpu_model": "モデル",
|
||||
"gpu_custom": "カスタムGPU",
|
||||
"ram_size": "RAM容量",
|
||||
"ram_ddr": "DDR世代",
|
||||
"vnDonate": "Donate (Vietnam)",
|
||||
"vnDonateHelp": "Only rendered into the description when output language is Vietnamese.",
|
||||
"vnBankName": "Bank name",
|
||||
@@ -147,6 +191,21 @@
|
||||
"x4": "x4",
|
||||
"x6": "x6"
|
||||
},
|
||||
"frameGenMultiplier.nvidia": {
|
||||
"none": "None",
|
||||
"x2": "x2 (Frame Gen)",
|
||||
"x3": "x3 (Multi Frame Gen)",
|
||||
"x4": "x4 (Multi Frame Gen)"
|
||||
},
|
||||
"frameGenMultiplier.amd": {
|
||||
"none": "None",
|
||||
"x2": "x2 (Fluid Motion Frames)",
|
||||
"x3": "x3 (Fluid Motion Frames)"
|
||||
},
|
||||
"frameGenMultiplier.intel": {
|
||||
"none": "None",
|
||||
"x2": "x2 (XeFG)"
|
||||
},
|
||||
"upscaleQuality": "Upscaling Quality",
|
||||
"upscaleQualityOptions": {
|
||||
"none": "None",
|
||||
@@ -156,6 +215,31 @@
|
||||
"performance": "Performance",
|
||||
"ultra_performance": "Ultra Performance"
|
||||
},
|
||||
"upscaleQuality.nvidia": {
|
||||
"none": "None",
|
||||
"dlaa": "DLAA",
|
||||
"quality": "DLSS Quality",
|
||||
"balanced": "DLSS Balanced",
|
||||
"performance": "DLSS Performance",
|
||||
"ultra_performance": "DLSS Ultra Performance"
|
||||
},
|
||||
"upscaleQuality.amd": {
|
||||
"none": "None",
|
||||
"native_aa": "FSR Native AA",
|
||||
"quality": "FSR Quality",
|
||||
"balanced": "FSR Balanced",
|
||||
"performance": "FSR Performance",
|
||||
"ultra_performance": "FSR Ultra Performance"
|
||||
},
|
||||
"upscaleQuality.intel": {
|
||||
"none": "None",
|
||||
"native_aa": "XeSS Native AA",
|
||||
"ultra_quality": "XeSS Ultra Quality",
|
||||
"quality": "XeSS Quality",
|
||||
"balanced": "XeSS Balanced",
|
||||
"performance": "XeSS Performance",
|
||||
"ultra_performance": "XeSS Ultra Performance"
|
||||
},
|
||||
"artStyle": "Art Style",
|
||||
"artStyleOptions": {
|
||||
"none": "— Not set —",
|
||||
@@ -184,9 +268,7 @@
|
||||
"storeLinkType": "種別",
|
||||
"rig": "PC構成",
|
||||
"social": "SNS・寄付リンク",
|
||||
"warnings": "警告",
|
||||
"spoilerWarning": "ネタバレ警告",
|
||||
"matureWarning": "成人向けコンテンツ (18+)",
|
||||
"warnings": "コンテンツ警告",
|
||||
"playlistLink": "プレイリストリンク",
|
||||
"playlistLinkPlaceholder": "https://youtube.com/playlist?list=...",
|
||||
"contactEmail": "連絡先メール",
|
||||
@@ -223,10 +305,182 @@
|
||||
"difficultyCustomLabel": "カスタム難易度ラベル",
|
||||
"difficultyCustomPlaceholder": "例: Lethal, NG+7, Fromsoft default",
|
||||
"contentWarnings": "コンテンツ警告",
|
||||
"contentWarningSearchPlaceholder": "警告を検索…",
|
||||
"contentWarningEmpty": "該当する警告はありません",
|
||||
"contentWarningGroups": {
|
||||
"spoilers": "ネタバレ",
|
||||
"photosensitive": "光感受性 / 健康",
|
||||
"phobias": "恐怖症",
|
||||
"mental_health": "メンタルヘルス",
|
||||
"sensitive": "成人向け / センシティブ",
|
||||
"playstyle": "プレイ情報",
|
||||
"horror_specific": "ヘビーホラー",
|
||||
"gameplay_disclosure": "プレイ情報開示"
|
||||
},
|
||||
"contentWarningOptions": {
|
||||
"flashing_lights": "⚡ 光の点滅",
|
||||
"loud_noises": "🔊 大音量",
|
||||
"jump_scares": "😱 ジャンプスケア"
|
||||
"spoiler_story": "ストーリー / エンディングのネタバレ",
|
||||
"spoiler_ending": "エンディングのネタバレ",
|
||||
"spoiler_true_ending": "True エンディングのネタバレ",
|
||||
"spoiler_post_game": "ポストゲーム / NG+ ネタバレ",
|
||||
"spoiler_secret_ending": "隠しエンディングのネタバレ",
|
||||
"spoiler_dlc": "DLCストーリーのネタバレ",
|
||||
"flashing_lights": "光の点滅",
|
||||
"motion_sickness": "3D酔い",
|
||||
"migraine_trigger": "片頭痛トリガー",
|
||||
"loud_noises": "突発的な音",
|
||||
"jump_scares": "ジャンプスケア",
|
||||
"acrophobia": "高所",
|
||||
"trypophobia": "集合体",
|
||||
"thalassophobia": "深海",
|
||||
"claustrophobia": "閉所",
|
||||
"arachnophobia": "クモ",
|
||||
"entomophobia": "昆虫",
|
||||
"ophidiophobia": "ヘビ",
|
||||
"cynophobia": "犬",
|
||||
"nyctophobia": "暗闇",
|
||||
"pyrophobia": "炎",
|
||||
"pediophobia": "人形",
|
||||
"hemophobia": "血",
|
||||
"anxiety_inducing": "不安を誘発",
|
||||
"depression_themes": "うつ病テーマ",
|
||||
"eating_disorders": "摂食障害",
|
||||
"substance_use": "薬物使用",
|
||||
"self_harm": "自傷 / 自殺",
|
||||
"ptsd_themes": "PTSD関連",
|
||||
"needles": "注射針",
|
||||
"body_fluids": "体液",
|
||||
"pregnancy_horror": "妊娠 / 出産ホラー",
|
||||
"illness_themes": "病気 / 感染",
|
||||
"bipolar_themes": "双極性障害",
|
||||
"ocd_themes": "強迫性障害",
|
||||
"panic_attacks": "パニック発作",
|
||||
"dissociation": "解離",
|
||||
"blood_gore": "流血・グロ",
|
||||
"mature_18plus": "成人向け 18+",
|
||||
"disturbing_imagery": "不快な映像",
|
||||
"animal_abuse": "動物虐待",
|
||||
"child_harm": "未成年への暴力",
|
||||
"domestic_violence": "家庭内暴力",
|
||||
"sexual_assault": "性的暴行への言及",
|
||||
"torture": "拷問",
|
||||
"religion_themes": "宗教テーマ",
|
||||
"war_violence": "戦争暴力",
|
||||
"discrimination": "差別",
|
||||
"police_violence": "公権力暴力",
|
||||
"smoking_drinking": "喫煙 / 飲酒",
|
||||
"detailed_killing": "殺人の詳細描写",
|
||||
"cult_occult": "カルト / オカルト",
|
||||
"psychological_manipulation": "心理的操作",
|
||||
"grief_loss": "喪失 / 悲嘆",
|
||||
"kidnapping": "誘拐",
|
||||
"hate_speech": "ヘイトスピーチ",
|
||||
"historical_atrocity": "歴史的残虐行為",
|
||||
"slavery_themes": "奴隷制",
|
||||
"terrorism_themes": "テロリズム",
|
||||
"bullying_themes": "いじめ",
|
||||
"blind_playthrough": "ブラインドプレイ — 初見",
|
||||
"no_spoilers_chat": "チャットでネタバレ禁止",
|
||||
"casual_difficulty": "カジュアル / ストーリー難度",
|
||||
"hardcore_difficulty": "ハードコア / 最高難度",
|
||||
"permadeath_run": "パーマデス / アイアンマン",
|
||||
"speedrun_attempt": "RTAチャレンジ",
|
||||
"completionist_run": "100% コンプ",
|
||||
"learning_mechanics": "操作を覚え中",
|
||||
"eye_horror": "眼球 / 集合した眼",
|
||||
"body_horror": "ボディホラー(肉体変形)",
|
||||
"face_horror": "顔の歪み / 損傷",
|
||||
"cosmic_horror": "コズミックホラー",
|
||||
"extreme_gore": "過激なゴア / 解体",
|
||||
"decay_rot": "腐敗 / 蛆",
|
||||
"mutilation": "切断 / 損傷",
|
||||
"strobe_effects": "ストロボ",
|
||||
"screen_shake_intense": "画面振動・強",
|
||||
"coulrophobia": "ピエロ",
|
||||
"ablutophobia": "溺水",
|
||||
"taphophobia": "生き埋め",
|
||||
"paranoia_themes": "パラノイア",
|
||||
"intrusive_thoughts": "侵入思考",
|
||||
"medical_horror": "医療ホラー",
|
||||
"human_experimentation": "人体実験",
|
||||
"cannibalism": "カニバリズム",
|
||||
"nuclear_themes": "核 / 放射能",
|
||||
"liminal_spaces": "リミナル",
|
||||
"analog_horror": "アナログ / VHS",
|
||||
"unreality_themes": "現実歪み",
|
||||
"pursuit_chase": "追跡",
|
||||
"entity_horror": "未知の存在",
|
||||
"first_time_playing": "初プレイ",
|
||||
"returning_player": "再プレイ / NG+",
|
||||
"mods_used": "Mod使用",
|
||||
"cheats_enabled": "チート使用",
|
||||
"glitch_exploits": "バグ利用",
|
||||
"assisted_run": "攻略参照"
|
||||
},
|
||||
"playthroughNotes": {
|
||||
"title": "プレイ情報",
|
||||
"runTypeLabel": "プレイ種別",
|
||||
"difficultyLabel": "難易度",
|
||||
"endingsLabel": "公開エンディング",
|
||||
"endingsPlaceholder": "例: True エンディングのみ、3つ中1つ、全ルート100%",
|
||||
"languagePatchLabel": "言語パッチ",
|
||||
"languagePatchCustomLabel": "カスタム言語ラベル",
|
||||
"languagePatchCustomPlaceholder": "例: 公式韓国語版、ファン翻訳v2.1",
|
||||
"gameVersionLabel": "ゲームバージョン",
|
||||
"gameVersionCustomLabel": "カスタムバージョンラベル",
|
||||
"gameVersionCustomPlaceholder": "例: Steam Next Fest体験版、Kickstarter支援者ビルド",
|
||||
"languagePatchOptions": {
|
||||
"none": "— 未選択 —",
|
||||
"official_en": "公式英語",
|
||||
"official_other": "公式(他言語)",
|
||||
"fan_translation": "ファン翻訳",
|
||||
"mtl": "機械翻訳",
|
||||
"custom": "カスタム…"
|
||||
},
|
||||
"gameVersionOptions": {
|
||||
"full_release": "— 製品版 —",
|
||||
"demo": "体験版",
|
||||
"early_access": "アーリーアクセス",
|
||||
"beta": "ベータ",
|
||||
"prologue": "プロローグ / ティザー",
|
||||
"pre_release": "プレリリース",
|
||||
"custom": "カスタム…"
|
||||
}
|
||||
},
|
||||
"techNotes": "技術メモ",
|
||||
"techNoteSearchPlaceholder": "メモを検索…",
|
||||
"techNoteEmpty": "該当するメモはありません",
|
||||
"techNoteGroups": {
|
||||
"audio": "音声",
|
||||
"video_quality": "動画品質",
|
||||
"recording_issues": "収録時のトラブル",
|
||||
"playstyle": "プレイスタイル注記",
|
||||
"production": "制作・クレジット"
|
||||
},
|
||||
"techNoteOptions": {
|
||||
"copyright_muted_sections": "一部ミュート(著作権)",
|
||||
"volume_reduced_copyright": "音量低下(著作権)",
|
||||
"music_replaced_copyright": "BGM差し替え(著作権)",
|
||||
"cutscene_audio_muted_only": "ムービーのみミュート",
|
||||
"original_audio_kept": "原音そのまま(クレームリスク)",
|
||||
"low_resolution_hardware": "低解像度(ハード制約)",
|
||||
"low_graphics_performance": "グラフィック低下(性能)",
|
||||
"fps_drops_hardware": "FPS低下(ハード)",
|
||||
"bug_from_game": "バグはゲーム側",
|
||||
"crash_kept_transparency": "クラッシュ含む(透明性)",
|
||||
"loading_cut": "ロード画面カット",
|
||||
"obs_artifacts_possible": "OBS由来のノイズの可能性",
|
||||
"not_no_hit_run": "ノーヒットランではない",
|
||||
"not_clean_walkthrough": "丁寧な攻略ではない",
|
||||
"casual_no_commentary": "気楽プレイ、解説なし",
|
||||
"many_deaths_patience": "死亡多め",
|
||||
"slow_exploration": "じっくり探索",
|
||||
"puzzle_stuck_possible": "パズルで詰まる可能性",
|
||||
"grinding_cut": "周回パートカット",
|
||||
"not_speedrun_relaxed": "スピードランではない",
|
||||
"exploration_focus_skip_combat": "探索重視(戦闘スキップ)",
|
||||
"edited_for_pacing": "テンポ編集あり",
|
||||
"support_developers": "開発者を応援",
|
||||
"online_connectivity_issues": "オンライン接続不調"
|
||||
},
|
||||
"videoSettings": "動画設定",
|
||||
"quickPreview": "クイックプレビュー",
|
||||
@@ -236,6 +490,14 @@
|
||||
"clearDraftConfirm": "フォームデータをすべてクリアしますか?",
|
||||
"genreSearchPlaceholder": "ジャンルを検索",
|
||||
"genreSearchNoResults": "該当するジャンルはありません",
|
||||
"validation": {
|
||||
"gpuMissingSeries": "シリーズを選択してください。",
|
||||
"gpuMissingModel": "モデルを選択してください。",
|
||||
"gpuCustomEmpty": "GPU名を入力するか、カタログから選択してください。",
|
||||
"ramMissingDdr": "DDR世代を選択してください。",
|
||||
"ramMissingSize": "RAM容量を選択してください。",
|
||||
"ramCustomEmpty": "RAM容量(GB)を入力してください。"
|
||||
},
|
||||
"genreGroups": {
|
||||
"rpg": "すべての RPG",
|
||||
"shooter": "すべてのシューター",
|
||||
@@ -272,6 +534,11 @@
|
||||
"default": "デフォルト",
|
||||
"typeFirst": "タイプ優先",
|
||||
"qualityFirst": "画質優先"
|
||||
},
|
||||
"copy": {
|
||||
"overLimit": "{{field}}が長すぎます:{{count}}/{{limit}}文字。コピー前に短縮してください。",
|
||||
"fieldGeneric": "テキスト",
|
||||
"failed": "コピーに失敗しました"
|
||||
}
|
||||
},
|
||||
"common": {
|
||||
@@ -405,7 +672,10 @@
|
||||
"deleteConfirm": "このプロフィールを削除しますか?",
|
||||
"emptyState": "プロフィールがありません。チャンネル情報を保存するために作成してください。",
|
||||
"exportProfiles": "プロフィールをエクスポート",
|
||||
"importProfiles": "プロフィールをインポート"
|
||||
"importProfiles": "プロフィールをインポート",
|
||||
"thirdPartyAdText": "サードパーティ広告コピー",
|
||||
"thirdPartyAdTextPlaceholder": "例: コード SAVE10 で GameStore.com 全タイトル10%オフ\nスポンサー: ChairCo — リンクは説明欄に",
|
||||
"thirdPartyAdTextHelp": "任意のスポンサー / パートナー / アフィリエイト文。設定で「サードパーティ広告」をオンにすると表示されます。"
|
||||
},
|
||||
"templates": {
|
||||
"title": "テンプレート",
|
||||
@@ -462,6 +732,8 @@
|
||||
"showCopyright": "説明欄に © 著作権行を追加",
|
||||
"showUsagePolicy": "説明欄に動画利用ポリシーを追加",
|
||||
"showSponsorCredit": "説明欄にスポンサーへの感謝行を追加 (キー提供)",
|
||||
"showThirdPartyAds": "説明欄にサードパーティ広告ブロックを表示",
|
||||
"thirdPartyAdsHint": "広告コピーはチャンネルプロフィールに設定してください (プロフィール → 編集)。",
|
||||
"titleFormatTitle": "タイトル書式",
|
||||
"descriptionSettingsTitle": "説明欄",
|
||||
"badgePosition": "品質バッジの位置",
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
"companion_quest": "{{gameName}} — Companion Quest: {{questName}}",
|
||||
"bond_quest": "{{gameName}} — Bond Quest: {{questName}}",
|
||||
"event": "{{gameName}} — Event: {{questName}}",
|
||||
"anniversary": "{{gameName}} — {{chapterName}} Anniversary{{partSuffix}}",
|
||||
"anniversary": "{{gameName}} — {{anniversaryYear}}주년 기념{{partSuffix}}",
|
||||
"crossover": "{{gameName}} — Crossover: {{questName}}",
|
||||
"dating_event": "{{gameName}} — Dating Event: {{questName}}",
|
||||
"tutorial_quest": "{{gameName}} — Tutorial: {{questName}}",
|
||||
@@ -47,7 +47,7 @@
|
||||
"endgame": "{{gameName}} — {{chapterName}}{{partSuffix}}",
|
||||
"coop": "{{gameName}} — Co-op: {{questName}}",
|
||||
"daily_commission": "{{gameName}} — Daily Commissions{{partSuffix}}",
|
||||
"showcase": "{{gameName}} — Showcase: {{questName}}"
|
||||
"showcase": "{{gameName}} — 캐릭터 쇼케이스: {{characterName}}"
|
||||
},
|
||||
"gachaPartSuffix": {
|
||||
"part": " - Part {{n}}",
|
||||
@@ -83,7 +83,7 @@
|
||||
"gacha_quest_companion_quest": "Companion Quest \"{{questName}}\" from {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_bond_quest": "Bond Quest \"{{questName}}\" from {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_event": "Limited-time Event \"{{questName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_anniversary": "{{chapterName}} Anniversary celebration in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_anniversary": "{{channelName}}에서 {{gameName}}{{versionLabel}}의 {{anniversaryYear}}주년을 함께 기념합니다.",
|
||||
"gacha_quest_crossover": "Crossover Event \"{{questName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_dating_event": "Dating Event \"{{questName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_tutorial_quest": "Tutorial \"{{questName}}\" from {{gameName}} on {{channelName}}.",
|
||||
@@ -92,7 +92,8 @@
|
||||
"gacha_quest_endgame": "Endgame mode \"{{chapterName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_coop": "Co-op session \"{{questName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_daily_commission": "Daily Commissions in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_showcase": "Showcase \"{{questName}}\" from {{gameName}} on {{channelName}}."
|
||||
"gacha_quest_showcase": "{{channelName}}에서 {{gameName}}{{versionLabel}}의 {{characterName}} 스킬·외형·디테일을 소개합니다.",
|
||||
"versionInline": "버전 {{v}}"
|
||||
},
|
||||
"noCommentaryLine": "무음 플레이 — 순수한 게임플레이를 즐겨보세요.",
|
||||
"storeLinkSuffix": {
|
||||
@@ -107,9 +108,8 @@
|
||||
"rig": "💻 내 장비",
|
||||
"modList": "🧩 모드 목록",
|
||||
"vnDonate": "🏦 BANK TRANSFER / E-WALLET (Vietnam)",
|
||||
"spoilerWarning": "⚠️ 스포일러 경고: 이 영상에는 스포일러가 포함될 수 있습니다. 주의하여 시청하세요!",
|
||||
"matureWarning": "🔞 성인 콘텐츠 (18+): 폭력 / 강한 언어 / 선정적 콘텐츠를 포함합니다.",
|
||||
"sponsorCredit": "🎁 이 게임의 {{platform}} 키를 제공해 주신 {{sponsor}}님께 감사드립니다.",
|
||||
"thirdPartyAds": "🤝 스폰서 & 파트너",
|
||||
"music": "🎵 음악 / 사운드",
|
||||
"donate": "☕ 채널 후원",
|
||||
"social": "🔗 팔로우",
|
||||
@@ -118,10 +118,7 @@
|
||||
"cta": "👍 좋아요 | 🔔 구독 | ↗️ 공유",
|
||||
"copyright": "© {{year}} {{channelName}}. All rights reserved.",
|
||||
"usagePolicyHeader": "📋 영상 사용 정책",
|
||||
"usagePolicy": "• 원본 영상 링크와 채널을 반드시 크레딧해주세요 (최소한 설명란에).\n• 전체 영상 또는 상당 부분을 본인 콘텐츠로 재업로드하지 마세요.\n• 명시적 동의 없이 수익화하지 마세요.\n• 원본 내용이나 제작자를 왜곡하는 방식으로 편집하지 마세요.\n• 컴필레이션, 리뷰, 해설, 리액션 영상은 크레딧만 하면 OK입니다.\n불확실한 경우 설명란의 소셜 계정이나 이메일로 연락주세요.",
|
||||
"playthrough": "🎯 플레이 방식: {{value}}",
|
||||
"difficulty": "🎮 난이도",
|
||||
"contentWarnings": "⚠️ 콘텐츠 경고"
|
||||
"usagePolicy": "• 원본 영상 링크와 채널을 반드시 크레딧해주세요 (최소한 설명란에).\n• 전체 영상 또는 상당 부분을 본인 콘텐츠로 재업로드하지 마세요.\n• 명시적 동의 없이 수익화하지 마세요.\n• 원본 내용이나 제작자를 왜곡하는 방식으로 편집하지 마세요.\n• 컴필레이션, 리뷰, 해설, 리액션 영상은 크레딧만 하면 OK입니다.\n불확실한 경우 설명란의 소셜 계정이나 이메일로 연락주세요."
|
||||
},
|
||||
"playthrough": {
|
||||
"blind": "초회차 플레이 (블라인드)",
|
||||
@@ -135,10 +132,164 @@
|
||||
"hard": "어려움",
|
||||
"nightmare": "악몽 / 최고 난이도"
|
||||
},
|
||||
"playthroughNotes": {
|
||||
"header": "▸ 🎮 플레이 노트",
|
||||
"intro": "이번 플레이의 설정, 버전, 진행 방식에 대한 안내.",
|
||||
"labels": {
|
||||
"runType": "플레이 방식",
|
||||
"difficulty": "난이도",
|
||||
"endings": "공개된 엔딩",
|
||||
"languagePatch": "언어 패치",
|
||||
"gameVersion": "게임 버전"
|
||||
},
|
||||
"languagePatchOptions": {
|
||||
"official_en": "공식 영어판",
|
||||
"official_other": "공식판 (다른 언어)",
|
||||
"fan_translation": "팬 번역",
|
||||
"mtl": "기계 번역",
|
||||
"custom": "사용자 지정"
|
||||
},
|
||||
"gameVersionOptions": {
|
||||
"demo": "데모",
|
||||
"early_access": "얼리 액세스",
|
||||
"beta": "베타",
|
||||
"prologue": "프롤로그 / 티저",
|
||||
"pre_release": "프리릴리스",
|
||||
"custom": "사용자 지정"
|
||||
}
|
||||
},
|
||||
"techNotes": {
|
||||
"header": "▸ 🛠 기술 노트",
|
||||
"intro": "투명성을 위한 제작 및 플레이 스타일 노트.",
|
||||
"items": {
|
||||
"copyright_muted_sections": "YouTube 저작권으로 일부 구간 음소거",
|
||||
"volume_reduced_copyright": "저작권 문제로 일부 구간 볼륨 다운",
|
||||
"music_replaced_copyright": "저작권 회피를 위해 게임 음악 교체",
|
||||
"cutscene_audio_muted_only": "컷씬 오디오만 음소거 — 게임플레이 오디오 유지",
|
||||
"original_audio_kept": "원본 오디오 유지 — 클레임 위험 감수",
|
||||
"low_resolution_hardware": "하드웨어 한계로 낮은 해상도 녹화",
|
||||
"low_graphics_performance": "성능을 위해 그래픽 설정 낮춤",
|
||||
"fps_drops_hardware": "FPS 저하 — 하드웨어 원인 (좌측 상단 FPS 표시)",
|
||||
"bug_from_game": "버그/글리치는 게임 자체의 문제, 녹화 환경이 아님",
|
||||
"crash_kept_transparency": "투명성을 위해 게임 크래시 그대로 유지",
|
||||
"loading_cut": "로딩 화면은 잘라냄",
|
||||
"obs_artifacts_possible": "OBS 녹화 아티팩트 가능성",
|
||||
"not_no_hit_run": "노히트 런 아님 — 깔끔한 플레이를 원하면 건너뛰세요",
|
||||
"not_clean_walkthrough": "정돈된 공략 아님 — 자연스러운 탐험",
|
||||
"casual_no_commentary": "캐주얼 플레이, 해설 없음",
|
||||
"many_deaths_patience": "사망 장면 다수 — 인내심 필요",
|
||||
"slow_exploration": "되돌아가는 구간 다수 — 느린 탐험",
|
||||
"puzzle_stuck_possible": "퍼즐에서 막힐 수 있음",
|
||||
"grinding_cut": "노가다/반복 구간 잘라냄",
|
||||
"not_speedrun_relaxed": "스피드런 아님 — 여유로운 플레이",
|
||||
"exploration_focus_skip_combat": "탐험 중심 — 전투를 건너뛸 수 있음",
|
||||
"edited_for_pacing": "리듬을 위해 편집 — 실시간 아님",
|
||||
"support_developers": "원곡 사용 — 개발자를 응원해 주세요",
|
||||
"online_connectivity_issues": "온라인 게임 — 연결 문제 가능성"
|
||||
}
|
||||
},
|
||||
"contentWarnings": {
|
||||
"flashing_lights": "⚡ 점멸 / 스트로보 효과",
|
||||
"loud_noises": "🔊 큰 소리 / 갑작스러운 볼륨 변화",
|
||||
"jump_scares": "😱 점프 스케어"
|
||||
"header": "▸ ⚠️ 콘텐츠 경고",
|
||||
"intro": "이 영상에는 다음 콘텐츠가 포함되어 있습니다. 시청에 주의해 주세요.",
|
||||
"items": {
|
||||
"spoiler_story": "스토리 / 엔딩 스포일러",
|
||||
"spoiler_ending": "엔딩 스포일러",
|
||||
"spoiler_true_ending": "True 엔딩 스포일러",
|
||||
"spoiler_post_game": "포스트게임 / NG+ 스포일러",
|
||||
"spoiler_secret_ending": "숨겨진 엔딩 스포일러",
|
||||
"spoiler_dlc": "DLC 스토리 스포일러",
|
||||
"flashing_lights": "점멸 효과 — 광과민성 시청자 주의",
|
||||
"motion_sickness": "멀미 — 빠른 카메라 / FPS 움직임",
|
||||
"migraine_trigger": "편두통 유발 가능",
|
||||
"loud_noises": "큰 소리 / 갑작스러운 음량",
|
||||
"jump_scares": "점프 스케어",
|
||||
"acrophobia": "고소 공포",
|
||||
"trypophobia": "환공포",
|
||||
"thalassophobia": "심해 공포",
|
||||
"claustrophobia": "폐쇄 공포",
|
||||
"arachnophobia": "거미 공포",
|
||||
"entomophobia": "곤충 공포",
|
||||
"ophidiophobia": "뱀 공포",
|
||||
"cynophobia": "개 공포",
|
||||
"nyctophobia": "어둠 / 칠흑 같은 장면",
|
||||
"pyrophobia": "불 / 화재 장면",
|
||||
"pediophobia": "인형 / 마네킹",
|
||||
"hemophobia": "혈액 공포",
|
||||
"anxiety_inducing": "불안 유발 장면",
|
||||
"depression_themes": "우울 주제",
|
||||
"eating_disorders": "섭식 장애",
|
||||
"substance_use": "약물 사용",
|
||||
"self_harm": "자해 / 자살 주제",
|
||||
"ptsd_themes": "PTSD 관련 콘텐츠",
|
||||
"needles": "주사기 묘사",
|
||||
"body_fluids": "체액 묘사",
|
||||
"pregnancy_horror": "임신 / 출산 호러",
|
||||
"illness_themes": "질병 / 감염 주제",
|
||||
"bipolar_themes": "양극성 장애 주제",
|
||||
"ocd_themes": "강박장애 주제",
|
||||
"panic_attacks": "공황 발작 장면",
|
||||
"dissociation": "해리 / 현실감 상실 주제",
|
||||
"blood_gore": "유혈 / 그로테스크",
|
||||
"mature_18plus": "성인 18+",
|
||||
"disturbing_imagery": "충격적 이미지",
|
||||
"animal_abuse": "동물 학대",
|
||||
"child_harm": "미성년자 폭력",
|
||||
"domestic_violence": "가정 폭력",
|
||||
"sexual_assault": "성폭력 언급",
|
||||
"torture": "고문 장면",
|
||||
"religion_themes": "종교 주제",
|
||||
"war_violence": "전쟁 폭력",
|
||||
"discrimination": "차별",
|
||||
"police_violence": "공권력 / 경찰 폭력",
|
||||
"smoking_drinking": "흡연 / 음주",
|
||||
"detailed_killing": "상세한 살해 장면",
|
||||
"cult_occult": "사이비 / 오컬트",
|
||||
"psychological_manipulation": "심리적 조종",
|
||||
"grief_loss": "상실 / 슬픔",
|
||||
"kidnapping": "납치",
|
||||
"hate_speech": "혐오 발언 주제",
|
||||
"historical_atrocity": "역사적 잔혹 행위",
|
||||
"slavery_themes": "노예제 주제",
|
||||
"terrorism_themes": "테러리즘 주제",
|
||||
"bullying_themes": "괴롭힘 주제",
|
||||
"blind_playthrough": "블라인드 플레이 — 첫 플레이",
|
||||
"no_spoilers_chat": "채팅 스포일러 금지 요청",
|
||||
"casual_difficulty": "캐주얼 / 스토리 난이도 플레이",
|
||||
"hardcore_difficulty": "하드코어 / 최고 난이도 플레이",
|
||||
"permadeath_run": "영구 사망 / 아이언맨 모드",
|
||||
"speedrun_attempt": "스피드런 시도",
|
||||
"completionist_run": "100% 컴플리션 도전",
|
||||
"learning_mechanics": "조작 / 시스템 학습 중",
|
||||
"eye_horror": "안구 군집·왜곡된 시선 묘사",
|
||||
"body_horror": "신체 호러 — 육체 변형·돌연변이",
|
||||
"face_horror": "일그러지거나 훼손된 얼굴 묘사",
|
||||
"cosmic_horror": "코즈믹 / 크툴루 / 러브크래프트적 호러",
|
||||
"extreme_gore": "극도의 고어 — 사지 절단·내장 묘사",
|
||||
"decay_rot": "부패·구더기·시체 묘사",
|
||||
"mutilation": "절단·손상 묘사",
|
||||
"strobe_effects": "스트로보 조명 — 지속적인 깜빡임",
|
||||
"screen_shake_intense": "심한 화면 흔들림 / 카메라 트라우마",
|
||||
"coulrophobia": "광대 공포증",
|
||||
"ablutophobia": "익사 / 장시간 물에 잠긴 장면",
|
||||
"taphophobia": "생매장 / 관·무덤 갇힘",
|
||||
"paranoia_themes": "편집증 / 감시 테마",
|
||||
"intrusive_thoughts": "침투적 사고 묘사",
|
||||
"medical_horror": "의료·수술 호러",
|
||||
"human_experimentation": "인체 실험 테마",
|
||||
"cannibalism": "식인 행위 — 묘사 또는 암시",
|
||||
"nuclear_themes": "핵전쟁 / 방사능 테마",
|
||||
"liminal_spaces": "리미널 공간 / 불안한 빈 공간",
|
||||
"analog_horror": "아날로그 호러 / VHS 왜곡 연출",
|
||||
"unreality_themes": "현실 왜곡 / 신뢰할 수 없는 인식",
|
||||
"pursuit_chase": "지속적인 추격 / 스토커 시퀀스",
|
||||
"entity_horror": "정체불명 존재 / SCP 계열 호러",
|
||||
"first_time_playing": "첫 플레이 — 메커니즘을 놓칠 수 있음",
|
||||
"returning_player": "재플레이 — NG+ 맥락",
|
||||
"mods_used": "게임 모드 사용",
|
||||
"cheats_enabled": "치트 / 디버그 명령어 사용",
|
||||
"glitch_exploits": "의도적 글리치 사용 / 시퀀스 브레이크",
|
||||
"assisted_run": "공략 참조 — 블라인드 아님"
|
||||
}
|
||||
},
|
||||
"graphics": {
|
||||
"with": "+",
|
||||
@@ -165,6 +316,50 @@
|
||||
"performance": "Performance",
|
||||
"ultra_performance": "Ultra Performance"
|
||||
},
|
||||
"upscale": {
|
||||
"nvidia": {
|
||||
"none": "",
|
||||
"dlaa": "NVIDIA DLAA",
|
||||
"quality": "NVIDIA DLSS Quality",
|
||||
"balanced": "NVIDIA DLSS Balanced",
|
||||
"performance": "NVIDIA DLSS Performance",
|
||||
"ultra_performance": "NVIDIA DLSS Ultra Performance"
|
||||
},
|
||||
"amd": {
|
||||
"none": "",
|
||||
"native_aa": "AMD FSR Native AA",
|
||||
"quality": "AMD FSR Quality",
|
||||
"balanced": "AMD FSR Balanced",
|
||||
"performance": "AMD FSR Performance",
|
||||
"ultra_performance": "AMD FSR Ultra Performance"
|
||||
},
|
||||
"intel": {
|
||||
"none": "",
|
||||
"native_aa": "Intel XeSS Native AA",
|
||||
"ultra_quality": "Intel XeSS Ultra Quality",
|
||||
"quality": "Intel XeSS Quality",
|
||||
"balanced": "Intel XeSS Balanced",
|
||||
"performance": "Intel XeSS Performance",
|
||||
"ultra_performance": "Intel XeSS Ultra Performance"
|
||||
}
|
||||
},
|
||||
"frameGen": {
|
||||
"nvidia": {
|
||||
"none": "",
|
||||
"x2": "NVIDIA Frame Generation x2",
|
||||
"x3": "NVIDIA Multi Frame Generation x3",
|
||||
"x4": "NVIDIA Multi Frame Generation x4"
|
||||
},
|
||||
"amd": {
|
||||
"none": "",
|
||||
"x2": "AMD Fluid Motion Frames x2",
|
||||
"x3": "AMD Fluid Motion Frames x3"
|
||||
},
|
||||
"intel": {
|
||||
"none": "",
|
||||
"x2": "Intel XeFG x2"
|
||||
}
|
||||
},
|
||||
"artStyleOptions": {
|
||||
"realistic": "사실적",
|
||||
"stylized": "양식화",
|
||||
|
||||
+283
-11
@@ -12,28 +12,60 @@
|
||||
"batch": "일괄",
|
||||
"playlist": "플레이리스트",
|
||||
"logs": "로그",
|
||||
"about": "정보"
|
||||
"about": "정보",
|
||||
"reportBug": "버그 신고"
|
||||
},
|
||||
"sidebar": {
|
||||
"expand": "사이드바 펼치기",
|
||||
"collapse": "사이드바 접기"
|
||||
},
|
||||
"header": {
|
||||
"donate": "후원"
|
||||
},
|
||||
"about": {
|
||||
"tagline": "게임플레이 무편집 채널을 위한 YouTube 제목, 설명, 태그 생성기.",
|
||||
"repoHeading": "저장소 및 라이선스",
|
||||
"repoLabel": "GitHub 저장소",
|
||||
"issuesLabel": "문제 보고",
|
||||
"reportBugLabel": "버그 신고",
|
||||
"discussionsLabel": "디스커션",
|
||||
"authorLabel": "저자",
|
||||
"licenseLabel": "라이선스",
|
||||
"donateHeading": "후원 / 지원",
|
||||
"donateHelp": "YTDescGen이 시간을 아껴드렸다면 커피 한 잔으로 응원 부탁드립니다.",
|
||||
"donate": {
|
||||
"githubSponsors": "GitHub Sponsors",
|
||||
"kofi": "Ko-fi",
|
||||
"buyMeACoffee": "Buy Me a Coffee",
|
||||
"patreon": "Patreon",
|
||||
"paypal": "PayPal"
|
||||
},
|
||||
"connectHeading": "연결",
|
||||
"devEnvHeading": "개발 환경",
|
||||
"devEnvHelp": "공개 웹 빌드와 데스크톱 바이너리가 빌드되는 하드웨어 및 툴체인입니다.",
|
||||
"devEnv": {
|
||||
"os": "OS",
|
||||
"cpu": "CPU",
|
||||
"gpu": "GPU",
|
||||
"ram": "RAM",
|
||||
"ide": "IDE",
|
||||
"toolchains": "툴체인",
|
||||
"fullSpecLink": "전체 PC 스펙 보기 ↗",
|
||||
"fullDevEnvLink": "개발 환경 가이드 ↗"
|
||||
},
|
||||
"thirdPartyHeading": "서드파티 크레딧",
|
||||
"thirdPartyHelp": "YTDescGen은 다음 오픈소스 프로젝트를 기반으로 합니다. 버전은 package.json에서 자동으로 가져옵니다.",
|
||||
"socials": {
|
||||
"youtube": "YouTube 채널",
|
||||
"x": "X / Twitter",
|
||||
"discord": "Discord 서버",
|
||||
"kofi": "Ko-fi",
|
||||
"patreon": "Patreon"
|
||||
"bluesky": "Bluesky",
|
||||
"mastodon": "Mastodon",
|
||||
"discord": "Discord — 저장소 / 일반",
|
||||
"discordGame": "Discord — 게임 로비",
|
||||
"steam": "Steam 프로필",
|
||||
"telegramBot": "텔레그램 봇",
|
||||
"telegramUser": "텔레그램",
|
||||
"email": "이메일"
|
||||
}
|
||||
},
|
||||
"editor": {
|
||||
@@ -96,6 +128,18 @@
|
||||
"chapterNamePlaceholder": "e.g. Chapter 5 Act 2: Where the Stars Fall",
|
||||
"questName": "Quest Name",
|
||||
"questNamePlaceholder": "e.g. A Solitary Constellation",
|
||||
"characterName": "캐릭터 이름",
|
||||
"characterNamePlaceholder": "예: 푸리나, 토파즈, 아케론",
|
||||
"anniversaryYear": "주년",
|
||||
"anniversaryYearOption": "{{count}}주년",
|
||||
"gachaVersion": "게임 버전",
|
||||
"gachaVersionPlaceholder": "예: 1.2, 2.4",
|
||||
"gpu_brand": "제조사",
|
||||
"gpu_series": "시리즈",
|
||||
"gpu_model": "모델",
|
||||
"gpu_custom": "사용자 GPU",
|
||||
"ram_size": "RAM 용량",
|
||||
"ram_ddr": "DDR 세대",
|
||||
"vnDonate": "Donate (Vietnam)",
|
||||
"vnDonateHelp": "Only rendered into the description when output language is Vietnamese.",
|
||||
"vnBankName": "Bank name",
|
||||
@@ -147,6 +191,21 @@
|
||||
"x4": "x4",
|
||||
"x6": "x6"
|
||||
},
|
||||
"frameGenMultiplier.nvidia": {
|
||||
"none": "None",
|
||||
"x2": "x2 (Frame Gen)",
|
||||
"x3": "x3 (Multi Frame Gen)",
|
||||
"x4": "x4 (Multi Frame Gen)"
|
||||
},
|
||||
"frameGenMultiplier.amd": {
|
||||
"none": "None",
|
||||
"x2": "x2 (Fluid Motion Frames)",
|
||||
"x3": "x3 (Fluid Motion Frames)"
|
||||
},
|
||||
"frameGenMultiplier.intel": {
|
||||
"none": "None",
|
||||
"x2": "x2 (XeFG)"
|
||||
},
|
||||
"upscaleQuality": "Upscaling Quality",
|
||||
"upscaleQualityOptions": {
|
||||
"none": "None",
|
||||
@@ -156,6 +215,31 @@
|
||||
"performance": "Performance",
|
||||
"ultra_performance": "Ultra Performance"
|
||||
},
|
||||
"upscaleQuality.nvidia": {
|
||||
"none": "None",
|
||||
"dlaa": "DLAA",
|
||||
"quality": "DLSS Quality",
|
||||
"balanced": "DLSS Balanced",
|
||||
"performance": "DLSS Performance",
|
||||
"ultra_performance": "DLSS Ultra Performance"
|
||||
},
|
||||
"upscaleQuality.amd": {
|
||||
"none": "None",
|
||||
"native_aa": "FSR Native AA",
|
||||
"quality": "FSR Quality",
|
||||
"balanced": "FSR Balanced",
|
||||
"performance": "FSR Performance",
|
||||
"ultra_performance": "FSR Ultra Performance"
|
||||
},
|
||||
"upscaleQuality.intel": {
|
||||
"none": "None",
|
||||
"native_aa": "XeSS Native AA",
|
||||
"ultra_quality": "XeSS Ultra Quality",
|
||||
"quality": "XeSS Quality",
|
||||
"balanced": "XeSS Balanced",
|
||||
"performance": "XeSS Performance",
|
||||
"ultra_performance": "XeSS Ultra Performance"
|
||||
},
|
||||
"artStyle": "Art Style",
|
||||
"artStyleOptions": {
|
||||
"none": "— Not set —",
|
||||
@@ -184,9 +268,7 @@
|
||||
"storeLinkType": "유형",
|
||||
"rig": "내 장비",
|
||||
"social": "소셜 및 후원 링크",
|
||||
"warnings": "경고",
|
||||
"spoilerWarning": "스포일러 경고",
|
||||
"matureWarning": "성인 콘텐츠 (18+)",
|
||||
"warnings": "콘텐츠 경고",
|
||||
"playlistLink": "재생목록 링크",
|
||||
"playlistLinkPlaceholder": "https://youtube.com/playlist?list=...",
|
||||
"contactEmail": "문의 이메일",
|
||||
@@ -223,10 +305,182 @@
|
||||
"difficultyCustomLabel": "사용자 지정 난이도 라벨",
|
||||
"difficultyCustomPlaceholder": "예: Lethal, NG+7, Fromsoft default",
|
||||
"contentWarnings": "콘텐츠 경고",
|
||||
"contentWarningSearchPlaceholder": "경고 검색…",
|
||||
"contentWarningEmpty": "일치하는 경고 없음",
|
||||
"contentWarningGroups": {
|
||||
"spoilers": "스포일러",
|
||||
"photosensitive": "광과민 / 건강",
|
||||
"phobias": "공포증",
|
||||
"mental_health": "정신 건강",
|
||||
"sensitive": "성인 / 민감",
|
||||
"playstyle": "플레이 안내",
|
||||
"horror_specific": "중증 호러",
|
||||
"gameplay_disclosure": "플레이 공개"
|
||||
},
|
||||
"contentWarningOptions": {
|
||||
"flashing_lights": "⚡ 점멸 효과",
|
||||
"loud_noises": "🔊 큰 소리",
|
||||
"jump_scares": "😱 점프 스케어"
|
||||
"spoiler_story": "스토리 / 엔딩 스포일러",
|
||||
"spoiler_ending": "엔딩 스포일러",
|
||||
"spoiler_true_ending": "True 엔딩 스포일러",
|
||||
"spoiler_post_game": "포스트게임 / NG+ 스포일러",
|
||||
"spoiler_secret_ending": "숨겨진 엔딩 스포일러",
|
||||
"spoiler_dlc": "DLC 스토리 스포일러",
|
||||
"flashing_lights": "점멸 효과",
|
||||
"motion_sickness": "멀미",
|
||||
"migraine_trigger": "편두통 유발",
|
||||
"loud_noises": "갑작스러운 큰 소리",
|
||||
"jump_scares": "점프 스케어",
|
||||
"acrophobia": "고소 공포",
|
||||
"trypophobia": "환공포",
|
||||
"thalassophobia": "심해 공포",
|
||||
"claustrophobia": "폐쇄 공포",
|
||||
"arachnophobia": "거미 공포",
|
||||
"entomophobia": "곤충 공포",
|
||||
"ophidiophobia": "뱀 공포",
|
||||
"cynophobia": "개 공포",
|
||||
"nyctophobia": "어둠 공포",
|
||||
"pyrophobia": "불 공포",
|
||||
"pediophobia": "인형 공포",
|
||||
"hemophobia": "혈액 공포",
|
||||
"anxiety_inducing": "불안 유발",
|
||||
"depression_themes": "우울 주제",
|
||||
"eating_disorders": "섭식 장애",
|
||||
"substance_use": "약물 사용",
|
||||
"self_harm": "자해 / 자살",
|
||||
"ptsd_themes": "PTSD 관련",
|
||||
"needles": "주사기",
|
||||
"body_fluids": "체액",
|
||||
"pregnancy_horror": "임신 호러",
|
||||
"illness_themes": "질병 / 감염",
|
||||
"bipolar_themes": "양극성 장애",
|
||||
"ocd_themes": "강박장애",
|
||||
"panic_attacks": "공황 발작",
|
||||
"dissociation": "해리 증상",
|
||||
"blood_gore": "유혈 / 그로테스크",
|
||||
"mature_18plus": "성인 18+",
|
||||
"disturbing_imagery": "충격적 이미지",
|
||||
"animal_abuse": "동물 학대",
|
||||
"child_harm": "미성년자 폭력",
|
||||
"domestic_violence": "가정 폭력",
|
||||
"sexual_assault": "성폭력 언급",
|
||||
"torture": "고문",
|
||||
"religion_themes": "종교 주제",
|
||||
"war_violence": "전쟁 폭력",
|
||||
"discrimination": "차별",
|
||||
"police_violence": "공권력 폭력",
|
||||
"smoking_drinking": "흡연 / 음주",
|
||||
"detailed_killing": "상세한 살해 장면",
|
||||
"cult_occult": "사이비 / 오컬트",
|
||||
"psychological_manipulation": "심리적 조종",
|
||||
"grief_loss": "상실 / 슬픔",
|
||||
"kidnapping": "납치",
|
||||
"hate_speech": "혐오 발언",
|
||||
"historical_atrocity": "역사적 잔혹 행위",
|
||||
"slavery_themes": "노예제 주제",
|
||||
"terrorism_themes": "테러리즘 주제",
|
||||
"bullying_themes": "괴롭힘 주제",
|
||||
"blind_playthrough": "블라인드 플레이",
|
||||
"no_spoilers_chat": "채팅 스포 금지",
|
||||
"casual_difficulty": "캐주얼 / 스토리 난이도",
|
||||
"hardcore_difficulty": "하드코어 / 최고 난이도",
|
||||
"permadeath_run": "영구 사망 / 아이언맨",
|
||||
"speedrun_attempt": "스피드런 시도",
|
||||
"completionist_run": "100% 컴플리션",
|
||||
"learning_mechanics": "조작 학습 중",
|
||||
"eye_horror": "눈 / 안구 군집",
|
||||
"body_horror": "신체 호러 (육체 변형)",
|
||||
"face_horror": "일그러진 얼굴",
|
||||
"cosmic_horror": "코즈믹 / 크툴루 호러",
|
||||
"extreme_gore": "극도의 고어 / 사지 절단",
|
||||
"decay_rot": "부패 / 구더기",
|
||||
"mutilation": "절단 / 손상",
|
||||
"strobe_effects": "스트로보",
|
||||
"screen_shake_intense": "심한 화면 흔들림",
|
||||
"coulrophobia": "광대",
|
||||
"ablutophobia": "익사",
|
||||
"taphophobia": "생매장",
|
||||
"paranoia_themes": "편집증",
|
||||
"intrusive_thoughts": "침투적 사고",
|
||||
"medical_horror": "의료 호러",
|
||||
"human_experimentation": "인체 실험",
|
||||
"cannibalism": "식인",
|
||||
"nuclear_themes": "핵 / 방사능",
|
||||
"liminal_spaces": "리미널 공간",
|
||||
"analog_horror": "아날로그 / VHS",
|
||||
"unreality_themes": "현실 왜곡",
|
||||
"pursuit_chase": "추격",
|
||||
"entity_horror": "미지 존재 / SCP",
|
||||
"first_time_playing": "첫 플레이",
|
||||
"returning_player": "재플레이 / NG+",
|
||||
"mods_used": "모드 사용",
|
||||
"cheats_enabled": "치트 / 디버그",
|
||||
"glitch_exploits": "글리치 사용",
|
||||
"assisted_run": "공략 참조"
|
||||
},
|
||||
"playthroughNotes": {
|
||||
"title": "플레이 노트",
|
||||
"runTypeLabel": "플레이 방식",
|
||||
"difficultyLabel": "난이도",
|
||||
"endingsLabel": "공개된 엔딩",
|
||||
"endingsPlaceholder": "예: 트루 엔딩만, 3개 중 1개, 모든 루트 100%",
|
||||
"languagePatchLabel": "언어 패치",
|
||||
"languagePatchCustomLabel": "언어 라벨 (사용자 지정)",
|
||||
"languagePatchCustomPlaceholder": "예: 공식 KR, 팬 번역 v2.1",
|
||||
"gameVersionLabel": "게임 버전",
|
||||
"gameVersionCustomLabel": "버전 라벨 (사용자 지정)",
|
||||
"gameVersionCustomPlaceholder": "예: Steam Next Fest 데모, Kickstarter 후원자 빌드",
|
||||
"languagePatchOptions": {
|
||||
"none": "— 미선택 —",
|
||||
"official_en": "공식 영어",
|
||||
"official_other": "공식 (다른 언어)",
|
||||
"fan_translation": "팬 번역",
|
||||
"mtl": "기계 번역",
|
||||
"custom": "사용자 지정…"
|
||||
},
|
||||
"gameVersionOptions": {
|
||||
"full_release": "— 정식판 —",
|
||||
"demo": "데모",
|
||||
"early_access": "얼리 액세스",
|
||||
"beta": "베타",
|
||||
"prologue": "프롤로그 / 티저",
|
||||
"pre_release": "프리릴리스",
|
||||
"custom": "사용자 지정…"
|
||||
}
|
||||
},
|
||||
"techNotes": "기술 노트",
|
||||
"techNoteSearchPlaceholder": "노트 검색…",
|
||||
"techNoteEmpty": "일치하는 노트 없음",
|
||||
"techNoteGroups": {
|
||||
"audio": "오디오",
|
||||
"video_quality": "영상 품질",
|
||||
"recording_issues": "녹화 문제",
|
||||
"playstyle": "플레이 스타일 안내",
|
||||
"production": "제작 및 크레딧"
|
||||
},
|
||||
"techNoteOptions": {
|
||||
"copyright_muted_sections": "일부 음소거 (저작권)",
|
||||
"volume_reduced_copyright": "볼륨 다운 (저작권)",
|
||||
"music_replaced_copyright": "음악 교체 (저작권)",
|
||||
"cutscene_audio_muted_only": "컷씬만 음소거",
|
||||
"original_audio_kept": "원본 오디오 유지 (클레임 위험)",
|
||||
"low_resolution_hardware": "낮은 해상도 (하드웨어)",
|
||||
"low_graphics_performance": "그래픽 낮춤 (성능)",
|
||||
"fps_drops_hardware": "FPS 저하 (하드웨어)",
|
||||
"bug_from_game": "버그는 게임 자체",
|
||||
"crash_kept_transparency": "크래시 유지 (투명성)",
|
||||
"loading_cut": "로딩 화면 잘라냄",
|
||||
"obs_artifacts_possible": "OBS 아티팩트 가능성",
|
||||
"not_no_hit_run": "노히트 런 아님",
|
||||
"not_clean_walkthrough": "정돈된 공략 아님",
|
||||
"casual_no_commentary": "캐주얼, 해설 없음",
|
||||
"many_deaths_patience": "사망 다수",
|
||||
"slow_exploration": "느린 탐험",
|
||||
"puzzle_stuck_possible": "퍼즐에서 막힐 수 있음",
|
||||
"grinding_cut": "노가다 잘라냄",
|
||||
"not_speedrun_relaxed": "스피드런 아님",
|
||||
"exploration_focus_skip_combat": "탐험 중심 (전투 스킵)",
|
||||
"edited_for_pacing": "리듬 위해 편집",
|
||||
"support_developers": "개발자 응원",
|
||||
"online_connectivity_issues": "온라인 연결 문제"
|
||||
},
|
||||
"videoSettings": "영상 설정",
|
||||
"quickPreview": "빠른 미리보기",
|
||||
@@ -236,6 +490,14 @@
|
||||
"clearDraftConfirm": "모든 양식 데이터를 지우시겠습니까?",
|
||||
"genreSearchPlaceholder": "장르 검색",
|
||||
"genreSearchNoResults": "일치하는 장르 없음",
|
||||
"validation": {
|
||||
"gpuMissingSeries": "GPU 시리즈를 선택하세요.",
|
||||
"gpuMissingModel": "GPU 모델을 선택하세요.",
|
||||
"gpuCustomEmpty": "GPU 이름을 입력하거나 목록에서 선택하세요.",
|
||||
"ramMissingDdr": "DDR 세대를 선택하세요.",
|
||||
"ramMissingSize": "RAM 용량을 선택하세요.",
|
||||
"ramCustomEmpty": "RAM 용량(GB)을 입력하세요."
|
||||
},
|
||||
"genreGroups": {
|
||||
"rpg": "모든 RPG",
|
||||
"shooter": "모든 슈터",
|
||||
@@ -272,6 +534,11 @@
|
||||
"default": "기본",
|
||||
"typeFirst": "유형 우선",
|
||||
"qualityFirst": "화질 우선"
|
||||
},
|
||||
"copy": {
|
||||
"overLimit": "{{field}}이(가) 너무 깁니다: {{count}}/{{limit}}자. 복사 전에 줄여주세요.",
|
||||
"fieldGeneric": "텍스트",
|
||||
"failed": "복사 실패"
|
||||
}
|
||||
},
|
||||
"common": {
|
||||
@@ -405,7 +672,10 @@
|
||||
"deleteConfirm": "이 프로필을 삭제하시겠습니까?",
|
||||
"emptyState": "프로필이 없습니다. 채널 정보를 저장하려면 프로필을 만드세요.",
|
||||
"exportProfiles": "프로필 내보내기",
|
||||
"importProfiles": "프로필 가져오기"
|
||||
"importProfiles": "프로필 가져오기",
|
||||
"thirdPartyAdText": "써드파티 광고 문구",
|
||||
"thirdPartyAdTextPlaceholder": "예: 코드 SAVE10 입력 시 GameStore.com 전 타이틀 10% 할인\n스폰서: ChairCo — 링크는 설명란에",
|
||||
"thirdPartyAdTextHelp": "선택적 스폰서 / 파트너 / 제휴 문구. 설정에서 '써드파티 광고'가 활성화되면 표시됩니다."
|
||||
},
|
||||
"templates": {
|
||||
"title": "템플릿",
|
||||
@@ -462,6 +732,8 @@
|
||||
"showCopyright": "설명란에 © 저작권 줄 추가",
|
||||
"showUsagePolicy": "설명란에 영상 사용 정책 블록 추가",
|
||||
"showSponsorCredit": "설명란에 스폰서 감사 문구 추가 (키 제공)",
|
||||
"showThirdPartyAds": "설명란에 써드파티 광고 블록 표시",
|
||||
"thirdPartyAdsHint": "광고 문구는 채널 프로필에 입력하세요 (프로필 → 편집).",
|
||||
"titleFormatTitle": "제목 형식",
|
||||
"descriptionSettingsTitle": "설명",
|
||||
"badgePosition": "품질 배지 위치",
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
"companion_quest": "{{gameName}} — Nhiệm vụ đồng hành: {{questName}}",
|
||||
"bond_quest": "{{gameName}} — Nhiệm vụ thân mật: {{questName}}",
|
||||
"event": "{{gameName}} — Sự kiện: {{questName}}",
|
||||
"anniversary": "{{gameName}} — Kỷ niệm {{chapterName}}{{partSuffix}}",
|
||||
"anniversary": "{{gameName}} — Kỷ niệm năm {{anniversaryYear}}{{partSuffix}}",
|
||||
"crossover": "{{gameName}} — Crossover: {{questName}}",
|
||||
"dating_event": "{{gameName}} — Hẹn hò: {{questName}}",
|
||||
"tutorial_quest": "{{gameName}} — Hướng dẫn: {{questName}}",
|
||||
@@ -47,7 +47,7 @@
|
||||
"endgame": "{{gameName}} — {{chapterName}}{{partSuffix}}",
|
||||
"coop": "{{gameName}} — Co-op: {{questName}}",
|
||||
"daily_commission": "{{gameName}} — Nhiệm vụ hàng ngày{{partSuffix}}",
|
||||
"showcase": "{{gameName}} — Showcase: {{questName}}"
|
||||
"showcase": "{{gameName}} — Showcase nhân vật: {{characterName}}"
|
||||
},
|
||||
"gachaPartSuffix": {
|
||||
"part": " - Phần {{n}}",
|
||||
@@ -83,7 +83,7 @@
|
||||
"gacha_quest_companion_quest": "Nhiệm vụ đồng hành \"{{questName}}\" của {{gameName}} trên kênh {{channelName}}.",
|
||||
"gacha_quest_bond_quest": "Nhiệm vụ thân mật \"{{questName}}\" của {{gameName}} trên kênh {{channelName}}.",
|
||||
"gacha_quest_event": "Sự kiện \"{{questName}}\" trong {{gameName}} trên kênh {{channelName}}.",
|
||||
"gacha_quest_anniversary": "Lễ kỷ niệm {{chapterName}} của {{gameName}} trên kênh {{channelName}}.",
|
||||
"gacha_quest_anniversary": "Lễ kỷ niệm năm thứ {{anniversaryYear}} của {{gameName}}{{versionLabel}} trên kênh {{channelName}}.",
|
||||
"gacha_quest_crossover": "Sự kiện Crossover \"{{questName}}\" trong {{gameName}} trên kênh {{channelName}}.",
|
||||
"gacha_quest_dating_event": "Sự kiện hẹn hò \"{{questName}}\" trong {{gameName}} trên kênh {{channelName}}.",
|
||||
"gacha_quest_tutorial_quest": "Hướng dẫn \"{{questName}}\" của {{gameName}} trên kênh {{channelName}}.",
|
||||
@@ -92,7 +92,8 @@
|
||||
"gacha_quest_endgame": "Chế độ cuối game \"{{chapterName}}\" trong {{gameName}} trên kênh {{channelName}}.",
|
||||
"gacha_quest_coop": "Co-op \"{{questName}}\" trong {{gameName}} trên kênh {{channelName}}.",
|
||||
"gacha_quest_daily_commission": "Nhiệm vụ hàng ngày trong {{gameName}} trên kênh {{channelName}}.",
|
||||
"gacha_quest_showcase": "Showcase \"{{questName}}\" của {{gameName}} trên kênh {{channelName}}."
|
||||
"gacha_quest_showcase": "Video showcase kỹ năng, ngoại hình và chi tiết của {{characterName}} trong {{gameName}}{{versionLabel}} trên kênh {{channelName}}.",
|
||||
"versionInline": "phiên bản {{v}}"
|
||||
},
|
||||
"noCommentaryLine": "Không bình luận — gameplay thuần túy để bạn thưởng thức.",
|
||||
"storeLinkSuffix": {
|
||||
@@ -107,9 +108,8 @@
|
||||
"rig": "💻 CẤU HÌNH MÁY",
|
||||
"modList": "🧩 DANH SÁCH MOD",
|
||||
"vnDonate": "🏦 CHUYỂN KHOẢN / VÍ ĐIỆN TỬ (Việt Nam)",
|
||||
"spoilerWarning": "⚠️ CẢNH BÁO SPOILER: Video này có thể chứa nội dung spoiler. Xem theo ý muốn của bạn!",
|
||||
"matureWarning": "🔞 NỘI DUNG NGƯỜI LỚN (18+): Chứa bạo lực / ngôn ngữ mạnh / nội dung nhạy cảm.",
|
||||
"sponsorCredit": "🎁 Cảm ơn {{sponsor}} đã tặng key {{platform}} của game này.",
|
||||
"thirdPartyAds": "🤝 NHÀ TÀI TRỢ & ĐỐI TÁC",
|
||||
"music": "🎵 NHẠC / ÂM THANH",
|
||||
"donate": "☕ ỦNG HỘ KÊNH",
|
||||
"social": "🔗 THEO DÕI MÌNH",
|
||||
@@ -118,10 +118,7 @@
|
||||
"cta": "👍 Like | 🔔 Đăng ký | ↗️ Chia sẻ",
|
||||
"copyright": "© {{year}} {{channelName}}. Đã đăng ký bản quyền.",
|
||||
"usagePolicyHeader": "📋 ĐIỀU KIỆN DÙNG VIDEO",
|
||||
"usagePolicy": "• Luôn luôn ghi credit kèm link video gốc VÀ kênh (tối thiểu trong phần mô tả).\n• Không re-upload toàn bộ video hoặc phần lớn nội dung dưới dạng content của bạn.\n• Không kiếm tiền từ footage mà chưa có sự đồng ý rõ ràng.\n• Không chỉnh sửa footage theo cách xuyên tạc nội dung gốc hoặc người tạo.\n• Compilation, review, commentary, reaction video đều OK miễn là có credit.\nNếu không chắc, liên hệ qua các kênh social hoặc email ở phần mô tả.",
|
||||
"playthrough": "🎯 Playthrough: {{value}}",
|
||||
"difficulty": "🎮 ĐỘ KHÓ",
|
||||
"contentWarnings": "⚠️ CẢNH BÁO NỘI DUNG"
|
||||
"usagePolicy": "• Luôn luôn ghi credit kèm link video gốc VÀ kênh (tối thiểu trong phần mô tả).\n• Không re-upload toàn bộ video hoặc phần lớn nội dung dưới dạng content của bạn.\n• Không kiếm tiền từ footage mà chưa có sự đồng ý rõ ràng.\n• Không chỉnh sửa footage theo cách xuyên tạc nội dung gốc hoặc người tạo.\n• Compilation, review, commentary, reaction video đều OK miễn là có credit.\nNếu không chắc, liên hệ qua các kênh social hoặc email ở phần mô tả."
|
||||
},
|
||||
"playthrough": {
|
||||
"blind": "Chơi lần đầu (blind run)",
|
||||
@@ -135,10 +132,164 @@
|
||||
"hard": "Khó",
|
||||
"nightmare": "Ác mộng / Cực khó"
|
||||
},
|
||||
"playthroughNotes": {
|
||||
"header": "▸ 🎮 GHI CHÚ LƯỢT CHƠI",
|
||||
"intro": "Thông tin thiết lập, phiên bản và cách chơi của lượt chơi này.",
|
||||
"labels": {
|
||||
"runType": "Kiểu chơi",
|
||||
"difficulty": "Độ khó",
|
||||
"endings": "Endings xuất hiện",
|
||||
"languagePatch": "Bản dịch",
|
||||
"gameVersion": "Phiên bản game"
|
||||
},
|
||||
"languagePatchOptions": {
|
||||
"official_en": "Bản tiếng Anh chính thức",
|
||||
"official_other": "Bản chính thức (ngôn ngữ khác)",
|
||||
"fan_translation": "Bản dịch của fan",
|
||||
"mtl": "Dịch máy",
|
||||
"custom": "Tùy chỉnh"
|
||||
},
|
||||
"gameVersionOptions": {
|
||||
"demo": "Bản demo",
|
||||
"early_access": "Early Access",
|
||||
"beta": "Bản beta",
|
||||
"prologue": "Prologue / Teaser",
|
||||
"pre_release": "Bản pre-release",
|
||||
"custom": "Tùy chỉnh"
|
||||
}
|
||||
},
|
||||
"techNotes": {
|
||||
"header": "▸ 🛠 GHI CHÚ KỸ THUẬT",
|
||||
"intro": "Ghi chú minh bạch về sản xuất và cách chơi.",
|
||||
"items": {
|
||||
"copyright_muted_sections": "Một số đoạn tắt tiếng do bản quyền YouTube",
|
||||
"volume_reduced_copyright": "Một số đoạn giảm volume vì bản quyền",
|
||||
"music_replaced_copyright": "Nhạc game đã được thay để tránh bản quyền",
|
||||
"cutscene_audio_muted_only": "Chỉ tắt tiếng cutscene — audio gameplay giữ nguyên",
|
||||
"original_audio_kept": "Giữ nguyên audio gốc — chấp nhận rủi ro claim",
|
||||
"low_resolution_hardware": "Quay ở độ phân giải thấp do phần cứng",
|
||||
"low_graphics_performance": "Hạ setting đồ họa vì hiệu năng",
|
||||
"fps_drops_hardware": "Có sụt FPS — do phần cứng (xem FPS góc trái video)",
|
||||
"bug_from_game": "Bug / lag là từ game, không phải do quay",
|
||||
"crash_kept_transparency": "Giữ lại đoạn crash để minh bạch",
|
||||
"loading_cut": "Đã cắt loading screen",
|
||||
"obs_artifacts_possible": "Có thể có lỗi do OBS recording",
|
||||
"not_no_hit_run": "Không phải no-hit run — bạn tìm clean play thì bỏ qua",
|
||||
"not_clean_walkthrough": "Không phải walkthrough mượt — chơi khám phá tự nhiên",
|
||||
"casual_no_commentary": "Chơi giải trí, không bình luận",
|
||||
"many_deaths_patience": "Có nhiều lần chết — cần kiên nhẫn xem",
|
||||
"slow_exploration": "Đi lại nhiều — khám phá chậm",
|
||||
"puzzle_stuck_possible": "Có thể bí ở puzzle",
|
||||
"grinding_cut": "Đã cắt phần cày / lặp",
|
||||
"not_speedrun_relaxed": "Không phải speedrun — chơi thư giãn",
|
||||
"exploration_focus_skip_combat": "Tập trung khám phá — có thể skip combat",
|
||||
"edited_for_pacing": "Đã edit cho hợp nhịp — không phải thời gian thực",
|
||||
"support_developers": "Nhạc gốc của game — hãy ủng hộ nhà phát triển",
|
||||
"online_connectivity_issues": "Game online — có thể có vấn đề kết nối"
|
||||
}
|
||||
},
|
||||
"contentWarnings": {
|
||||
"flashing_lights": "⚡ Ánh sáng chớp / hiệu ứng strobe",
|
||||
"loud_noises": "🔊 Âm thanh lớn / tiếng nổ bất ngờ",
|
||||
"jump_scares": "😱 Jump scare"
|
||||
"header": "▸ ⚠️ CẢNH BÁO NỘI DUNG",
|
||||
"intro": "Video này chứa các nội dung sau. Cân nhắc trước khi xem.",
|
||||
"items": {
|
||||
"spoiler_story": "Spoiler cốt truyện / kết thúc / true ending",
|
||||
"spoiler_ending": "Spoiler kết thúc",
|
||||
"spoiler_true_ending": "Spoiler true ending",
|
||||
"spoiler_post_game": "Spoiler post-game / New Game+",
|
||||
"spoiler_secret_ending": "Spoiler ending bí mật",
|
||||
"spoiler_dlc": "Spoiler cốt truyện DLC",
|
||||
"flashing_lights": "Hiệu ứng chớp sáng — người nhạy sáng cẩn thận",
|
||||
"motion_sickness": "Say game — camera / FPS chuyển động nhanh",
|
||||
"migraine_trigger": "Có thể gây đau nửa đầu",
|
||||
"loud_noises": "Âm thanh đột ngột / tiếng động lớn",
|
||||
"jump_scares": "Có jumpscare",
|
||||
"acrophobia": "Sợ độ cao",
|
||||
"trypophobia": "Sợ lỗ / cụm lỗ",
|
||||
"thalassophobia": "Sợ nước sâu",
|
||||
"claustrophobia": "Sợ không gian hẹp",
|
||||
"arachnophobia": "Sợ nhện",
|
||||
"entomophobia": "Sợ côn trùng",
|
||||
"ophidiophobia": "Sợ rắn",
|
||||
"cynophobia": "Sợ chó",
|
||||
"nyctophobia": "Sợ bóng tối / cảnh đen tuyền",
|
||||
"pyrophobia": "Sợ lửa / cảnh cháy",
|
||||
"pediophobia": "Sợ búp bê / hình nộm",
|
||||
"hemophobia": "Sợ máu",
|
||||
"anxiety_inducing": "Cảnh có thể gây lo âu",
|
||||
"depression_themes": "Chủ đề trầm cảm",
|
||||
"eating_disorders": "Chủ đề rối loạn ăn uống",
|
||||
"substance_use": "Sử dụng chất kích thích",
|
||||
"self_harm": "Chủ đề t* tử / t* hại",
|
||||
"ptsd_themes": "Nội dung liên quan PTSD",
|
||||
"needles": "Có cảnh kim tiêm",
|
||||
"body_fluids": "Có cảnh dịch cơ thể",
|
||||
"pregnancy_horror": "Kinh dị sinh nở",
|
||||
"illness_themes": "Chủ đề bệnh tật / lây nhiễm",
|
||||
"bipolar_themes": "Chủ đề rối loạn lưỡng cực",
|
||||
"ocd_themes": "Chủ đề rối loạn ám ảnh cưỡng chế",
|
||||
"panic_attacks": "Có cảnh hoảng loạn / cơn panic",
|
||||
"dissociation": "Chủ đề phân ly / mất kết nối thực tại",
|
||||
"blood_gore": "Cảnh máu me",
|
||||
"mature_18plus": "Chủ đề người lớn — 18+",
|
||||
"disturbing_imagery": "Hình ảnh gây ám ảnh",
|
||||
"animal_abuse": "Có cảnh b*o h*nh động vật",
|
||||
"child_harm": "Chủ đề trẻ em b* ng*y h*i",
|
||||
"domestic_violence": "Chủ đề b*o h*nh gia đình",
|
||||
"sexual_assault": "Có đề cập đến x*m h*i t*nh d*c",
|
||||
"torture": "Có cảnh tra tấn",
|
||||
"religion_themes": "Chủ đề tôn giáo — cân nhắc",
|
||||
"war_violence": "Bạo lực liên quan chiến tranh",
|
||||
"discrimination": "Có yếu tố phân biệt trong cốt truyện",
|
||||
"police_violence": "Bạo lực từ cảnh sát / chính quyền",
|
||||
"smoking_drinking": "Có cảnh hút thuốc / uống rượu",
|
||||
"detailed_killing": "Cảnh g*ết người chi tiết",
|
||||
"cult_occult": "Chủ đề giáo phái / huyền bí",
|
||||
"psychological_manipulation": "Chủ đề thao túng tâm lý",
|
||||
"grief_loss": "Chủ đề mất mát / đau buồn",
|
||||
"kidnapping": "Có cảnh bắt cóc",
|
||||
"hate_speech": "Chủ đề phát ngôn thù ghét",
|
||||
"historical_atrocity": "Tái hiện tội ác lịch sử",
|
||||
"slavery_themes": "Chủ đề nô lệ / nô dịch",
|
||||
"terrorism_themes": "Chủ đề khủng bố",
|
||||
"bullying_themes": "Chủ đề bắt nạt / bạo lực học đường",
|
||||
"blind_playthrough": "Chơi blind — lần đầu chạm tay",
|
||||
"no_spoilers_chat": "Mong mọi người đừng spoil trong chat",
|
||||
"casual_difficulty": "Chơi ở độ khó dễ / chế độ cốt truyện",
|
||||
"hardcore_difficulty": "Chơi ở độ khó cao nhất / Hardcore",
|
||||
"permadeath_run": "Lối chơi Permadeath / Iron Man",
|
||||
"speedrun_attempt": "Thử speedrun",
|
||||
"completionist_run": "Chơi 100% completionist",
|
||||
"learning_mechanics": "Vẫn đang học cơ chế game",
|
||||
"eye_horror": "Cụm nhãn cầu / hình ảnh ánh nhìn ám ảnh",
|
||||
"body_horror": "Kinh dị cơ thể — biến dạng thịt, đột biến",
|
||||
"face_horror": "Hình ảnh khuôn mặt biến dạng / huỷ hoại",
|
||||
"cosmic_horror": "Kinh dị vũ trụ / Lovecraftian",
|
||||
"extreme_gore": "Máu me cực đoan — phân thây, nội tạng",
|
||||
"decay_rot": "Phân huỷ, thối rữa, dòi bọ, xác chết",
|
||||
"mutilation": "Hình ảnh cắt xẻo / cụt chi",
|
||||
"strobe_effects": "Đèn nhấp nháy nhanh kéo dài — strobe",
|
||||
"screen_shake_intense": "Rung camera mạnh / chấn thương khung hình",
|
||||
"coulrophobia": "Hề — nỗi sợ hề",
|
||||
"ablutophobia": "Đuối nước / cảnh chìm dưới nước kéo dài",
|
||||
"taphophobia": "Bị chôn sống / nhốt trong quan tài / hầm mộ",
|
||||
"paranoia_themes": "Hoang tưởng / chủ đề bị giám sát",
|
||||
"intrusive_thoughts": "Cảnh suy nghĩ xâm nhập",
|
||||
"medical_horror": "Kinh dị y khoa / phẫu thuật",
|
||||
"human_experimentation": "Thí nghiệm trên người",
|
||||
"cannibalism": "Ăn thịt người — minh hoạ hoặc ám chỉ",
|
||||
"nuclear_themes": "Chiến tranh hạt nhân / chủ đề phóng xạ",
|
||||
"liminal_spaces": "Không gian liminal / nơi trống vắng bất an",
|
||||
"analog_horror": "Kinh dị analog / phong cách VHS méo mó",
|
||||
"unreality_themes": "Méo mó hiện thực / nhận thức không đáng tin",
|
||||
"pursuit_chase": "Cảnh truy đuổi / bị rượt kéo dài",
|
||||
"entity_horror": "Sinh thể bí ẩn / kinh dị kiểu SCP",
|
||||
"first_time_playing": "Lần đầu chơi — có thể bỏ sót cơ chế",
|
||||
"returning_player": "Chơi lại — ngữ cảnh NG+",
|
||||
"mods_used": "Có dùng mod gameplay",
|
||||
"cheats_enabled": "Có dùng cheat / lệnh debug",
|
||||
"glitch_exploits": "Cố ý dùng lỗi game / phá thứ tự",
|
||||
"assisted_run": "Có tham khảo guide — không phải blind"
|
||||
}
|
||||
},
|
||||
"graphics": {
|
||||
"with": "với",
|
||||
@@ -165,6 +316,50 @@
|
||||
"performance": "Performance",
|
||||
"ultra_performance": "Ultra Performance"
|
||||
},
|
||||
"upscale": {
|
||||
"nvidia": {
|
||||
"none": "",
|
||||
"dlaa": "NVIDIA DLAA",
|
||||
"quality": "NVIDIA DLSS Quality",
|
||||
"balanced": "NVIDIA DLSS Balanced",
|
||||
"performance": "NVIDIA DLSS Performance",
|
||||
"ultra_performance": "NVIDIA DLSS Ultra Performance"
|
||||
},
|
||||
"amd": {
|
||||
"none": "",
|
||||
"native_aa": "AMD FSR Native AA",
|
||||
"quality": "AMD FSR Quality",
|
||||
"balanced": "AMD FSR Balanced",
|
||||
"performance": "AMD FSR Performance",
|
||||
"ultra_performance": "AMD FSR Ultra Performance"
|
||||
},
|
||||
"intel": {
|
||||
"none": "",
|
||||
"native_aa": "Intel XeSS Native AA",
|
||||
"ultra_quality": "Intel XeSS Ultra Quality",
|
||||
"quality": "Intel XeSS Quality",
|
||||
"balanced": "Intel XeSS Balanced",
|
||||
"performance": "Intel XeSS Performance",
|
||||
"ultra_performance": "Intel XeSS Ultra Performance"
|
||||
}
|
||||
},
|
||||
"frameGen": {
|
||||
"nvidia": {
|
||||
"none": "",
|
||||
"x2": "NVIDIA Frame Generation x2",
|
||||
"x3": "NVIDIA Multi Frame Generation x3",
|
||||
"x4": "NVIDIA Multi Frame Generation x4"
|
||||
},
|
||||
"amd": {
|
||||
"none": "",
|
||||
"x2": "AMD Fluid Motion Frames x2",
|
||||
"x3": "AMD Fluid Motion Frames x3"
|
||||
},
|
||||
"intel": {
|
||||
"none": "",
|
||||
"x2": "Intel XeFG x2"
|
||||
}
|
||||
},
|
||||
"artStyleOptions": {
|
||||
"realistic": "Hiện thực",
|
||||
"stylized": "Cách điệu",
|
||||
|
||||
+283
-11
@@ -12,28 +12,60 @@
|
||||
"batch": "Hàng loạt",
|
||||
"playlist": "Playlist",
|
||||
"logs": "Nhật ký",
|
||||
"about": "Giới thiệu"
|
||||
"about": "Giới thiệu",
|
||||
"reportBug": "Báo lỗi"
|
||||
},
|
||||
"sidebar": {
|
||||
"expand": "Mở rộng sidebar",
|
||||
"collapse": "Thu gọn sidebar"
|
||||
},
|
||||
"header": {
|
||||
"donate": "Ủng hộ"
|
||||
},
|
||||
"about": {
|
||||
"tagline": "Công cụ tạo title, description, tag cho kênh YouTube Gameplay No Commentary.",
|
||||
"repoHeading": "Repository & License",
|
||||
"repoLabel": "GitHub Repo",
|
||||
"issuesLabel": "Báo lỗi / Góp ý",
|
||||
"reportBugLabel": "Báo lỗi",
|
||||
"discussionsLabel": "Thảo luận",
|
||||
"authorLabel": "Tác giả",
|
||||
"licenseLabel": "Giấy phép",
|
||||
"donateHeading": "Ủng hộ / Donate",
|
||||
"donateHelp": "Nếu YTDescGen giúp bạn tiết kiệm thời gian, mời mình một ly cà phê nhé. Mọi ủng hộ đều giúp dự án tiếp tục.",
|
||||
"donate": {
|
||||
"githubSponsors": "GitHub Sponsors",
|
||||
"kofi": "Ko-fi",
|
||||
"buyMeACoffee": "Buy Me a Coffee",
|
||||
"patreon": "Patreon",
|
||||
"paypal": "PayPal"
|
||||
},
|
||||
"connectHeading": "Kết nối",
|
||||
"devEnvHeading": "Môi trường phát triển",
|
||||
"devEnvHelp": "Phần cứng và toolchain dùng để build bản web public và binary desktop.",
|
||||
"devEnv": {
|
||||
"os": "Hệ điều hành",
|
||||
"cpu": "CPU",
|
||||
"gpu": "GPU",
|
||||
"ram": "RAM",
|
||||
"ide": "IDE",
|
||||
"toolchains": "Toolchain",
|
||||
"fullSpecLink": "Xem PC spec đầy đủ ↗",
|
||||
"fullDevEnvLink": "Xem hướng dẫn dev environment ↗"
|
||||
},
|
||||
"thirdPartyHeading": "Thư viện bên thứ ba",
|
||||
"thirdPartyHelp": "YTDescGen được xây dựng dựa trên các dự án mã nguồn mở dưới đây. Phiên bản lấy tự động từ package.json.",
|
||||
"socials": {
|
||||
"youtube": "Kênh YouTube",
|
||||
"x": "X / Twitter",
|
||||
"discord": "Server Discord",
|
||||
"kofi": "Ko-fi",
|
||||
"patreon": "Patreon"
|
||||
"bluesky": "Bluesky",
|
||||
"mastodon": "Mastodon",
|
||||
"discord": "Discord — Repo / Chung",
|
||||
"discordGame": "Discord — Game lobby",
|
||||
"steam": "Profile Steam",
|
||||
"telegramBot": "Telegram bot",
|
||||
"telegramUser": "Telegram",
|
||||
"email": "Email"
|
||||
}
|
||||
},
|
||||
"editor": {
|
||||
@@ -96,6 +128,18 @@
|
||||
"chapterNamePlaceholder": "vd: Chương 5 Hồi 2 — Nơi Vì Sao Rơi",
|
||||
"questName": "Tên nhiệm vụ",
|
||||
"questNamePlaceholder": "vd: Chòm Sao Đơn Độc",
|
||||
"characterName": "Tên nhân vật",
|
||||
"characterNamePlaceholder": "vd: Furina, Topaz, Acheron",
|
||||
"anniversaryYear": "Năm kỷ niệm",
|
||||
"anniversaryYearOption": "Năm {{count}}",
|
||||
"gachaVersion": "Phiên bản game",
|
||||
"gachaVersionPlaceholder": "vd: 1.2, 2.4",
|
||||
"gpu_brand": "Hãng",
|
||||
"gpu_series": "Dòng",
|
||||
"gpu_model": "Model",
|
||||
"gpu_custom": "GPU tự nhập",
|
||||
"ram_size": "Dung lượng RAM",
|
||||
"ram_ddr": "Thế hệ DDR",
|
||||
"vnDonate": "Donate (Việt Nam)",
|
||||
"vnDonateHelp": "Chỉ hiển thị trong description khi ngôn ngữ đầu ra là Tiếng Việt.",
|
||||
"vnBankName": "Tên ngân hàng",
|
||||
@@ -147,6 +191,21 @@
|
||||
"x4": "x4",
|
||||
"x6": "x6"
|
||||
},
|
||||
"frameGenMultiplier.nvidia": {
|
||||
"none": "Không",
|
||||
"x2": "x2 (Frame Gen)",
|
||||
"x3": "x3 (Multi Frame Gen)",
|
||||
"x4": "x4 (Multi Frame Gen)"
|
||||
},
|
||||
"frameGenMultiplier.amd": {
|
||||
"none": "Không",
|
||||
"x2": "x2 (Fluid Motion Frames)",
|
||||
"x3": "x3 (Fluid Motion Frames)"
|
||||
},
|
||||
"frameGenMultiplier.intel": {
|
||||
"none": "Không",
|
||||
"x2": "x2 (XeFG)"
|
||||
},
|
||||
"upscaleQuality": "Chất lượng Upscale",
|
||||
"upscaleQualityOptions": {
|
||||
"none": "Không",
|
||||
@@ -156,6 +215,31 @@
|
||||
"performance": "Performance",
|
||||
"ultra_performance": "Ultra Performance"
|
||||
},
|
||||
"upscaleQuality.nvidia": {
|
||||
"none": "Không",
|
||||
"dlaa": "DLAA",
|
||||
"quality": "DLSS Quality",
|
||||
"balanced": "DLSS Balanced",
|
||||
"performance": "DLSS Performance",
|
||||
"ultra_performance": "DLSS Ultra Performance"
|
||||
},
|
||||
"upscaleQuality.amd": {
|
||||
"none": "Không",
|
||||
"native_aa": "FSR Native AA",
|
||||
"quality": "FSR Quality",
|
||||
"balanced": "FSR Balanced",
|
||||
"performance": "FSR Performance",
|
||||
"ultra_performance": "FSR Ultra Performance"
|
||||
},
|
||||
"upscaleQuality.intel": {
|
||||
"none": "Không",
|
||||
"native_aa": "XeSS Native AA",
|
||||
"ultra_quality": "XeSS Ultra Quality",
|
||||
"quality": "XeSS Quality",
|
||||
"balanced": "XeSS Balanced",
|
||||
"performance": "XeSS Performance",
|
||||
"ultra_performance": "XeSS Ultra Performance"
|
||||
},
|
||||
"artStyle": "Phong cách hình ảnh",
|
||||
"artStyleOptions": {
|
||||
"none": "— Chưa chọn —",
|
||||
@@ -184,9 +268,7 @@
|
||||
"storeLinkType": "Loại",
|
||||
"rig": "Cấu hình máy",
|
||||
"social": "Mạng xã hội & Donate",
|
||||
"warnings": "Cảnh báo",
|
||||
"spoilerWarning": "Cảnh báo Spoiler",
|
||||
"matureWarning": "Nội dung người lớn (18+)",
|
||||
"warnings": "Cảnh báo nội dung",
|
||||
"playlistLink": "Link Playlist",
|
||||
"playlistLinkPlaceholder": "https://youtube.com/playlist?list=...",
|
||||
"contactEmail": "Email liên hệ",
|
||||
@@ -223,10 +305,182 @@
|
||||
"difficultyCustomLabel": "Nhãn độ khó tuỳ chỉnh",
|
||||
"difficultyCustomPlaceholder": "vd: Lethal, NG+7, Fromsoft default",
|
||||
"contentWarnings": "Cảnh báo nội dung",
|
||||
"contentWarningSearchPlaceholder": "Tìm cảnh báo…",
|
||||
"contentWarningEmpty": "Không có cảnh báo phù hợp",
|
||||
"contentWarningGroups": {
|
||||
"spoilers": "Spoiler",
|
||||
"photosensitive": "Sức khoẻ / nhạy sáng",
|
||||
"phobias": "Hội chứng sợ",
|
||||
"mental_health": "Sức khoẻ tinh thần",
|
||||
"sensitive": "Nội dung nhạy cảm / 18+",
|
||||
"playstyle": "Chú thích lối chơi",
|
||||
"horror_specific": "Kinh dị nặng đô",
|
||||
"gameplay_disclosure": "Tiết lộ về lối chơi"
|
||||
},
|
||||
"contentWarningOptions": {
|
||||
"flashing_lights": "⚡ Ánh sáng chớp",
|
||||
"loud_noises": "🔊 Âm thanh lớn",
|
||||
"jump_scares": "😱 Jump scare"
|
||||
"spoiler_story": "Spoiler cốt truyện / kết thúc",
|
||||
"spoiler_ending": "Spoiler kết thúc",
|
||||
"spoiler_true_ending": "Spoiler true ending",
|
||||
"spoiler_post_game": "Spoiler post-game / NG+",
|
||||
"spoiler_secret_ending": "Spoiler ending bí mật",
|
||||
"spoiler_dlc": "Spoiler cốt truyện DLC",
|
||||
"flashing_lights": "Hiệu ứng chớp sáng",
|
||||
"motion_sickness": "Say game / camera nhanh",
|
||||
"migraine_trigger": "Có thể đau nửa đầu",
|
||||
"loud_noises": "Âm thanh đột ngột",
|
||||
"jump_scares": "Có jumpscare",
|
||||
"acrophobia": "Sợ độ cao",
|
||||
"trypophobia": "Sợ lỗ / cụm lỗ",
|
||||
"thalassophobia": "Sợ nước sâu",
|
||||
"claustrophobia": "Sợ không gian hẹp",
|
||||
"arachnophobia": "Sợ nhện",
|
||||
"entomophobia": "Sợ côn trùng",
|
||||
"ophidiophobia": "Sợ rắn",
|
||||
"cynophobia": "Sợ chó",
|
||||
"nyctophobia": "Sợ bóng tối",
|
||||
"pyrophobia": "Sợ lửa",
|
||||
"pediophobia": "Sợ búp bê",
|
||||
"hemophobia": "Sợ máu",
|
||||
"anxiety_inducing": "Cảnh gây lo âu",
|
||||
"depression_themes": "Chủ đề trầm cảm",
|
||||
"eating_disorders": "Rối loạn ăn uống",
|
||||
"substance_use": "Chất kích thích",
|
||||
"self_harm": "T* tử / t* hại",
|
||||
"ptsd_themes": "Liên quan PTSD",
|
||||
"needles": "Cảnh kim tiêm",
|
||||
"body_fluids": "Dịch cơ thể",
|
||||
"pregnancy_horror": "Kinh dị sinh nở",
|
||||
"illness_themes": "Bệnh tật / lây nhiễm",
|
||||
"bipolar_themes": "Rối loạn lưỡng cực",
|
||||
"ocd_themes": "Chủ đề OCD",
|
||||
"panic_attacks": "Cơn hoảng loạn",
|
||||
"dissociation": "Rối loạn phân ly",
|
||||
"blood_gore": "Máu me",
|
||||
"mature_18plus": "Người lớn 18+",
|
||||
"disturbing_imagery": "Hình ảnh ám ảnh",
|
||||
"animal_abuse": "B*o h*nh động vật",
|
||||
"child_harm": "Trẻ em b* ng*y h*i",
|
||||
"domestic_violence": "B*o h*nh gia đình",
|
||||
"sexual_assault": "X*m h*i t*nh d*c",
|
||||
"torture": "Tra tấn",
|
||||
"religion_themes": "Chủ đề tôn giáo",
|
||||
"war_violence": "Bạo lực chiến tranh",
|
||||
"discrimination": "Phân biệt đối xử",
|
||||
"police_violence": "Bạo lực chính quyền",
|
||||
"smoking_drinking": "Hút thuốc / uống rượu",
|
||||
"detailed_killing": "G*ết người chi tiết",
|
||||
"cult_occult": "Giáo phái / huyền bí",
|
||||
"psychological_manipulation": "Thao túng tâm lý",
|
||||
"grief_loss": "Mất mát / đau buồn",
|
||||
"kidnapping": "Bắt cóc",
|
||||
"hate_speech": "Phát ngôn thù ghét",
|
||||
"historical_atrocity": "Tội ác lịch sử",
|
||||
"slavery_themes": "Chủ đề nô lệ",
|
||||
"terrorism_themes": "Chủ đề khủng bố",
|
||||
"bullying_themes": "Chủ đề bắt nạt",
|
||||
"blind_playthrough": "Chơi lần đầu (blind)",
|
||||
"no_spoilers_chat": "Không spoil trong chat",
|
||||
"casual_difficulty": "Độ khó dễ / cốt truyện",
|
||||
"hardcore_difficulty": "Hardcore / độ khó tối đa",
|
||||
"permadeath_run": "Permadeath / Iron Man",
|
||||
"speedrun_attempt": "Thử speedrun",
|
||||
"completionist_run": "100% completionist",
|
||||
"learning_mechanics": "Đang học cơ chế",
|
||||
"eye_horror": "Mắt / cụm nhãn cầu",
|
||||
"body_horror": "Kinh dị cơ thể (biến dạng)",
|
||||
"face_horror": "Khuôn mặt biến dạng",
|
||||
"cosmic_horror": "Kinh dị vũ trụ / Lovecraft",
|
||||
"extreme_gore": "Máu me cực đoan / phân thây",
|
||||
"decay_rot": "Phân huỷ, thối rữa, dòi bọ",
|
||||
"mutilation": "Cắt xẻo / cụt chi",
|
||||
"strobe_effects": "Đèn nhấp nháy",
|
||||
"screen_shake_intense": "Rung màn hình mạnh",
|
||||
"coulrophobia": "Hề",
|
||||
"ablutophobia": "Đuối nước",
|
||||
"taphophobia": "Bị chôn sống",
|
||||
"paranoia_themes": "Hoang tưởng",
|
||||
"intrusive_thoughts": "Suy nghĩ xâm nhập",
|
||||
"medical_horror": "Kinh dị y khoa",
|
||||
"human_experimentation": "Thí nghiệm trên người",
|
||||
"cannibalism": "Ăn thịt người",
|
||||
"nuclear_themes": "Hạt nhân / phóng xạ",
|
||||
"liminal_spaces": "Không gian liminal",
|
||||
"analog_horror": "Analog / VHS",
|
||||
"unreality_themes": "Méo mó hiện thực",
|
||||
"pursuit_chase": "Bị truy đuổi",
|
||||
"entity_horror": "Sinh thể bí ẩn",
|
||||
"first_time_playing": "Chơi lần đầu",
|
||||
"returning_player": "Chơi lại / NG+",
|
||||
"mods_used": "Có dùng mod",
|
||||
"cheats_enabled": "Có cheat / debug",
|
||||
"glitch_exploits": "Lợi dụng lỗi game",
|
||||
"assisted_run": "Tham khảo guide"
|
||||
},
|
||||
"playthroughNotes": {
|
||||
"title": "Ghi chú lượt chơi",
|
||||
"runTypeLabel": "Kiểu chơi",
|
||||
"difficultyLabel": "Độ khó",
|
||||
"endingsLabel": "Endings xuất hiện",
|
||||
"endingsPlaceholder": "vd: Chỉ true ending, 1 trong 3, All routes 100%",
|
||||
"languagePatchLabel": "Bản dịch",
|
||||
"languagePatchCustomLabel": "Nhãn ngôn ngữ tuỳ chỉnh",
|
||||
"languagePatchCustomPlaceholder": "vd: Bản KR chính thức, Bản dịch fan VNI v2.1",
|
||||
"gameVersionLabel": "Phiên bản game",
|
||||
"gameVersionCustomLabel": "Nhãn phiên bản tuỳ chỉnh",
|
||||
"gameVersionCustomPlaceholder": "vd: Demo Steam Next Fest, Bản backer Kickstarter",
|
||||
"languagePatchOptions": {
|
||||
"none": "— Chưa chọn —",
|
||||
"official_en": "Tiếng Anh chính thức",
|
||||
"official_other": "Chính thức (ngôn ngữ khác)",
|
||||
"fan_translation": "Bản dịch fan",
|
||||
"mtl": "Dịch máy",
|
||||
"custom": "Tuỳ chỉnh…"
|
||||
},
|
||||
"gameVersionOptions": {
|
||||
"full_release": "— Bản chính thức —",
|
||||
"demo": "Demo",
|
||||
"early_access": "Early Access",
|
||||
"beta": "Beta",
|
||||
"prologue": "Prologue / Teaser",
|
||||
"pre_release": "Pre-release",
|
||||
"custom": "Tuỳ chỉnh…"
|
||||
}
|
||||
},
|
||||
"techNotes": "Ghi chú kỹ thuật",
|
||||
"techNoteSearchPlaceholder": "Tìm ghi chú…",
|
||||
"techNoteEmpty": "Không có ghi chú phù hợp",
|
||||
"techNoteGroups": {
|
||||
"audio": "Âm thanh",
|
||||
"video_quality": "Chất lượng video",
|
||||
"recording_issues": "Lỗi quay",
|
||||
"playstyle": "Ghi chú cách chơi",
|
||||
"production": "Sản xuất & ghi nhận"
|
||||
},
|
||||
"techNoteOptions": {
|
||||
"copyright_muted_sections": "Tắt tiếng (bản quyền)",
|
||||
"volume_reduced_copyright": "Giảm volume (bản quyền)",
|
||||
"music_replaced_copyright": "Thay nhạc (bản quyền)",
|
||||
"cutscene_audio_muted_only": "Chỉ tắt cutscene",
|
||||
"original_audio_kept": "Giữ audio gốc (rủi ro claim)",
|
||||
"low_resolution_hardware": "Độ phân giải thấp (phần cứng)",
|
||||
"low_graphics_performance": "Hạ đồ họa (hiệu năng)",
|
||||
"fps_drops_hardware": "Sụt FPS (phần cứng)",
|
||||
"bug_from_game": "Bug là từ game",
|
||||
"crash_kept_transparency": "Giữ crash (minh bạch)",
|
||||
"loading_cut": "Cắt loading screen",
|
||||
"obs_artifacts_possible": "Có thể có lỗi OBS",
|
||||
"not_no_hit_run": "KHÔNG phải no-hit run",
|
||||
"not_clean_walkthrough": "Không phải walkthrough mượt",
|
||||
"casual_no_commentary": "Giải trí, không bình luận",
|
||||
"many_deaths_patience": "Nhiều lần chết",
|
||||
"slow_exploration": "Khám phá chậm",
|
||||
"puzzle_stuck_possible": "Có thể bí ở puzzle",
|
||||
"grinding_cut": "Cắt phần cày",
|
||||
"not_speedrun_relaxed": "Không phải speedrun",
|
||||
"exploration_focus_skip_combat": "Khám phá (skip combat)",
|
||||
"edited_for_pacing": "Edit cho hợp nhịp",
|
||||
"support_developers": "Ủng hộ nhà phát triển",
|
||||
"online_connectivity_issues": "Lỗi kết nối online"
|
||||
},
|
||||
"videoSettings": "Cài đặt Video",
|
||||
"quickPreview": "Xem trước nhanh",
|
||||
@@ -236,6 +490,14 @@
|
||||
"clearDraftConfirm": "Bạn có chắc muốn xóa toàn bộ dữ liệu form?",
|
||||
"genreSearchPlaceholder": "Tìm thể loại",
|
||||
"genreSearchNoResults": "Không có thể loại phù hợp",
|
||||
"validation": {
|
||||
"gpuMissingSeries": "Chọn dòng để hoàn tất GPU.",
|
||||
"gpuMissingModel": "Chọn model để hoàn tất GPU.",
|
||||
"gpuCustomEmpty": "Nhập tên GPU hoặc chọn từ danh sách.",
|
||||
"ramMissingDdr": "Chọn thế hệ DDR.",
|
||||
"ramMissingSize": "Chọn dung lượng RAM.",
|
||||
"ramCustomEmpty": "Nhập dung lượng RAM (GB)."
|
||||
},
|
||||
"genreGroups": {
|
||||
"rpg": "Tất cả RPG",
|
||||
"shooter": "Tất cả Shooter",
|
||||
@@ -272,6 +534,11 @@
|
||||
"default": "Mặc định",
|
||||
"typeFirst": "Loại video trước",
|
||||
"qualityFirst": "Chất lượng trước"
|
||||
},
|
||||
"copy": {
|
||||
"overLimit": "{{field}} quá dài: {{count}}/{{limit}} ký tự. Cắt bớt trước khi copy.",
|
||||
"fieldGeneric": "Văn bản",
|
||||
"failed": "Copy thất bại"
|
||||
}
|
||||
},
|
||||
"common": {
|
||||
@@ -405,7 +672,10 @@
|
||||
"deleteConfirm": "Bạn có chắc muốn xóa hồ sơ này?",
|
||||
"emptyState": "Chưa có hồ sơ. Tạo một hồ sơ để lưu thông tin kênh.",
|
||||
"exportProfiles": "Xuất hồ sơ",
|
||||
"importProfiles": "Nhập hồ sơ"
|
||||
"importProfiles": "Nhập hồ sơ",
|
||||
"thirdPartyAdText": "Nội dung quảng cáo bên thứ 3",
|
||||
"thirdPartyAdTextPlaceholder": "vd: Dùng code SAVE10 tại GameStore.com — giảm 10% mọi tựa game\nTài trợ bởi ChairCo — link ở phần mô tả",
|
||||
"thirdPartyAdTextHelp": "Nội dung sponsor / partner / affiliate (tuỳ chọn). Hiện khi bật 'Quảng cáo bên thứ 3' trong Cài đặt."
|
||||
},
|
||||
"templates": {
|
||||
"title": "Template",
|
||||
@@ -462,6 +732,8 @@
|
||||
"showCopyright": "Gắn dòng © copyright vào description",
|
||||
"showUsagePolicy": "Gắn khối quy định sử dụng video vào description",
|
||||
"showSponsorCredit": "Hiện dòng cảm ơn sponsor (tặng key) trong description",
|
||||
"showThirdPartyAds": "Hiện block quảng cáo bên thứ 3 trong description",
|
||||
"thirdPartyAdsHint": "Nhập nội dung quảng cáo trong Hồ sơ kênh (Profiles → Sửa).",
|
||||
"titleFormatTitle": "Định dạng tiêu đề",
|
||||
"descriptionSettingsTitle": "Mô tả",
|
||||
"badgePosition": "Vị trí badge chất lượng",
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
"companion_quest": "{{gameName}} — Companion Quest: {{questName}}",
|
||||
"bond_quest": "{{gameName}} — Bond Quest: {{questName}}",
|
||||
"event": "{{gameName}} — Event: {{questName}}",
|
||||
"anniversary": "{{gameName}} — {{chapterName}} Anniversary{{partSuffix}}",
|
||||
"anniversary": "{{gameName}} — {{anniversaryYear}}周年纪念{{partSuffix}}",
|
||||
"crossover": "{{gameName}} — Crossover: {{questName}}",
|
||||
"dating_event": "{{gameName}} — Dating Event: {{questName}}",
|
||||
"tutorial_quest": "{{gameName}} — Tutorial: {{questName}}",
|
||||
@@ -47,7 +47,7 @@
|
||||
"endgame": "{{gameName}} — {{chapterName}}{{partSuffix}}",
|
||||
"coop": "{{gameName}} — Co-op: {{questName}}",
|
||||
"daily_commission": "{{gameName}} — Daily Commissions{{partSuffix}}",
|
||||
"showcase": "{{gameName}} — Showcase: {{questName}}"
|
||||
"showcase": "{{gameName}} — 角色展示:{{characterName}}"
|
||||
},
|
||||
"gachaPartSuffix": {
|
||||
"part": " - Part {{n}}",
|
||||
@@ -83,7 +83,7 @@
|
||||
"gacha_quest_companion_quest": "Companion Quest \"{{questName}}\" from {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_bond_quest": "Bond Quest \"{{questName}}\" from {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_event": "Limited-time Event \"{{questName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_anniversary": "{{chapterName}} Anniversary celebration in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_anniversary": "在 {{channelName}} 庆祝 {{gameName}}{{versionLabel}} 的{{anniversaryYear}}周年纪念。",
|
||||
"gacha_quest_crossover": "Crossover Event \"{{questName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_dating_event": "Dating Event \"{{questName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_tutorial_quest": "Tutorial \"{{questName}}\" from {{gameName}} on {{channelName}}.",
|
||||
@@ -92,7 +92,8 @@
|
||||
"gacha_quest_endgame": "Endgame mode \"{{chapterName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_coop": "Co-op session \"{{questName}}\" in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_daily_commission": "Daily Commissions in {{gameName}} on {{channelName}}.",
|
||||
"gacha_quest_showcase": "Showcase \"{{questName}}\" from {{gameName}} on {{channelName}}."
|
||||
"gacha_quest_showcase": "本期视频在 {{channelName}} 展示 {{gameName}}{{versionLabel}} 中 {{characterName}} 的技能、外观与细节。",
|
||||
"versionInline": "版本 {{v}}"
|
||||
},
|
||||
"noCommentaryLine": "无解说 — 纯粹的游戏体验,尽情享受。",
|
||||
"storeLinkSuffix": {
|
||||
@@ -107,9 +108,8 @@
|
||||
"rig": "💻 我的配置",
|
||||
"modList": "🧩 MOD 列表",
|
||||
"vnDonate": "🏦 BANK TRANSFER / E-WALLET (Vietnam)",
|
||||
"spoilerWarning": "⚠️ 剧透警告:本视频可能包含剧透内容,请自行斟酌观看!",
|
||||
"matureWarning": "🔞 成人内容 (18+):包含暴力 / 强烈语言 / 血腥内容。",
|
||||
"sponsorCredit": "🎁 感谢 {{sponsor}} 提供本游戏的 {{platform}} 激活码。",
|
||||
"thirdPartyAds": "🤝 赞助商 & 合作伙伴",
|
||||
"music": "🎵 音乐 / 音效",
|
||||
"donate": "☕ 支持频道",
|
||||
"social": "🔗 关注我",
|
||||
@@ -118,10 +118,7 @@
|
||||
"cta": "👍 点赞 | 🔔 订阅 | ↗️ 分享",
|
||||
"copyright": "© {{year}} {{channelName}}. 版权所有。",
|
||||
"usagePolicyHeader": "📋 视频使用规则",
|
||||
"usagePolicy": "• 请务必附上原视频链接和频道的 credit(至少在描述中)。\n• 请勿将完整视频或大部分内容作为自己的内容重新上传。\n• 未经明确同意,请勿对素材进行商业化。\n• 请勿以歪曲原内容或创作者的方式剪辑素材。\n• 合集、评测、解说、反应视频均可 — 只要标明出处。\n如有疑问,请通过描述中的社交账号或邮箱联系我。",
|
||||
"playthrough": "🎯 游玩方式: {{value}}",
|
||||
"difficulty": "🎮 难度",
|
||||
"contentWarnings": "⚠️ 内容警告"
|
||||
"usagePolicy": "• 请务必附上原视频链接和频道的 credit(至少在描述中)。\n• 请勿将完整视频或大部分内容作为自己的内容重新上传。\n• 未经明确同意,请勿对素材进行商业化。\n• 请勿以歪曲原内容或创作者的方式剪辑素材。\n• 合集、评测、解说、反应视频均可 — 只要标明出处。\n如有疑问,请通过描述中的社交账号或邮箱联系我。"
|
||||
},
|
||||
"playthrough": {
|
||||
"blind": "初见游玩 (blind)",
|
||||
@@ -135,10 +132,164 @@
|
||||
"hard": "困难",
|
||||
"nightmare": "噩梦 / 极难"
|
||||
},
|
||||
"playthroughNotes": {
|
||||
"header": "▸ 🎮 本期游玩说明",
|
||||
"intro": "本次游玩的设置、版本及游玩方式说明。",
|
||||
"labels": {
|
||||
"runType": "游玩类型",
|
||||
"difficulty": "难度",
|
||||
"endings": "展示的结局",
|
||||
"languagePatch": "语言补丁",
|
||||
"gameVersion": "游戏版本"
|
||||
},
|
||||
"languagePatchOptions": {
|
||||
"official_en": "官方英文版",
|
||||
"official_other": "官方版本(其他语言)",
|
||||
"fan_translation": "民间翻译",
|
||||
"mtl": "机器翻译",
|
||||
"custom": "自定义"
|
||||
},
|
||||
"gameVersionOptions": {
|
||||
"demo": "试玩版",
|
||||
"early_access": "抢先体验版",
|
||||
"beta": "测试版",
|
||||
"prologue": "前传 / 预告",
|
||||
"pre_release": "预发布版本",
|
||||
"custom": "自定义"
|
||||
}
|
||||
},
|
||||
"techNotes": {
|
||||
"header": "▸ 🛠 技术说明",
|
||||
"intro": "为保持透明度的制作和游玩说明。",
|
||||
"items": {
|
||||
"copyright_muted_sections": "因 YouTube 版权部分静音",
|
||||
"volume_reduced_copyright": "因版权部分降低音量",
|
||||
"music_replaced_copyright": "为避免版权索赔已替换游戏音乐",
|
||||
"cutscene_audio_muted_only": "仅静音过场动画 — 游玩音频保留",
|
||||
"original_audio_kept": "保留原音 — 接受可能的版权索赔风险",
|
||||
"low_resolution_hardware": "因硬件限制以较低分辨率录制",
|
||||
"low_graphics_performance": "为性能降低画质设置",
|
||||
"fps_drops_hardware": "帧数下降 — 硬件原因(左上角可见 FPS 显示)",
|
||||
"bug_from_game": "Bug / 卡顿来自游戏本身,并非录制问题",
|
||||
"crash_kept_transparency": "为保持透明度保留游戏崩溃片段",
|
||||
"loading_cut": "已剪掉读取画面",
|
||||
"obs_artifacts_possible": "可能存在 OBS 录制造成的瑕疵",
|
||||
"not_no_hit_run": "并非无伤通关 — 想看干净游玩请跳过",
|
||||
"not_clean_walkthrough": "并非精修攻略 — 自然探索",
|
||||
"casual_no_commentary": "休闲游玩,无解说",
|
||||
"many_deaths_patience": "死亡较多 — 需要耐心观看",
|
||||
"slow_exploration": "频繁折返 — 探索节奏较慢",
|
||||
"puzzle_stuck_possible": "可能在解谜处卡住",
|
||||
"grinding_cut": "已剪掉刷取/重复段落",
|
||||
"not_speedrun_relaxed": "并非速通 — 轻松游玩",
|
||||
"exploration_focus_skip_combat": "侧重探索 — 战斗可能被跳过",
|
||||
"edited_for_pacing": "为节奏剪辑 — 并非实时",
|
||||
"support_developers": "原版游戏音乐 — 请支持开发者",
|
||||
"online_connectivity_issues": "联机游戏 — 可能存在连线问题"
|
||||
}
|
||||
},
|
||||
"contentWarnings": {
|
||||
"flashing_lights": "⚡ 闪光 / 频闪效果",
|
||||
"loud_noises": "🔊 大音量 / 突发音量",
|
||||
"jump_scares": "😱 惊吓镜头"
|
||||
"header": "▸ ⚠️ 内容警告",
|
||||
"intro": "本视频包含以下内容,请观众自行斟酌观看。",
|
||||
"items": {
|
||||
"spoiler_story": "剧情 / 结局剧透",
|
||||
"spoiler_ending": "结局剧透",
|
||||
"spoiler_true_ending": "True ending 剧透",
|
||||
"spoiler_post_game": "通关后 / NG+ 剧透",
|
||||
"spoiler_secret_ending": "隐藏结局剧透",
|
||||
"spoiler_dlc": "DLC 剧情剧透",
|
||||
"flashing_lights": "闪光效果 — 光敏感者请注意",
|
||||
"motion_sickness": "3D晕眩 — 镜头 / FPS 快速移动",
|
||||
"migraine_trigger": "可能引发偏头痛",
|
||||
"loud_noises": "突发的大音量",
|
||||
"jump_scares": "惊吓镜头",
|
||||
"acrophobia": "恐高",
|
||||
"trypophobia": "密集恐惧",
|
||||
"thalassophobia": "深海恐惧",
|
||||
"claustrophobia": "幽闭恐惧",
|
||||
"arachnophobia": "蜘蛛恐惧",
|
||||
"entomophobia": "昆虫恐惧",
|
||||
"ophidiophobia": "蛇恐惧",
|
||||
"cynophobia": "犬恐惧",
|
||||
"nyctophobia": "黑暗 / 漆黑场景恐惧",
|
||||
"pyrophobia": "火焰 / 燃烧场景恐惧",
|
||||
"pediophobia": "玩偶 / 假人恐惧",
|
||||
"hemophobia": "血液恐惧",
|
||||
"anxiety_inducing": "可能引发焦虑的场景",
|
||||
"depression_themes": "抑郁主题",
|
||||
"eating_disorders": "饮食失调",
|
||||
"substance_use": "药物使用",
|
||||
"self_harm": "自残 / 自杀主题",
|
||||
"ptsd_themes": "PTSD 相关内容",
|
||||
"needles": "针头 / 注射镜头",
|
||||
"body_fluids": "体液镜头",
|
||||
"pregnancy_horror": "怀孕 / 分娩恐怖",
|
||||
"illness_themes": "疾病 / 感染主题",
|
||||
"bipolar_themes": "双相障碍主题",
|
||||
"ocd_themes": "强迫症主题",
|
||||
"panic_attacks": "恐慌发作场景",
|
||||
"dissociation": "分离 / 现实解体主题",
|
||||
"blood_gore": "血腥场面",
|
||||
"mature_18plus": "成人 18+",
|
||||
"disturbing_imagery": "令人不适的画面",
|
||||
"animal_abuse": "虐待动物",
|
||||
"child_harm": "未成年人受暴",
|
||||
"domestic_violence": "家庭暴力",
|
||||
"sexual_assault": "性暴力相关内容",
|
||||
"torture": "酷刑场面",
|
||||
"religion_themes": "宗教主题",
|
||||
"war_violence": "战争暴力",
|
||||
"discrimination": "歧视主题",
|
||||
"police_violence": "公权力 / 警察暴力",
|
||||
"smoking_drinking": "吸烟 / 饮酒",
|
||||
"detailed_killing": "详细杀人场面",
|
||||
"cult_occult": "邪教 / 神秘学",
|
||||
"psychological_manipulation": "心理操控",
|
||||
"grief_loss": "失去 / 悲伤",
|
||||
"kidnapping": "绑架",
|
||||
"hate_speech": "仇恨言论主题",
|
||||
"historical_atrocity": "历史暴行",
|
||||
"slavery_themes": "奴隶制主题",
|
||||
"terrorism_themes": "恐怖主义主题",
|
||||
"bullying_themes": "霸凌主题",
|
||||
"blind_playthrough": "首次盲打 — 初见游玩",
|
||||
"no_spoilers_chat": "请勿在聊天剧透",
|
||||
"casual_difficulty": "休闲 / 剧情难度游玩",
|
||||
"hardcore_difficulty": "硬核 / 最高难度游玩",
|
||||
"permadeath_run": "永久死亡 / Iron Man 玩法",
|
||||
"speedrun_attempt": "速通挑战",
|
||||
"completionist_run": "100% 全收集挑战",
|
||||
"learning_mechanics": "仍在熟悉游戏机制",
|
||||
"eye_horror": "眼球群 / 扭曲注视画面",
|
||||
"body_horror": "身体恐怖 — 肉体扭曲与变异",
|
||||
"face_horror": "扭曲或毁伤的面孔画面",
|
||||
"cosmic_horror": "宇宙 / 邪神 / 克苏鲁式恐怖",
|
||||
"extreme_gore": "极端血腥 — 肢解与内脏描绘",
|
||||
"decay_rot": "腐烂、蛆虫、尸体画面",
|
||||
"mutilation": "残害或截肢画面",
|
||||
"strobe_effects": "频闪灯光 — 持续闪烁",
|
||||
"screen_shake_intense": "强烈画面震动 / 镜头创伤感",
|
||||
"coulrophobia": "小丑 — 小丑恐惧症",
|
||||
"ablutophobia": "溺水 / 长时间水下场景",
|
||||
"taphophobia": "活埋 / 棺材·墓穴禁闭",
|
||||
"paranoia_themes": "妄想 / 监视主题",
|
||||
"intrusive_thoughts": "侵入性思维场景",
|
||||
"medical_horror": "医疗·手术恐怖",
|
||||
"human_experimentation": "人体实验题材",
|
||||
"cannibalism": "食人 — 直接或暗示",
|
||||
"nuclear_themes": "核战 / 辐射主题",
|
||||
"liminal_spaces": "阈限空间 / 不安的空旷场景",
|
||||
"analog_horror": "模拟恐怖 / VHS 失真风格",
|
||||
"unreality_themes": "现实扭曲 / 不可靠的感知",
|
||||
"pursuit_chase": "持续追逐 / 跟踪场景",
|
||||
"entity_horror": "未知实体 / SCP 类恐怖",
|
||||
"first_time_playing": "首次游玩 — 可能错过机制",
|
||||
"returning_player": "回归玩家 — NG+ 语境",
|
||||
"mods_used": "使用游戏 mod",
|
||||
"cheats_enabled": "使用作弊 / debug 指令",
|
||||
"glitch_exploits": "故意利用 bug / 跳关",
|
||||
"assisted_run": "参考攻略 — 非盲玩"
|
||||
}
|
||||
},
|
||||
"graphics": {
|
||||
"with": "+",
|
||||
@@ -165,6 +316,50 @@
|
||||
"performance": "Performance",
|
||||
"ultra_performance": "Ultra Performance"
|
||||
},
|
||||
"upscale": {
|
||||
"nvidia": {
|
||||
"none": "",
|
||||
"dlaa": "NVIDIA DLAA",
|
||||
"quality": "NVIDIA DLSS Quality",
|
||||
"balanced": "NVIDIA DLSS Balanced",
|
||||
"performance": "NVIDIA DLSS Performance",
|
||||
"ultra_performance": "NVIDIA DLSS Ultra Performance"
|
||||
},
|
||||
"amd": {
|
||||
"none": "",
|
||||
"native_aa": "AMD FSR Native AA",
|
||||
"quality": "AMD FSR Quality",
|
||||
"balanced": "AMD FSR Balanced",
|
||||
"performance": "AMD FSR Performance",
|
||||
"ultra_performance": "AMD FSR Ultra Performance"
|
||||
},
|
||||
"intel": {
|
||||
"none": "",
|
||||
"native_aa": "Intel XeSS Native AA",
|
||||
"ultra_quality": "Intel XeSS Ultra Quality",
|
||||
"quality": "Intel XeSS Quality",
|
||||
"balanced": "Intel XeSS Balanced",
|
||||
"performance": "Intel XeSS Performance",
|
||||
"ultra_performance": "Intel XeSS Ultra Performance"
|
||||
}
|
||||
},
|
||||
"frameGen": {
|
||||
"nvidia": {
|
||||
"none": "",
|
||||
"x2": "NVIDIA Frame Generation x2",
|
||||
"x3": "NVIDIA Multi Frame Generation x3",
|
||||
"x4": "NVIDIA Multi Frame Generation x4"
|
||||
},
|
||||
"amd": {
|
||||
"none": "",
|
||||
"x2": "AMD Fluid Motion Frames x2",
|
||||
"x3": "AMD Fluid Motion Frames x3"
|
||||
},
|
||||
"intel": {
|
||||
"none": "",
|
||||
"x2": "Intel XeFG x2"
|
||||
}
|
||||
},
|
||||
"artStyleOptions": {
|
||||
"realistic": "写实",
|
||||
"stylized": "风格化",
|
||||
|
||||
+283
-11
@@ -12,28 +12,60 @@
|
||||
"batch": "批量",
|
||||
"playlist": "播放列表",
|
||||
"logs": "日志",
|
||||
"about": "关于"
|
||||
"about": "关于",
|
||||
"reportBug": "报告 Bug"
|
||||
},
|
||||
"sidebar": {
|
||||
"expand": "展开侧边栏",
|
||||
"collapse": "折叠侧边栏"
|
||||
},
|
||||
"header": {
|
||||
"donate": "赞助"
|
||||
},
|
||||
"about": {
|
||||
"tagline": "为游戏实况无解说频道生成 YouTube 标题、描述和标签的工具。",
|
||||
"repoHeading": "仓库与许可",
|
||||
"repoLabel": "GitHub 仓库",
|
||||
"issuesLabel": "报告问题",
|
||||
"reportBugLabel": "报告 Bug",
|
||||
"discussionsLabel": "讨论区",
|
||||
"authorLabel": "作者",
|
||||
"licenseLabel": "许可证",
|
||||
"donateHeading": "赞助 / 支持",
|
||||
"donateHelp": "如果 YTDescGen 帮你省下了时间,欢迎请我喝一杯咖啡。每份支持都让项目走得更远。",
|
||||
"donate": {
|
||||
"githubSponsors": "GitHub Sponsors",
|
||||
"kofi": "Ko-fi",
|
||||
"buyMeACoffee": "Buy Me a Coffee",
|
||||
"patreon": "Patreon",
|
||||
"paypal": "PayPal"
|
||||
},
|
||||
"connectHeading": "联系方式",
|
||||
"devEnvHeading": "开发环境",
|
||||
"devEnvHelp": "用于构建公开 Web 版本和桌面二进制的硬件与工具链。",
|
||||
"devEnv": {
|
||||
"os": "系统",
|
||||
"cpu": "CPU",
|
||||
"gpu": "GPU",
|
||||
"ram": "RAM",
|
||||
"ide": "IDE",
|
||||
"toolchains": "工具链",
|
||||
"fullSpecLink": "查看完整 PC 配置 ↗",
|
||||
"fullDevEnvLink": "开发环境指南 ↗"
|
||||
},
|
||||
"thirdPartyHeading": "第三方致谢",
|
||||
"thirdPartyHelp": "YTDescGen 基于以下开源项目构建。版本号从 package.json 自动同步。",
|
||||
"socials": {
|
||||
"youtube": "YouTube 频道",
|
||||
"x": "X / Twitter",
|
||||
"discord": "Discord 服务器",
|
||||
"kofi": "Ko-fi",
|
||||
"patreon": "Patreon"
|
||||
"bluesky": "Bluesky",
|
||||
"mastodon": "Mastodon",
|
||||
"discord": "Discord — 仓库 / 综合",
|
||||
"discordGame": "Discord — 游戏频道",
|
||||
"steam": "Steam 个人主页",
|
||||
"telegramBot": "Telegram 机器人",
|
||||
"telegramUser": "Telegram",
|
||||
"email": "邮箱"
|
||||
}
|
||||
},
|
||||
"editor": {
|
||||
@@ -96,6 +128,18 @@
|
||||
"chapterNamePlaceholder": "e.g. Chapter 5 Act 2: Where the Stars Fall",
|
||||
"questName": "Quest Name",
|
||||
"questNamePlaceholder": "e.g. A Solitary Constellation",
|
||||
"characterName": "角色名称",
|
||||
"characterNamePlaceholder": "例:芙宁娜、托帕斯、阿刻戎",
|
||||
"anniversaryYear": "周年",
|
||||
"anniversaryYearOption": "{{count}}周年",
|
||||
"gachaVersion": "游戏版本",
|
||||
"gachaVersionPlaceholder": "例:1.2、2.4",
|
||||
"gpu_brand": "品牌",
|
||||
"gpu_series": "系列",
|
||||
"gpu_model": "型号",
|
||||
"gpu_custom": "自定义 GPU",
|
||||
"ram_size": "内存容量",
|
||||
"ram_ddr": "DDR 代",
|
||||
"vnDonate": "Donate (Vietnam)",
|
||||
"vnDonateHelp": "Only rendered into the description when output language is Vietnamese.",
|
||||
"vnBankName": "Bank name",
|
||||
@@ -147,6 +191,21 @@
|
||||
"x4": "x4",
|
||||
"x6": "x6"
|
||||
},
|
||||
"frameGenMultiplier.nvidia": {
|
||||
"none": "None",
|
||||
"x2": "x2 (Frame Gen)",
|
||||
"x3": "x3 (Multi Frame Gen)",
|
||||
"x4": "x4 (Multi Frame Gen)"
|
||||
},
|
||||
"frameGenMultiplier.amd": {
|
||||
"none": "None",
|
||||
"x2": "x2 (Fluid Motion Frames)",
|
||||
"x3": "x3 (Fluid Motion Frames)"
|
||||
},
|
||||
"frameGenMultiplier.intel": {
|
||||
"none": "None",
|
||||
"x2": "x2 (XeFG)"
|
||||
},
|
||||
"upscaleQuality": "Upscaling Quality",
|
||||
"upscaleQualityOptions": {
|
||||
"none": "None",
|
||||
@@ -156,6 +215,31 @@
|
||||
"performance": "Performance",
|
||||
"ultra_performance": "Ultra Performance"
|
||||
},
|
||||
"upscaleQuality.nvidia": {
|
||||
"none": "None",
|
||||
"dlaa": "DLAA",
|
||||
"quality": "DLSS Quality",
|
||||
"balanced": "DLSS Balanced",
|
||||
"performance": "DLSS Performance",
|
||||
"ultra_performance": "DLSS Ultra Performance"
|
||||
},
|
||||
"upscaleQuality.amd": {
|
||||
"none": "None",
|
||||
"native_aa": "FSR Native AA",
|
||||
"quality": "FSR Quality",
|
||||
"balanced": "FSR Balanced",
|
||||
"performance": "FSR Performance",
|
||||
"ultra_performance": "FSR Ultra Performance"
|
||||
},
|
||||
"upscaleQuality.intel": {
|
||||
"none": "None",
|
||||
"native_aa": "XeSS Native AA",
|
||||
"ultra_quality": "XeSS Ultra Quality",
|
||||
"quality": "XeSS Quality",
|
||||
"balanced": "XeSS Balanced",
|
||||
"performance": "XeSS Performance",
|
||||
"ultra_performance": "XeSS Ultra Performance"
|
||||
},
|
||||
"artStyle": "Art Style",
|
||||
"artStyleOptions": {
|
||||
"none": "— Not set —",
|
||||
@@ -184,9 +268,7 @@
|
||||
"storeLinkType": "类型",
|
||||
"rig": "我的配置",
|
||||
"social": "社交与赞助链接",
|
||||
"warnings": "警告",
|
||||
"spoilerWarning": "剧透警告",
|
||||
"matureWarning": "成人内容 (18+)",
|
||||
"warnings": "内容警告",
|
||||
"playlistLink": "播放列表链接",
|
||||
"playlistLinkPlaceholder": "https://youtube.com/playlist?list=...",
|
||||
"contactEmail": "联系邮箱",
|
||||
@@ -223,10 +305,182 @@
|
||||
"difficultyCustomLabel": "自定义难度标签",
|
||||
"difficultyCustomPlaceholder": "如: Lethal, NG+7, Fromsoft default",
|
||||
"contentWarnings": "内容警告",
|
||||
"contentWarningSearchPlaceholder": "搜索警告…",
|
||||
"contentWarningEmpty": "无匹配警告",
|
||||
"contentWarningGroups": {
|
||||
"spoilers": "剧透",
|
||||
"photosensitive": "光敏感 / 健康",
|
||||
"phobias": "恐惧症",
|
||||
"mental_health": "心理健康",
|
||||
"sensitive": "成人 / 敏感",
|
||||
"playstyle": "游玩说明",
|
||||
"horror_specific": "重度恐怖",
|
||||
"gameplay_disclosure": "玩法披露"
|
||||
},
|
||||
"contentWarningOptions": {
|
||||
"flashing_lights": "⚡ 闪光",
|
||||
"loud_noises": "🔊 大音量",
|
||||
"jump_scares": "😱 惊吓镜头"
|
||||
"spoiler_story": "剧情 / 结局剧透",
|
||||
"spoiler_ending": "结局剧透",
|
||||
"spoiler_true_ending": "True ending 剧透",
|
||||
"spoiler_post_game": "通关后 / NG+ 剧透",
|
||||
"spoiler_secret_ending": "隐藏结局剧透",
|
||||
"spoiler_dlc": "DLC 剧情剧透",
|
||||
"flashing_lights": "闪光效果",
|
||||
"motion_sickness": "3D晕眩",
|
||||
"migraine_trigger": "可能引发偏头痛",
|
||||
"loud_noises": "突发音量",
|
||||
"jump_scares": "惊吓镜头",
|
||||
"acrophobia": "恐高",
|
||||
"trypophobia": "密集恐惧",
|
||||
"thalassophobia": "深海恐惧",
|
||||
"claustrophobia": "幽闭恐惧",
|
||||
"arachnophobia": "蜘蛛恐惧",
|
||||
"entomophobia": "昆虫恐惧",
|
||||
"ophidiophobia": "蛇恐惧",
|
||||
"cynophobia": "犬恐惧",
|
||||
"nyctophobia": "黑暗恐惧",
|
||||
"pyrophobia": "火焰恐惧",
|
||||
"pediophobia": "玩偶恐惧",
|
||||
"hemophobia": "血液恐惧",
|
||||
"anxiety_inducing": "可能引发焦虑",
|
||||
"depression_themes": "抑郁主题",
|
||||
"eating_disorders": "饮食失调",
|
||||
"substance_use": "药物使用",
|
||||
"self_harm": "自残 / 自杀",
|
||||
"ptsd_themes": "PTSD 相关",
|
||||
"needles": "针头",
|
||||
"body_fluids": "体液",
|
||||
"pregnancy_horror": "怀孕恐怖",
|
||||
"illness_themes": "疾病 / 感染",
|
||||
"bipolar_themes": "双相障碍",
|
||||
"ocd_themes": "强迫症",
|
||||
"panic_attacks": "恐慌发作",
|
||||
"dissociation": "分离 / 现实解体",
|
||||
"blood_gore": "血腥场面",
|
||||
"mature_18plus": "成人 18+",
|
||||
"disturbing_imagery": "令人不适画面",
|
||||
"animal_abuse": "虐待动物",
|
||||
"child_harm": "未成年人受暴",
|
||||
"domestic_violence": "家庭暴力",
|
||||
"sexual_assault": "性暴力",
|
||||
"torture": "酷刑",
|
||||
"religion_themes": "宗教主题",
|
||||
"war_violence": "战争暴力",
|
||||
"discrimination": "歧视",
|
||||
"police_violence": "公权力暴力",
|
||||
"smoking_drinking": "吸烟 / 饮酒",
|
||||
"detailed_killing": "详细杀人场面",
|
||||
"cult_occult": "邪教 / 神秘学",
|
||||
"psychological_manipulation": "心理操控",
|
||||
"grief_loss": "失去 / 悲伤",
|
||||
"kidnapping": "绑架",
|
||||
"hate_speech": "仇恨言论",
|
||||
"historical_atrocity": "历史暴行",
|
||||
"slavery_themes": "奴隶制",
|
||||
"terrorism_themes": "恐怖主义",
|
||||
"bullying_themes": "霸凌",
|
||||
"blind_playthrough": "首次盲打",
|
||||
"no_spoilers_chat": "聊天勿剧透",
|
||||
"casual_difficulty": "休闲 / 剧情难度",
|
||||
"hardcore_difficulty": "硬核 / 最高难度",
|
||||
"permadeath_run": "永久死亡 / Iron Man",
|
||||
"speedrun_attempt": "速通挑战",
|
||||
"completionist_run": "100% 全收集",
|
||||
"learning_mechanics": "仍在熟悉机制",
|
||||
"eye_horror": "眼球 / 眼球群",
|
||||
"body_horror": "身体恐怖(肉体扭曲)",
|
||||
"face_horror": "扭曲的面孔",
|
||||
"cosmic_horror": "宇宙 / 邪神恐怖",
|
||||
"extreme_gore": "极端血腥 / 肢解",
|
||||
"decay_rot": "腐烂 / 蛆虫",
|
||||
"mutilation": "残害 / 截肢",
|
||||
"strobe_effects": "频闪灯光",
|
||||
"screen_shake_intense": "画面震动剧烈",
|
||||
"coulrophobia": "小丑",
|
||||
"ablutophobia": "溺水",
|
||||
"taphophobia": "活埋",
|
||||
"paranoia_themes": "妄想",
|
||||
"intrusive_thoughts": "侵入性思维",
|
||||
"medical_horror": "医疗恐怖",
|
||||
"human_experimentation": "人体实验",
|
||||
"cannibalism": "食人",
|
||||
"nuclear_themes": "核 / 辐射",
|
||||
"liminal_spaces": "阈限空间",
|
||||
"analog_horror": "模拟 / VHS",
|
||||
"unreality_themes": "现实扭曲",
|
||||
"pursuit_chase": "追逐",
|
||||
"entity_horror": "未知实体 / SCP",
|
||||
"first_time_playing": "首次游玩",
|
||||
"returning_player": "回归 / NG+",
|
||||
"mods_used": "使用 mod",
|
||||
"cheats_enabled": "使用作弊",
|
||||
"glitch_exploits": "利用 bug",
|
||||
"assisted_run": "参考攻略"
|
||||
},
|
||||
"playthroughNotes": {
|
||||
"title": "本期游玩说明",
|
||||
"runTypeLabel": "游玩类型",
|
||||
"difficultyLabel": "难度",
|
||||
"endingsLabel": "展示的结局",
|
||||
"endingsPlaceholder": "例:仅真结局、3 选 1、全路线 100%",
|
||||
"languagePatchLabel": "语言补丁",
|
||||
"languagePatchCustomLabel": "自定义语言标签",
|
||||
"languagePatchCustomPlaceholder": "例:官方韩文版、民间汉化 v2.1",
|
||||
"gameVersionLabel": "游戏版本",
|
||||
"gameVersionCustomLabel": "自定义版本标签",
|
||||
"gameVersionCustomPlaceholder": "例:Steam Next Fest 试玩、Kickstarter 支持者版本",
|
||||
"languagePatchOptions": {
|
||||
"none": "— 未选择 —",
|
||||
"official_en": "官方英文",
|
||||
"official_other": "官方(其他语言)",
|
||||
"fan_translation": "民间翻译",
|
||||
"mtl": "机器翻译",
|
||||
"custom": "自定义…"
|
||||
},
|
||||
"gameVersionOptions": {
|
||||
"full_release": "— 正式版 —",
|
||||
"demo": "试玩版",
|
||||
"early_access": "抢先体验",
|
||||
"beta": "测试版",
|
||||
"prologue": "前传 / 预告",
|
||||
"pre_release": "预发布",
|
||||
"custom": "自定义…"
|
||||
}
|
||||
},
|
||||
"techNotes": "技术说明",
|
||||
"techNoteSearchPlaceholder": "搜索说明…",
|
||||
"techNoteEmpty": "无匹配的说明",
|
||||
"techNoteGroups": {
|
||||
"audio": "音频",
|
||||
"video_quality": "视频质量",
|
||||
"recording_issues": "录制问题",
|
||||
"playstyle": "游玩风格说明",
|
||||
"production": "制作与署名"
|
||||
},
|
||||
"techNoteOptions": {
|
||||
"copyright_muted_sections": "部分静音(版权)",
|
||||
"volume_reduced_copyright": "音量降低(版权)",
|
||||
"music_replaced_copyright": "替换音乐(版权)",
|
||||
"cutscene_audio_muted_only": "仅过场静音",
|
||||
"original_audio_kept": "保留原音(索赔风险)",
|
||||
"low_resolution_hardware": "低分辨率(硬件)",
|
||||
"low_graphics_performance": "画质降低(性能)",
|
||||
"fps_drops_hardware": "帧数下降(硬件)",
|
||||
"bug_from_game": "Bug 来自游戏",
|
||||
"crash_kept_transparency": "保留崩溃(透明)",
|
||||
"loading_cut": "剪掉读取画面",
|
||||
"obs_artifacts_possible": "可能存在 OBS 瑕疵",
|
||||
"not_no_hit_run": "并非无伤通关",
|
||||
"not_clean_walkthrough": "并非精修攻略",
|
||||
"casual_no_commentary": "休闲,无解说",
|
||||
"many_deaths_patience": "死亡较多",
|
||||
"slow_exploration": "慢节奏探索",
|
||||
"puzzle_stuck_possible": "可能卡解谜",
|
||||
"grinding_cut": "剪掉刷取段落",
|
||||
"not_speedrun_relaxed": "并非速通",
|
||||
"exploration_focus_skip_combat": "侧重探索(跳过战斗)",
|
||||
"edited_for_pacing": "为节奏剪辑",
|
||||
"support_developers": "支持开发者",
|
||||
"online_connectivity_issues": "联机连线问题"
|
||||
},
|
||||
"videoSettings": "视频设置",
|
||||
"quickPreview": "快速预览",
|
||||
@@ -236,6 +490,14 @@
|
||||
"clearDraftConfirm": "确定要清除所有表单数据吗?",
|
||||
"genreSearchPlaceholder": "搜索类型",
|
||||
"genreSearchNoResults": "未找到类型",
|
||||
"validation": {
|
||||
"gpuMissingSeries": "请选择 GPU 系列。",
|
||||
"gpuMissingModel": "请选择 GPU 型号。",
|
||||
"gpuCustomEmpty": "请输入 GPU 名称或从列表选择。",
|
||||
"ramMissingDdr": "请选择 DDR 代。",
|
||||
"ramMissingSize": "请选择内存容量。",
|
||||
"ramCustomEmpty": "请输入内存容量(GB)。"
|
||||
},
|
||||
"genreGroups": {
|
||||
"rpg": "所有 RPG",
|
||||
"shooter": "所有射击",
|
||||
@@ -272,6 +534,11 @@
|
||||
"default": "默认",
|
||||
"typeFirst": "类型优先",
|
||||
"qualityFirst": "画质优先"
|
||||
},
|
||||
"copy": {
|
||||
"overLimit": "{{field}}过长:{{count}}/{{limit}} 字符。复制前请精简。",
|
||||
"fieldGeneric": "文本",
|
||||
"failed": "复制失败"
|
||||
}
|
||||
},
|
||||
"common": {
|
||||
@@ -405,7 +672,10 @@
|
||||
"deleteConfirm": "确定要删除此配置文件吗?",
|
||||
"emptyState": "暂无配置文件。创建一个以保存你的频道信息。",
|
||||
"exportProfiles": "导出配置",
|
||||
"importProfiles": "导入配置"
|
||||
"importProfiles": "导入配置",
|
||||
"thirdPartyAdText": "第三方广告文案",
|
||||
"thirdPartyAdTextPlaceholder": "例如:在 GameStore.com 使用代码 SAVE10 享受全部游戏 9 折优惠\n赞助商:ChairCo — 链接见描述",
|
||||
"thirdPartyAdTextHelp": "可选的赞助商 / 合作伙伴 / 联盟营销文案。在设置中开启「第三方广告」时显示。"
|
||||
},
|
||||
"templates": {
|
||||
"title": "模板",
|
||||
@@ -462,6 +732,8 @@
|
||||
"showCopyright": "在描述中添加 © 版权行",
|
||||
"showUsagePolicy": "在描述中添加视频使用规则块",
|
||||
"showSponsorCredit": "在描述中添加赞助商感谢行(提供激活码)",
|
||||
"showThirdPartyAds": "在描述中显示第三方广告区块",
|
||||
"thirdPartyAdsHint": "广告文案请在频道配置中设置(配置文件 → 编辑)。",
|
||||
"titleFormatTitle": "标题格式",
|
||||
"descriptionSettingsTitle": "描述",
|
||||
"badgePosition": "画质徽章位置",
|
||||
|
||||
+114
-8
@@ -6,12 +6,23 @@ import {
|
||||
Youtube,
|
||||
Twitter,
|
||||
MessageCircle,
|
||||
MessageSquare,
|
||||
Cloud,
|
||||
Gamepad2,
|
||||
Send,
|
||||
Mail,
|
||||
Coffee,
|
||||
Heart,
|
||||
Sparkles,
|
||||
DollarSign,
|
||||
Cpu,
|
||||
Monitor,
|
||||
type LucideIcon,
|
||||
} from "lucide-react";
|
||||
import { ABOUT, type AboutSocialId } from "@config/about";
|
||||
import { DONATE, type DonateId } from "@config/donate";
|
||||
import { THIRD_PARTY } from "@config/third-party";
|
||||
import { useDocumentTitle } from "@hooks/use-document-title";
|
||||
|
||||
interface SocialLinkConfig {
|
||||
id: AboutSocialId;
|
||||
@@ -20,20 +31,53 @@ interface SocialLinkConfig {
|
||||
labelKey: string;
|
||||
}
|
||||
|
||||
interface DonateLinkConfig {
|
||||
id: DonateId;
|
||||
url: string;
|
||||
icon: LucideIcon;
|
||||
labelKey: string;
|
||||
}
|
||||
|
||||
export function AboutPage() {
|
||||
const { t } = useTranslation("ui");
|
||||
useDocumentTitle(t("tabs.about"));
|
||||
|
||||
// Hidden when empty so a fresh clone with no socials filled in still
|
||||
// looks tidy on the About page.
|
||||
// looks tidy on the About page. Ko-fi / Patreon were moved to the
|
||||
// Donate section in v0.13.1 — keep them out of this list.
|
||||
const allSocials: readonly SocialLinkConfig[] = [
|
||||
{ id: "youtube", url: ABOUT.socials.youtube, icon: Youtube, labelKey: "about.socials.youtube" },
|
||||
{ id: "x", url: ABOUT.socials.x, icon: Twitter, labelKey: "about.socials.x" },
|
||||
{ id: "bluesky", url: ABOUT.socials.bluesky, icon: Cloud, labelKey: "about.socials.bluesky" },
|
||||
{ id: "mastodon", url: ABOUT.socials.mastodon, icon: MessageSquare, labelKey: "about.socials.mastodon" },
|
||||
{ id: "discord", url: ABOUT.socials.discord, icon: MessageCircle, labelKey: "about.socials.discord" },
|
||||
{ id: "kofi", url: ABOUT.socials.kofi, icon: Coffee, labelKey: "about.socials.kofi" },
|
||||
{ id: "patreon", url: ABOUT.socials.patreon, icon: Heart, labelKey: "about.socials.patreon" },
|
||||
{ id: "discordGame", url: ABOUT.socials.discordGame, icon: Gamepad2, labelKey: "about.socials.discordGame" },
|
||||
{ id: "steam", url: ABOUT.socials.steam, icon: Gamepad2, labelKey: "about.socials.steam" },
|
||||
{ id: "telegramBot", url: ABOUT.socials.telegramBot, icon: Send, labelKey: "about.socials.telegramBot" },
|
||||
{ id: "telegramUser", url: ABOUT.socials.telegramUser, icon: Send, labelKey: "about.socials.telegramUser" },
|
||||
{ id: "email", url: ABOUT.socials.email, icon: Mail, labelKey: "about.socials.email" },
|
||||
];
|
||||
const socials = allSocials.filter((s) => s.url.trim().length > 0);
|
||||
|
||||
const donateLinks: readonly DonateLinkConfig[] = [
|
||||
{ id: "githubSponsors", url: DONATE.githubSponsors, icon: Sparkles, labelKey: "about.donate.githubSponsors" },
|
||||
{ id: "kofi", url: DONATE.kofi, icon: Coffee, labelKey: "about.donate.kofi" },
|
||||
{ id: "buyMeACoffee", url: DONATE.buyMeACoffee, icon: Coffee, labelKey: "about.donate.buyMeACoffee" },
|
||||
{ id: "patreon", url: DONATE.patreon, icon: Heart, labelKey: "about.donate.patreon" },
|
||||
{ id: "paypal", url: DONATE.paypal, icon: DollarSign, labelKey: "about.donate.paypal" },
|
||||
];
|
||||
|
||||
// Pulled from docs/DEVELOPMENT.md — keep them in sync when the box gets
|
||||
// an upgrade. The page surfaces the summary; the full spec lives in docs.
|
||||
const devEnvRows: ReadonlyArray<{ icon: LucideIcon; labelKey: string; value: string }> = [
|
||||
{ icon: Monitor, labelKey: "about.devEnv.os", value: "Windows 11 Pro 25H2 Insider (build 26300.8376)" },
|
||||
{ icon: Cpu, labelKey: "about.devEnv.cpu", value: "Intel Core i7-14700KF" },
|
||||
{ icon: Cpu, labelKey: "about.devEnv.gpu", value: "NVIDIA GeForce RTX 5080 (16 GB)" },
|
||||
{ icon: Cpu, labelKey: "about.devEnv.ram", value: "32 GB DDR5" },
|
||||
{ icon: Monitor, labelKey: "about.devEnv.ide", value: "JetBrains 2026.x · VS Code" },
|
||||
{ icon: Cpu, labelKey: "about.devEnv.toolchains", value: "Node ≥ 25.8.1 · Python 3.12 · Rust stable · Tauri 2" },
|
||||
];
|
||||
|
||||
return (
|
||||
<div className="mx-auto flex max-w-3xl flex-col gap-8 p-6">
|
||||
<header className="flex flex-col gap-2">
|
||||
@@ -59,9 +103,14 @@ export function AboutPage() {
|
||||
label={t("about.repoLabel")}
|
||||
/>
|
||||
<ExternalLinkRow
|
||||
href={ABOUT.issuesUrl}
|
||||
href={ABOUT.bugReportUrl}
|
||||
icon={Bug}
|
||||
label={t("about.issuesLabel")}
|
||||
label={t("about.reportBugLabel")}
|
||||
/>
|
||||
<ExternalLinkRow
|
||||
href={ABOUT.discussionsUrl}
|
||||
icon={MessageSquare}
|
||||
label={t("about.discussionsLabel")}
|
||||
/>
|
||||
<ExternalLinkRow
|
||||
href={ABOUT.githubAuthor}
|
||||
@@ -76,6 +125,24 @@ export function AboutPage() {
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="flex flex-col gap-3">
|
||||
<h2 className="text-sm font-semibold uppercase tracking-wide text-text-muted">
|
||||
{t("about.donateHeading")}
|
||||
</h2>
|
||||
<p className="text-xs text-text-muted">{t("about.donateHelp")}</p>
|
||||
<div className="grid gap-2 sm:grid-cols-2">
|
||||
{donateLinks.map((d) => (
|
||||
<ExternalLinkRow
|
||||
key={d.id}
|
||||
href={d.url}
|
||||
icon={d.icon}
|
||||
label={t(d.labelKey)}
|
||||
accent
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{socials.length > 0 && (
|
||||
<section className="flex flex-col gap-3">
|
||||
<h2 className="text-sm font-semibold uppercase tracking-wide text-text-muted">
|
||||
@@ -94,6 +161,40 @@ export function AboutPage() {
|
||||
</section>
|
||||
)}
|
||||
|
||||
<section className="flex flex-col gap-3">
|
||||
<h2 className="text-sm font-semibold uppercase tracking-wide text-text-muted">
|
||||
{t("about.devEnvHeading")}
|
||||
</h2>
|
||||
<p className="text-xs text-text-muted">{t("about.devEnvHelp")}</p>
|
||||
<ul className="overflow-hidden rounded-lg border border-border bg-surface-1">
|
||||
{devEnvRows.map((row) => {
|
||||
const Icon = row.icon;
|
||||
return (
|
||||
<li
|
||||
key={row.labelKey}
|
||||
className="flex items-center gap-3 border-b border-border px-3 py-2 text-sm last:border-b-0"
|
||||
>
|
||||
<Icon className="h-4 w-4 shrink-0 text-text-muted" />
|
||||
<span className="w-32 shrink-0 text-text-secondary">{t(row.labelKey)}</span>
|
||||
<span className="flex-1 truncate font-mono text-xs text-text-primary">{row.value}</span>
|
||||
</li>
|
||||
);
|
||||
})}
|
||||
</ul>
|
||||
<div className="grid gap-2 sm:grid-cols-2">
|
||||
<ExternalLinkRow
|
||||
href={ABOUT.pcSpecDocUrl}
|
||||
icon={ExternalLink}
|
||||
label={t("about.devEnv.fullSpecLink")}
|
||||
/>
|
||||
<ExternalLinkRow
|
||||
href={ABOUT.devEnvDocUrl}
|
||||
icon={ExternalLink}
|
||||
label={t("about.devEnv.fullDevEnvLink")}
|
||||
/>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="flex flex-col gap-3">
|
||||
<h2 className="text-sm font-semibold uppercase tracking-wide text-text-muted">
|
||||
{t("about.thirdPartyHeading")}
|
||||
@@ -126,17 +227,22 @@ interface ExternalLinkRowProps {
|
||||
href: string;
|
||||
icon: LucideIcon;
|
||||
label: string;
|
||||
accent?: boolean;
|
||||
}
|
||||
|
||||
function ExternalLinkRow({ href, icon: Icon, label }: ExternalLinkRowProps) {
|
||||
function ExternalLinkRow({ href, icon: Icon, label, accent }: ExternalLinkRowProps) {
|
||||
return (
|
||||
<a
|
||||
href={href}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="flex items-center gap-3 rounded-lg border border-border bg-surface-1 px-3 py-2.5 text-sm text-text-primary transition-colors hover:border-accent hover:bg-surface-2"
|
||||
className={
|
||||
accent
|
||||
? "flex items-center gap-3 rounded-lg border border-pink-500/30 bg-pink-500/5 px-3 py-2.5 text-sm text-text-primary transition-colors hover:border-pink-400/60 hover:bg-pink-500/10"
|
||||
: "flex items-center gap-3 rounded-lg border border-border bg-surface-1 px-3 py-2.5 text-sm text-text-primary transition-colors hover:border-accent hover:bg-surface-2"
|
||||
}
|
||||
>
|
||||
<Icon className="h-4 w-4 shrink-0 text-text-secondary" />
|
||||
<Icon className={accent ? "h-4 w-4 shrink-0 text-pink-300" : "h-4 w-4 shrink-0 text-text-secondary"} />
|
||||
<span className="flex-1 truncate">{label}</span>
|
||||
<ExternalLink className="h-3.5 w-3.5 shrink-0 text-text-muted" />
|
||||
</a>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { useState, useMemo } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { useDocumentTitle } from "@hooks/use-document-title";
|
||||
import i18n from "i18next";
|
||||
import { Input } from "@components/ui/Input";
|
||||
import { Button } from "@components/ui/Button";
|
||||
@@ -29,6 +30,7 @@ interface BatchResult {
|
||||
|
||||
export function BatchPage() {
|
||||
const { t } = useTranslation("ui");
|
||||
useDocumentTitle(t("tabs.batch"));
|
||||
const state = useEditorStore();
|
||||
const baseInput = useCurrentGeneratorInput();
|
||||
const {
|
||||
|
||||
@@ -9,8 +9,9 @@ import { StoreLinkEditor } from "@components/editor/StoreLinkEditor";
|
||||
import { RigEditor } from "@components/editor/RigEditor";
|
||||
import { SocialEditor } from "@components/editor/SocialEditor";
|
||||
import { VietnameseDonateEditor } from "@components/editor/VietnameseDonateEditor";
|
||||
import { WarningToggles } from "@components/editor/WarningToggles";
|
||||
import { ContentDetailsForm } from "@components/editor/ContentDetailsForm";
|
||||
import { ContentWarningChecklist } from "@components/editor/ContentWarningChecklist";
|
||||
import { PlaythroughNotesForm } from "@components/editor/PlaythroughNotesForm";
|
||||
import { TechNotesChecklist } from "@components/editor/TechNotesChecklist";
|
||||
import { ThumbnailHelper } from "@components/editor/ThumbnailHelper";
|
||||
import { PinnedCommentEditor } from "@components/editor/PinnedCommentEditor";
|
||||
import { MusicAttributionEditor } from "@components/editor/MusicAttributionEditor";
|
||||
@@ -25,12 +26,14 @@ import { Accordion } from "@components/ui/Accordion";
|
||||
import { useEditorStore } from "@store/editor-store";
|
||||
import { useSettingsStore } from "@store/settings-store";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { useDocumentTitle } from "@hooks/use-document-title";
|
||||
import { validateEmails, validatePlaylistUrl } from "@utils/validation";
|
||||
import { RotateCcw } from "lucide-react";
|
||||
import { useState } from "react";
|
||||
|
||||
export function EditorPage() {
|
||||
const { t } = useTranslation("ui");
|
||||
useDocumentTitle(t("tabs.editor"));
|
||||
const store = useEditorStore();
|
||||
const accordion = useSettingsStore((s) => s.editorAccordionState);
|
||||
const toggleAccordion = useSettingsStore((s) => s.toggleEditorAccordion);
|
||||
@@ -39,7 +42,7 @@ export function EditorPage() {
|
||||
const isOpen = (id: string): boolean => accordion[id] ?? false;
|
||||
|
||||
return (
|
||||
<div className="mx-auto flex max-w-6xl flex-col gap-6 p-6 lg:flex-row">
|
||||
<div className="mx-auto flex max-w-6xl flex-col gap-4 p-3 sm:p-4 md:gap-6 md:p-6 lg:flex-row">
|
||||
{/* Form */}
|
||||
<div className="flex flex-1 flex-col gap-4">
|
||||
<div className="flex items-center justify-between">
|
||||
@@ -94,14 +97,17 @@ export function EditorPage() {
|
||||
onToggle={() => toggleAccordion("contentDetails")}
|
||||
>
|
||||
<TimestampEditor />
|
||||
<ContentDetailsForm />
|
||||
<WarningToggles />
|
||||
<PlaythroughNotesForm />
|
||||
<ContentWarningChecklist />
|
||||
<TechNotesChecklist />
|
||||
<ValidatedInput
|
||||
label={t("editor.playlistLink")}
|
||||
placeholder={t("editor.playlistLinkPlaceholder")}
|
||||
value={store.playlistLink ?? ""}
|
||||
onChange={(v) => store.set("playlistLink", v)}
|
||||
validate={validatePlaylistUrl}
|
||||
inputMode="url"
|
||||
autoComplete="off"
|
||||
/>
|
||||
<ValidatedInput
|
||||
label={t("editor.contactEmail")}
|
||||
@@ -110,6 +116,8 @@ export function EditorPage() {
|
||||
onChange={(v) => store.set("contactEmail", v)}
|
||||
validate={validateEmails}
|
||||
helpText={t("editor.contactEmailHelp")}
|
||||
inputMode="email"
|
||||
autoComplete="email"
|
||||
/>
|
||||
</Accordion>
|
||||
|
||||
@@ -151,7 +159,7 @@ export function EditorPage() {
|
||||
|
||||
{/* Sidebar: Quick Preview */}
|
||||
<div className="w-full shrink-0 lg:w-80">
|
||||
<div className="sticky top-6">
|
||||
<div className="lg:sticky lg:top-6">
|
||||
<QuickPreview />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { useDocumentTitle } from "@hooks/use-document-title";
|
||||
import { Trash2 } from "lucide-react";
|
||||
import { Input } from "@components/ui/Input";
|
||||
import { Button } from "@components/ui/Button";
|
||||
@@ -9,6 +10,7 @@ import { useHistoryStore } from "@store/history-store";
|
||||
|
||||
export function HistoryPage() {
|
||||
const { t } = useTranslation("ui");
|
||||
useDocumentTitle(t("tabs.history"));
|
||||
const { entries, clearAll } = useHistoryStore();
|
||||
const [search, setSearch] = useState("");
|
||||
const [showClearAll, setShowClearAll] = useState(false);
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { useState, useRef, useEffect } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { useDocumentTitle } from "@hooks/use-document-title";
|
||||
import { Trash2 } from "lucide-react";
|
||||
import { Input } from "@components/ui/Input";
|
||||
import { Button } from "@components/ui/Button";
|
||||
@@ -18,6 +19,7 @@ const LEVEL_FILTERS: Array<{ value: LogLevel | "all"; label: string; color: stri
|
||||
|
||||
export function LogPage() {
|
||||
const { t } = useTranslation("ui");
|
||||
useDocumentTitle(t("tabs.logs"));
|
||||
const { entries, clearAll } = useLogStore();
|
||||
const [search, setSearch] = useState("");
|
||||
const [levelFilter, setLevelFilter] = useState<LogLevel | "all">("all");
|
||||
|
||||
Loaded 100 of 118 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user