Compare commits

...
20 Commits
Author SHA1 Message Date
poli0981 c02464cafb Merge pull request #92 from poli0981/claude/v0.26.0
feat(v0.26.0): lazy-load locale bundles per language
2026-06-12 07:55:15 +07:00
poli0981andClaude Fable 5 c78e49d08b chore(release): bump manifests to 0.26.0
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 07:53:20 +07:00
poli0981andClaude Fable 5 6f87dfc254 docs(i18n): document lazy-loaded locales in CHANGELOG, I18N, ARCHITECTURE, DEVELOPMENT
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 07:53:19 +07:00
poli0981andClaude Fable 5 820bbb9369 feat(i18n): lazy-load locale bundles per language
Only English ships in the main chunk (fallbackLng + the engine's
bilingual tEn must resolve synchronously); the 10 non-English locale
JSONs become Vite async chunks fetched on first use via
i18next-resources-to-backend. Main chunk: 594.0 -> 264.0 kB min
(204.3 -> 82.0 kB gzip), back under the 500 kB warning threshold.

Every reactive getFixedT site gates on the new useLanguagesReady hook
(an unloaded language would silently render English — and OutputPage
would save that as a wrong-language history entry); Batch/Social bulk
handlers preload all selected languages before their loops; main.tsx
preloads the persisted UI + output languages before first paint. A
failed chunk fetch is retried once via direct import (i18next pins
failed languages permanently), then logged, degrading to English.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 07:52:27 +07:00
poli0981 b522540614 Merge pull request #90 from poli0981/claude/v0.25.0
feat(v0.25.0): +41 content warnings (dialogue + internet/digital groups), inventory docs backfill
2026-06-10 21:47:21 +07:00
poli0981andClaude Fable 5 b8317c2151 feat(v0.25.0): +41 content warnings (dialogue + internet/digital groups), inventory docs backfill
Two new warning groups — Dialogue / Language (10) and Internet / Digital
life (18) — plus 5 color phobias, 5 suggestive-imagery disclosures, 2
body-image phenomena, and an educational/PSA-purpose disclosure: 207 -> 248
ids across 12 groups. 504 new locale strings (84 keys x 6 locales), VI
flag-prone labels masked per the v0.21.0 precedent. Backfills the
content-inventory docs (audio group + v0.23.0 VFX items were never
documented) and replaces the stale v0.7 warning lines in FEATURES.md.
Adds 8 tests incl. a CONTENT_WARNINGS <-> groups parity guard. Five
manifests bumped 0.24.2 -> 0.25.0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 21:44:45 +07:00
poli0981 69ede56493 Merge pull request #88 from poli0981/claude/v0.24.2
ci(v0.24.2): harden Linux AppImage build, rebuild to ship Linux binaries
2026-06-08 14:21:24 +07:00
poli0981andClaude Opus 4.8 8569e1f81b ci(v0.24.2): harden Linux AppImage build, rebuild to ship Linux binaries
v0.24.1's Linux job failed on a sustained upstream GitHub-CDN 504 while the AppImage bundler fetched linuxdeploy, so v0.24.1 shipped with only Windows + macOS binaries. Set APPIMAGE_EXTRACT_AND_RUN=1 + NO_STRIP=true on the tauri-action step (fixes the linuxdeploy FUSE run-failure mode + future resilience; no-op on Win/macOS) and bump to 0.24.2 to re-run the full matrix. No application code changes — identical app to v0.24.1.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 14:20:26 +07:00
poli0981 7a5b1f9e87 Merge pull request #85 from poli0981/claude/v0.24.1
chore(v0.24.1): clear npm audit, drop unused Cargo deps, document cross-post generator
2026-06-08 13:27:34 +07:00
poli0981andClaude Opus 4.8 c29e04b15f chore(v0.24.1): clear npm audit, drop unused Cargo deps, document cross-post generator
Security/deps: react-router 6.30.3→6.30.4 (moderate open-redirect patch, non-breaking) and vitest 3.2.4→4.1.8 (clears the dev-only critical Vitest-UI advisory); all 482 tests pass unchanged on the new major. npm audit now reports 0 vulnerabilities. Removed unused serde/serde_json from src-tauri/Cargo.toml (no refs in src-tauri/src/; cargo check confirms the crate still compiles). Documented the cross-post caption generator (Social tab) in README + docs/FEATURES.md. Five manifests bumped 0.24.0→0.24.1.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 13:26:47 +07:00
poli0981 23bec5fbda Merge pull request #83 from poli0981/claude/v0.24.0
feat(v0.24.0): cross-post captions, theme toggle, translation notice, Telegram
2026-06-08 12:30:13 +07:00
poli0981andClaude Opus 4.8 f86469485f feat(v0.24.0): cross-post captions, theme toggle, translation notice, Telegram
Adds a cross-post caption generator (TikTok 4000 / Instagram Reels 2200 / Facebook Reels 2200) with single + bulk modes and JSON import/export, a header dark/light theme toggle synced with Settings, an opt-in translation-quality notice for non-trusted (non EN/VI) output languages, and a Telegram social link. Fixes a stray 'Pick a DDR generation' warning on the OS Rig field via a pure validateCompositeField helper. Extracts a shared buildBilingualBulletSection helper reused across content warnings, tech notes, the translation notice, and the social-post builder. +28 tests (482 total). Gates green: typecheck, lint, validate:locales, knip, build.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 12:28:42 +07:00
poli0981 3783c2b1a5 Merge pull request #79 from poli0981/claude/v0.23.0
feat(v0.23.0): +8 VFX warnings, macOS/Linux OS rig support, CHANGELOG catch-up
2026-05-28 08:04:53 +07:00
poli0981andClaude Opus 4.7 6796c78b7e feat(v0.23.0): +8 VFX warnings, macOS/Linux OS rig support, CHANGELOG catch-up
Three concerns bundled per the per-version plan:

1. CHANGELOG catch-up — v0.22.0 was shipped without a `CHANGELOG.md`
   entry. Backfilled the missing section (Added / Changed / Removed /
   Under the hood) matching v0.21.0's structure.

2. +8 VFX warnings in the `photosensitive` group. New IDs:
   `lens_flare_intense`, `bloom_excessive`, `particle_effects_dense`,
   `screen_overlay_flashing`, `color_saturation_extreme`,
   `motion_blur_heavy`, `depth_of_field_aggressive`,
   `post_processing_intense`. Closes the gap between blanket
   flashing-lights / strobe warnings and AAA / horror games that ship
   intense VFX passes (bloom, particles, post-processing) without ever
   triggering a strobe-style flash. Total warnings 187 → 195;
   photosensitive group 5 → 13. Engine renders each automatically.

3. macOS + Linux in the OS Rig field. `CompositePart.options` widened
   from a static array to a union with `(previousParts) =>
   RigFieldOption[]`, plus new optional `labelKeyResolver` (swap
   "Version" ↔ "Distro") and `hiddenWhen` (macOS has no Edition slot)
   per-part predicates. macOS: 7 versions (10 Mojave-era through 26
   Tahoe — the 15 → 26 jump is intentional, matching Apple's 2025
   year-aligned numbering). Linux: 7 distros gameplay creators
   actually use via Proton (Ubuntu / Fedora / Debian / Arch /
   Manjaro / Pop!_OS / Mint) with per-distro version cascading. RAM
   (the existing 2-part static composite) is unaffected — the union
   accepts arrays unchanged. `RigEditor.renderComposite` walks parts
   with a `previousValues` accumulator and resets all downstream
   parts on parent change so the form can't end up in an invalid
   state (e.g. macOS 11 Pro).

Stats: ui.json 835 → 844 keys (+9 = 8 VFX + 1 os_distro), templates
487 → 495 keys (+8 VFX). 6 locales updated in parallel.
454 tests pass (was 445, +9: 7 OS cascading cases + 1 empty-name
fallback + 1 RAM regression check). Gates green: lint, typecheck,
validate:locales (12/12), test, build. Five manifests bumped
0.22.0 → 0.23.0.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-28 08:02:50 +07:00
poli0981 3019be0610 Merge pull request #77 from poli0981/claude/sharp-torvalds-dd5813
feat(v0.22.0): audio warnings, video-style era, OS rig field, drop Default Genre + Dev Env
2026-05-28 01:16:34 +07:00
poli0981andClaude Opus 4.7 6ba2acfd7e feat(v0.22.0): +12 audio warnings, video-style era toggle, OS rig field, drop Default Genre + Dev Env
Group A — Warnings expansion + UX cleanup:
- New "audio" content-warning group (12 IDs: ear_piercing,
  jumpscare_audio, sudden_volume_changes, distorted_audio,
  screeching_metallic, persistent_high_pitch, audio_glitches,
  heavy_bass_rumble, screaming_audio, glass_breaking_audio,
  microphone_pops, white_noise_static). `loud_noises` migrated from
  photosensitive into this dedicated group. Total warnings 175 → 187.
- Remove "Default Genre" from Settings (UI + state + legacy v1→v2
  migration + migration tests). `healSettings` now strips both
  `defaultGenre` and `defaultGenres` from persisted blobs.
- Remove "Dev Environment" block from About (locked hardcoded specs
  that drift on every box upgrade; their wiki link survives in repo).

Group B — Editor additions:
- Video Style era toggle (12 eras: 1980s/90s/00s/10s/20s + modern,
  cinematic, retro, vhs, film_noir, anime_mv, documentary). Combines
  with `rig.video_editor` to emit a one-line credit like
  "Edited in 1990s VHS style using DaVinci Resolve". Renders even
  when `skipGraphicsSettings` is on (2D/pixel-art creators still
  edit footage). New `src/config/video-styles.ts`; editor-store
  persist version bumped 13 → 14 (additive, defensive coercion).
- OS field in My Rig — composite_dropdown following the RAM pattern
  (name + version + edition → "Windows 11 Pro"). Windows 10/11 +
  Home/Pro/Enterprise/Education/IoT for now; macOS/Linux can be
  added later by extending the option arrays.
- `rig.os` locale key added across 6 locales (the rig.* namespace
  itself already existed — only the new field's label is new).

Locale stats (per locale): ui.json 816 → 835 keys (+19),
templates.json 473 → 487 keys (+14). 6 locales updated in parallel
(en/vi/ja/es/ko/zh).

Tests: 416 → 445 passing (+29 — audio warnings touch no test, but
new OS composite tests + new video style line tests + reworked
default-genre migration test).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-28 01:14:35 +07:00
poli0981 e4ba053951 Merge pull request #75 from poli0981/claude/sharp-keller-e87985
v0.21.0: +12 death-method warnings, video-vs-game copyright disclaimer, game-credit toggle, VI censoring sweep
2026-05-27 23:02:50 +07:00
poli0981andClaude Opus 4.7 58fce6d8d2 feat(v0.21.0): +12 death-method warnings, video-vs-game copyright disclaimer, game-credit toggle, VI censoring sweep
Reduces YouTube auto-flag risk on Vietnamese descriptions, adds twelve method-specific
death/violence warnings, rewords the channel copyright line to disambiguate video
content from game IP, and adds an opt-in toggle for crediting the game's studio/publisher
in the description.

- F1: VI censoring sweep — 2-tier policy (asterisk + euphemism) applied consistently
  across warning labels/templates; fixes malformed `b* ng*y h*i` and uncensored `Bạo lực`.
- F2: +12 warnings (hanging_depiction, drowning_depiction, burning_alive, ...,
  defenestration) extend group `sensitive` (49→61). Total 175→187 across 9 groups.
- F3: Channel copyright reworded 1 line → 2-3 sentence disclaimer in all 6 locales.
  JA/KO/ZH now ship proper translations (no more EN fallback).
- F4: New `showGameCopyright` setting (default off) renders `© {publisher}` line right
  after store links. `pubDevName` promoted to first-class field in GameInfoForm,
  persists in GamePreset, decoupled from publisher store URL.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 23:00:21 +07:00
poli0981 7b99f516ae Merge pull request #73 from poli0981/claude/gifted-goldberg-c7ade7
v0.20.0 — +50 content warnings (social/political/weather) + tag comma fix
2026-05-23 09:07:48 +07:00
poli0981andClaude Opus 4.7 b415d14f8b feat(v0.20.0): +50 content warnings (social/political/weather) + tag comma fix
Bundles two changes for the v0.20.0 release:

- Content warnings: +50 IDs across three thematic axes. The phobias
  group gains 10 weather-related fears (homichlophobia/fog,
  lilapsophobia/tornadoes, ombrophobia/rain, nephophobia/clouds,
  ancraophobia/wind, cryophobia/cold, heliophobia/sun, cymophobia/waves,
  limnophobia/lakes, potamophobia/rivers); 41 -> 51. The sensitive
  group gains 20 political/religion/war themes (political_extremism,
  religious_extremism, genocide, holy_war, holocaust_themes, civil_war,
  mass_shooting, colonialism, propaganda, dystopian_state,
  conspiracy_theories, censorship_themes, ethnic_conflict,
  refugee_crisis, revolution_themes, assassination, coup_themes,
  inquisition, forced_labor, ultranationalism); 29 -> 49. A new
  social_phenomena group carries 20 psychological-social IDs that
  don't fit clinical mental-health framing (autism_themes,
  adhd_themes, hikikomori, neet_themes, social_anxiety_themes,
  social_isolation, schizophrenia_themes, burnout_themes,
  survivor_guilt, abandonment_themes, parasocial_themes,
  gaslighting_themes, stockholm_syndrome, behavioral_addiction,
  existential_crisis, impostor_syndrome, midlife_crisis,
  quarter_life_crisis, workplace_harassment, masculinity_pressure).
  Total content warnings 125 -> 175 across 9 groups (was 8). Fully
  translated across all 6 locales. Purely additive.

- Tag generator: strip comma/semicolon/pipe from game names before
  they enter the tag list. New sanitizeForTag helper applied to
  rawName at generateTags entry and inside tagFriendlyGameName.
  Title/description/hashtag paths still read input.gameName verbatim
  so original punctuation survives for human copy. Fixes the case
  where a game like "Hello, World" produced YouTube-broken composite
  tags ("Hello, World gameplay" split at the comma).

Version bumped 0.19.0 -> 0.20.0 across all five manifests.

Pre-release gates green: lint, typecheck, validate:locales (12/12
files complete), 435 tests (+9 new for the tag fix), knip, build,
npm audit (0 vulnerabilities).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-23 09:06:36 +07:00
82 changed files with 5330 additions and 672 deletions

No files matched your search

+8
View File
@@ -74,6 +74,14 @@ jobs:
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# AppImage bundling on hosted runners flakes: linuxdeploy (itself
# an AppImage) needs FUSE to mount, which GitHub runners don't
# reliably provide → "failed to run linuxdeploy". Extract-and-run
# avoids FUSE; NO_STRIP skips a strip pass that also intermittently
# fails. (No-op on Windows / macOS.) Transient CDN 504s while
# *fetching* linuxdeploy are handled by re-running the job.
APPIMAGE_EXTRACT_AND_RUN: 1
NO_STRIP: true
with:
tagName: ${{ github.event.inputs.tag || 'v__VERSION__' }}
releaseName: "YTDescGen ${{ github.event.inputs.tag || 'v__VERSION__' }}"
+214
View File
@@ -2,6 +2,220 @@
All notable changes to YTDescGen ship as tagged releases on `main`.
## v0.26.0 — 2026-06-11
Performance release: locale bundles are now lazy-loaded per language, so
visitors only download the languages they actually use. **Main chunk drops
594.0 → 264.0 kB minified (204.3 → 82.0 kB gzip)** — back under Rollup's
500 kB warning threshold (outstanding since ~v0.23) and the project's
bundle budget. No feature changes.
### Changed
- **Lazy-loaded locale bundles** ([src/i18n/index.ts](src/i18n/index.ts)) — the 10 non-English locale JSONs (5 languages × `ui`/`templates`) left the main chunk and are fetched on first use as Vite async chunks (~27–40 kB min / ~12–17 kB gzip each) via [`i18next-resources-to-backend`](https://github.com/i18next/i18next-resources-to-backend) + a statically-analysable dynamic `import()`. English stays eagerly bundled (`partialBundledLanguages`): it is the `fallbackLng` and the engine's bilingual `tEn` translator, both of which must work synchronously.
- **Generation is gated on bundle readiness** — `getFixedT` for an unloaded language silently serves English fallback strings, which would have let the Output page auto-save a *wrong-language history entry*. A new [`useLanguagesReady`](src/hooks/use-languages-ready.ts) hook holds every reactive generator (output preview, multi-language tabs, social captions, playlist, pinned-comment template, title variants) on a placeholder until the bundle is in memory, and the Batch / Social bulk handlers `await ensureLanguagesLoaded(selectedLangs)` before their multi-language loops.
- **Cold-start preload** ([src/main.tsx](src/main.tsx)) — the persisted UI + output languages are fetched before first paint (capped at 2 s), so a non-English user never sees an English flash; `react: { useSuspense: false }` keeps lazily-ready namespaces from suspending the app shell, which has no Suspense boundary.
- **Failure degrades, never hangs** — a locale chunk that cannot be fetched (offline, stale deploy HTML) is retried once by importing the chunk directly into the resource store (i18next marks a failed language permanently and both `loadLanguages` and `reloadResources` skip it forever after), then logged to the in-app Log page, and the UI falls back to English.
### Under the hood
- **+4 tests (490 → 494)** — [tests/i18n/lazy-locales.test.ts](tests/i18n/lazy-locales.test.ts) pins the contract: `en` available synchronously at import, non-English absent until `ensureLanguagesLoaded`, real strings served after, idempotent reloads.
- [src/utils/platform.ts](src/utils/platform.ts) — `IS_TAURI` now guards `typeof window`, keeping the i18n module importable in vitest's node environment.
- Adding a language no longer touches `src/i18n/index.ts` imports — drop `ui.json`/`templates.json` into `locales/<code>/` and register the code in `SUPPORTED_LANGUAGES` ([docs/I18N.md](docs/I18N.md) checklist simplified).
- Five manifests bumped 0.25.0 → 0.26.0.
## v0.25.0 — 2026-06-10
Adds 41 content warnings, including two new groups — **Dialogue / Language**
and **Internet / Digital life** — plus color phobias, suggestive-imagery
disclosures, body-image phenomena, and an educational-purpose disclosure.
Also backfills the content-inventory docs to the real warning baseline.
### Added
- **2 new content-warning groups + 41 new warnings (207 → 248 across 12 groups)** ([src/engine/types.ts](src/engine/types.ts), [src/config/content-warning-groups.ts](src/config/content-warning-groups.ts)):
- **Dialogue / Language (10)** — what characters *say*, ESRB-descriptor style: `profanity_frequent`, `sexual_innuendo`, `inflammatory_speech`, `verbal_abuse`, `threatening_language`, `slurs_derogatory`, `crude_humor`, `mature_humor`, `dark_humor`, `drug_references`.
- **Internet / Digital life (18)** — 21st-century online phenomena: `cyberbullying`, `doxxing`, `trolling_griefing`, `cancel_culture`, `social_media_addiction`, `doomscrolling`, `fomo`, `fake_news`, `online_scams`, `catfishing`, `deepfake_themes`, `cyberstalking`, `internet_challenges`, `influencer_culture`, `online_radicalization`, `loot_boxes`, `ai_themes`, `data_privacy`.
- **Phobias +5 color phobias (51 → 56)** — `chromophobia` plus per-color `erythrophobia` (all-red rooms), `xanthophobia`, `leukophobia` (stark-white spaces), `melanophobia`.
- **Social phenomena +2 (20 → 22)** — `body_shaming`, `beauty_standards`.
- **Mature / Sensitive +5 suggestive-imagery (61 → 66)** — visuals unsuitable for minors short of explicit content, placed beside `mature_18plus`: `revealing_outfits`, `partial_nudity`, `sexualized_characters`, `fanservice`, `suggestive_poses`.
- **Gameplay disclosure +1 (4 → 5)** — `educational_purpose_only` for games made for education / PSA / propaganda purposes.
- The engine renders all of these automatically (selection-order bullets, bilingual `EN · LOCAL`); cross-post captions inherit them via the shared bullet helper. Vietnamese flag-prone labels follow the v0.21.0 asterisk/euphemism precedent (`t*nh d*c`, `Kh*a th*n`). 504 new locale strings (84 keys × 6 locales) + [`_schema.json`](src/i18n/locales/_schema.json) — validator now expects 907 ui / 542 template keys per locale.
### Docs
- **Content-inventory backfill** ([docs/CONTENT-INVENTORY.md](docs/CONTENT-INVENTORY.md), [docs/i18n/vi/CONTENT-INVENTORY.md](docs/i18n/vi/CONTENT-INVENTORY.md), [README.md](README.md)) — the docs still claimed "187 across 9 groups": the v0.22.0 Audio / Sensory group and the v0.23.0 VFX items were never added (the v0.23.0 entry's "187 → 195" total repeated that stale baseline; the actual progression was 199 → 207). Backfilled to the true 207 baseline, then updated to the new 248 / 12-group totals.
- [docs/FEATURES.md](docs/FEATURES.md) — replaced the stale v0.7-era "Spoiler Warning / 18+ Warning" description-structure lines with the unified Content Warnings block (v0.11+).
### Under the hood
- **+8 tests (482 → 490)** — render/bilingual/VI-masking cases for the new warnings ([tests/engine/description-builder.test.ts](tests/engine/description-builder.test.ts)) and a new `CONTENT_WARNINGS` ↔ groups parity guard ([tests/config/content-warning-groups.test.ts](tests/config/content-warning-groups.test.ts)) that fails if an id is added to the engine list but forgotten from every UI group.
- Five manifests bumped 0.24.2 → 0.25.0. First *published* tag carrying the v0.24.2 Linux AppImage hardening (`APPIMAGE_EXTRACT_AND_RUN=1`, `NO_STRIP=true`) — the v0.24.2 tag itself was never released due to the upstream CDN incident.
- Web bundle: main chunk 568.5 → 594.0 kB minified (191.5 → 204.3 kB gzip) — the 504 statically-imported locale strings account for the whole delta; Rollup's >500 kB chunk warning predates this release.
## v0.24.2 — 2026-06-08
CI-only patch to recover the Linux desktop binaries. **No application code
changes** — identical app to v0.24.1.
### CI
- **Hardened the Linux AppImage build** ([.github/workflows/release-desktop.yml](.github/workflows/release-desktop.yml)) — set `APPIMAGE_EXTRACT_AND_RUN=1` and `NO_STRIP=true` on the `tauri-action` step. `linuxdeploy` (itself an AppImage) needs FUSE to mount, which GitHub-hosted runners don't reliably provide → intermittent `failed to run linuxdeploy`. Extract-and-run sidesteps FUSE; `NO_STRIP` skips a strip pass that also flakes. No-op on Windows / macOS.
- **Rebuilt to ship the Linux binaries** (`.deb` / `.AppImage` / `.rpm`) that v0.24.1 missed when the AppImage tooling download hit a sustained upstream GitHub-CDN `http status: 504` during bundling. v0.24.1 published with Windows + macOS binaries; this tag re-runs the full matrix once the transient outage cleared.
## v0.24.1 — 2026-06-08
Maintenance patch: clears all `npm audit` advisories, drops unused Rust
dependencies, and documents the v0.24.0 cross-post caption generator.
### Security / dependencies
- **react-router / react-router-dom 6.30.3 → 6.30.4** — patches the moderate open-redirect advisory ([GHSA-2j2x-hqr9-3h42](https://github.com/advisories/GHSA-2j2x-hqr9-3h42)). Non-breaking; a HashRouter SPA on static hosting was low-exposure, but patched for hygiene.
- **vitest 3.2.4 → 4.1.8** — clears the critical Vitest-UI-server advisory ([GHSA-5xrq-8626-4rwp](https://github.com/advisories/GHSA-5xrq-8626-4rwp), dev-only — never in a shipped artifact). All 482 tests pass unchanged on the new major; no test or config code needed adjusting. `npm audit` now reports **0 vulnerabilities**.
### Removed
- **Unused `serde` / `serde_json` from `src-tauri/Cargo.toml`** — neither was referenced anywhere in `src-tauri/src/` (Tauri scaffolding leftovers; the `#[tauri::command]` functions only use `String` / `Result`). `cargo check` confirms the crate still compiles without them; `Cargo.lock`'s `yt-desc-gen` entry no longer lists them.
### Docs
- Documented the **cross-post caption generator** (Social tab — TikTok / Instagram Reels / Facebook Reels) in [README.md](README.md) and [docs/FEATURES.md](docs/FEATURES.md).
### Under the hood
- Five manifests bumped 0.24.0 → 0.24.1 (`package.json`, `package-lock.json` root + self-reference, `src-tauri/Cargo.toml`, `src-tauri/Cargo.lock` self-entry, `src-tauri/tauri.conf.json`). Gates green: typecheck, lint, validate:locales, knip, build, 482 tests, `npm audit` clean.
## v0.24.0 — 2026-06-08
Adds a **cross-post caption generator** that re-packages the YouTube
source into TikTok / Instagram Reels / Facebook Reels captions, a
navigation **theme toggle**, an opt-in **translation-quality notice**, and
a **Telegram** social link — plus a fix for a stray validation warning on
the OS Rig field.
### Added
- **Cross-Post Captions** — a new **Social** tab ([src/pages/SocialPage.tsx](src/pages/SocialPage.tsx), [src/engine/social-post-builder.ts](src/engine/social-post-builder.ts), [src/config/social-platforms.ts](src/config/social-platforms.ts), [src/hooks/use-social-posts.ts](src/hooks/use-social-posts.ts)). Re-packages the same editor source that drives the YouTube description into short-form captions for **TikTok (4000)**, **Instagram Reels (2200)**, and **Facebook Reels (2200)**. Each caption pulls Title (badge suppressed), 💻 MY RIG, ⚠️ Content Warnings, 🎁 Thanks, © Copyright, and hashtags (game + primary genre + a curated per-platform popular-hashtag set, deduped case-insensitively). Per-platform char counter + over-limit warning; when a caption overflows, optional blocks are dropped in priority order (warnings → copyright → thanks → rig) — Title + hashtags are never dropped, and there's no mid-string truncation. **Single** mode (platform tabs) and **Bulk** mode (part range × selected languages, reusing the Batch loop) with Copy-All. **JSON import/export** of the generated captions via a new `social` envelope type ([src/utils/file-schema.ts](src/utils/file-schema.ts) `ExportType` / `SCHEMA_VERSIONS` / `isExportType`); import is display-only since captions are derived artifacts. New `tabs.social` + `socialPost.*` locale block across all 6 locales (no new `templates.json` keys — captions reuse existing description/title strings).
- **Dark/Light theme toggle in the header** ([src/components/layout/Header.tsx](src/components/layout/Header.tsx)). A Sun/Moon icon button next to the language picker, reusing the existing `settings.setTheme` action so it stays in sync with the Settings toggle both ways. New `header.toggleTheme` key across 6 locales. No store/persist change — the theme field + setter already existed.
- **Translation-quality notice** ([src/engine/description-builder.ts](src/engine/description-builder.ts), [src/pages/SettingsPage.tsx](src/pages/SettingsPage.tsx)). New opt-in `showTranslationQuality` setting. When on, descriptions generated in a language **outside the trusted set (English / Vietnamese, which are human-reviewed)** get a bilingual `▸ 🌐 ABOUT THIS TRANSLATION` block: an intro naming the trusted languages + caveat bullets (accuracy not 100%, phrasing may be literal/stiff, may not match local style, corrections welcome). English/Vietnamese descriptions skip it. New `description.translationQuality.{header,intro,items.*}` template keys + `settings.showTranslationQuality{,Hint}` UI keys across 6 locales. Additive setting — `healSettings` back-fills the default, so no persist bump.
- **Telegram social link** ([src/config/social-fields.ts](src/config/social-fields.ts)). New `telegram` field (`https://t.me/` prefix, ✈️ icon) in the Social category. `social` is a generic record, so no profile migration. New `social.telegram` label across 6 locales.
### Fixed
- **"Pick a DDR generation" no longer appears on the OS Rig field** ([src/components/editor/RigEditor.tsx](src/components/editor/RigEditor.tsx), [src/utils/rig-validation.ts](src/utils/rig-validation.ts)). `renderComposite` hard-coded the RAM validator for **every** composite dropdown, so selecting an OS — also a composite — ran the RAM check (`"windows||"` parses as size=`"windows"`, ddr=`""`, tripping `ramMissingDdr`). Validator selection moved into a pure `validateCompositeField(fieldId, raw)` helper that only validates RAM; the OS composite (and any future one) shows no spurious badge.
### Under the hood
- **Shared `buildBilingualBulletSection` helper** ([src/engine/description-builder.ts](src/engine/description-builder.ts)). The inline Content-Warnings render block and the standalone Tech-Notes function were collapsed into one exported pure helper (header + intro + `• EN · LOCAL` bullets, U+00B7 separator) — reused by Content Warnings, Tech Notes, the new Translation-Quality notice, and the social-post builder. Description output is byte-for-byte unchanged, guarded by the existing description tests.
- **28 new tests** (454 → 482): 12 in [tests/utils/rig-validation.test.ts](tests/utils/rig-validation.test.ts) (new — RAM/GPU validators + `validateCompositeField` OS-vs-RAM guard), 13 in [tests/engine/social-post-builder.test.ts](tests/engine/social-post-builder.test.ts) (new — hashtag derivation/dedupe/sanitization, rig, bilingual warnings, copyright/sponsor gating, overflow drop-order), 3 translation-quality cases in [tests/engine/description-builder.test.ts](tests/engine/description-builder.test.ts), plus the `settings-heal` complete-payload guard updated for the new field.
- Five manifests bumped 0.23.0 → 0.24.0 (`package.json`, `package-lock.json` root + self-reference, `src-tauri/Cargo.toml`, `src-tauri/Cargo.lock` self-entry, `src-tauri/tauri.conf.json`).
- Pre-release gates run green: lint, typecheck, validate:locales (12/12 files complete; 864 ui + 501 template keys per locale), 482 tests, knip, build.
## v0.23.0 — 2026-05-27
Extends audience-protection coverage with eight VFX-intensity warnings
and unlocks the new OS Rig field (introduced in v0.22.0) for macOS and
Linux creators via a cascading dropdown that adapts its slot semantics
to the chosen OS family.
### Added
- **8 new VFX content warnings in the `photosensitive` group** ([src/engine/types.ts](src/engine/types.ts), [src/config/content-warning-groups.ts](src/config/content-warning-groups.ts)). New IDs: `lens_flare_intense`, `bloom_excessive`, `particle_effects_dense`, `screen_overlay_flashing`, `color_saturation_extreme`, `motion_blur_heavy`, `depth_of_field_aggressive`, `post_processing_intense`. Closes the gap between blanket `flashing_lights` / `strobe_effects` and the AAA / horror games that ship intense visual-effects passes (bloom, particles, lens flares, post-processing) without ever triggering a strobe-style flash. Total content warnings 187 → 195 across 10 groups (no new group; `photosensitive` 5 → 13). Purely additive — engine renders each warning automatically; existing profiles round-trip unchanged. Fully translated across all 6 locales (`ui.json` short labels + `templates.json` description phrases) with `_schema.json` updated.
- **macOS support in the OS Rig field** ([src/config/rig-fields.ts](src/config/rig-fields.ts) `MACOS_VERSION_OPTIONS`). 7 macOS major versions: `10` (Mojave era), `11 Big Sur`, `12 Monterey`, `13 Ventura`, `14 Sonoma`, `15 Sequoia`, `26 Tahoe`. The intentional 15 → 26 jump matches Apple's 2025 year-aligned marketing-number reset. Stored values carry the human label (e.g. `"macos|15 Sequoia|"`) so the description output reads as a single recognisable string. macOS has no Edition tier, so the third dropdown is hidden when macOS is selected.
- **Linux support in the OS Rig field** ([src/config/rig-fields.ts](src/config/rig-fields.ts) `LINUX_DISTRO_OPTIONS`, `LINUX_VERSION_BY_DISTRO`). 7 distros gameplay creators actually use via Proton: Ubuntu (`20.04 / 22.04 / 24.04 / 26.04 LTS`), Fedora (`40 / 41 / 42`), Debian (`12 Bookworm / 13 Trixie`), Arch (`rolling`), Manjaro (`latest`), Pop!_OS (`22.04 / 24.04 LTS`), Linux Mint (`21 / 22`). When Linux is selected the second slot re-labels to "Distro" and the third slot re-labels to "Version" with a per-distro option list — so Ubuntu's versions don't bleed into Fedora's dropdown.
- **Cascading composite dropdown** ([src/config/rig-fields.ts](src/config/rig-fields.ts) `CompositePart`, `resolveCompositeOptions`, `resolveCompositeLabelKey`). `CompositePart.options` widened from `RigFieldOption[]` to a union with `(previousParts) => RigFieldOption[]` so a part can resolve its option list from previously-selected siblings. New optional `labelKeyResolver` lets a single part swap its i18n key (Version / Distro), and `hiddenWhen` removes a part from both the editor form and the description output. RAM (the existing 2-part static composite) is unaffected — the union accepts arrays unchanged.
- **`editor.os_distro` locale key** across all 6 locales (`Distro` / `Distro` / `ディストリ` / `Distro` / `배포판` / `发行版`) — the new Linux-only second-slot label.
### Changed
- **Editor form resets downstream parts on parent change** ([src/components/editor/RigEditor.tsx](src/components/editor/RigEditor.tsx) `renderComposite`). When a user switches OS name from Windows to macOS, any previously-selected version / edition values are cleared so the form can't end up in an invalid state (e.g. `macOS 11 Pro`). The new `setPart` clears all indices `>` the changed one, so the cascading dropdown is always self-consistent.
### Under the hood
- Composite dropdown `formatRigValue` walks parts with a `previousValues` accumulator now, calls `hiddenWhen` first to skip hidden parts entirely (so they don't leak empty tokens into the joined output), then resolves the option list with the accumulator. Stored shapes are unchanged — v0.22.0's `"windows|11|pro"` round-trips byte-for-byte.
- 9 new tests in [tests/engine/rig-fields.test.ts](tests/engine/rig-fields.test.ts) (24 → 33): 7 OS cascading cases (macOS Sequoia / Tahoe, Linux Ubuntu / Arch / Fedora / Debian, hidden macOS edition fallback, Windows backward-compat guard), 1 empty-name fallback (degenerate input), 1 RAM regression check that confirms the static-array path still works after the union widening.
- Five manifests bumped 0.22.0 → 0.23.0 (`package.json`, `package-lock.json` root + self-reference, `src-tauri/Cargo.toml`, `src-tauri/tauri.conf.json`).
- Pre-release gates run green: lint, typecheck, validate:locales (12/12 files complete; 844 ui + 495 template keys per locale), 454 tests, build.
## v0.22.0 — 2026-05-27
Adds a dedicated **Audio / Sensory** content-warning group, introduces an
opt-in video-style era credit that combines with the rig's Video Editor
field, surfaces a structured **Operating System** dropdown in My Rig, and
drops two stale Settings/About items (Default Genre, Dev Environment).
### Added
- **12 new audio content warnings in a new `audio` group** ([src/engine/types.ts](src/engine/types.ts), [src/config/content-warning-groups.ts](src/config/content-warning-groups.ts)). Splits audio-sensitive triggers out of the `photosensitive` group where they never quite fit. New IDs: `ear_piercing`, `jumpscare_audio`, `sudden_volume_changes`, `distorted_audio`, `screeching_metallic`, `persistent_high_pitch`, `audio_glitches`, `heavy_bass_rumble`, `screaming_audio`, `glass_breaking_audio`, `microphone_pops`, `white_noise_static`. `loud_noises` migrated out of `photosensitive` into this group. Total content warnings 175 → 187 across 9 → 10 groups. Purely additive; engine renders each warning automatically. Fully translated across all 6 locales (`ui.json` short labels + `templates.json` description phrases) with `_schema.json` updated.
- **Video-style era toggle** ([src/config/video-styles.ts](src/config/video-styles.ts), [src/components/editor/VideoSettingsForm.tsx](src/components/editor/VideoSettingsForm.tsx), [src/engine/description-builder.ts](src/engine/description-builder.ts)). New per-video opt-in field `videoStyleEra` on `EditorData` — empty string sentinel for "off", 12 valid eras: `1980s`/`1990s`/`2000s`/`2010s`/`2020s` + `modern`/`cinematic`/`retro`/`vhs`/`film_noir`/`anime_mv`/`documentary`. When set, the description renderer emits a single line at the end of the Video Settings section combining the era with the rig's video editor: `"Edited in 1990s VHS style using DaVinci Resolve 19.1"`. Falls back to an editor-less template (`"Edited in 1990s VHS style"`) when `rig.video_editor` is empty. **Renders even when `skipGraphicsSettings` is on** — 2D / pixel-art creators still edit their footage, so the style credit survives as a standalone one-line section under the same header. New file exports `VIDEO_STYLE_ERAS` literal union + `isVideoStyleEra` type guard. Field shape mirrors the existing `artStyle` / `playthroughStatus` / `difficulty` per-video sentinels — no parallel boolean toggle.
- **Operating System field in My Rig** ([src/config/rig-fields.ts](src/config/rig-fields.ts) `OS_COMPOSITE`). New `composite_dropdown` entry at the top of `RIG_FIELDS` modelled on the existing RAM pattern. Three parts: name → version → edition. Stored as `"windows|11|pro"` → renders `"Windows 11 Pro"` via `formatRigValue`. Windows 10 / 11 + Home / Pro / Enterprise / Education / IoT Enterprise. Pre-v0.22 profiles with no `rig.os` key pass through the existing empty-value filter chain in `description-builder.ts` — no migration needed. New schema keys `editor.os_name`, `editor.os_version`, `editor.os_edition` + `rig.os` across 6 locales.
### Removed
- **Default Genre setting** ([src/pages/SettingsPage.tsx](src/pages/SettingsPage.tsx), [src/store/settings-heal.ts](src/store/settings-heal.ts), [src/store/settings-store.ts](src/store/settings-store.ts), [src/config/defaults.ts](src/config/defaults.ts)). The `ChipGroup` never wired through to the editor — orphan field. Removed UI, `SettingsData.defaultGenres`, `setDefaultGenres` action, `initialSettings.defaultGenres`, `SettingsDefaults.defaultGenres`, `DEFAULTS.settings.defaultGenres`, `extractData` entry, and the v1→v2 migration block in `healSettings` (replaced by a single `delete incoming.defaultGenres` + `delete incoming.defaultGenre` so persisted blobs don't leak the dead field). Two migration tests removed from `settings-heal.test.ts`. `settings.defaultGenre` key removed from 6 `ui.json` + `_schema.json`.
- **Dev Environment section from About** ([src/pages/AboutPage.tsx](src/pages/AboutPage.tsx), [src/config/about.ts](src/config/about.ts)). Hardcoded specs drift on every box upgrade. Removed the entire `<section>` block (~33 lines of JSX + `devEnvRows` constant), `Cpu`/`Monitor` icon imports, `ABOUT.pcSpecDocUrl` and `ABOUT.devEnvDocUrl`, and all `about.devEnvHeading` / `devEnvHelp` / `devEnv.{os,cpu,gpu,ram,ide,toolchains,fullSpecLink,fullDevEnvLink}` keys from 6 `ui.json` + `_schema.json` (10 keys per locale).
### Changed
- **`loud_noises` migrated from `photosensitive` to `audio`.** Sudden-volume / high-frequency triggers affect a different audience than strobe / motion-sickness triggers, so the group split is cleaner. Stored ID unchanged — existing profiles using `loud_noises` round-trip without any per-warning migration.
### Under the hood
- **Editor-store persist version 13 → 14.** Adds `videoStyleEra` field with defensive coercion: unknown / hand-edited / future-downgrade values are coerced back to `""` via the `isVideoStyleEra` type guard so the form `Select` never lands on a missing option. Additive — pre-v0.22 drafts round-trip through the migration with `videoStyleEra` defaulting to off.
- **`healSettings` strips both legacy keys.** Whether the persisted blob carries the v1 shape (`defaultGenre: string`) or the v2 shape (`defaultGenres: GenreId[]`), the heal step now deletes both before the final `{ ...initialSettings, ...incoming }` spread — guarantees the field never resurfaces.
- **B3 "Localize My Rig labels" was a phantom task.** Initial planning assumed the `rig.{cpu,gpu,ram,storage,monitor,capture,motherboard,controller,video_editor}` locale keys didn't exist anywhere; verification showed all 6 locales already had them with proper translations. Only the new `rig.os` key was actually missing — folded into the OS-field work.
- Five manifests bumped 0.21.0 → 0.22.0 (`package.json`, `package-lock.json` root + self-reference, `src-tauri/Cargo.toml`, `src-tauri/tauri.conf.json`).
- Pre-release gates run green: lint, typecheck, validate:locales (12/12 files complete; 835 ui + 487 template keys per locale), 445 tests (was 416 — +5 video-style line render cases in `description-builder.test.ts`, +6 OS composite cases in `rig-fields.test.ts`, –2 deleted default-genre migration tests, plus pre-existing growth), build.
## v0.21.0 — 2026-05-27
Reduces YouTube auto-flag risk on Vietnamese descriptions, adds twelve
method-specific death/violence warnings, rewords the channel copyright
line to disambiguate video content from game IP, and adds an opt-in
toggle for crediting the game's studio/publisher in the description.
### Added
- **12 new content warnings** ([src/engine/types.ts](src/engine/types.ts), [src/config/content-warning-groups.ts](src/config/content-warning-groups.ts)). Extends the **Sensitive** group with method-specific death/violence depictions that YouTube's auto-moderation flags harder than the umbrella `blood_gore` / `war_violence` labels: `hanging_depiction`, `drowning_depiction`, `burning_alive`, `asphyxiation_depiction`, `restraint_torture`, `public_execution`, `decapitation`, `impalement`, `mass_casualty_event`, `vehicular_violence`, `overdose_depiction`, `defenestration`. Total content warnings 175 → 187 across the existing 9 groups. Purely additive — engine renders each warning automatically; existing profiles round-trip unchanged. Fully translated across all 6 locales (`ui.json` short labels + `templates.json` description phrases) with `_schema.json` updated. VI labels follow the v0.21.0 censoring policy (see below).
- **Game-copyright toggle** ([src/store/settings-heal.ts](src/store/settings-heal.ts) `showGameCopyright`, [src/engine/description-builder.ts](src/engine/description-builder.ts) section 4.5, [src/pages/SettingsPage.tsx](src/pages/SettingsPage.tsx)). New Settings → Description toggle (default **off**) that, when enabled with a non-empty `pubDevName`, emits a `© {publisher}. All rights reserved.` line right after the Store Links block. Decoupled from the publisher store-URL — the credit renders based on the studio name alone. Used by creators covering games whose dev/publisher contractually requires attribution in the description. New i18n key `description.sections.gameCopyright` across all 6 locales; new UI keys `settings.showGameCopyright` + `settings.showGameCopyrightHint`. Persists in `GamePreset` so a series spanning many episodes hydrates the studio name + toggle together on preset apply.
- **`pubDevName` promoted to first-class field** ([src/components/editor/GameInfoForm.tsx](src/components/editor/GameInfoForm.tsx), [src/store/preset-store.ts](src/store/preset-store.ts) `GamePreset.pubDevName?`). Previously a side-label that only appeared under a non-empty Publisher store URL; now an always-visible "Studio / Publisher" input in Game Info that also drives the game-copyright section. Removed from [StoreLinkEditor.tsx](src/components/editor/StoreLinkEditor.tsx) lines 140–172. Optional in `GamePreset` so older presets hydrate without breaking.
### Changed
- **Channel copyright line reworded across 6 locales** ([src/i18n/locales/*/templates.json](src/i18n/locales/) `description.sections.copyright`). Old: `© {year} {channelName}. All rights reserved.` (one short line, ambiguous about whether the channel claims the game's IP). New: a 2–3 sentence disclaimer making explicit that the copyright applies only to the video recording, and that the game, characters, music, and related IP belong to their respective owners. Same `{{year}}` / `{{channelName}}` placeholders — no engine change. JA/KO/ZH now ship a proper localised translation instead of falling back to English.
- **VI censoring sweep — consistency + euphemism policy** ([src/i18n/locales/vi/ui.json](src/i18n/locales/vi/ui.json), [src/i18n/locales/vi/templates.json](src/i18n/locales/vi/templates.json)). The Vietnamese warning labels previously used asterisk censoring on some terms (`t* tử`, `b*o h*nh`, `g*ết người`) but left others uncensored (`Bạo lực liên quan chiến tranh`, `Bạo lực từ cảnh sát`) and had a malformed `b* ng*y h*i` for `child_harm`. Sweep unifies them under a 2-tier policy: asterisk for graphic verbs with no natural euphemism (`tự` → `t*`, `giết` → `g*ết`, `treo cổ` → `treo c*`, `bạo hành` → `b*o h*nh`), euphemism for words with a natural softer register (`bạo lực` → `tác động vật lý`, `nổ súng` → `khai hỏa`, `xử bắn` → `hành quyết`). Fixes `child_harm` to use the unambiguous euphemism `chịu tác động`. Proper nouns (game titles, character names) untouched. Goal is to reduce YouTube auto-flag risk on Vietnamese descriptions — purely a static i18n edit, no runtime utility.
### Under the hood
- Persist version unchanged — `showGameCopyright` is additive (`healSettings` back-fills via `{ ...initialSettings, ...incoming }`) and `pubDevName` / `showGameCopyright` on `GamePreset` are optional. No migration step needed.
- Description-builder section ordering: Store Links → **Game Copyright (new)** → Video Settings → … → Channel Copyright. The two `©` lines (channel + game) are intentional when both toggles are on; the Settings help text is explicit so creators don't mistake it for a bug.
- Three test fixtures updated for the new wording / censoring / settings shape ([tests/engine/description-builder.test.ts](tests/engine/description-builder.test.ts), [tests/store/settings-heal.test.ts](tests/store/settings-heal.test.ts)). 435 tests still green.
- Five manifests bumped 0.20.0 → 0.21.0 (`package.json`, `src-tauri/Cargo.toml`, `src-tauri/Cargo.lock` `yt-desc-gen` entry, `src-tauri/tauri.conf.json`).
- Pre-release gates run green: lint, typecheck, validate:locales (12/12 files complete, 814 ui + 461 template keys), 435 tests, build.
## v0.20.0 — 2026-05-23
Fifty new content-warning IDs across three thematic axes — political /
religion / war, social-psychological phenomena (autism, hikikomori,
parasocial, etc.), and weather-related phobias — plus a tag-engine fix
for game names containing comma / semicolon / pipe characters.
### Added
- **50 new content warnings** ([src/engine/types.ts](src/engine/types.ts), [src/config/content-warning-groups.ts](src/config/content-warning-groups.ts)). The **Phobias** group gains 10 weather-related fears — `homichlophobia` (fog), `lilapsophobia` (tornadoes / hurricanes), `ombrophobia` (heavy rain), `nephophobia` (clouds), `ancraophobia` (strong wind), `cryophobia` (extreme cold, distinct from `chionophobia`/snow), `heliophobia` (sunlight), `cymophobia` (large waves), `limnophobia` (lakes), `potamophobia` (rivers); 41 → 51. The **Sensitive** group gains 20 political / religious / war themes — `political_extremism`, `religious_extremism`, `genocide`, `holy_war`, `holocaust_themes`, `civil_war`, `mass_shooting`, `colonialism`, `propaganda`, `dystopian_state`, `conspiracy_theories`, `censorship_themes`, `ethnic_conflict`, `refugee_crisis`, `revolution_themes`, `assassination`, `coup_themes`, `inquisition`, `forced_labor`, `ultranationalism`; 29 → 49. A new **Social phenomena** group (inserted between *Mental health* and *Sensitive*) carries 20 psychological-social IDs that don't fit clinical mental-health framing — `autism_themes`, `adhd_themes`, `hikikomori`, `neet_themes`, `social_anxiety_themes`, `social_isolation`, `schizophrenia_themes`, `burnout_themes`, `survivor_guilt`, `abandonment_themes`, `parasocial_themes`, `gaslighting_themes`, `stockholm_syndrome`, `behavioral_addiction`, `existential_crisis`, `impostor_syndrome`, `midlife_crisis`, `quarter_life_crisis`, `workplace_harassment`, `masculinity_pressure`. Total content warnings 125 → 175 across 9 groups (was 8). Purely additive — engine renders each warning automatically; existing profiles / templates round-trip unchanged. Fully translated across all 6 locales (`ui.json` short labels + `templates.json` description phrases) with `_schema.json` updated.
- **1 new locale key × 6 locales**: `editor.contentWarningGroups.social_phenomena` (the new group's heading). Initial-collapse default set in [ContentWarningChecklist.tsx](src/components/editor/ContentWarningChecklist.tsx) so the 20-item group stays scannable until expanded.
### Fixed
- **Tag generator splitting at commas / semicolons / pipes in game names** ([src/engine/tag-generator.ts](src/engine/tag-generator.ts)). YouTube treats `,` as a tag delimiter, so a game title like `Hello, World` previously produced composite tags such as `Hello, World gameplay` that YouTube split into two broken tags (`Hello` + `World gameplay`). New `sanitizeForTag` helper strips `,` `;` `|` from the game name before it enters bare / composite tags and is also called inside `tagFriendlyGameName` (idempotent). Title / description / hashtag paths still read `input.gameName` verbatim — the original punctuation is preserved for human-facing copy, only the tag list is cleaned. Nine new test cases in [tests/engine/tag-generator.test.ts](tests/engine/tag-generator.test.ts) cover the comma / semicolon / pipe paths plus idempotence.
### Under the hood
- **Documentation count sweep.** `README.md` content-warning total bumped 125 → 175 and group count 8 → 9; `docs/CONTENT-INVENTORY.md` heading updated, three group sections regenerated (Phobias 41 → 51, Sensitive 29 → 49, new Social phenomena 20), Vietnamese mirror at `docs/i18n/vi/CONTENT-INVENTORY.md` kept in lock-step.
- Persist version unchanged — this release adds no new persisted fields. Existing `contentWarnings: ContentWarning[]` profiles widen the allowed enum but reject nothing.
- Five manifests bumped 0.19.0 → 0.20.0 (`package.json`, `package-lock.json` root + self-reference, `src-tauri/Cargo.toml`, `src-tauri/Cargo.lock` `yt-desc-gen` entry, `src-tauri/tauri.conf.json`).
- Pre-release gates run green: lint, typecheck, validate:locales (12/12 files complete), 435 tests, knip, build, `npm audit` (zero vulnerabilities).
## v0.19.0 — 2026-05-20
Twenty-eight new content-warning IDs (twenty-five clinical phobias plus
+3 -2
View File
@@ -24,14 +24,15 @@ Built for the gameplay no-commentary niche — especially horror / scary games
- **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.
- **125 content-warning IDs** across 8 groups — spoilers, photosensitive, phobias, mental health, sensitive themes, horror-specific, playstyle, and gameplay disclosure (mods / cheats / glitches / guide-assisted). Sets viewer expectations before they hit play.
- **248 content-warning IDs** across 12 groups — spoilers, photosensitive/VFX, audio, dialogue/language, phobias (incl. color phobias), mental health, social phenomena, internet/digital life, sensitive themes (incl. method-specific death/violence and suggestive imagery), horror-specific, playstyle, and gameplay disclosure (mods / cheats / glitches / guide-assisted / educational purpose). 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).
- **Cross-post captions** — a dedicated **Social** tab re-packages the same YouTube source into short-form captions for **TikTok** (4,000-char), **Instagram Reels**, and **Facebook Reels** — title, rig, content warnings, copyright, thanks, and hashtags (game + genre + curated per-platform popular tags). Single + bulk modes, per-platform character limits with smart overflow trimming, and JSON import/export.
- **Desktop app** — Windows, macOS & Linux 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).
+3 -1
View File
@@ -278,6 +278,8 @@ i18n/locales/
**Adding a new language** = 2 JSON files + 1 line registration. See docs/I18N.md.
**Lazy loading (v0.26+)**: only English is bundled into the main chunk — it is the `fallbackLng` and the engine's bilingual `tEn` translator, both of which must resolve synchronously. Every other language is fetched on first use as a Vite async chunk via `i18next-resources-to-backend` + dynamic `import()`. Generation paths gate on bundle readiness (`useLanguagesReady` hook / `ensureLanguagesLoaded`): an unloaded language would otherwise silently render English fallback output. A chunk that fails to fetch degrades to English and logs to the in-app Log page — it never hangs the UI.
**UI language vs Output language**: These are independent. User can browse the app in English but generate descriptions in Japanese. UI language follows `SettingsStore.defaultLanguage`, output language follows `EditorStore.language`.
## 5. Desktop Packaging (Tauri)
@@ -313,7 +315,7 @@ Tauri advantages over Electron:
| What | How to Extend | Files to Touch |
|------|--------------|----------------|
| New language | Add `locales/{code}/ui.json` + `templates.json`, register in `i18n/index.ts` | 3 files |
| New language | Add `locales/{code}/ui.json` + `templates.json`, register in `SUPPORTED_LANGUAGES` (lazy-loaded automatically) | 3 files |
| New genre | Add entry to `config/genres.ts`, add tag pool to `engine/tag-generator.ts` | 2 files |
| New video type | Add to `config/video-types.ts`, add patterns to all `templates.json` | 1 + N locale files |
| New platform/store | Add entry to `config/platforms.ts` | 1 file |
+25 -9
View File
@@ -95,7 +95,7 @@ Bulk-select groups available in the editor: **All RPGs** (rpg + jrpg + action_rp
---
## 3. Content warnings (125, grouped)
## 3. Content warnings (248, grouped)
Selected warnings are appended to a `⚠ CONTENT WARNINGS` block in the description, ahead of timestamps. Each group is collapsible in the editor; warnings render in description order = user's selection order.
@@ -103,21 +103,37 @@ Selected warnings are appended to a `⚠ CONTENT WARNINGS` block in the descript
Story / ending spoilers · Ending spoilers · True-ending spoilers · Post-game / NG+ spoilers · Secret-ending spoilers · DLC story spoilers
### Photosensitive / Health (6)
### Photosensitive / Health (13)
Flashing lights · Motion sickness · Migraine trigger · Loud / sudden sounds · Strobe lighting · Heavy screen shake
Flashing lights · Motion sickness · Migraine trigger · Strobe lighting · Heavy screen shake · Lens flare / sun glare · Excessive bloom / overblown highlights · Dense particle effects · Flashing HUD / UI overlays · Extreme color saturation · Heavy motion blur · Aggressive depth of field · Intense post-processing
### Phobias (41)
### Audio / Sensory (13)
Jumpscares · Heights (acrophobia) · Holes / clusters (trypophobia) · Deep water (thalassophobia) · Confined spaces (claustrophobia) · Spiders (arachnophobia) · Insects (entomophobia) · Snakes (ophidiophobia) · Dogs (cynophobia) · Darkness (nyctophobia) · Fire (pyrophobia) · Dolls (pediophobia) · Blood (hemophobia) · Clowns (coulrophobia) · Drowning / water immersion (ablutophobia) · Live burial (taphophobia) · Animatronics / mannequins (automatonophobia) · Large objects (megalophobia) · Submerged man-made objects (submechanophobia) · Corpses (necrophobia) · Ghosts (spectrophobia) · Demons (demonophobia) · Sharks (selachophobia) · Germs / contamination (mysophobia) · Vomiting (emetophobia) · Being watched (scopophobia) · Isolation (monophobia) · Mice / rats (musophobia) · Bats (chiroptophobia) · Birds (ornithophobia) · Fish (ichthyophobia) · Reptiles (herpetophobia) · Cockroaches (katsaridaphobia) · Bees / wasps (apiphobia) · Thunder / lightning (astraphobia) · Open spaces (agoraphobia) · Crowds (enochlophobia) · Snow / extreme cold (chionophobia) · Hospitals (nosocomephobia) · Sharp objects (aichmophobia) · Choking / suffocation (pnigophobia)
Loud / sudden sounds · Ear-piercing / high-pitched · Audio jumpscares · Sudden volume changes · Distorted / clipping audio · Screeching / metallic sounds · Persistent high-pitched tones · Audio glitches / artifacts · Heavy bass / sub-bass rumble · Sustained screaming · Glass breaking / shattering · Mic pops / breath noise · White noise / static
### Dialogue / Language (10)
Frequent profanity · Sexual innuendo / suggestive dialogue · Inflammatory / inciting dialogue · Verbal abuse · Threats / intimidation · Slurs / derogatory terms · Crude / toilet humor · Mature / adult humor · Dark / morbid humor · Drug / alcohol references
### Phobias (56)
Jumpscares · Heights (acrophobia) · Holes / clusters (trypophobia) · Deep water (thalassophobia) · Confined spaces (claustrophobia) · Spiders (arachnophobia) · Insects (entomophobia) · Snakes (ophidiophobia) · Dogs (cynophobia) · Darkness (nyctophobia) · Fire (pyrophobia) · Dolls (pediophobia) · Blood (hemophobia) · Clowns (coulrophobia) · Drowning / water immersion (ablutophobia) · Live burial (taphophobia) · Animatronics / mannequins (automatonophobia) · Large objects (megalophobia) · Submerged man-made objects (submechanophobia) · Corpses (necrophobia) · Ghosts (spectrophobia) · Demons (demonophobia) · Sharks (selachophobia) · Germs / contamination (mysophobia) · Vomiting (emetophobia) · Being watched (scopophobia) · Isolation (monophobia) · Mice / rats (musophobia) · Bats (chiroptophobia) · Birds (ornithophobia) · Fish (ichthyophobia) · Reptiles (herpetophobia) · Cockroaches (katsaridaphobia) · Bees / wasps (apiphobia) · Thunder / lightning (astraphobia) · Open spaces (agoraphobia) · Crowds (enochlophobia) · Snow / extreme cold (chionophobia) · Hospitals (nosocomephobia) · Sharp objects (aichmophobia) · Choking / suffocation (pnigophobia) · Fog / mist (homichlophobia) · Tornadoes / hurricanes (lilapsophobia) · Heavy rain (ombrophobia) · Clouds (nephophobia) · Strong wind (ancraophobia) · Extreme cold (cryophobia) · Sunlight (heliophobia) · Large waves (cymophobia) · Lakes / still water (limnophobia) · Rivers / currents (potamophobia) · Colors / vivid color scenes (chromophobia) · Red / all-red scenes (erythrophobia) · Yellow color (xanthophobia) · White / all-white spaces (leukophobia) · Black color (melanophobia)
### Mental health (17)
Anxiety-inducing scenes · Depression themes · Eating disorders · Substance use · Self-harm / suicide · PTSD content · Needles · Body fluids · Pregnancy / birth horror · Illness / infection · Bipolar themes · OCD themes · Panic attacks · Dissociation · Paranoia · Intrusive thoughts · Medical horror
### Mature / Sensitive content (29)
### Social phenomena (22)
Blood and gore · Mature 18+ · Disturbing imagery · Animal cruelty · Violence against minors · Domestic violence · Sexual assault references · Torture · Religious themes · War violence · Discrimination · State / police violence · Smoking / drinking · Detailed killing · Cult / occult · Psychological manipulation · Loss / grief · Kidnapping · Hate speech · Historical atrocities · Slavery themes · Terrorism themes · Bullying themes · Human experimentation · Cannibalism · Nuclear / radiation · Homophobia / anti-LGBTQ+ · Transphobia / anti-trans · Xenophobia / anti-foreigner
Autism / neurodivergence themes · ADHD / executive dysfunction · Hikikomori / social withdrawal · NEET themes · Social anxiety themes · Social isolation / loneliness · Schizophrenia / psychosis · Burnout / overwork · Survivor guilt · Abandonment themes · Parasocial relationships · Gaslighting · Stockholm syndrome · Gaming / gambling addiction · Existential / nihilistic themes · Impostor syndrome · Midlife crisis · Quarter-life crisis · Workplace harassment · Gender-role pressure · Body shaming / appearance mockery · Unrealistic beauty standards
### Internet / Digital life (18)
Cyberbullying / online harassment · Doxxing / privacy exposure · Trolling / griefing · Cancel culture / public shaming · Social media addiction · Doomscrolling · FOMO (fear of missing out) · Fake news / misinformation · Online scams / phishing · Catfishing / fake identity · Deepfakes / synthetic media · Cyberstalking · Dangerous viral challenges · Influencer culture / clout chasing · Online radicalization / echo chambers · Loot boxes / gacha mechanics · AI / artificial intelligence themes · Data privacy / mass surveillance
### Mature / Sensitive content (66)
Blood and gore · Mature 18+ · Revealing / skimpy outfits · Partial nudity · Sexualized character designs · Fan service / ecchi · Suggestive poses / camera angles · Disturbing imagery · Animal cruelty · Violence against minors · Domestic violence · Sexual assault references · Torture · Religious themes · War violence · Discrimination · State / police violence · Smoking / drinking · Detailed killing · Cult / occult · Psychological manipulation · Loss / grief · Kidnapping · Hate speech · Historical atrocities · Slavery themes · Terrorism themes · Bullying themes · Human experimentation · Cannibalism · Nuclear / radiation · Homophobia / anti-LGBTQ+ · Transphobia / anti-trans · Xenophobia / anti-foreigner · Political extremism · Religious extremism / fundamentalism · Genocide / ethnic cleansing · Holy war / sectarian conflict · Holocaust themes · Civil war · Mass / school shootings · Colonialism / imperialism · State propaganda · Surveillance / dystopian state · Conspiracy theories · Censorship themes · Ethnic / racial conflict · Refugee crisis · Revolution / uprising · Political assassination · Coup d'état · Inquisition / religious persecution · Forced labor · Ultranationalism · Hanging / strangulation · Drowning scene · Burning alive / immolation · Asphyxiation / suffocation · Bound / restrained victim · Public execution · Decapitation · Impalement · Mass-casualty event · Vehicular violence · Overdose scene · Falling from height (intentional)
### Heavy horror (12)
@@ -127,9 +143,9 @@ Eyes / eyeball clusters · Body horror (flesh distortion) · Distorted / mutilat
Blind playthrough · No spoilers in chat · Casual / story mode · Hardcore / max difficulty · Permadeath / Iron Man · Speedrun attempt · 100% completionist · Still learning mechanics · First time playing · Returning / NG+
### Gameplay disclosure (4)
### Gameplay disclosure (5)
Mods used · Cheats / debug · Glitches used · Guide-assisted
Mods used · Cheats / debug · Glitches used · Guide-assisted · Educational / PSA purpose
---
+4
View File
@@ -130,6 +130,10 @@ Disable corporate VPNs / proxies that block the npm registry. The lock file is c
Locale JSON is bundled at build time, not watched. Restart the dev server after editing `src/i18n/locales/*`.
Since v0.26, only English ships in the main chunk; the other languages are
lazy-loaded async chunks fetched on first use (see `src/i18n/index.ts` and
docs/I18N.md). The restart advice above still applies to all of them.
### 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.
+36 -8
View File
@@ -99,16 +99,44 @@ Mỗi ngôn ngữ có description structure như sau (tất cả sections option
4. ─── Store Links ─── (if any platform link provided)
5. ─── Video Settings ─── (resolution / FPS / graphics)
6. ─── My Rig ─── (if any rig field provided)
7. ─── Spoiler Warning ─── (if toggled)
8. ─── 18+ Warning ─── (if toggled)
9. ─── Donate Links ─── (if any provided)
10. ─── Social Links ─── (if any provided)
11. ─── Playlist Link ─── (if provided)
12. ─── Contact Email ─── (if provided)
13. CTA line (Like / Subscribe / Share)
14. Hashtags (3 max, auto-generated)
7. ─── Content Warnings ─── (if any selected — 248 IDs across 12 groups)
8. ─── Donate Links ─── (if any provided)
9. ─── Social Links ─── (if any provided)
10. ─── Playlist Link ─── (if provided)
11. ─── Contact Email ─── (if provided)
12. CTA line (Like / Subscribe / Share)
13. Hashtags (3 max, auto-generated)
```
## 🔁 Cross-Post Captions (Social tab)
A dedicated **Social** tab re-packages the same editor source that drives the
YouTube description into short-form captions for other platforms — no
re-typing. Each caption is derived live from the current form.
| Platform | Caption limit | Popular hashtags appended |
|----------|--------------|----------------------------|
| TikTok | 4,000 | `#fyp #foryou #foryoupage #gaming #gamingtiktok #gameplay #gamer` |
| Instagram Reels | 2,200 | `#reels #reelsinstagram #gaming #gamingreels #gamer #instagaming #videogames` |
| Facebook Reels | 2,200 | `#reels #facebookreels #fbreels #gaming #gameplay #gamingcommunity #videogames` |
Each caption pulls, in order: **Title** (quality badge suppressed for
short-form), **My Rig**, **Content Warnings**, **Thanks / sponsor credit**,
**Copyright**, and **hashtags** (game + primary genre + the curated
per-platform popular set, deduplicated case-insensitively).
- **Overflow handling** — when a caption exceeds the platform limit, optional
blocks are dropped in priority order (warnings → copyright → thanks → rig).
The title and the hashtag line are never dropped, and there is no
mid-string truncation.
- **Single mode** — platform tabs with a live character counter and
over-limit warning.
- **Bulk mode** — generate a part range (e.g. Parts 1–10) across selected
languages in one pass, reusing the Batch loop.
- **Import / Export** — round-trip the generated captions as a typed JSON
bundle (`_type: "social"`); import is display-only since captions are
derived artifacts (the source round-trips via Profiles / Presets).
## 🏷 Tag Generation
### Tag Pools by Category
+10 -12
View File
@@ -17,7 +17,7 @@ These are independent: a Vietnamese user can browse the app in Vietnamese (UI) w
```
src/i18n/
├── index.ts # i18next initialization + language registration
├── index.ts # i18next init + SUPPORTED_LANGUAGES (en eager, others lazy-loaded)
├── locales/
│ ├── _schema.json # JSON Schema defining all required keys
│ ├── en/
@@ -206,25 +206,23 @@ cp -r src/i18n/locales/en src/i18n/locales/es
### Step 4: Register the language
```typescript
// src/i18n/index.ts — add to SUPPORTED_LANGUAGES
// src/i18n/index.ts — add to SUPPORTED_LANGUAGES (the only registration step)
export const SUPPORTED_LANGUAGES = [
{ id: "en", label: "English", flag: "🇬🇧", nativeName: "English" },
{ id: "vi", label: "Vietnamese", flag: "🇻🇳", nativeName: "Tiếng Việt" },
{ id: "ja", label: "Japanese", flag: "🇯🇵", nativeName: "日本語" },
{ id: "es", label: "Spanish", flag: "🇪🇸", nativeName: "Español" }, // ← Add here
] as const;
// Add resource import
import esUI from "./locales/es/ui.json";
import esTemplates from "./locales/es/templates.json";
// Add to i18next resources
resources: {
// ...existing
es: { ui: esUI, templates: esTemplates },
}
```
No import or `resources` edits needed (v0.26+): locales are lazy-loaded
through a dynamic `import("./locales/<code>/<ns>.json")`, so Vite picks the
new files up automatically as async chunks — **the file names must stay
exactly `ui.json` and `templates.json`**. Only English is eagerly bundled
(it's the `fallbackLng` and the engine's bilingual `tEn` source); don't add
static imports for other languages, that would drag them back into the
main chunk.
### Step 5: Add multilingual tag pool
```typescript
+1 -1
View File
@@ -11,7 +11,7 @@
```jsonc
{
"name": "yt-desc-gen",
"version": "0.19.0",
"version": "0.20.0",
"private": true,
"type": "module",
"scripts": {
+25 -9
View File
@@ -95,7 +95,7 @@ Các nhóm bulk-select trong editor: **All RPGs** (rpg + jrpg + action_rpg + crp
---
## 3. Cảnh báo nội dung (125, chia nhóm)
## 3. Cảnh báo nội dung (248, chia nhóm)
Cảnh báo được chọn sẽ thêm vào khối `⚠ CONTENT WARNINGS` trong description, trước phần timestamp. Mỗi nhóm có thể thu gọn trong editor; cảnh báo hiển thị theo thứ tự người dùng chọn.
@@ -103,21 +103,37 @@ Cảnh báo được chọn sẽ thêm vào khối `⚠ CONTENT WARNINGS` trong
Spoiler cốt truyện / ending · Spoiler ending · Spoiler ending thật · Spoiler hậu game / NG+ · Spoiler ending bí mật · Spoiler cốt truyện DLC
### Sức khỏe / Quang nhạy (6)
### Sức khỏe / Quang nhạy (13)
Đèn nháy · Say tàu xe · Kích thích migraine · Âm thanh lớn / đột ngột · Hiệu ứng strobe · Rung hình mạnh
Hiệu ứng chớp sáng · Say game / camera nhanh · Có thể đau nửa đầu · Đèn nhấp nháy · Rung màn hình mạnh · Loé sáng / lens flare · Bloom quá đà / sáng cháy · Hiệu ứng hạt dày đặc · HUD / overlay nhấp nháy · Màu sắc quá rực / loè loẹt · Motion blur nặng · Depth of field gắt · Post-processing đậm đặc
### Ám ảnh / Phobia (41)
### Âm thanh / Cảm âm (13)
Jumpscare · Sợ độ cao (acrophobia) · Sợ lỗ / cụm (trypophobia) · Sợ nước sâu (thalassophobia) · Sợ không gian kín (claustrophobia) · Sợ nhện (arachnophobia) · Sợ côn trùng (entomophobia) · Sợ rắn (ophidiophobia) · Sợ chó (cynophobia) · Sợ bóng tối (nyctophobia) · Sợ lửa (pyrophobia) · Sợ búp bê (pediophobia) · Sợ máu (hemophobia) · Sợ chú hề (coulrophobia) · Sợ chết đuối (ablutophobia) · Sợ bị chôn sống (taphophobia) · Hình nhân máy (automatonophobia) · Vật thể khổng lồ (megalophobia) · Vật nhân tạo dưới nước (submechanophobia) · Xác chết (necrophobia) · Ma quỷ (spectrophobia) · Quỷ dữ (demonophobia) · Cá mập (selachophobia) · Vi trùng / ô nhiễm (mysophobia) · Nôn mửa (emetophobia) · Bị nhìn chằm chằm (scopophobia) · Cô lập (monophobia) · Chuột (musophobia) · Dơi (chiroptophobia) · Chim (ornithophobia) · Cá (ichthyophobia) · Bò sát (herpetophobia) · Gián (katsaridaphobia) · Ong (apiphobia) · Sấm sét (astraphobia) · Không gian rộng (agoraphobia) · Đám đông (enochlophobia) · Tuyết / giá lạnh (chionophobia) · Bệnh viện (nosocomephobia) · Vật sắc nhọn (aichmophobia) · Nghẹt thở (pnigophobia)
Âm thanh đột ngột · Âm chói tai / tần số cao · Jumpscare bằng âm thanh · Thay đổi âm lượng đột ngột · Âm thanh méo / vỡ · Tiếng ken két / kim loại · Tiếng cao kéo dài · Lỗi âm thanh / glitch · Bass nặng / sub-bass rung · Tiếng la hét kéo dài · Tiếng kính vỡ / va đập · Tạp âm mic / tiếng thở · Tiếng nhiễu / tĩnh điện
### Lời thoại / Ngôn từ (10)
Văng tục dày đặc · Lời thoại ẩn ý t*nh d*c · Lời thoại kích động · Lăng mạ / sỉ nhục bằng lời · Lời đe dọa / uy hiếp · Từ ngữ miệt thị / xúc phạm · Hài thô tục · Hài người lớn · Hài đen / u tối · Nhắc đến chất kích thích / đồ có cồn
### Ám ảnh / Phobia (56)
Jumpscare · Sợ độ cao (acrophobia) · Sợ lỗ / cụm (trypophobia) · Sợ nước sâu (thalassophobia) · Sợ không gian kín (claustrophobia) · Sợ nhện (arachnophobia) · Sợ côn trùng (entomophobia) · Sợ rắn (ophidiophobia) · Sợ chó (cynophobia) · Sợ bóng tối (nyctophobia) · Sợ lửa (pyrophobia) · Sợ búp bê (pediophobia) · Sợ máu (hemophobia) · Sợ chú hề (coulrophobia) · Sợ chết đuối (ablutophobia) · Sợ bị chôn sống (taphophobia) · Hình nhân máy (automatonophobia) · Vật thể khổng lồ (megalophobia) · Vật nhân tạo dưới nước (submechanophobia) · Xác chết (necrophobia) · Ma quỷ (spectrophobia) · Quỷ dữ (demonophobia) · Cá mập (selachophobia) · Vi trùng / ô nhiễm (mysophobia) · Nôn mửa (emetophobia) · Bị nhìn chằm chằm (scopophobia) · Cô lập (monophobia) · Chuột (musophobia) · Dơi (chiroptophobia) · Chim (ornithophobia) · Cá (ichthyophobia) · Bò sát (herpetophobia) · Gián (katsaridaphobia) · Ong (apiphobia) · Sấm sét (astraphobia) · Không gian rộng (agoraphobia) · Đám đông (enochlophobia) · Tuyết / giá lạnh (chionophobia) · Bệnh viện (nosocomephobia) · Vật sắc nhọn (aichmophobia) · Nghẹt thở (pnigophobia) · Sương mù (homichlophobia) · Lốc xoáy / bão (lilapsophobia) · Mưa lớn (ombrophobia) · Mây / trời u ám (nephophobia) · Gió mạnh (ancraophobia) · Cực lạnh (cryophobia) · Ánh nắng gay gắt (heliophobia) · Sóng lớn (cymophobia) · Hồ / nước tĩnh (limnophobia) · Sông / dòng chảy (potamophobia) · Sợ màu sắc / cảnh màu chói (chromophobia) · Sợ màu đỏ / cảnh toàn đỏ (erythrophobia) · Sợ màu vàng (xanthophobia) · Sợ màu trắng / không gian toàn trắng (leukophobia) · Sợ màu đen (melanophobia)
### Sức khỏe tâm thần (17)
Cảnh gây lo âu · Trầm cảm · Rối loạn ăn uống · Sử dụng chất kích thích · Tự hại / tự tử · PTSD · Kim tiêm · Dịch cơ thể · Mang thai / sinh nở kinh dị · Bệnh tật / nhiễm trùng · Lưỡng cực · OCD · Hoảng loạn · Phân ly · Hoang tưởng · Suy nghĩ xâm nhập · Y khoa kinh dị
### Nội dung nhạy cảm / 18+ (29)
### Hiện tượng tâm lý — xã hội (22)
Máu me · 18+ · Hình ảnh gây khó chịu · Bạo hành động vật · Bạo lực với trẻ em · Bạo lực gia đình · Tham chiếu xâm hại tình dục · Tra tấn · Tôn giáo · Bạo lực chiến tranh · Phân biệt đối xử · Bạo lực nhà nước / cảnh sát · Hút thuốc / uống rượu · Giết người chi tiết · Tà giáo / huyền bí · Thao túng tâm lý · Mất mát / đau buồn · Bắt cóc · Phát ngôn thù hận · Tội ác lịch sử · Nô lệ · Khủng bố · Bắt nạt · Thử nghiệm trên người · Ăn thịt người · Hạt nhân / phóng xạ · Kỳ thị người đồng tính / LGBTQ+ (homophobia) · Kỳ thị người chuyển giới (transphobia) · Bài ngoại (xenophobia)
Tự kỷ / thần kinh đa dạng · ADHD / rối loạn tập trung · Hikikomori / ẩn dật xã hội · NEET (không học không làm) · Lo âu xã hội · Cô lập xã hội / cô đơn · Tâm thần phân liệt / loạn thần · Burnout / kiệt sức · Mặc cảm sống sót · Bị bỏ rơi / sang chấn · Quan hệ parasocial · Gaslighting / thao túng · Hội chứng Stockholm · Nghiện game / cờ bạc · Khủng hoảng hiện sinh · Hội chứng kẻ mạo danh · Khủng hoảng tuổi trung niên · Khủng hoảng tuổi 1/4 · Quấy rối nơi làm việc · Áp lực vai trò giới · Miệt thị ngoại hình (body shaming) · Chuẩn mực ngoại hình phi thực tế
### Internet / Đời sống số (18)
Bắt nạt / quấy rối qua mạng · Doxxing / phơi bày thông tin cá nhân · Trolling / phá game · Văn hóa tẩy chay / bêu rếu công khai · Nghiện mạng xã hội · Lướt tin tiêu cực vô độ (doomscrolling) · Hội chứng sợ bỏ lỡ (FOMO) · Tin giả / thông tin sai lệch · Lừa đảo trực tuyến / phishing · Giả mạo danh tính trên mạng (catfishing) · Deepfake / nội dung giả mạo bằng AI · Theo dõi / rình rập qua mạng · Trào lưu / thử thách nguy hiểm trên mạng · Văn hóa influencer / câu tương tác · Cực đoan hóa qua mạng / buồng vang thông tin · Loot box / cơ chế gacha · Chủ đề AI / trí tuệ nhân tạo · Riêng tư dữ liệu / giám sát diện rộng
### Nội dung nhạy cảm / 18+ (66)
Máu me · 18+ · Trang phục hở hang · Kh*a th*n một phần · Tạo hình nhân vật bị t*nh d*c hóa · Yếu tố fan service · Tư thế / góc quay gợi cảm · Hình ảnh gây khó chịu · B*o h*nh động vật · Trẻ em chịu tác động · B*o h*nh gia đình · Tham chiếu x*m h*i t*nh d*c · Tra tấn · Tôn giáo · Tác động vật lý chiến tranh · Phân biệt đối xử · Tác động vật lý từ chính quyền · Hút thuốc / uống rượu · G*ết người chi tiết · Tà giáo / huyền bí · Thao túng tâm lý · Mất mát / đau buồn · Bắt cóc · Phát ngôn thù hận · Tội ác lịch sử · Nô lệ · Khủng bố · Bắt nạt · Thử nghiệm trên người · Ăn thịt người · Hạt nhân / phóng xạ · Kỳ thị người đồng tính / LGBTQ+ (homophobia) · Kỳ thị người chuyển giới (transphobia) · Bài ngoại (xenophobia) · Cực đoan chính trị · Cực đoan tôn giáo / cuồng tín · Diệt chủng / thanh trừng sắc tộc · Thánh chiến / xung đột tôn giáo · Đại nạn Holocaust · Nội chiến · Xả súng hàng loạt / xả súng trường học · Chủ nghĩa thực dân / đế quốc · Tuyên truyền nhà nước · Nhà nước giám sát / dystopia · Thuyết âm mưu · Kiểm duyệt / cấm phát ngôn · Xung đột sắc tộc / chủng tộc · Khủng hoảng tị nạn · Cách mạng / nổi dậy · Ám sát chính trị · Đảo chính · Toà án dị giáo / săn phù thủy · Lao động cưỡng bức · Chủ nghĩa dân tộc cực đoan · Treo c* / siết c* · Cảnh ch*t đuối · Cảnh thiêu s*ng · Cảnh ngạt th* · Bị trói / cầm tù tra tấn · Cảnh hành quyết công khai · Cảnh chặt đầu · Cảnh đâm xuyên cơ thể · Thương vong hàng loạt · Tác động vật lý bằng phương tiện · Cảnh sử dụng quá liều · Ngã / nhảy từ trên cao
### Kinh dị nặng (12)
@@ -127,9 +143,9 @@ Mắt / cụm mắt · Body horror (biến dạng cơ thể) · Mặt biến d
Lần đầu chơi (blind) · Không spoiler trong chat · Chế độ easy / story · Chế độ khó cao · Permadeath / Iron Man · Thử speedrun · 100% completionist · Đang học cơ chế · Chơi lần đầu · Chơi lại / NG+
### Thông tin về gameplay (4)
### Thông tin về gameplay (5)
Dùng mod · Bật cheat / debug · Dùng glitch · Có guide hỗ trợ
Dùng mod · Bật cheat / debug · Dùng glitch · Có guide hỗ trợ · Game mục đích giáo dục / tuyên truyền
---
+4
View File
@@ -132,6 +132,10 @@ Tắt VPN/proxy doanh nghiệp chặn npm registry. Lock file đã commit; insta
Locale JSON bundle vào lúc build, không được watch. Restart dev server sau khi sửa `src/i18n/locales/*`.
Từ v0.26, chỉ tiếng Anh nằm trong main chunk; các ngôn ngữ khác là async
chunk lazy-load, tải khi dùng lần đầu (xem `src/i18n/index.ts` và
docs/I18N.md). Lời khuyên restart ở trên vẫn áp dụng cho tất cả.
### 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.
+151 -219
View File
@@ -1,12 +1,12 @@
{
"name": "yt-desc-gen",
"version": "0.19.0",
"version": "0.26.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "yt-desc-gen",
"version": "0.19.0",
"version": "0.26.0",
"license": "Apache-2.0",
"dependencies": {
"@tauri-apps/api": "^2.11.0",
@@ -16,6 +16,7 @@
"@tauri-apps/plugin-shell": "^2.0.0",
"clsx": "^2.1.0",
"i18next": "^23.15.0",
"i18next-resources-to-backend": "^1.2.1",
"lucide-react": "^0.400.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
@@ -43,7 +44,7 @@
"typescript": "^5.5.0",
"typescript-eslint": "^8.0.0",
"vite": "^7.3.3",
"vitest": "^3.2.4"
"vitest": "^4.1.8"
}
},
"node_modules/@adobe/css-tools": {
@@ -1820,9 +1821,9 @@
]
},
"node_modules/@remix-run/router": {
"version": "1.23.2",
"resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.23.2.tgz",
"integrity": "sha512-Ic6m2U/rMjTkhERIa/0ZtXJP17QUi2CbWE7cqx4J58M8aA3QTfW+2UlQ4psvTX9IO1RfNVhK3pcpdjej7L+t2w==",
"version": "1.23.3",
"resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.23.3.tgz",
"integrity": "sha512-4An71tdz9X8+3sI4Qqqd2LWd9vS39J7sqd9EU4Scw7TJE/qB10Flv/UuqbPVgfQV9XoK8Np6jNquZitnZq5i+Q==",
"license": "MIT",
"engines": {
"node": ">=14.0.0"
@@ -2185,6 +2186,13 @@
"win32"
]
},
"node_modules/@standard-schema/spec": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz",
"integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==",
"dev": true,
"license": "MIT"
},
"node_modules/@tauri-apps/api": {
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-2.11.0.tgz",
@@ -2748,39 +2756,40 @@
}
},
"node_modules/@vitest/expect": {
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-3.2.4.tgz",
"integrity": "sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig==",
"version": "4.1.8",
"resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.8.tgz",
"integrity": "sha512-h3nDO677RDLEGlBxyQ5CW8RlMThSKSRLUePLOx09gNIWRL40edgA1GCZSZgf1W55MFAG6/Sw14KeaAnqv0NKdQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@standard-schema/spec": "^1.1.0",
"@types/chai": "^5.2.2",
"@vitest/spy": "3.2.4",
"@vitest/utils": "3.2.4",
"chai": "^5.2.0",
"tinyrainbow": "^2.0.0"
"@vitest/spy": "4.1.8",
"@vitest/utils": "4.1.8",
"chai": "^6.2.2",
"tinyrainbow": "^3.1.0"
},
"funding": {
"url": "https://opencollective.com/vitest"
}
},
"node_modules/@vitest/mocker": {
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-3.2.4.tgz",
"integrity": "sha512-46ryTE9RZO/rfDd7pEqFl7etuyzekzEhUbTW3BvmeO/BcCMEgq59BKhek3dXDWgAj4oMK6OZi+vRr1wPW6qjEQ==",
"version": "4.1.8",
"resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.1.8.tgz",
"integrity": "sha512-LEiN/xe4OSIbKe9HQIp5OC24agGD9J5CnmMgsLohVVoOPWL9a2sBoR6VBx43jQZb7Kr1l4RCuyCJzcAa0+dojw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@vitest/spy": "3.2.4",
"@vitest/spy": "4.1.8",
"estree-walker": "^3.0.3",
"magic-string": "^0.30.17"
"magic-string": "^0.30.21"
},
"funding": {
"url": "https://opencollective.com/vitest"
},
"peerDependencies": {
"msw": "^2.4.9",
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0"
"vite": "^6.0.0 || ^7.0.0 || ^8.0.0"
},
"peerDependenciesMeta": {
"msw": {
@@ -2792,42 +2801,42 @@
}
},
"node_modules/@vitest/pretty-format": {
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-3.2.4.tgz",
"integrity": "sha512-IVNZik8IVRJRTr9fxlitMKeJeXFFFN0JaB9PHPGQ8NKQbGpfjlTx9zO4RefN8gp7eqjNy8nyK3NZmBzOPeIxtA==",
"version": "4.1.8",
"resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.1.8.tgz",
"integrity": "sha512-9GasEBxpZ1VYIpqHf/0+YGg121uSNwCKOJqIrTwWP/TB7DmFCiaBpNl3aPZzoLWfWkuqhbH8vJIVobZkvdo2cA==",
"dev": true,
"license": "MIT",
"dependencies": {
"tinyrainbow": "^2.0.0"
"tinyrainbow": "^3.1.0"
},
"funding": {
"url": "https://opencollective.com/vitest"
}
},
"node_modules/@vitest/runner": {
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-3.2.4.tgz",
"integrity": "sha512-oukfKT9Mk41LreEW09vt45f8wx7DordoWUZMYdY/cyAk7w5TWkTRCNZYF7sX7n2wB7jyGAl74OxgwhPgKaqDMQ==",
"version": "4.1.8",
"resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.1.8.tgz",
"integrity": "sha512-EmVxeBAfMJvycdjd6Hm+RbFBbA9fKvo0Kx37hNpBYoYeavH3RNsBXWDooR1mgD52dCrxIIuP7UotpfiwOikvcg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@vitest/utils": "3.2.4",
"pathe": "^2.0.3",
"strip-literal": "^3.0.0"
"@vitest/utils": "4.1.8",
"pathe": "^2.0.3"
},
"funding": {
"url": "https://opencollective.com/vitest"
}
},
"node_modules/@vitest/snapshot": {
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-3.2.4.tgz",
"integrity": "sha512-dEYtS7qQP2CjU27QBC5oUOxLE/v5eLkGqPE0ZKEIDGMs4vKWe7IjgLOeauHsR0D5YuuycGRO5oSRXnwnmA78fQ==",
"version": "4.1.8",
"resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.1.8.tgz",
"integrity": "sha512-acfZboRmAIf05DEKcBQy33VXojFJjtUdLyo7oOmV9kebb2xdU01UknNiPuPZoJZQyO7DF0gZdTGTpeAzET9QPQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@vitest/pretty-format": "3.2.4",
"magic-string": "^0.30.17",
"@vitest/pretty-format": "4.1.8",
"@vitest/utils": "4.1.8",
"magic-string": "^0.30.21",
"pathe": "^2.0.3"
},
"funding": {
@@ -2835,28 +2844,25 @@
}
},
"node_modules/@vitest/spy": {
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-3.2.4.tgz",
"integrity": "sha512-vAfasCOe6AIK70iP5UD11Ac4siNUNJ9i/9PZ3NKx07sG6sUxeag1LWdNrMWeKKYBLlzuK+Gn65Yd5nyL6ds+nw==",
"version": "4.1.8",
"resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.1.8.tgz",
"integrity": "sha512-6EevtBp6OZOPF7bmz36HrGMeP3txgVSrgebWxHOafDXGkhIzfXK14f8KF6MuFfgXXUeHxmpD3BQxkV00/3s5mA==",
"dev": true,
"license": "MIT",
"dependencies": {
"tinyspy": "^4.0.3"
},
"funding": {
"url": "https://opencollective.com/vitest"
}
},
"node_modules/@vitest/utils": {
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-3.2.4.tgz",
"integrity": "sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA==",
"version": "4.1.8",
"resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.1.8.tgz",
"integrity": "sha512-uOJamYALNhfJ6iolExyQM40yIQwDqYnkKtQ5VCiSe17E33H0aQ/u+1GlRuz4LZBk6Mm3sg90G9hEbmEt37C1Zg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@vitest/pretty-format": "3.2.4",
"loupe": "^3.1.4",
"tinyrainbow": "^2.0.0"
"@vitest/pretty-format": "4.1.8",
"convert-source-map": "^2.0.0",
"tinyrainbow": "^3.1.0"
},
"funding": {
"url": "https://opencollective.com/vitest"
@@ -3112,16 +3118,6 @@
"node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
}
},
"node_modules/cac": {
"version": "6.7.14",
"resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz",
"integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
}
},
"node_modules/callsites": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
@@ -3164,18 +3160,11 @@
"license": "CC-BY-4.0"
},
"node_modules/chai": {
"version": "5.3.3",
"resolved": "https://registry.npmjs.org/chai/-/chai-5.3.3.tgz",
"integrity": "sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==",
"version": "6.2.2",
"resolved": "https://registry.npmjs.org/chai/-/chai-6.2.2.tgz",
"integrity": "sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==",
"dev": true,
"license": "MIT",
"dependencies": {
"assertion-error": "^2.0.1",
"check-error": "^2.1.1",
"deep-eql": "^5.0.1",
"loupe": "^3.1.0",
"pathval": "^2.0.0"
},
"engines": {
"node": ">=18"
}
@@ -3197,16 +3186,6 @@
"url": "https://github.com/chalk/chalk?sponsor=1"
}
},
"node_modules/check-error": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.3.tgz",
"integrity": "sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">= 16"
}
},
"node_modules/chokidar": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
@@ -3357,16 +3336,6 @@
}
}
},
"node_modules/deep-eql": {
"version": "5.0.2",
"resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz",
"integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=6"
}
},
"node_modules/deep-is": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
@@ -3414,9 +3383,9 @@
"license": "ISC"
},
"node_modules/es-module-lexer": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz",
"integrity": "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==",
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-2.1.0.tgz",
"integrity": "sha512-n27zTYMjYu1aj4MjCWzSP7G9r75utsaoc8m61weK+W8JMBGGQybd43GstCXZ3WNmSFtGT9wi59qQTW6mhTR5LQ==",
"dev": true,
"license": "MIT"
},
@@ -3975,6 +3944,15 @@
"@babel/runtime": "^7.23.2"
}
},
"node_modules/i18next-resources-to-backend": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/i18next-resources-to-backend/-/i18next-resources-to-backend-1.2.1.tgz",
"integrity": "sha512-okHbVA+HZ7n1/76MsfhPqDou0fptl2dAlhRDu2ideXloRRduzHsqDOznJBef+R3DFZnbvWoBW+KxJ7fnFjd6Yw==",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.23.2"
}
},
"node_modules/ignore": {
"version": "5.3.2",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
@@ -4340,13 +4318,6 @@
"loose-envify": "cli.js"
}
},
"node_modules/loupe": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz",
"integrity": "sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==",
"dev": true,
"license": "MIT"
},
"node_modules/lru-cache": {
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
@@ -4526,6 +4497,20 @@
"node": ">= 6"
}
},
"node_modules/obug": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/obug/-/obug-2.1.2.tgz",
"integrity": "sha512-AWGB9WFcRXOQs48Z/udjI5ZcZMHXwX8XPByNpOydgcGsDLIzjGizhoMWJyKAWze7AVW/2W1i+/gPX4YtKe5cyg==",
"dev": true,
"funding": [
"https://github.com/sponsors/sxzz",
"https://opencollective.com/debug"
],
"license": "MIT",
"engines": {
"node": ">=12.20.0"
}
},
"node_modules/optionator": {
"version": "0.9.4",
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
@@ -4693,16 +4678,6 @@
"dev": true,
"license": "MIT"
},
"node_modules/pathval": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.1.tgz",
"integrity": "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">= 14.16"
}
},
"node_modules/picocolors": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
@@ -5167,12 +5142,12 @@
}
},
"node_modules/react-router": {
"version": "6.30.3",
"resolved": "https://registry.npmjs.org/react-router/-/react-router-6.30.3.tgz",
"integrity": "sha512-XRnlbKMTmktBkjCLE8/XcZFlnHvr2Ltdr1eJX4idL55/9BbORzyZEaIkBFDhFGCEWBBItsVrDxwx3gnisMitdw==",
"version": "6.30.4",
"resolved": "https://registry.npmjs.org/react-router/-/react-router-6.30.4.tgz",
"integrity": "sha512-SVUsDe+DybHM/WmYKIVYhZh1o5Dcuf16yM6WjG02Q9XVFMZIJyHYhwrr6bFBXZkVP6z69kNkMyBCujt8FaFLJA==",
"license": "MIT",
"dependencies": {
"@remix-run/router": "1.23.2"
"@remix-run/router": "1.23.3"
},
"engines": {
"node": ">=14.0.0"
@@ -5182,13 +5157,13 @@
}
},
"node_modules/react-router-dom": {
"version": "6.30.3",
"resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.30.3.tgz",
"integrity": "sha512-pxPcv1AczD4vso7G4Z3TKcvlxK7g7TNt3/FNGMhfqyntocvYKj+GCatfigGDjbLozC4baguJ0ReCigoDJXb0ag==",
"version": "6.30.4",
"resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.30.4.tgz",
"integrity": "sha512-q4HvNl+mmDdkS0g+MqiBZNteQJCuimWoOyHMy4T/RQLAn9Z29+E91QXRaxOujeMl2HTzRSS0KFPd7lxX3PjV0Q==",
"license": "MIT",
"dependencies": {
"@remix-run/router": "1.23.2",
"react-router": "6.30.3"
"@remix-run/router": "1.23.3",
"react-router": "6.30.4"
},
"engines": {
"node": ">=14.0.0"
@@ -5436,9 +5411,9 @@
"license": "MIT"
},
"node_modules/std-env": {
"version": "3.10.0",
"resolved": "https://registry.npmjs.org/std-env/-/std-env-3.10.0.tgz",
"integrity": "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==",
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/std-env/-/std-env-4.1.0.tgz",
"integrity": "sha512-Rq7ybcX2RuC55r9oaPVEW7/xu3tj8u4GeBYHBWCychFtzMIr86A7e3PPEBPT37sHStKX3+TiX/Fr/ACmJLVlLQ==",
"dev": true,
"license": "MIT"
},
@@ -5468,26 +5443,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/strip-literal": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/strip-literal/-/strip-literal-3.1.0.tgz",
"integrity": "sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg==",
"dev": true,
"license": "MIT",
"dependencies": {
"js-tokens": "^9.0.1"
},
"funding": {
"url": "https://github.com/sponsors/antfu"
}
},
"node_modules/strip-literal/node_modules/js-tokens": {
"version": "9.0.1",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-9.0.1.tgz",
"integrity": "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==",
"dev": true,
"license": "MIT"
},
"node_modules/sucrase": {
"version": "3.35.1",
"resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz",
@@ -5606,11 +5561,14 @@
"license": "MIT"
},
"node_modules/tinyexec": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz",
"integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==",
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.2.4.tgz",
"integrity": "sha512-SHf/r48b7vOrjve9PxJo3MN5v5yuyjHvdUcrQffT3WXMUfnGmHDVbC4k3sHJaJTgZCwpUplIaAo5ANtMyp3YHg==",
"dev": true,
"license": "MIT"
"license": "MIT",
"engines": {
"node": ">=18"
}
},
"node_modules/tinyglobby": {
"version": "0.2.16",
@@ -5660,30 +5618,10 @@
"url": "https://github.com/sponsors/jonschlinkert"
}
},
"node_modules/tinypool": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.1.1.tgz",
"integrity": "sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==",
"dev": true,
"license": "MIT",
"engines": {
"node": "^18.0.0 || >=20.0.0"
}
},
"node_modules/tinyrainbow": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-2.0.0.tgz",
"integrity": "sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=14.0.0"
}
},
"node_modules/tinyspy": {
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-4.0.4.tgz",
"integrity": "sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q==",
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-3.1.0.tgz",
"integrity": "sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw==",
"dev": true,
"license": "MIT",
"engines": {
@@ -5944,29 +5882,6 @@
}
}
},
"node_modules/vite-node": {
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/vite-node/-/vite-node-3.2.4.tgz",
"integrity": "sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==",
"dev": true,
"license": "MIT",
"dependencies": {
"cac": "^6.7.14",
"debug": "^4.4.1",
"es-module-lexer": "^1.7.0",
"pathe": "^2.0.3",
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0"
},
"bin": {
"vite-node": "vite-node.mjs"
},
"engines": {
"node": "^18.0.0 || ^20.0.0 || >=22.0.0"
},
"funding": {
"url": "https://opencollective.com/vitest"
}
},
"node_modules/vite/node_modules/fdir": {
"version": "6.5.0",
"resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
@@ -5999,65 +5914,79 @@
}
},
"node_modules/vitest": {
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/vitest/-/vitest-3.2.4.tgz",
"integrity": "sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A==",
"version": "4.1.8",
"resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.8.tgz",
"integrity": "sha512-flY6ScbCIt9HThs+C5HS7jvGOB560DJtk/Z15IQROTA6zEy49Nh8T/dofWTQL+n3vswqn87sbJNiuqw1SDp5Ig==",
"dev": true,
"license": "MIT",
"dependencies": {
"@types/chai": "^5.2.2",
"@vitest/expect": "3.2.4",
"@vitest/mocker": "3.2.4",
"@vitest/pretty-format": "^3.2.4",
"@vitest/runner": "3.2.4",
"@vitest/snapshot": "3.2.4",
"@vitest/spy": "3.2.4",
"@vitest/utils": "3.2.4",
"chai": "^5.2.0",
"debug": "^4.4.1",
"expect-type": "^1.2.1",
"magic-string": "^0.30.17",
"@vitest/expect": "4.1.8",
"@vitest/mocker": "4.1.8",
"@vitest/pretty-format": "4.1.8",
"@vitest/runner": "4.1.8",
"@vitest/snapshot": "4.1.8",
"@vitest/spy": "4.1.8",
"@vitest/utils": "4.1.8",
"es-module-lexer": "^2.0.0",
"expect-type": "^1.3.0",
"magic-string": "^0.30.21",
"obug": "^2.1.1",
"pathe": "^2.0.3",
"picomatch": "^4.0.2",
"std-env": "^3.9.0",
"picomatch": "^4.0.3",
"std-env": "^4.0.0-rc.1",
"tinybench": "^2.9.0",
"tinyexec": "^0.3.2",
"tinyglobby": "^0.2.14",
"tinypool": "^1.1.1",
"tinyrainbow": "^2.0.0",
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0",
"vite-node": "3.2.4",
"tinyexec": "^1.0.2",
"tinyglobby": "^0.2.15",
"tinyrainbow": "^3.1.0",
"vite": "^6.0.0 || ^7.0.0 || ^8.0.0",
"why-is-node-running": "^2.3.0"
},
"bin": {
"vitest": "vitest.mjs"
},
"engines": {
"node": "^18.0.0 || ^20.0.0 || >=22.0.0"
"node": "^20.0.0 || ^22.0.0 || >=24.0.0"
},
"funding": {
"url": "https://opencollective.com/vitest"
},
"peerDependencies": {
"@edge-runtime/vm": "*",
"@types/debug": "^4.1.12",
"@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
"@vitest/browser": "3.2.4",
"@vitest/ui": "3.2.4",
"@opentelemetry/api": "^1.9.0",
"@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0",
"@vitest/browser-playwright": "4.1.8",
"@vitest/browser-preview": "4.1.8",
"@vitest/browser-webdriverio": "4.1.8",
"@vitest/coverage-istanbul": "4.1.8",
"@vitest/coverage-v8": "4.1.8",
"@vitest/ui": "4.1.8",
"happy-dom": "*",
"jsdom": "*"
"jsdom": "*",
"vite": "^6.0.0 || ^7.0.0 || ^8.0.0"
},
"peerDependenciesMeta": {
"@edge-runtime/vm": {
"optional": true
},
"@types/debug": {
"@opentelemetry/api": {
"optional": true
},
"@types/node": {
"optional": true
},
"@vitest/browser": {
"@vitest/browser-playwright": {
"optional": true
},
"@vitest/browser-preview": {
"optional": true
},
"@vitest/browser-webdriverio": {
"optional": true
},
"@vitest/coverage-istanbul": {
"optional": true
},
"@vitest/coverage-v8": {
"optional": true
},
"@vitest/ui": {
@@ -6068,6 +5997,9 @@
},
"jsdom": {
"optional": true
},
"vite": {
"optional": false
}
}
},
+3 -2
View File
@@ -1,6 +1,6 @@
{
"name": "yt-desc-gen",
"version": "0.19.0",
"version": "0.26.0",
"private": true,
"license": "Apache-2.0",
"type": "module",
@@ -30,6 +30,7 @@
"@tauri-apps/plugin-shell": "^2.0.0",
"clsx": "^2.1.0",
"i18next": "^23.15.0",
"i18next-resources-to-backend": "^1.2.1",
"lucide-react": "^0.400.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
@@ -57,6 +58,6 @@
"typescript": "^5.5.0",
"typescript-eslint": "^8.0.0",
"vite": "^7.3.3",
"vitest": "^3.2.4"
"vitest": "^4.1.8"
}
}
+1 -3
View File
@@ -5535,10 +5535,8 @@ dependencies = [
[[package]]
name = "yt-desc-gen"
version = "0.19.0"
version = "0.26.0"
dependencies = [
"serde",
"serde_json",
"tauri",
"tauri-build",
"tauri-plugin-dialog",
+1 -3
View File
@@ -1,6 +1,6 @@
[package]
name = "yt-desc-gen"
version = "0.19.0"
version = "0.26.0"
description = "YouTube Gameplay Description Generator"
authors = ["poli0981"]
edition = "2021"
@@ -20,5 +20,3 @@ 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
View File
@@ -1,7 +1,7 @@
{
"$schema": "https://raw.githubusercontent.com/tauri-apps/tauri/dev/crates/tauri-cli/schema.json",
"productName": "YTDescGen",
"version": "0.19.0",
"version": "0.26.0",
"identifier": "com.skullmute.ytdescgen",
"build": {
"beforeBuildCommand": "npm run build",
+7
View File
@@ -23,6 +23,9 @@ const SettingsPage = lazy(() =>
const BatchPage = lazy(() =>
import("@pages/BatchPage").then((m) => ({ default: m.BatchPage })),
);
const SocialPage = lazy(() =>
import("@pages/SocialPage").then((m) => ({ default: m.SocialPage })),
);
const PlaylistPage = lazy(() =>
import("@pages/PlaylistPage").then((m) => ({ default: m.PlaylistPage })),
);
@@ -135,6 +138,10 @@ export default function App() {
path="batch"
element={<PageBoundary label="Batch"><BatchPage /></PageBoundary>}
/>
<Route
path="social"
element={<PageBoundary label="Social"><SocialPage /></PageBoundary>}
/>
<Route
path="playlist"
element={<PageBoundary label="Playlist"><PlaylistPage /></PageBoundary>}
@@ -31,6 +31,7 @@ export function ContentWarningChecklist() {
photosensitive: false,
phobias: false,
mental_health: false,
social_phenomena: false,
sensitive: false,
horror_specific: false,
}));
+15
View File
@@ -39,6 +39,21 @@ export function GameInfoForm() {
value={store.platform}
onChange={(v) => store.set("platform", v)}
/>
{/*
* Dev/publisher name. v0.21.0 promoted this from a side-label
* under the Publisher store link to a first-class field — it now
* drives the optional `© {publisher}` description line (Settings →
* "Show game studio copyright") and persists in GamePresets,
* which is the common case for series where the publisher
* requires credit across many episodes.
*/}
<Input
label={t("editor.pubDevName")}
placeholder={t("editor.pubDevNamePlaceholder")}
value={store.pubDevName ?? ""}
onChange={(e) => store.set("pubDevName", e.target.value)}
autoComplete="off"
/>
</div>
);
}
+57 -16
View File
@@ -6,6 +6,8 @@ import {
RIG_FIELDS,
parseCascadingValue,
parseCompositeValue,
resolveCompositeOptions,
resolveCompositeLabelKey,
type RigField,
type CompositePart,
} from "@config/rig-fields";
@@ -13,7 +15,7 @@ import { GPU_CUSTOM_BRAND_ID, findGpuBrand } from "@config/gpu-catalog";
import { useEditorStore } from "@store/editor-store";
import {
validateGpuValue,
validateRamValue,
validateCompositeField,
type RigValidationIssue,
} from "@utils/rig-validation";
@@ -136,22 +138,71 @@ export function RigEditor() {
if (!field.composite) return null;
const raw = rig[field.id] ?? "";
const { parts: storedParts } = parseCompositeValue(raw);
const issue = validateRamValue(raw);
// Validate per field — only RAM has size/DDR semantics. Running the
// RAM validator on the OS composite mis-fired "Pick a DDR generation."
const issue = validateCompositeField(field.id, raw);
const partValues = field.composite.parts.map(
(_p, i) => storedParts[i] ?? "",
);
// v0.23.0: setting a part also resets all downstream parts to "" so
// a cascading parent change can't leave the form with a stale child
// value that no longer exists in the new option list (e.g. switching
// OS name from Windows to macOS clears any leftover "11" / "Pro").
const setPart = (index: number, next: string) => {
const updated = [...partValues];
updated[index] = next;
for (let j = index + 1; j < updated.length; j++) {
updated[j] = "";
}
setNested("rig", field.id, joinComposite(updated));
};
const renderPart = (part: CompositePart, index: number) => {
// Walk parts in declaration order; each part's resolvers see the
// previously-rendered values so cascading option lists / dynamic
// labels / hidden-when predicates work cleanly.
const previousValues: string[] = [];
const renderedParts: React.ReactNode[] = [];
field.composite.parts.forEach((part, index) => {
const stored = partValues[index] ?? "";
// hiddenWhen short-circuits BEFORE we render — and we still push
// the stored value into previousValues so a later visible part
// sees the full history (though in practice, parts after a
// hidden one are rare).
if (part.hiddenWhen?.(previousValues)) {
previousValues.push(stored);
return;
}
renderedParts.push(renderPart(part, index, previousValues, setPart));
previousValues.push(stored);
});
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">
{renderedParts}
</div>
{renderValidationBadge(issue)}
</div>
);
// Inner closure — needs access to `t`, `partValues`, and the part-
// local mutators. Defined as a function so the forEach above stays
// readable; not hoisted out because it captures lexical state.
function renderPart(
part: CompositePart,
index: number,
previousValues: readonly string[],
setPart: (index: number, next: string) => void,
) {
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 options = resolveCompositeOptions(part.options, previousValues);
const labelKey = resolveCompositeLabelKey(part, previousValues);
const onSelectChange = (next: string) => {
if (next === "custom" && part.allowCustom) {
@@ -167,9 +218,9 @@ export function RigEditor() {
return (
<div key={part.id} className="flex flex-col gap-1">
<Select
label={t(part.labelKey)}
label={t(labelKey)}
value={selectValue}
options={part.options}
options={options}
onChange={onSelectChange}
/>
{isCustom && part.allowCustom && (
@@ -187,17 +238,7 @@ export function RigEditor() {
)}
</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) => {
+5 -20
View File
@@ -2,7 +2,6 @@ import { useMemo, useState } from "react";
import type { ClipboardEvent } from "react";
import { useTranslation } from "react-i18next";
import toast from "react-hot-toast";
import { Input } from "@components/ui/Input";
import { ValidatedInput } from "@components/ui/ValidatedInput";
import { Select } from "@components/ui/Select";
import { PLATFORMS } from "@config/platforms";
@@ -27,7 +26,6 @@ export function StoreLinkEditor() {
const storeLinks = useEditorStore((s) => s.storeLinks);
const storeLinkTypes = useEditorStore((s) => s.storeLinkTypes);
const gameName = useEditorStore((s) => s.gameName);
const pubDevName = useEditorStore((s) => s.pubDevName);
const setField = useEditorStore((s) => s.set);
const setNested = useEditorStore((s) => s.setNested);
const setStoreLinkType = useEditorStore((s) => s.setStoreLinkType);
@@ -131,14 +129,11 @@ export function StoreLinkEditor() {
{PLATFORMS.map((platform) => {
const currentType = storeLinkTypes[platform.id] ?? "paid";
const url = storeLinks[platform.id] ?? "";
// Publisher / Developer site is the only platform that pairs
// with a free-text name field (rendered below the URL once the
// URL is non-empty). The name becomes a YouTube tag — see
// tag-generator.ts. Keeping the input in this same grid (via
// `col-span-2`) preserves vertical rhythm with the rest of
// the platform rows.
const showPubDevName =
platform.id === "publisher" && url.trim().length > 0;
// v0.21.0: the inline `pubDevName` input that previously
// appeared under the Publisher store link has been promoted
// to a first-class field in `GameInfoForm`, so it can drive
// the optional game-copyright description line independently
// of whether the publisher URL is filled.
return (
<div
key={platform.id}
@@ -161,16 +156,6 @@ export function StoreLinkEditor() {
options={typeOptions}
onChange={(v) => setStoreLinkType(platform.id, v as StoreLinkType)}
/>
{showPubDevName && (
<div className="col-span-2">
<Input
label={t("editor.pubDevName")}
placeholder={t("editor.pubDevNamePlaceholder")}
value={pubDevName ?? ""}
onChange={(e) => setField("pubDevName", e.target.value)}
/>
</div>
)}
</div>
);
})}
@@ -22,6 +22,7 @@ import {
coerceUpscaleQuality,
coerceFrameGenMultiplier,
} from "@engine/graphics-vendor";
import { VIDEO_STYLE_ERA_IDS, type VideoStyleEra } from "@config/video-styles";
const RESOLUTION_OPTIONS = [
{ value: "720p", label: "720p" },
@@ -56,6 +57,18 @@ export function VideoSettingsForm() {
label: t(`editor.frameGenVendorOptions.${v}`),
}));
// v0.22.0 — video-style era opt-in. Renders independently of
// `skipGraphicsSettings`, so we wire it above the toggle: 2D / pixel-art
// creators still edit their footage and may want the style credit even
// when the in-game graphics block is suppressed.
const videoStyleOptions = [
{ value: "", label: t("editor.videoStyleOff") },
...VIDEO_STYLE_ERA_IDS.map((id) => ({
value: id,
label: t(`editor.videoStyleOptions.${id}`),
})),
];
// 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
@@ -130,6 +143,14 @@ export function VideoSettingsForm() {
/>
)}
<Select
label={t("editor.videoStyle")}
options={videoStyleOptions}
value={store.videoStyleEra}
onChange={(v) => store.set("videoStyleEra", v as VideoStyleEra)}
/>
<p className="-mt-1 text-xs text-text-muted">{t("editor.videoStyleHelp")}</p>
<Toggle
label={t("editor.skipGraphicsSettings")}
checked={store.skipGraphicsSettings}
+15 -2
View File
@@ -1,6 +1,6 @@
import { useState, useRef, useEffect } from "react";
import { useTranslation } from "react-i18next";
import { ChevronDown, Heart, Menu } from "lucide-react";
import { ChevronDown, Heart, Menu, Moon, Sun } from "lucide-react";
import { SUPPORTED_LANGUAGES } from "@i18n/index";
import { useSettingsStore } from "@store/settings-store";
import { PRIMARY_DONATE_URL } from "@config/donate";
@@ -13,7 +13,7 @@ interface HeaderProps {
export function Header({ onOpenMobileNav }: HeaderProps) {
const { t, i18n } = useTranslation("ui");
const { appLanguage, setAppLanguage } = useSettingsStore();
const { appLanguage, setAppLanguage, theme, setTheme } = useSettingsStore();
const [open, setOpen] = useState(false);
const dropdownRef = useRef<HTMLDivElement>(null);
@@ -72,6 +72,19 @@ export function Header({ onOpenMobileNav }: HeaderProps) {
<Heart className="h-4 w-4 sm:h-3.5 sm:w-3.5" />
<span className="hidden md:inline">{t("header.donate")}</span>
</a>
<button
type="button"
onClick={() => setTheme(theme === "dark" ? "light" : "dark")}
className="rounded-lg p-2 text-text-secondary transition-colors hover:bg-surface-2 hover:text-text-primary"
title={t("header.toggleTheme")}
aria-label={t("header.toggleTheme")}
>
{theme === "dark" ? (
<Moon className="h-4 w-4" />
) : (
<Sun className="h-4 w-4" />
)}
</button>
<div className="relative" ref={dropdownRef}>
<button
onClick={() => setOpen(!open)}
+2
View File
@@ -7,6 +7,7 @@ import {
Clock,
Settings,
Layers,
Share2,
ListVideo,
ScrollText,
Info,
@@ -30,6 +31,7 @@ const tabs: readonly TabItem[] = [
{ to: "/", labelKey: "tabs.editor", icon: Pencil },
{ to: "/output", labelKey: "tabs.output", icon: FileText },
{ to: "/batch", labelKey: "tabs.batch", icon: Layers },
{ to: "/social", labelKey: "tabs.social", icon: Share2 },
{ to: "/profiles", labelKey: "tabs.profiles", icon: User },
{ to: "/history", labelKey: "tabs.history", icon: Clock },
{ to: "/playlist", labelKey: "tabs.playlist", icon: ListVideo },
+8 -1
View File
@@ -4,6 +4,7 @@ import i18n from "i18next";
import { useEditorStore } from "@store/editor-store";
import { useSettingsStore } from "@store/settings-store";
import { useCurrentGeneratorInput } from "@hooks/use-current-generator-input";
import { useLanguagesReady } from "@hooks/use-languages-ready";
import { buildPinnedComment } from "@engine/pinned-comment-builder";
import { GENRES } from "@config/genres";
import type { Genre } from "@engine/types";
@@ -40,8 +41,13 @@ export function OutputExtras() {
return map;
}, [t]);
// Lazy-loaded locales (v0.26): the OutputPage flow normally has this
// language loaded already, but the component is standalone by design —
// gate it rather than rely on the page.
const ready = useLanguagesReady([input.language]);
const templateText = useMemo(() => {
if (!showPinnedCommentTemplate) return "";
if (!ready || !showPinnedCommentTemplate) return "";
const tFn = i18n.getFixedT(input.language, "templates");
return buildPinnedComment(input, tFn, {
includeAskNextGame,
@@ -50,6 +56,7 @@ export function OutputExtras() {
genreLabels,
});
}, [
ready,
showPinnedCommentTemplate,
input,
includeAskNextGame,
+7 -1
View File
@@ -5,6 +5,7 @@ import { Modal } from "@components/ui/Modal";
import { CopyButton } from "./CopyButton";
import { CharCounter } from "./CharCounter";
import { buildTitleVariants } from "@engine/title-variants";
import { useLanguagesReady } from "@hooks/use-languages-ready";
import { useEditorStore } from "@store/editor-store";
import { useSettingsStore } from "@store/settings-store";
import { YT_LIMITS, type GeneratorInput } from "@engine/types";
@@ -24,8 +25,12 @@ export function VariantPicker({ open, onClose }: VariantPickerProps) {
const state = useEditorStore();
const showQualityBadge = useSettingsStore((s) => s.showQualityBadge);
// Lazy-loaded locales (v0.26): only request the bundle while the modal
// is actually open; the list fills in on the ready flip.
const ready = useLanguagesReady(open ? [state.language] : []);
const variants = useMemo(() => {
if (!open) return [];
if (!open || !ready) return [];
const input: GeneratorInput = {
videoType: state.videoType,
language: state.language,
@@ -52,6 +57,7 @@ export function VariantPicker({ open, onClose }: VariantPickerProps) {
return buildTitleVariants(input, tFn, showQualityBadge);
}, [
open,
ready,
showQualityBadge,
state.videoType,
state.language,
+9
View File
@@ -4,6 +4,7 @@ import { Upload, Pencil, Trash2 } from "lucide-react";
import { Button } from "@components/ui/Button";
import { ConfirmDialog } from "@components/ui/ConfirmDialog";
import { useEditorStore } from "@store/editor-store";
import { useSettingsStore } from "@store/settings-store";
import { usePresetStore, type GamePreset } from "@store/preset-store";
import { GENRES } from "@config/genres";
import { PresetSaveForm } from "./PresetSaveForm";
@@ -15,6 +16,7 @@ interface PresetCardProps {
export function PresetCard({ preset }: PresetCardProps) {
const { t } = useTranslation("ui");
const loadPreset = useEditorStore((s) => s.loadPreset);
const setSetting = useSettingsStore((s) => s.setSetting);
const deletePreset = usePresetStore((s) => s.deletePreset);
const [showDelete, setShowDelete] = useState(false);
const [showEdit, setShowEdit] = useState(false);
@@ -28,7 +30,14 @@ export function PresetCard({ preset }: PresetCardProps) {
storeLinks: { ...preset.storeLinks },
spoilerWarning: preset.spoilerWarning,
matureWarning: preset.matureWarning,
pubDevName: preset.pubDevName ?? "",
});
// v0.21.0: same pattern as PresetSelector — only flip the setting
// when the preset explicitly carries it, so older presets don't
// silently reset a user's preference on first load.
if (preset.showGameCopyright !== undefined) {
setSetting("showGameCopyright", preset.showGameCopyright);
}
};
const genreDefs = preset.genres
@@ -4,6 +4,7 @@ import { Modal } from "@components/ui/Modal";
import { Button } from "@components/ui/Button";
import { Input } from "@components/ui/Input";
import { useEditorStore } from "@store/editor-store";
import { useSettingsStore } from "@store/settings-store";
import { usePresetStore, type GamePreset } from "@store/preset-store";
interface PresetSaveFormProps {
@@ -15,6 +16,7 @@ interface PresetSaveFormProps {
export function PresetSaveForm({ open, onClose, editPreset }: PresetSaveFormProps) {
const { t } = useTranslation("ui");
const editor = useEditorStore();
const showGameCopyrightSetting = useSettingsStore((s) => s.showGameCopyright);
const { addPreset, updatePreset } = usePresetStore();
const [gameName, setGameName] = useState(editPreset?.gameName ?? editor.gameName);
@@ -28,6 +30,8 @@ export function PresetSaveForm({ open, onClose, editPreset }: PresetSaveFormProp
storeLinks: editPreset?.storeLinks ?? { ...editor.storeLinks },
spoilerWarning: editPreset?.spoilerWarning ?? editor.spoilerWarning,
matureWarning: editPreset?.matureWarning ?? editor.matureWarning,
pubDevName: editPreset?.pubDevName ?? editor.pubDevName,
showGameCopyright: editPreset?.showGameCopyright ?? showGameCopyrightSetting,
};
if (editPreset) {
+10
View File
@@ -2,11 +2,13 @@ import { useTranslation } from "react-i18next";
import { Select } from "@components/ui/Select";
import { usePresetStore } from "@store/preset-store";
import { useEditorStore } from "@store/editor-store";
import { useSettingsStore } from "@store/settings-store";
export function PresetSelector() {
const { t } = useTranslation("ui");
const presets = usePresetStore((s) => s.presets);
const loadPreset = useEditorStore((s) => s.loadPreset);
const setSetting = useSettingsStore((s) => s.setSetting);
if (presets.length === 0) return null;
@@ -27,7 +29,15 @@ export function PresetSelector() {
storeLinks: { ...preset.storeLinks },
spoilerWarning: preset.spoilerWarning,
matureWarning: preset.matureWarning,
pubDevName: preset.pubDevName ?? "",
});
// v0.21.0: pull the per-preset toggle into the global setting so the
// description re-renders with the right credit obligation. Missing
// means "leave the user's setting alone" — older presets don't carry
// this field.
if (preset.showGameCopyright !== undefined) {
setSetting("showGameCopyright", preset.showGameCopyright);
}
};
return <Select label={t("presets.selectPreset")} options={options} value="" onChange={handleSelect} />;
-6
View File
@@ -20,12 +20,6 @@ export const ABOUT = {
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",
+155 -2
View File
@@ -39,9 +39,52 @@ export const CONTENT_WARNING_GROUPS: readonly ContentWarningGroup[] = [
"flashing_lights",
"motion_sickness",
"migraine_trigger",
"loud_noises",
"strobe_effects",
"screen_shake_intense",
// v0.23.0: VFX intensity — share the photosensitive audience.
"lens_flare_intense",
"bloom_excessive",
"particle_effects_dense",
"screen_overlay_flashing",
"color_saturation_extreme",
"motion_blur_heavy",
"depth_of_field_aggressive",
"post_processing_intense",
],
},
{
id: "audio",
labelKey: "editor.contentWarningGroups.audio",
items: [
"loud_noises",
"ear_piercing",
"jumpscare_audio",
"sudden_volume_changes",
"distorted_audio",
"screeching_metallic",
"persistent_high_pitch",
"audio_glitches",
"heavy_bass_rumble",
"screaming_audio",
"glass_breaking_audio",
"microphone_pops",
"white_noise_static",
],
},
{
id: "dialogue",
labelKey: "editor.contentWarningGroups.dialogue",
items: [
"profanity_frequent",
"sexual_innuendo",
"inflammatory_speech",
"verbal_abuse",
"threatening_language",
"slurs_derogatory",
"crude_humor",
"mature_humor",
"dark_humor",
"drug_references",
],
},
{
@@ -89,6 +132,21 @@ export const CONTENT_WARNING_GROUPS: readonly ContentWarningGroup[] = [
"nosocomephobia",
"aichmophobia",
"pnigophobia",
"homichlophobia",
"lilapsophobia",
"ombrophobia",
"nephophobia",
"ancraophobia",
"cryophobia",
"heliophobia",
"cymophobia",
"limnophobia",
"potamophobia",
"chromophobia",
"erythrophobia",
"xanthophobia",
"leukophobia",
"melanophobia",
],
},
{
@@ -114,12 +172,69 @@ export const CONTENT_WARNING_GROUPS: readonly ContentWarningGroup[] = [
"medical_horror",
],
},
{
id: "social_phenomena",
labelKey: "editor.contentWarningGroups.social_phenomena",
items: [
"autism_themes",
"adhd_themes",
"hikikomori",
"neet_themes",
"social_anxiety_themes",
"social_isolation",
"schizophrenia_themes",
"burnout_themes",
"survivor_guilt",
"abandonment_themes",
"parasocial_themes",
"gaslighting_themes",
"stockholm_syndrome",
"behavioral_addiction",
"existential_crisis",
"impostor_syndrome",
"midlife_crisis",
"quarter_life_crisis",
"workplace_harassment",
"masculinity_pressure",
"body_shaming",
"beauty_standards",
],
},
{
id: "internet_digital",
labelKey: "editor.contentWarningGroups.internet_digital",
items: [
"cyberbullying",
"doxxing",
"trolling_griefing",
"cancel_culture",
"social_media_addiction",
"doomscrolling",
"fomo",
"fake_news",
"online_scams",
"catfishing",
"deepfake_themes",
"cyberstalking",
"internet_challenges",
"influencer_culture",
"online_radicalization",
"loot_boxes",
"ai_themes",
"data_privacy",
],
},
{
id: "sensitive",
labelKey: "editor.contentWarningGroups.sensitive",
items: [
"blood_gore",
"mature_18plus",
"revealing_outfits",
"partial_nudity",
"sexualized_characters",
"fanservice",
"suggestive_poses",
"disturbing_imagery",
"animal_abuse",
"child_harm",
@@ -147,6 +262,38 @@ export const CONTENT_WARNING_GROUPS: readonly ContentWarningGroup[] = [
"homophobia",
"transphobia",
"xenophobia",
"political_extremism",
"religious_extremism",
"genocide",
"holy_war",
"holocaust_themes",
"civil_war",
"mass_shooting",
"colonialism",
"propaganda",
"dystopian_state",
"conspiracy_theories",
"censorship_themes",
"ethnic_conflict",
"refugee_crisis",
"revolution_themes",
"assassination",
"coup_themes",
"inquisition",
"forced_labor",
"ultranationalism",
"hanging_depiction",
"drowning_depiction",
"burning_alive",
"asphyxiation_depiction",
"restraint_torture",
"public_execution",
"decapitation",
"impalement",
"mass_casualty_event",
"vehicular_violence",
"overdose_depiction",
"defenestration",
],
},
{
@@ -186,6 +333,12 @@ export const CONTENT_WARNING_GROUPS: readonly ContentWarningGroup[] = [
{
id: "gameplay_disclosure",
labelKey: "editor.contentWarningGroups.gameplay_disclosure",
items: ["mods_used", "cheats_enabled", "glitch_exploits", "assisted_run"],
items: [
"mods_used",
"cheats_enabled",
"glitch_exploits",
"assisted_run",
"educational_purpose_only",
],
},
] as const;
+4 -2
View File
@@ -8,6 +8,7 @@ import type {
UpscaleQuality,
ArtStyle,
} from "./graphics-settings";
import type { VideoStyleEra } from "./video-styles";
import { DEFAULT_GACHA_QUEST_TYPE, type GachaQuestType } from "./gacha-quest-types";
import type {
SupportedLanguage,
@@ -63,6 +64,8 @@ export interface EditorDefaults {
frameGenMultiplier: FrameGenMultiplier;
upscaleQuality: UpscaleQuality;
artStyle: ArtStyle;
/** v0.22.0 opt-in. Empty string = no style line in the description. */
videoStyleEra: VideoStyleEra;
versionInfo: string;
timestamps: string;
playlistLink: string;
@@ -133,7 +136,6 @@ export interface EditorDefaults {
export interface SettingsDefaults {
theme: "dark" | "light";
defaultLanguage: string;
defaultGenres: GenreId[];
}
export const DEFAULTS = {
@@ -169,6 +171,7 @@ export const DEFAULTS = {
frameGenMultiplier: "none",
upscaleQuality: "none",
artStyle: "none",
videoStyleEra: "" satisfies VideoStyleEra,
versionInfo: "",
timestamps: "",
playlistLink: "",
@@ -210,6 +213,5 @@ export const DEFAULTS = {
settings: {
theme: "dark",
defaultLanguage: "en",
defaultGenres: ["action"],
} satisfies SettingsDefaults,
} as const;
+217 -5
View File
@@ -37,17 +37,65 @@ interface RigFieldOption {
readonly label: string;
}
/**
* v0.23.0: a composite part's options can now either be a static array
* (the original RAM-style shape) OR a function that resolves the option
* list based on previously-selected parts (the OS cascading shape, where
* version-or-distro depends on OS name and the third slot depends on
* both). Existing static-array call sites continue to work unchanged.
*/
type RigFieldOptionResolver =
| readonly RigFieldOption[]
| ((previousParts: readonly string[]) => readonly RigFieldOption[]);
export interface CompositePart {
/** Stable id, used to assemble the storage tuple in declaration order. */
readonly id: string;
readonly labelKey: string;
readonly options: readonly RigFieldOption[];
readonly options: RigFieldOptionResolver;
/** 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;
/**
* v0.23.0: dynamic label key override. Lets a single part show
* "Distro" when OS = Linux but "Version" when OS = Windows / macOS.
* Receives previously-selected parts; returns an i18n key.
*/
readonly labelKeyResolver?: (previousParts: readonly string[]) => string;
/**
* v0.23.0: hide this part entirely when the resolver returns `true`
* (e.g. macOS has no Edition slot). `formatRigValue` also skips the
* hidden part so it doesn't leak an empty token into the joined
* output, and the editor doesn't render the dropdown.
*/
readonly hiddenWhen?: (previousParts: readonly string[]) => boolean;
}
/**
* Helper for {@link CompositePart.options} — call sites get a plain
* `RigFieldOption[]` whether the part declares a static array or a
* function-of-previous-parts resolver. Pure; exported for {@link RigEditor}.
*/
export function resolveCompositeOptions(
opts: RigFieldOptionResolver,
previousParts: readonly string[],
): readonly RigFieldOption[] {
return typeof opts === "function" ? opts(previousParts) : opts;
}
/**
* Helper for {@link CompositePart.labelKey} / {@link CompositePart.labelKeyResolver}.
* Returns the dynamic label when present, falling back to the static
* key on the part. Pure; exported for {@link RigEditor}.
*/
export function resolveCompositeLabelKey(
part: CompositePart,
previousParts: readonly string[],
): string {
return part.labelKeyResolver?.(previousParts) ?? part.labelKey;
}
interface CompositeFieldSpec {
@@ -147,7 +195,155 @@ const RAM_COMPOSITE: CompositeFieldSpec = {
},
};
/**
* OS composite (v0.22.0, extended v0.23.0). Three dropdowns combined
* into one logical field. The slot semantics now adapt to the chosen
* OS family:
*
* - Windows: name → version (10/11) → edition (Home/Pro/…)
* - macOS: name → version (10/11/12/13/14/15/26) → (hidden — Apple has no editions)
* - Linux: name → distro (Ubuntu/Fedora/…) → version (per-distro)
*
* Stored pipe-delimited; format function joins all non-empty parts
* with single spaces. v0.22.0 stored values like `"windows|11|pro"`
* round-trip unchanged through the new resolver because the static
* Windows path remains the default for `name === "windows"`.
*/
const OS_NAME_OPTIONS: readonly RigFieldOption[] = [
{ value: "", label: "—" },
{ value: "windows", label: "Windows" },
{ value: "macos", label: "macOS" },
{ value: "linux", label: "Linux" },
];
const WINDOWS_VERSION_OPTIONS: readonly RigFieldOption[] = [
{ value: "", label: "—" },
{ value: "10", label: "10" },
{ value: "11", label: "11" },
];
/**
* macOS major versions. Apple jumped from 15 (Sequoia, 2024) to 26
* (Tahoe, 2025) to year-align the marketing number, so the list is
* intentionally non-contiguous.
*/
const MACOS_VERSION_OPTIONS: readonly RigFieldOption[] = [
{ value: "", label: "—" },
{ value: "10", label: "10 (Mojave era)" },
{ value: "11 Big Sur", label: "11 Big Sur" },
{ value: "12 Monterey", label: "12 Monterey" },
{ value: "13 Ventura", label: "13 Ventura" },
{ value: "14 Sonoma", label: "14 Sonoma" },
{ value: "15 Sequoia", label: "15 Sequoia" },
{ value: "26 Tahoe", label: "26 Tahoe" },
];
/** Linux distros gameplay creators actually use via Proton. */
const LINUX_DISTRO_OPTIONS: readonly RigFieldOption[] = [
{ value: "", label: "—" },
{ value: "ubuntu", label: "Ubuntu" },
{ value: "fedora", label: "Fedora" },
{ value: "debian", label: "Debian" },
{ value: "arch", label: "Arch" },
{ value: "manjaro", label: "Manjaro" },
{ value: "popos", label: "Pop!_OS" },
{ value: "mint", label: "Linux Mint" },
];
/**
* Per-distro version lists. The map key matches the distro id from
* {@link LINUX_DISTRO_OPTIONS}; values are stored verbatim (e.g. the
* stored Ubuntu version is "22.04 LTS"). Rolling distros surface a
* single "rolling" / "latest" placeholder so the dropdown isn't empty.
*/
const LINUX_VERSION_BY_DISTRO: Record<string, readonly RigFieldOption[]> = {
ubuntu: [
{ value: "", label: "—" },
{ value: "20.04 LTS", label: "20.04 LTS" },
{ value: "22.04 LTS", label: "22.04 LTS" },
{ value: "24.04 LTS", label: "24.04 LTS" },
{ value: "26.04 LTS", label: "26.04 LTS" },
],
fedora: [
{ value: "", label: "—" },
{ value: "40", label: "40" },
{ value: "41", label: "41" },
{ value: "42", label: "42" },
],
debian: [
{ value: "", label: "—" },
{ value: "12 Bookworm", label: "12 Bookworm" },
{ value: "13 Trixie", label: "13 Trixie" },
],
arch: [
{ value: "", label: "—" },
{ value: "rolling", label: "rolling" },
],
manjaro: [
{ value: "", label: "—" },
{ value: "latest", label: "latest stable" },
],
popos: [
{ value: "", label: "—" },
{ value: "22.04 LTS", label: "22.04 LTS" },
{ value: "24.04 LTS", label: "24.04 LTS" },
],
mint: [
{ value: "", label: "—" },
{ value: "21", label: "21" },
{ value: "22", label: "22" },
],
};
const OS_EDITION_OPTIONS: readonly RigFieldOption[] = [
{ value: "", label: "—" },
{ value: "home", label: "Home" },
{ value: "pro", label: "Pro" },
{ value: "enterprise", label: "Enterprise" },
{ value: "education", label: "Education" },
{ value: "iot", label: "IoT Enterprise" },
];
const EMPTY_OPTIONS: readonly RigFieldOption[] = [{ value: "", label: "—" }];
const OS_COMPOSITE: CompositeFieldSpec = {
parts: [
{ id: "name", labelKey: "editor.os_name", options: OS_NAME_OPTIONS },
{
// Slot 2: Windows/macOS use this as "Version", Linux re-purposes it
// as "Distro". The labelKeyResolver swaps the label so the editor
// form reads naturally for each OS family.
id: "version_or_distro",
labelKey: "editor.os_version",
labelKeyResolver: ([name = ""]) =>
name === "linux" ? "editor.os_distro" : "editor.os_version",
options: ([name = ""]) => {
if (name === "windows") return WINDOWS_VERSION_OPTIONS;
if (name === "macos") return MACOS_VERSION_OPTIONS;
if (name === "linux") return LINUX_DISTRO_OPTIONS;
return EMPTY_OPTIONS;
},
},
{
// Slot 3: Windows uses "Edition"; Linux re-purposes it as "Version"
// (per-distro). macOS doesn't have a third slot at all — hidden.
id: "edition_or_linux_version",
labelKey: "editor.os_edition",
labelKeyResolver: ([name = ""]) =>
name === "linux" ? "editor.os_version" : "editor.os_edition",
hiddenWhen: ([name = ""]) => name === "macos",
options: ([name = "", distro = ""]) => {
if (name === "windows") return OS_EDITION_OPTIONS;
if (name === "linux") return LINUX_VERSION_BY_DISTRO[distro] ?? EMPTY_OPTIONS;
return EMPTY_OPTIONS;
},
},
],
format: (parts) => parts.filter((p) => p.trim() !== "").join(" "),
};
export const RIG_FIELDS: readonly RigField[] = [
{ id: "os", labelKey: "rig.os", type: "composite_dropdown", composite: OS_COMPOSITE },
{ id: "cpu", labelKey: "rig.cpu", type: "text", placeholder: "Intel i9-14900K / AMD Ryzen 9 7950X" },
{
id: "gpu",
@@ -259,16 +455,32 @@ export function formatRigValue(fieldId: string, raw: string): string {
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).
// Resolve each declared part. v0.23.0: parts may declare a dynamic
// option resolver and/or a `hiddenWhen` predicate (used by the OS
// composite where macOS has no third slot). We walk parts in order
// so each resolver sees the previously-stored values, and we skip
// hidden parts entirely so they don't leak an empty token into the
// `composite.format` join. `custom:<value>` segments still collapse
// to the free-text payload (without the `custom:` prefix).
const previousStored: string[] = [];
const resolved = field.composite.parts.map((spec, i) => {
const stored = (parts[i] ?? "").trim();
if (!stored) return "";
if (spec.hiddenWhen?.(previousStored)) {
previousStored.push("");
return "";
}
if (!stored) {
previousStored.push("");
return "";
}
if (spec.allowCustom && stored.startsWith("custom:")) {
const txt = stored.slice("custom:".length).trim();
previousStored.push(stored);
return txt ? `${txt}${spec.customSuffix ?? ""}` : "";
}
const opt = spec.options.find((o) => o.value === stored);
const opts = resolveCompositeOptions(spec.options, previousStored);
const opt = opts.find((o) => o.value === stored);
previousStored.push(stored);
return opt?.label ?? stored;
});
+1
View File
@@ -17,5 +17,6 @@ export const SOCIAL_FIELDS = [
{ id: "facebook", label: "Facebook", labelKey: "social.facebook", urlPrefix: "https://facebook.com/", category: "social" },
{ id: "fb_page", label: "Facebook Page", labelKey: "social.fb_page", urlPrefix: "https://facebook.com/", category: "social" },
{ id: "fb_group", label: "Facebook Group", labelKey: "social.fb_group", urlPrefix: "https://facebook.com/groups/", category: "social" },
{ id: "telegram", label: "Telegram", labelKey: "social.telegram", urlPrefix: "https://t.me/", category: "social" },
{ id: "website", label: "Website", labelKey: "social.website", urlPrefix: "", category: "social" },
] as const;
+74
View File
@@ -0,0 +1,74 @@
import { Music2, Instagram, Facebook, type LucideIcon } from "lucide-react";
/**
* A short-form platform the cross-post generator targets (v0.24.0). Each
* one re-packages the same YouTube source (title, rig, content warnings,
* copyright, thanks, hashtags) under its own character ceiling and a
* curated set of platform-popular hashtags.
*
* Add a platform here and the Social page + bulk loop pick it up
* automatically — same data-driven pattern as `@config/platforms` and
* `@config/social-fields`.
*/
export interface SocialPlatform {
readonly id: "tiktok" | "instagram_reels" | "facebook_reels";
/** i18n key under `socialPost.platforms.<id>`. */
readonly labelKey: string;
/** Caption character ceiling enforced by the platform. */
readonly charLimit: number;
readonly icon: LucideIcon;
/**
* Platform-popular hashtags appended after the game / genre hashtags.
* Stored with the leading `#`; deduped case-insensitively against the
* derived hashtags at build time.
*/
readonly popularHashtags: readonly string[];
}
export const SOCIAL_PLATFORMS: readonly SocialPlatform[] = [
{
id: "tiktok",
labelKey: "socialPost.platforms.tiktok",
charLimit: 4000,
icon: Music2, // lucide has no TikTok glyph; Music2 is the established stand-in
popularHashtags: [
"#fyp",
"#foryou",
"#foryoupage",
"#gaming",
"#gamingtiktok",
"#gameplay",
"#gamer",
],
},
{
id: "instagram_reels",
labelKey: "socialPost.platforms.instagram_reels",
charLimit: 2200,
icon: Instagram,
popularHashtags: [
"#reels",
"#reelsinstagram",
"#gaming",
"#gamingreels",
"#gamer",
"#instagaming",
"#videogames",
],
},
{
id: "facebook_reels",
labelKey: "socialPost.platforms.facebook_reels",
charLimit: 2200,
icon: Facebook,
popularHashtags: [
"#reels",
"#facebookreels",
"#fbreels",
"#gaming",
"#gameplay",
"#gamingcommunity",
"#videogames",
],
},
] as const;
+49
View File
@@ -0,0 +1,49 @@
/**
* Video-style era options (v0.22.0). When the user picks an era from the
* editor's Video Style dropdown, the description renderer emits a single
* line composed from the chosen era label and the user's `rig.video_editor`
* field — e.g. `"Edited in 1990s VHS style using DaVinci Resolve 19.1"`.
*
* Empty string `""` is the sentinel for "off" — no parallel boolean toggle.
* This mirrors the existing per-video opt-in shape used by `artStyle`,
* `playthroughStatus`, `difficulty`, etc.
*
* Adding a new era: append the id below, add the editor short label to
* `editor.videoStyleOptions.{id}` in all 6 locales, and the description
* long label to `description.videoSettings.eraOptions.{id}` in
* `templates.json`. The engine + form pick the new entry up automatically.
*/
export const VIDEO_STYLE_ERAS = [
"",
"1980s",
"1990s",
"2000s",
"2010s",
"2020s",
"modern",
"cinematic",
"retro",
"vhs",
"film_noir",
"anime_mv",
"documentary",
] as const;
export type VideoStyleEra = (typeof VIDEO_STYLE_ERAS)[number];
/** Subset minus the empty sentinel — used by the form to render options. */
export const VIDEO_STYLE_ERA_IDS = VIDEO_STYLE_ERAS.filter(
(id) => id !== "",
) as ReadonlyArray<Exclude<VideoStyleEra, "">>;
/**
* Type guard so the engine + migration can coerce unrecognised values
* (hand-edited blob, downgrade from a future version that added more
* eras) back to the empty sentinel without crashing.
*/
export function isVideoStyleEra(value: unknown): value is VideoStyleEra {
return (
typeof value === "string" &&
(VIDEO_STYLE_ERAS as readonly string[]).includes(value)
);
}
+159 -61
View File
@@ -26,9 +26,27 @@ const SOCIAL_ICONS: Record<string, string> = {
facebook: "👤",
fb_page: "📄",
fb_group: "👥",
telegram: "✈️",
website: "🌐",
};
/**
* Output languages whose descriptions are human-reviewed — the
* AI-translation notice is skipped for them (v0.24.0). Typed as
* `readonly string[]` so `.includes(input.language)` accepts any
* SupportedLanguage without a cast.
*/
const TRANSLATION_TRUSTED: readonly string[] = ["vi", "en"];
/** Caveat bullet ids for the Translation Quality section, resolved against
* `description.translationQuality.items.<id>` (v0.24.0). */
const TRANSLATION_QUALITY_ITEMS = [
"accuracy",
"phrasing",
"localStyle",
"corrections",
] as const;
function hasEntries(obj: Partial<Record<string, string>>): boolean {
return Object.values(obj).some((v) => v && v.trim() !== "");
}
@@ -180,6 +198,38 @@ function composeGraphicsPart(input: GeneratorInput, t: TranslationFn): string {
return `${presetLabel}${middle}${rtClause}`;
}
/**
* Compose the v0.22.0 "Video Style" line — combines the chosen era from
* `input.videoStyleEra` with the rig's `video_editor` field to produce a
* single line like `"Edited in 1990s VHS style using DaVinci Resolve 19.1"`.
*
* Returns an empty string when:
* - `videoStyleEra` is empty / unrecognised
* - The era's i18n label can't be resolved (defensive — locale missing
* the key shouldn't leak the snake_case id into the description)
*
* Picks one of two templates depending on whether the rig's video editor
* is filled in. The two-template approach keeps localisations natural —
* each locale can phrase the with/without-editor variants differently.
*/
function composeVideoStyleLine(input: GeneratorInput, t: TranslationFn): string {
const era = (input.videoStyleEra ?? "").trim();
if (!era) return "";
const eraKey = `description.videoSettings.eraOptions.${era}`;
const eraLabel = t(eraKey);
if (!eraLabel || eraLabel === eraKey) return "";
const editor = formatRigValue(
"video_editor",
input.rig?.video_editor ?? "",
).trim();
if (editor) {
return t("description.videoSettings.styleLine", { era: eraLabel, editor });
}
return t("description.videoSettings.styleLineNoEditor", { era: eraLabel });
}
export interface BuildDescriptionOptions {
hashtagCount?: number;
/** When true and channelName is non-empty, appends an auto-generated
@@ -188,12 +238,23 @@ export interface BuildDescriptionOptions {
/** When true, appends a localised usage-policy block after the
* copyright line. */
showUsagePolicy?: boolean;
/** When true and `input.pubDevName` is non-empty, emits a single-line
* `© {publisher}. All rights reserved.` block right after the Store
* Links section. Used when the game's dev/publisher contractually
* requires a copyright credit in the description (v0.21.0). Decoupled
* from `storeLinks.publisher` — renders even if the publisher URL is
* blank, since the obligation is to credit the IP holder by name. */
showGameCopyright?: boolean;
/** 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;
/** When true, appends an AI-translation disclaimer block for output
* languages outside the trusted set ({@link TRANSLATION_TRUSTED} —
* English / Vietnamese, which are human-reviewed). v0.24.0. */
showTranslationQuality?: 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
@@ -212,6 +273,8 @@ export function buildDescription(
showUsagePolicy = false,
showSponsorCredit = false,
showThirdPartyAds = false,
showGameCopyright = false,
showTranslationQuality = false,
tEn,
} = options;
const sections: string[] = [];
@@ -327,6 +390,19 @@ export function buildDescription(
}
}
// 4.5 Game copyright — opt-in line crediting the dev/publisher right
// under the store links (v0.21.0). Decoupled from any specific
// store-link URL: as long as `pubDevName` is set AND the toggle is
// on, the credit renders. Used by creators who cover games whose
// publishers contractually require attribution in the description.
if (showGameCopyright && input.pubDevName && input.pubDevName.trim()) {
sections.push(
t("description.sections.gameCopyright", {
publisher: input.pubDevName.trim(),
}),
);
}
// 5. Video Settings — skipped entirely for 2D / pixel-art / no-in-game-
// settings games (the user toggles that explicitly; v0.8 phase 2 also
// auto-suggests it on certain genres but the toggle is the source of
@@ -337,6 +413,14 @@ export function buildDescription(
// the key-value-per-line shape of the rig and timestamps blocks.
// Lines with no value are dropped; if every line is dropped, the
// whole section is dropped.
//
// v0.22.0 polish: the optional Video Style line (era + video_editor)
// renders inside this section when `skipGraphicsSettings` is off, AND
// as a tiny standalone section when it's on — 2D / pixel-art creators
// still edit their footage, so the style credit shouldn't disappear
// with the graphics block.
const styleLine = composeVideoStyleLine(input, t);
if (!input.skipGraphicsSettings) {
const lines: string[] = [];
@@ -368,9 +452,18 @@ export function buildDescription(
lines.push(`${t("description.graphics.versionLabel")}: ${input.versionInfo.trim()}`);
}
// v0.22.0 video-style era line — appended last so it reads like a
// production credit after the technical fields.
if (styleLine) lines.push(styleLine);
if (lines.length > 0) {
sections.push(`${t("description.sections.videoSettings")}\n${lines.join("\n")}`);
}
} else if (styleLine) {
// 2D / pixel-art path: the graphics block is suppressed but the
// creator still set a style era, so emit a single-line standalone
// section under the same header.
sections.push(`${t("description.sections.videoSettings")}\n${styleLine}`);
}
// 5.5 Difficulty — moved into the unified Playthrough Notes block
@@ -404,51 +497,49 @@ export function buildDescription(
);
}
// 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;
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(`${headerLine}\n${introLines}\n\n${bullets}`);
}
}
// 7. Content warnings — unified bilingual checklist (v0.11). Header +
// intro + `• EN · LOCAL` bullets (separator U+00B7 MIDDLE DOT);
// degrades to single-language when the output is English or `tEn` is
// omitted. The shared shape was extracted to buildBilingualBulletSection
// (v0.24.0) and is reused by Tech Notes, the Translation Quality notice,
// and the social-post builder.
const cwSection = buildBilingualBulletSection(
input.contentWarnings ?? [],
"description.contentWarnings",
input.language,
t,
tEn,
);
if (cwSection) sections.push(cwSection);
// 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);
// checklist shape.
const tnSection = buildBilingualBulletSection(
input.techNotes ?? [],
"description.techNotes",
input.language,
t,
tEn,
);
if (tnSection) sections.push(tnSection);
// 7.6 Translation Quality — opt-in AI-translation disclaimer (v0.24.0).
// Shown only for output languages outside the trusted set (EN / VI are
// human-reviewed, so they don't need the caveat). Self-contained:
// header + intro naming the trusted languages + caveat bullets, in the
// same bilingual checklist shape as the blocks above.
if (showTranslationQuality && !TRANSLATION_TRUSTED.includes(input.language)) {
const tqSection = buildBilingualBulletSection(
TRANSLATION_QUALITY_ITEMS,
"description.translationQuality",
input.language,
t,
tEn,
);
if (tqSection) sections.push(tqSection);
}
// 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
@@ -803,38 +894,45 @@ function buildPlaythroughNotesSection(
}
/**
* 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.
* Render a bilingual checklist section — header + intro + `• EN · LOCAL`
* bullets — from a list of item ids resolved against
* `${namespace}.items.<id>` (plus `${namespace}.header` / `.intro`).
*
* 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.
* This is the shared shape behind Content Warnings (v0.11), Tech Notes
* (v0.12), and the Translation Quality notice (v0.24.0). When the output
* language is English (or `tEn` is omitted) it degrades to single-language
* output; otherwise each piece is paired with its English equivalent
* (header `EN / LOCAL`, intro on two lines, bullets `• EN · LOCAL` with a
* U+00B7 MIDDLE DOT separator). Items whose key doesn't resolve are
* dropped; returns `null` when nothing renders so the caller skips the
* section instead of emitting a header with no body.
*
* Pure — exported for reuse by the social-post builder.
*/
function buildTechNotesSection(
input: GeneratorInput,
export function buildBilingualBulletSection(
itemIds: readonly string[],
namespace: string,
language: string,
t: TranslationFn,
tEn?: TranslationFn,
): string {
const tn = input.techNotes ?? [];
if (tn.length === 0) return "";
): string | null {
if (itemIds.length === 0) return null;
const isEn = input.language === "en";
const isEn = 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 headerEn = tEnUse(`${namespace}.header`);
const headerLocal = t(`${namespace}.header`);
const introEn = tEnUse(`${namespace}.intro`);
const introLocal = t(`${namespace}.intro`);
const headerLine = renderBilingual ? `${headerEn} / ${headerLocal}` : headerEn;
const introLines = renderBilingual ? `${introEn}\n${introLocal}` : introEn;
const bullets = tn
const bullets = itemIds
.map((id) => {
const key = `description.techNotes.items.${id}`;
const key = `${namespace}.items.${id}`;
const enLabel = tEnUse(key);
const localLabel = t(key);
if (!enLabel || enLabel === key || !enLabel.trim()) return null;
@@ -843,7 +941,7 @@ function buildTechNotesSection(
.filter((line): line is string => Boolean(line))
.join("\n");
if (!bullets) return "";
if (!bullets) return null;
return `${headerLine}\n${introLines}\n\n${bullets}`;
}
+193
View File
@@ -0,0 +1,193 @@
import type { GeneratorInput, TranslationFn } from "./types";
import type { SocialPlatform } from "@config/social-platforms";
import { buildTitle } from "./title-builder";
import { buildBilingualBulletSection } from "./description-builder";
import { formatRigValue } from "@config/rig-fields";
import { sanitizeHashtag } from "@utils/sanitize";
/**
* Cross-post caption builder (v0.24.0). Re-packages the same
* {@link GeneratorInput} that drives the YouTube description into a
* short-form caption for TikTok / Instagram Reels / Facebook Reels.
*
* Reuses leaf engine pieces rather than the full description renderer:
* {@link buildTitle} (badge suppressed), {@link formatRigValue}, the
* shared {@link buildBilingualBulletSection} (content warnings), the
* `description.sections.*` copyright / sponsor templates, and
* {@link sanitizeHashtag}. The YouTube description output is therefore
* untouched — captions are a parallel renderer, not a fork of it.
*/
export interface SocialPostOptions {
/** Platform character ceiling. The caption never silently exceeds it;
* optional blocks are dropped first, then `isOver` flags any residual
* overflow for the UI. */
charLimit: number;
/** Platform-popular hashtags appended after the derived game / genre
* hashtags (deduped case-insensitively). */
popularHashtags: readonly string[];
/** Append the `© year channel` line (mirrors the description toggle). */
showCopyright?: boolean;
/** Append the `🎁 Thanks to …` line when both sponsor fields are set. */
showSponsorCredit?: boolean;
/** English-fixed `t` for the bilingual content-warnings block. */
tEn?: TranslationFn;
}
export interface SocialPostOutput {
text: string;
charCount: number;
isOver: boolean;
/** Ids of optional blocks dropped to fit the limit, in the order
* dropped (empty when everything fit). */
droppedBlocks: string[];
}
/** Optional blocks listed in display order (Title is always first,
* hashtags always last — neither is in this list). */
const DISPLAY_ORDER = ["rig", "warnings", "thanks", "copyright"] as const;
type BlockId = (typeof DISPLAY_ORDER)[number];
/** Drop priority when the caption overflows: warnings go first (longest,
* least essential for a short clip), the rig credit goes last. */
const DROP_ORDER: readonly BlockId[] = ["warnings", "copyright", "thanks", "rig"];
function buildRigBlock(input: GeneratorInput, t: TranslationFn): string {
// Mirrors the description-builder rig block: id → formatted value,
// skipping empties, `KEY: value` per line under the localized header.
const rigLines = Object.entries(input.rig ?? {})
.map(([k, v]) => [k, formatRigValue(k, v ?? "")] as const)
.filter(([, v]) => v && v.trim() !== "")
.map(([k, v]) => `${k.replace(/_/g, " ").toUpperCase()}: ${v}`)
.join("\n");
return rigLines ? `${t("description.sections.rig")}\n${rigLines}` : "";
}
function dedupeHashtags(tags: readonly string[]): string[] {
const seen = new Set<string>();
const out: string[] = [];
for (const tag of tags) {
const key = tag.toLowerCase();
if (!tag || seen.has(key)) continue;
seen.add(key);
out.push(tag);
}
return out;
}
function buildHashtagLine(
input: GeneratorInput,
popular: readonly string[],
): string {
const gameName = input.gameNameLocalized?.[input.language] ?? input.gameName;
const primaryGenre = input.genres[0];
const derived = [
`#${sanitizeHashtag(gameName)}`,
"#GameplayNoCommentary",
...(primaryGenre ? [`#${sanitizeHashtag(primaryGenre)}`] : []),
];
return dedupeHashtags([...derived, ...popular]).join(" ");
}
export function buildSocialPost(
input: GeneratorInput,
t: TranslationFn,
options: SocialPostOptions,
): SocialPostOutput {
const { charLimit, popularHashtags, showCopyright, showSponsorCredit, tEn } =
options;
// Title — short-form, so the `[2K 60FPS]` badge is suppressed.
const title = buildTitle(input, t, { showQualityBadge: false });
const blocks: Record<BlockId, string> = {
rig: buildRigBlock(input, t),
warnings:
buildBilingualBulletSection(
input.contentWarnings ?? [],
"description.contentWarnings",
input.language,
t,
tEn,
) ?? "",
thanks:
showSponsorCredit &&
input.sponsorName?.trim() &&
input.sponsorPlatform?.trim()
? t("description.sections.sponsorCredit", {
sponsor: input.sponsorName.trim(),
platform: input.sponsorPlatform.trim(),
})
: "",
copyright:
showCopyright && input.channelName.trim()
? t("description.sections.copyright", {
year: String(new Date().getFullYear()),
channelName: input.channelName.trim(),
})
: "",
};
const hashtags = buildHashtagLine(input, popularHashtags);
// Track which optional blocks are still present; drop in priority order
// until the caption fits. Title + hashtags are always kept.
const present = new Set<BlockId>(
DISPLAY_ORDER.filter((id) => blocks[id].trim() !== ""),
);
const assemble = (): string => {
const parts: string[] = [title];
for (const id of DISPLAY_ORDER) {
if (present.has(id)) parts.push(blocks[id]);
}
if (hashtags) parts.push(hashtags);
return parts.filter((p) => p.trim() !== "").join("\n\n");
};
const droppedBlocks: string[] = [];
let text = assemble();
for (const id of DROP_ORDER) {
if (text.length <= charLimit) break;
if (present.has(id)) {
present.delete(id);
droppedBlocks.push(id);
text = assemble();
}
}
return {
text,
charCount: text.length,
isOver: text.length > charLimit,
droppedBlocks,
};
}
/**
* Build a caption for every platform in `platforms`, keyed by platform id.
* `shared` carries the description-level toggles + the English-fixed `t`
* so each platform renders consistently.
*/
export function buildAllSocialPosts(
input: GeneratorInput,
t: TranslationFn,
platforms: readonly SocialPlatform[],
shared: {
showCopyright?: boolean;
showSponsorCredit?: boolean;
tEn?: TranslationFn;
},
): Record<string, SocialPostOutput> {
const out: Record<string, SocialPostOutput> = {};
for (const p of platforms) {
out[p.id] = buildSocialPost(input, t, {
charLimit: p.charLimit,
popularHashtags: p.popularHashtags,
showCopyright: shared.showCopyright,
showSponsorCredit: shared.showSponsorCredit,
tEn: shared.tEn,
});
}
return out;
}
+25 -6
View File
@@ -14,18 +14,35 @@ const COMPOSITE_NAME_BUDGET = YT_LIMITS.SINGLE_TAG_MAX - 9;
const QUALIFIER_SUFFIX_RE =
/[:\s]+(?:Definitive|Complete|Collector'?s?|Deluxe|Game\s+of\s+the\s+Year|GOTY|Ultimate|Special|Anniversary|Remastered|Remake|Enhanced|HD)(?:\s+(?:Edition|Cut|Version))?\s*$/i;
/**
* Strips characters that YouTube treats as tag delimiters (`,` `;` `|`) plus
* trademark marks, then collapses whitespace. Game names containing these
* delimiters (e.g. "Hello, World") would otherwise produce composite tags
* like "Hello, World gameplay" that YouTube splits at the comma.
*
* Pure — exported for testing.
*/
export function sanitizeForTag(name: string): string {
return name
.replace(/[™®©]/g, "")
.replace(/[,;|]/g, " ")
.replace(/\s+/g, " ")
.trim();
}
/**
* Returns a shortened, tag-friendly form of `name` whose length is ≤ `budget`.
*
* Strips trademark marks, then iteratively peels off common edition
* qualifiers ("Definitive Edition", "Remastered", "GOTY", …). If the result
* is still over budget, drops everything after the first colon. Falls back
* to picking leading whole words that fit.
* Sanitizes via {@link sanitizeForTag} (trademark + tag-delimiter strip),
* then iteratively peels off common edition qualifiers ("Definitive Edition",
* "Remastered", "GOTY", …). If the result is still over budget, drops
* everything after the first colon. Falls back to picking leading whole
* words that fit.
*
* Pure — exported for testing.
*/
export function tagFriendlyGameName(name: string, budget: number): string {
let n = name.replace(/[™®©]/g, "").trim();
let n = sanitizeForTag(name);
let prev: string;
do {
prev = n;
@@ -355,7 +372,9 @@ export interface TagOptions {
export function generateTags(input: GeneratorInput, options?: TagOptions): string[] {
const { includeMultilingualTags = true, includeTrendingTags = true } = options ?? {};
const rawName = input.gameNameLocalized?.[input.language] ?? input.gameName;
const rawName = sanitizeForTag(
input.gameNameLocalized?.[input.language] ?? input.gameName,
);
// Two friendly forms of the game name:
// • bareNameTag — fits the per-tag 30-char limit; always added so the
+15
View File
@@ -47,6 +47,19 @@ export interface RenderOptions extends TagOptions {
* music section (v0.11).
*/
showThirdPartyAds?: boolean;
/**
* When true and the editor's `pubDevName` is non-empty, the description
* emits a `© {publisher}. All rights reserved.` line right after the
* Store Links block (v0.21.0). Opt-in — meant for games whose
* dev/publisher contractually requires attribution in the description.
*/
showGameCopyright?: boolean;
/**
* When true, the description appends an AI-translation disclaimer block
* for output languages outside the trusted set (English / Vietnamese).
* v0.24.0.
*/
showTranslationQuality?: boolean;
/**
* Optional English-fixed translation function. Used by the v0.11
* unified content-warnings block to render bilingual lines
@@ -73,6 +86,8 @@ export function renderAll(
showUsagePolicy: options?.showUsagePolicy,
showSponsorCredit: options?.showSponsorCredit,
showThirdPartyAds: options?.showThirdPartyAds,
showGameCopyright: options?.showGameCopyright,
showTranslationQuality: options?.showTranslationQuality,
tEn: options?.tEn,
});
const tags = generateTags(input, options);
+178 -1
View File
@@ -265,9 +265,51 @@ export const CONTENT_WARNINGS = [
"flashing_lights",
"motion_sickness",
"migraine_trigger",
"loud_noises",
"strobe_effects",
"screen_shake_intense",
// Photosensitive — VFX intensity (v0.23.0). Modern AAA / horror games
// ship visual-effects passes (bloom, particles, post-processing) that
// strain the same audience as flashing-lights / strobe but no existing
// warning surfaced them. Same group placement, no new group needed.
"lens_flare_intense",
"bloom_excessive",
"particle_effects_dense",
"screen_overlay_flashing",
"color_saturation_extreme",
"motion_blur_heavy",
"depth_of_field_aggressive",
"post_processing_intense",
// Audio / sensory (v0.22.0). `loud_noises` migrated here from the
// photosensitive block where it never quite fit — sudden volume changes
// and high-pitched tones affect a different (audio-sensitive) audience
// than strobe / motion triggers, so they group cleaner on their own.
"loud_noises",
"ear_piercing",
"jumpscare_audio",
"sudden_volume_changes",
"distorted_audio",
"screeching_metallic",
"persistent_high_pitch",
"audio_glitches",
"heavy_bass_rumble",
"screaming_audio",
"glass_breaking_audio",
"microphone_pops",
"white_noise_static",
// Dialogue / language (v0.25.0). What characters *say* — profanity,
// innuendo, slurs, humor tone, substance references — is judged by
// YouTube and viewers separately from what's *shown*, so spoken/written
// content gets its own disclosure block (ESRB-style descriptors).
"profanity_frequent",
"sexual_innuendo",
"inflammatory_speech",
"verbal_abuse",
"threatening_language",
"slurs_derogatory",
"crude_humor",
"mature_humor",
"dark_humor",
"drug_references",
// Phobias
"jump_scares",
"acrophobia",
@@ -311,6 +353,25 @@ export const CONTENT_WARNINGS = [
"nosocomephobia",
"aichmophobia",
"pnigophobia",
// Phobias — weather (v0.20.0)
"homichlophobia",
"lilapsophobia",
"ombrophobia",
"nephophobia",
"ancraophobia",
"cryophobia",
"heliophobia",
"cymophobia",
"limnophobia",
"potamophobia",
// Phobias — colors (v0.25.0). Chromophobia and per-color variants:
// monochrome set pieces (all-red rooms, stark-white liminal halls)
// are a recurring horror device that triggers this audience.
"chromophobia",
"erythrophobia",
"xanthophobia",
"leukophobia",
"melanophobia",
// Mental health
"anxiety_inducing",
"depression_themes",
@@ -329,9 +390,62 @@ export const CONTENT_WARNINGS = [
"paranoia_themes",
"intrusive_thoughts",
"medical_horror",
// Social phenomena (v0.20.0)
"autism_themes",
"adhd_themes",
"hikikomori",
"neet_themes",
"social_anxiety_themes",
"social_isolation",
"schizophrenia_themes",
"burnout_themes",
"survivor_guilt",
"abandonment_themes",
"parasocial_themes",
"gaslighting_themes",
"stockholm_syndrome",
"behavioral_addiction",
"existential_crisis",
"impostor_syndrome",
"midlife_crisis",
"quarter_life_crisis",
"workplace_harassment",
"masculinity_pressure",
// Social phenomena — body image (v0.25.0)
"body_shaming",
"beauty_standards",
// Internet / digital life (v0.25.0). 21st-century online phenomena —
// cyberbullying, viral misinformation, scams, parasocial economies —
// increasingly drive game narratives but had no disclosure ids.
"cyberbullying",
"doxxing",
"trolling_griefing",
"cancel_culture",
"social_media_addiction",
"doomscrolling",
"fomo",
"fake_news",
"online_scams",
"catfishing",
"deepfake_themes",
"cyberstalking",
"internet_challenges",
"influencer_culture",
"online_radicalization",
"loot_boxes",
"ai_themes",
"data_privacy",
// Mature / sensitive
"blood_gore",
"mature_18plus",
// Sensitive — suggestive imagery (v0.25.0). Visuals unsuitable for
// minors that fall short of explicit content: skimpy outfits,
// partial nudity, sexualized designs, fan-service shots.
"revealing_outfits",
"partial_nudity",
"sexualized_characters",
"fanservice",
"suggestive_poses",
"disturbing_imagery",
"animal_abuse",
"child_harm",
@@ -360,6 +474,43 @@ export const CONTENT_WARNINGS = [
"homophobia",
"transphobia",
"xenophobia",
// Sensitive — political / religion / war (v0.20.0)
"political_extremism",
"religious_extremism",
"genocide",
"holy_war",
"holocaust_themes",
"civil_war",
"mass_shooting",
"colonialism",
"propaganda",
"dystopian_state",
"conspiracy_theories",
"censorship_themes",
"ethnic_conflict",
"refugee_crisis",
"revolution_themes",
"assassination",
"coup_themes",
"inquisition",
"forced_labor",
"ultranationalism",
// Sensitive — method-specific death/violence depictions (v0.21.0).
// YouTube auto-moderation is harsher on these specific scenes than on
// generic "blood / gore" or "violence" labels, so they get their own
// toggles for accurate creator-side disclosure.
"hanging_depiction",
"drowning_depiction",
"burning_alive",
"asphyxiation_depiction",
"restraint_torture",
"public_execution",
"decapitation",
"impalement",
"mass_casualty_event",
"vehicular_violence",
"overdose_depiction",
"defenestration",
// Heavy-horror specific (v0.13.1)
"eye_horror",
"body_horror",
@@ -389,6 +540,9 @@ export const CONTENT_WARNINGS = [
"cheats_enabled",
"glitch_exploits",
"assisted_run",
// v0.25.0: the game itself is educational / PSA / propaganda material —
// a nature-of-content disclosure, not a playthrough disclosure.
"educational_purpose_only",
] as const;
export type ContentWarning = (typeof CONTENT_WARNINGS)[number];
@@ -485,6 +639,14 @@ export interface GeneratorInput {
upscaleQuality?: UpscaleQuality;
/** High-level art-style descriptor — surfaces a separate line. */
artStyle?: ArtStyle;
/**
* Video-style era opt-in (v0.22.0). When set to a non-empty era id,
* the renderer emits a single "Edited in {era} style using {editor}"
* credit at the end of the Video Settings section. Combines with
* {@link rig.video_editor}. Renders even when
* {@link skipGraphicsSettings} is true.
*/
videoStyleEra?: string;
/**
* Free-form short string for driver / game version, e.g.
* "GeForce 565.90 | Game v1.4". Surfaces as the trailing token of the
@@ -674,6 +836,21 @@ export interface GeneratorOutput {
warnings: CharLimitWarning[];
}
/**
* Pending/placeholder output rendered while a locale bundle is still being
* fetched (v0.26 lazy-loaded locales). `title === ""` doubles as the gate
* for OutputPage's history-save effect, so no wrong-language entry can be
* recorded from a not-yet-loaded translator.
*/
export const EMPTY_GENERATOR_OUTPUT: GeneratorOutput = {
title: "",
description: "",
tags: [],
tagString: "",
charCounts: { title: 0, description: 0, tags: 0 },
warnings: [],
};
export interface CharLimitWarning {
field: "title" | "description" | "tags";
current: number;
+1
View File
@@ -53,6 +53,7 @@ export function buildGeneratorInputFromEditor(
frameGenMultiplier: state.frameGenMultiplier,
upscaleQuality: state.upscaleQuality,
artStyle: state.artStyle,
videoStyleEra: state.videoStyleEra,
versionInfo: state.versionInfo,
timestamps: state.timestamps,
playlistLink: state.playlistLink,
+30 -14
View File
@@ -2,8 +2,9 @@ import { useMemo } from "react";
import i18n from "i18next";
import { useSettingsStore } from "@store/settings-store";
import { renderAll } from "@engine/template-renderer";
import type { GeneratorOutput } from "@engine/types";
import { EMPTY_GENERATOR_OUTPUT, type GeneratorOutput } from "@engine/types";
import { useCurrentGeneratorInput } from "./use-current-generator-input";
import { useLanguagesReady } from "./use-languages-ready";
export function useGeneratedOutput(): GeneratorOutput {
const input = useCurrentGeneratorInput();
@@ -15,31 +16,44 @@ export function useGeneratedOutput(): GeneratorOutput {
showCopyright,
showUsagePolicy,
showSponsorCredit,
showGameCopyright,
showThirdPartyAds,
showTranslationQuality,
titleFormat,
} = useSettingsStore();
// Lazy-loaded locales (v0.26): block generation until the output
// language's bundle is in memory — getFixedT would otherwise silently
// render English, and OutputPage would save that as a history entry.
const ready = useLanguagesReady([input.language]);
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.
// the engine falls back to `t` when this is undefined. `en` is eagerly
// bundled, so it never needs the readiness gate.
const tEn = useMemo(() => i18n.getFixedT("en", "templates"), []);
return useMemo(
() =>
renderAll(input, t, {
includeMultilingualTags,
includeTrendingTags,
hashtagCount,
showQualityBadge,
showCopyright,
showUsagePolicy,
showSponsorCredit,
showThirdPartyAds,
titleFormat,
tEn,
}),
!ready
? EMPTY_GENERATOR_OUTPUT
: renderAll(input, t, {
includeMultilingualTags,
includeTrendingTags,
hashtagCount,
showQualityBadge,
showCopyright,
showUsagePolicy,
showSponsorCredit,
showGameCopyright,
showThirdPartyAds,
showTranslationQuality,
titleFormat,
tEn,
}),
[
ready,
input,
t,
tEn,
@@ -50,7 +64,9 @@ export function useGeneratedOutput(): GeneratorOutput {
showCopyright,
showUsagePolicy,
showSponsorCredit,
showGameCopyright,
showThirdPartyAds,
showTranslationQuality,
titleFormat,
],
);
+47
View File
@@ -0,0 +1,47 @@
import { useEffect, useMemo, useState } from "react";
import { ensureLanguagesLoaded, hasLanguageBundles } from "@i18n/index";
import type { SupportedLanguage } from "@engine/types";
/**
* Returns true once every requested language has its locale bundles in
* memory (v0.26 lazy-loaded locales). Until then the caller must render a
* pending placeholder instead of generating — an unloaded language would
* otherwise silently produce English fallback output.
*
* Resolves to true even when a bundle fails to fetch (offline, stale
* deploy): `ensureLanguagesLoaded` logs the failure and the app degrades
* to English rather than hanging the UI.
*/
export function useLanguagesReady(
langs: readonly SupportedLanguage[],
): boolean {
const joined = langs.join(",");
// Stable identity for the requested set — callers pass fresh array
// literals on every render.
const key = useMemo(
() => [...new Set(joined ? joined.split(",") : [])].sort().join(","),
[joined],
);
const [readyKey, setReadyKey] = useState<string | null>(() =>
langs.every(hasLanguageBundles) ? key : null,
);
useEffect(() => {
const wanted = (key ? key.split(",") : []) as SupportedLanguage[];
if (wanted.every(hasLanguageBundles)) {
setReadyKey(key);
return;
}
let cancelled = false;
void ensureLanguagesLoaded(wanted).finally(() => {
if (!cancelled) setReadyKey(key);
});
return () => {
cancelled = true;
};
}, [key]);
// Comparing against the current key means a late resolve for a
// superseded language set can never mark the new set ready.
return readyKey === key;
}
+10
View File
@@ -4,11 +4,16 @@ import { useSettingsStore } from "@store/settings-store";
import { renderAll } from "@engine/template-renderer";
import type { GeneratorOutput, SupportedLanguage } from "@engine/types";
import { useCurrentGeneratorInput } from "./use-current-generator-input";
import { useLanguagesReady } from "./use-languages-ready";
export function useMultilangOutput(
languages: SupportedLanguage[],
): Record<string, GeneratorOutput> {
const baseInput = useCurrentGeneratorInput();
// Lazy-loaded locales (v0.26): all-or-nothing gate — OutputPage already
// renders nothing for an absent tab entry, and the per-language chunks
// load in parallel, so partial results aren't worth the complexity.
const ready = useLanguagesReady(languages);
const {
includeMultilingualTags,
includeTrendingTags,
@@ -17,11 +22,13 @@ export function useMultilangOutput(
showCopyright,
showUsagePolicy,
showSponsorCredit,
showGameCopyright,
titleFormat,
} = useSettingsStore();
return useMemo(() => {
const results: Record<string, GeneratorOutput> = {};
if (!ready) return results;
for (const lang of languages) {
const tFn = i18n.getFixedT(lang, "templates");
const input = { ...baseInput, language: lang };
@@ -33,11 +40,13 @@ export function useMultilangOutput(
showCopyright,
showUsagePolicy,
showSponsorCredit,
showGameCopyright,
titleFormat,
});
}
return results;
}, [
ready,
languages,
baseInput,
includeMultilingualTags,
@@ -47,6 +56,7 @@ export function useMultilangOutput(
showCopyright,
showUsagePolicy,
showSponsorCredit,
showGameCopyright,
titleFormat,
]);
}
+49
View File
@@ -0,0 +1,49 @@
import { useMemo } from "react";
import i18n from "i18next";
import { useSettingsStore } from "@store/settings-store";
import {
buildAllSocialPosts,
type SocialPostOutput,
} from "@engine/social-post-builder";
import { SOCIAL_PLATFORMS } from "@config/social-platforms";
import type { SupportedLanguage } from "@engine/types";
import { useCurrentGeneratorInput } from "./use-current-generator-input";
import { useLanguagesReady } from "./use-languages-ready";
/**
* Memoised editor-state → cross-post captions hook (v0.24.0). Mirrors
* {@link useGeneratedOutput}: assembles the same {@link GeneratorInput},
* pulls the relevant description toggles, and renders one caption per
* platform. Takes an optional language override so the Social page's bulk
* mode can reuse it the way Batch reuses the generator input.
*/
export function useSocialPosts(
languageOverride?: SupportedLanguage,
): Record<string, SocialPostOutput> {
const input = useCurrentGeneratorInput(languageOverride);
const { showCopyright, showSponsorCredit } = useSettingsStore();
// Lazy-loaded locales (v0.26): no caption until the output language's
// bundle is in memory — SocialPage renders nothing for an empty record.
const ready = useLanguagesReady([input.language]);
const t = useMemo(
() => i18n.getFixedT(input.language, "templates"),
[input.language],
);
// Always-English `t` for the bilingual content-warnings block, built
// once so the engine receives a stable ref.
const tEn = useMemo(() => i18n.getFixedT("en", "templates"), []);
return useMemo(
() =>
!ready
? {}
: buildAllSocialPosts(input, t, SOCIAL_PLATFORMS, {
showCopyright,
showSponsorCredit,
tEn,
}),
[ready, input, t, tEn, showCopyright, showSponsorCredit],
);
}
+80 -26
View File
@@ -1,18 +1,11 @@
import i18n from "i18next";
import { initReactI18next } from "react-i18next";
import resourcesToBackend from "i18next-resources-to-backend";
import type { SupportedLanguage } from "@engine/types";
import { logger } from "@utils/logger";
import enUI from "./locales/en/ui.json";
import enTemplates from "./locales/en/templates.json";
import viUI from "./locales/vi/ui.json";
import viTemplates from "./locales/vi/templates.json";
import jaUI from "./locales/ja/ui.json";
import jaTemplates from "./locales/ja/templates.json";
import esUI from "./locales/es/ui.json";
import esTemplates from "./locales/es/templates.json";
import koUI from "./locales/ko/ui.json";
import koTemplates from "./locales/ko/templates.json";
import zhUI from "./locales/zh/ui.json";
import zhTemplates from "./locales/zh/templates.json";
export const SUPPORTED_LANGUAGES = [
{ id: "en", label: "English", flag: "🇬🇧", nativeName: "English" },
@@ -23,21 +16,82 @@ export const SUPPORTED_LANGUAGES = [
{ id: "zh", label: "Chinese", flag: "🇨🇳", nativeName: "简体中文" },
] as const;
i18n.use(initReactI18next).init({
resources: {
en: { ui: enUI, templates: enTemplates },
vi: { ui: viUI, templates: viTemplates },
ja: { ui: jaUI, templates: jaTemplates },
es: { ui: esUI, templates: esTemplates },
ko: { ui: koUI, templates: koTemplates },
zh: { ui: zhUI, templates: zhTemplates },
},
ns: ["ui", "templates"],
defaultNS: "ui",
fallbackLng: "en",
interpolation: {
escapeValue: false,
},
});
i18n
.use(initReactI18next)
.use(
// Vite statically analyses this template literal and emits one async
// chunk per locale JSON, fetched on first use. `en` is also statically
// imported above, so Rollup keeps it in the main chunk — and i18next
// never asks the backend for it because bundled namespaces are served
// from `resources` (see `partialBundledLanguages`).
resourcesToBackend(
(lng: string, ns: string) => import(`./locales/${lng}/${ns}.json`),
),
)
.init({
resources: { en: { ui: enUI, templates: enTemplates } },
partialBundledLanguages: true,
ns: ["ui", "templates"],
defaultNS: "ui",
fallbackLng: "en",
interpolation: {
escapeValue: false,
},
react: {
// react-i18next defaults this to true; with lazily-loaded bundles an
// unready namespace would suspend Header/AppShell, which sit outside
// every Suspense boundary. Readiness is handled explicitly instead
// (useLanguagesReady / ensureLanguagesLoaded).
useSuspense: false,
},
});
const NAMESPACES = ["ui", "templates"] as const;
/** Both bundles for a language are in memory. */
export function hasLanguageBundles(lang: string): boolean {
return NAMESPACES.every((ns) => i18n.hasResourceBundle(lang, ns));
}
/**
* Resolve once every requested language has its `ui` + `templates` bundles
* in memory — the contract every `getFixedT` call site relies on, since
* i18next silently serves English fallback strings for unloaded languages.
*
* Never rejects: a language whose chunk cannot be fetched (offline, stale
* deploy HTML) is logged and left to the `fallbackLng` English degrade.
*/
export async function ensureLanguagesLoaded(
langs: readonly SupportedLanguage[],
): Promise<void> {
const wanted = [...new Set(langs)].filter((l) => !hasLanguageBundles(l));
if (wanted.length === 0) return;
await i18n.loadLanguages(wanted);
// A failed fetch leaves the connector state at -1, and BOTH loadLanguages
// and reloadResources skip state<0 entries forever after — one transient
// blip would otherwise pin the whole session to English. Retry once by
// importing the chunk directly and feeding the store (public API; the
// template literal matches the backend loader's, so no extra chunks).
const failed: SupportedLanguage[] = [];
for (const lng of wanted.filter((l) => !hasLanguageBundles(l))) {
for (const ns of NAMESPACES) {
if (i18n.hasResourceBundle(lng, ns)) continue;
try {
const mod = (await import(`./locales/${lng}/${ns}.json`)) as {
default: Record<string, unknown>;
};
i18n.addResourceBundle(lng, ns, mod.default);
} catch {
if (!failed.includes(lng)) failed.push(lng);
}
}
}
if (failed.length > 0) {
logger.warn(
"i18n",
`Locale bundle load failed: ${failed.join(", ")} — falling back to English`,
);
}
}
export default i18n;
+46 -16
View File
@@ -1,19 +1,17 @@
{
"ui": {
"app": ["title", "subtitle"],
"tabs": ["editor", "output", "profiles", "history", "settings", "batch", "playlist", "logs", "about", "reportBug"],
"tabs": ["editor", "output", "profiles", "history", "settings", "batch", "social", "playlist", "logs", "about", "reportBug"],
"sidebar": ["expand", "collapse"],
"header": ["donate"],
"header": ["donate", "toggleTheme"],
"about": [
"tagline",
"repoHeading", "repoLabel", "issuesLabel", "reportBugLabel", "discussionsLabel", "authorLabel", "licenseLabel",
"donateHeading", "donateHelp",
"connectHeading",
"devEnvHeading", "devEnvHelp",
"thirdPartyHeading", "thirdPartyHelp"
],
"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": [
@@ -31,6 +29,7 @@
"gachaVersion", "gachaVersionPlaceholder",
"gpu_brand", "gpu_series", "gpu_model", "gpu_custom",
"ram_size", "ram_ddr",
"os_name", "os_version", "os_edition", "os_distro",
"vnDonate", "vnDonateHelp",
"vnBankName", "vnBankNamePlaceholder", "vnBankNameSelectPlaceholder", "vnBankNameOther",
"vnBankAccount", "vnBankAccountPlaceholder",
@@ -41,7 +40,7 @@
"graphicsPresetCustom", "graphicsPresetCustomPlaceholder",
"skipGraphicsSettings", "skipGraphicsSettingsHelp",
"rayTracing", "frameGenVendor", "frameGenMultiplier", "upscaleQuality",
"artStyle", "versionInfo", "versionInfoPlaceholder",
"artStyle", "videoStyle", "videoStyleHelp", "videoStyleOff", "versionInfo", "versionInfoPlaceholder",
"liveUrl", "liveUrlPlaceholder", "scheduledTime",
"skipGraphicsHintLabel", "skipGraphicsHintHide", "skipGraphicsHintKeep",
"timestamps", "timestampsPlaceholder",
@@ -111,21 +110,34 @@
"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.contentWarningGroups": ["spoilers", "photosensitive", "audio", "dialogue", "phobias", "mental_health", "social_phenomena", "internet_digital", "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",
"flashing_lights", "motion_sickness", "migraine_trigger", "strobe_effects", "screen_shake_intense",
"lens_flare_intense", "bloom_excessive", "particle_effects_dense", "screen_overlay_flashing", "color_saturation_extreme", "motion_blur_heavy", "depth_of_field_aggressive", "post_processing_intense",
"loud_noises", "ear_piercing", "jumpscare_audio", "sudden_volume_changes", "distorted_audio", "screeching_metallic", "persistent_high_pitch", "audio_glitches", "heavy_bass_rumble", "screaming_audio", "glass_breaking_audio", "microphone_pops", "white_noise_static",
"profanity_frequent", "sexual_innuendo", "inflammatory_speech", "verbal_abuse", "threatening_language", "slurs_derogatory", "crude_humor", "mature_humor", "dark_humor", "drug_references",
"jump_scares", "acrophobia", "trypophobia", "thalassophobia", "claustrophobia", "arachnophobia", "entomophobia", "ophidiophobia",
"cynophobia", "nyctophobia", "pyrophobia", "pediophobia", "hemophobia", "coulrophobia", "ablutophobia", "taphophobia",
"automatonophobia", "megalophobia", "submechanophobia", "necrophobia", "spectrophobia", "demonophobia", "selachophobia", "mysophobia", "emetophobia", "scopophobia", "monophobia", "musophobia", "chiroptophobia", "ornithophobia", "ichthyophobia", "herpetophobia", "katsaridaphobia", "apiphobia", "astraphobia", "agoraphobia", "enochlophobia", "chionophobia", "nosocomephobia", "aichmophobia", "pnigophobia",
"homichlophobia", "lilapsophobia", "ombrophobia", "nephophobia", "ancraophobia", "cryophobia", "heliophobia", "cymophobia", "limnophobia", "potamophobia",
"chromophobia", "erythrophobia", "xanthophobia", "leukophobia", "melanophobia",
"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",
"autism_themes", "adhd_themes", "hikikomori", "neet_themes", "social_anxiety_themes", "social_isolation", "schizophrenia_themes", "burnout_themes", "survivor_guilt", "abandonment_themes", "parasocial_themes", "gaslighting_themes", "stockholm_syndrome", "behavioral_addiction", "existential_crisis", "impostor_syndrome", "midlife_crisis", "quarter_life_crisis", "workplace_harassment", "masculinity_pressure", "body_shaming", "beauty_standards",
"cyberbullying", "doxxing", "trolling_griefing", "cancel_culture", "social_media_addiction", "doomscrolling", "fomo", "fake_news", "online_scams", "catfishing", "deepfake_themes", "cyberstalking", "internet_challenges", "influencer_culture", "online_radicalization", "loot_boxes", "ai_themes", "data_privacy",
"blood_gore", "mature_18plus", "revealing_outfits", "partial_nudity", "sexualized_characters", "fanservice", "suggestive_poses", "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",
"homophobia", "transphobia", "xenophobia",
"political_extremism", "religious_extremism", "genocide", "holy_war", "holocaust_themes", "civil_war", "mass_shooting", "colonialism", "propaganda", "dystopian_state", "conspiracy_theories", "censorship_themes", "ethnic_conflict", "refugee_crisis", "revolution_themes", "assassination", "coup_themes", "inquisition", "forced_labor", "ultranationalism",
"hanging_depiction", "drowning_depiction", "burning_alive", "asphyxiation_depiction", "restraint_torture", "public_execution", "decapitation", "impalement", "mass_casualty_event", "vehicular_violence", "overdose_depiction", "defenestration",
"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"
"mods_used", "cheats_enabled", "glitch_exploits", "assisted_run", "educational_purpose_only"
],
"editor.videoStyleOptions": [
"1980s", "1990s", "2000s", "2010s", "2020s",
"modern", "cinematic", "retro", "vhs", "film_noir", "anime_mv", "documentary"
],
"editor.gachaQuestTypeOptions": [
"main_story", "world_quest", "side_quest", "spinoff_quest", "companion_quest", "bond_quest",
@@ -151,16 +163,18 @@
"common": ["save", "cancel", "delete", "confirm", "export", "import", "reset", "search", "generate", "undo", "dismiss", "scrollToTop"],
"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"],
"rig": ["cpu", "gpu", "ram", "storage", "monitor", "capture", "motherboard", "controller", "video_editor"],
"social": ["kofi", "patreon", "buymeacoffee", "paypal", "github", "twitter", "discord", "website", "twitch", "tiktok", "instagram", "streamlabs", "bluesky", "mastodon", "facebook", "fb_page", "fb_group"],
"rig": ["os", "cpu", "gpu", "ram", "storage", "monitor", "capture", "motherboard", "controller", "video_editor"],
"social": ["kofi", "patreon", "buymeacoffee", "paypal", "github", "twitter", "discord", "website", "twitch", "tiktok", "instagram", "streamlabs", "bluesky", "mastodon", "facebook", "fb_page", "fb_group", "telegram"],
"resolutions": ["720p", "1080p", "1440p", "4K"],
"fpsOptions": ["30", "60", "120", "144"],
"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", "showThirdPartyAds", "thirdPartyAdsHint", "titleFormatTitle", "descriptionSettingsTitle", "badgePosition", "badgePositionPrefix", "badgePositionMiddle", "badgePositionSuffix", "titleSeparator", "titleSeparatorEmDash", "titleSeparatorHyphen", "titleSeparatorColon", "titleSeparatorPipe", "badgeCase", "badgeCaseUpper", "badgeCaseLower", "showPinnedCommentTemplate", "pinnedCommentIncludeAskNextGame", "pinnedCommentIncludeGenrePlaylist", "genrePlaylistsTitle", "genrePlaylistsHelp", "genrePlaylistsEmptyHint", "logSettings", "logRetentionDays", "logRetentionHint"],
"settings": ["title", "appearance", "defaults", "editorSettings", "tagSettings", "historySettings", "theme", "appLanguage", "defaultOutputLanguage", "showCharCount", "compactTagDisplay", "historyLimit", "multilingualTags", "trendingTags", "hashtagCount", "showQualityBadge", "showCopyright", "showGameCopyright", "showGameCopyrightHint", "showUsagePolicy", "showSponsorCredit", "showThirdPartyAds", "thirdPartyAdsHint", "showTranslationQuality", "showTranslationQualityHint", "titleFormatTitle", "descriptionSettingsTitle", "badgePosition", "badgePositionPrefix", "badgePositionMiddle", "badgePositionSuffix", "titleSeparator", "titleSeparatorEmDash", "titleSeparatorHyphen", "titleSeparatorColon", "titleSeparatorPipe", "badgeCase", "badgeCaseUpper", "badgeCaseLower", "showPinnedCommentTemplate", "pinnedCommentIncludeAskNextGame", "pinnedCommentIncludeGenrePlaylist", "genrePlaylistsTitle", "genrePlaylistsHelp", "genrePlaylistsEmptyHint", "logSettings", "logRetentionDays", "logRetentionHint"],
"batch": ["title", "startPart", "endPart", "generateBatch", "copyAllBatch", "emptyState"],
"socialPost": ["title", "single", "bulk", "copyCaption", "emptyState", "trimmedHint", "overLimitHint", "exported", "exportFailed", "imported", "importFailed", "importedHeading"],
"socialPost.platforms": ["tiktok", "instagram_reels", "facebook_reels"],
"shortcuts": ["title", "generate", "copyAll", "saveDraft", "toggleSidebar", "help", "close", "searchPlaceholder", "noResults"],
"validation": ["emailInvalid", "emailMaxExceeded", "urlInvalid", "urlPrefixMismatch", "playlistUrlInvalid"],
"logs": ["title", "emptyState", "clearAll", "clearConfirm", "clearPersistedConfirm", "clearSession", "searchPlaceholder", "exportJson", "exportTxt", "sessionCurrent", "sessionLabel", "entriesShort"],
@@ -190,18 +204,25 @@
],
"description": ["noCommentaryLine"],
"description.sections": [
"timestamps", "storeLinksBuy", "storeLinksDownload", "videoSettings", "rig",
"timestamps", "storeLinksBuy", "storeLinksDownload", "gameCopyright", "videoSettings", "rig",
"modList", "vnDonate",
"sponsorCredit", "thirdPartyAds", "music", "donate", "social",
"playlist", "contact", "cta",
"copyright", "usagePolicyHeader", "usagePolicy"
],
"description.videoSettings": ["styleLine", "styleLineNoEditor"],
"description.videoSettings.eraOptions": [
"1980s", "1990s", "2000s", "2010s", "2020s",
"modern", "cinematic", "retro", "vhs", "film_noir", "anime_mv", "documentary"
],
"description.playthrough": ["blind", "replay", "newgame_plus", "postgame"],
"description.difficulty": ["easy", "normal", "hard", "nightmare"],
"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.translationQuality": ["header", "intro"],
"description.translationQuality.items": ["accuracy", "phrasing", "localStyle", "corrections"],
"description.techNotes": ["header", "intro"],
"description.techNotes.items": [
"copyright_muted_sections", "volume_reduced_copyright", "music_replaced_copyright", "cutscene_audio_muted_only", "original_audio_kept",
@@ -213,18 +234,27 @@
"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",
"flashing_lights", "motion_sickness", "migraine_trigger", "strobe_effects", "screen_shake_intense",
"lens_flare_intense", "bloom_excessive", "particle_effects_dense", "screen_overlay_flashing", "color_saturation_extreme", "motion_blur_heavy", "depth_of_field_aggressive", "post_processing_intense",
"loud_noises", "ear_piercing", "jumpscare_audio", "sudden_volume_changes", "distorted_audio", "screeching_metallic", "persistent_high_pitch", "audio_glitches", "heavy_bass_rumble", "screaming_audio", "glass_breaking_audio", "microphone_pops", "white_noise_static",
"profanity_frequent", "sexual_innuendo", "inflammatory_speech", "verbal_abuse", "threatening_language", "slurs_derogatory", "crude_humor", "mature_humor", "dark_humor", "drug_references",
"jump_scares", "acrophobia", "trypophobia", "thalassophobia", "claustrophobia", "arachnophobia", "entomophobia", "ophidiophobia",
"cynophobia", "nyctophobia", "pyrophobia", "pediophobia", "hemophobia", "coulrophobia", "ablutophobia", "taphophobia",
"automatonophobia", "megalophobia", "submechanophobia", "necrophobia", "spectrophobia", "demonophobia", "selachophobia", "mysophobia", "emetophobia", "scopophobia", "monophobia", "musophobia", "chiroptophobia", "ornithophobia", "ichthyophobia", "herpetophobia", "katsaridaphobia", "apiphobia", "astraphobia", "agoraphobia", "enochlophobia", "chionophobia", "nosocomephobia", "aichmophobia", "pnigophobia",
"homichlophobia", "lilapsophobia", "ombrophobia", "nephophobia", "ancraophobia", "cryophobia", "heliophobia", "cymophobia", "limnophobia", "potamophobia",
"chromophobia", "erythrophobia", "xanthophobia", "leukophobia", "melanophobia",
"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",
"autism_themes", "adhd_themes", "hikikomori", "neet_themes", "social_anxiety_themes", "social_isolation", "schizophrenia_themes", "burnout_themes", "survivor_guilt", "abandonment_themes", "parasocial_themes", "gaslighting_themes", "stockholm_syndrome", "behavioral_addiction", "existential_crisis", "impostor_syndrome", "midlife_crisis", "quarter_life_crisis", "workplace_harassment", "masculinity_pressure", "body_shaming", "beauty_standards",
"cyberbullying", "doxxing", "trolling_griefing", "cancel_culture", "social_media_addiction", "doomscrolling", "fomo", "fake_news", "online_scams", "catfishing", "deepfake_themes", "cyberstalking", "internet_challenges", "influencer_culture", "online_radicalization", "loot_boxes", "ai_themes", "data_privacy",
"blood_gore", "mature_18plus", "revealing_outfits", "partial_nudity", "sexualized_characters", "fanservice", "suggestive_poses", "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",
"homophobia", "transphobia", "xenophobia",
"political_extremism", "religious_extremism", "genocide", "holy_war", "holocaust_themes", "civil_war", "mass_shooting", "colonialism", "propaganda", "dystopian_state", "conspiracy_theories", "censorship_themes", "ethnic_conflict", "refugee_crisis", "revolution_themes", "assassination", "coup_themes", "inquisition", "forced_labor", "ultranationalism",
"hanging_depiction", "drowning_depiction", "burning_alive", "asphyxiation_depiction", "restraint_torture", "public_execution", "decapitation", "impalement", "mass_casualty_event", "vehicular_violence", "overdose_depiction", "defenestration",
"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"
"mods_used", "cheats_enabled", "glitch_exploits", "assisted_run", "educational_purpose_only"
],
"description.storeLinkSuffix": ["free", "demo"],
"description.graphics": ["with", "artStyle", "videoLabel", "inGameSettingLabel", "versionLabel"],
+154 -2
View File
@@ -108,6 +108,7 @@
"timestamps": "⏱ TIMESTAMPS",
"storeLinksBuy": "🎮 GET THE GAME (if you want to buy)",
"storeLinksDownload": "⬇️ DOWNLOAD THE GAME (if you want to play)",
"gameCopyright": "© {{publisher}}. All rights reserved. Game and all related intellectual property belong to {{publisher}}.",
"videoSettings": "🖥 VIDEO SETTINGS",
"rig": "💻 MY RIG",
"modList": "🧩 MOD LIST",
@@ -120,7 +121,7 @@
"playlist": "▶️ Watch the full series: {{link}}",
"contact": "📧 Business inquiries: {{email}}",
"cta": "👍 Like | 🔔 Subscribe | ↗️ Share",
"copyright": "© {{year}} {{channelName}}. All rights reserved.",
"copyright": "© {{year}} {{channelName}} — Video content only. Game, characters, music, and all related intellectual property belong to their respective owners. All rights reserved on this recording.",
"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."
},
@@ -162,6 +163,16 @@
"custom": "Custom"
}
},
"translationQuality": {
"header": "▸ 🌐 ABOUT THIS TRANSLATION",
"intro": "Apart from English and Vietnamese, the descriptions on this channel are translated with the help of AI.",
"items": {
"accuracy": "Accuracy isn't guaranteed 100% — some words or terms may be off.",
"phrasing": "Wording can be a bit literal or stiff in places.",
"localStyle": "It may not fully match the local / native writing style.",
"corrections": "Spotted a mistake? A correction in the comments is always appreciated. 🙏"
}
},
"techNotes": {
"header": "▸ 🛠 TECH NOTES",
"intro": "Production and playstyle notes for transparency.",
@@ -205,7 +216,27 @@
"flashing_lights": "Flashing lights — photosensitive viewers take care",
"motion_sickness": "Motion sickness — fast camera / FPS movement",
"migraine_trigger": "Possible migraine trigger",
"lens_flare_intense": "Intense lens flares / sun glare effects",
"bloom_excessive": "Excessive bloom / overblown highlight passes",
"particle_effects_dense": "Dense particle effects — explosions, spells, debris",
"screen_overlay_flashing": "Flashing HUD / UI overlays",
"color_saturation_extreme": "Extreme color saturation / oversaturated palette",
"motion_blur_heavy": "Heavy motion blur (camera + object)",
"depth_of_field_aggressive": "Aggressive depth of field / focus-pull effects",
"post_processing_intense": "Intense post-processing — chromatic aberration, vignette, film grain",
"loud_noises": "Loud / sudden sounds",
"ear_piercing": "Ear-piercing / high-pitched frequencies",
"jumpscare_audio": "Audio jumpscares — sudden loud stings",
"sudden_volume_changes": "Sudden volume changes — abrupt loud/quiet transitions",
"distorted_audio": "Distorted or clipping audio passages",
"screeching_metallic": "Screeching / metallic / nails-on-chalkboard sounds",
"persistent_high_pitch": "Persistent high-pitched tones — may aggravate tinnitus",
"audio_glitches": "Audio glitches — crackle or looping engine artifacts",
"heavy_bass_rumble": "Heavy bass / sub-bass rumble — LFE-heavy mix",
"screaming_audio": "Sustained character screaming",
"glass_breaking_audio": "Glass breaking / shattering / impact sounds",
"microphone_pops": "Mic pops, breath, and handling noise (creator-side)",
"white_noise_static": "Sustained white noise / radio static",
"jump_scares": "Jumpscares",
"acrophobia": "Heights",
"trypophobia": "Holes / clusters",
@@ -320,7 +351,110 @@
"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"
"assisted_run": "Guide-assisted — not a blind run",
"homichlophobia": "Fog / mist / low-visibility weather",
"lilapsophobia": "Tornadoes / hurricanes / severe storms",
"ombrophobia": "Heavy rain / downpour scenes",
"nephophobia": "Ominous clouds / overcast skies",
"ancraophobia": "Strong wind / gale-force conditions",
"cryophobia": "Extreme cold / sub-zero environments",
"heliophobia": "Bright sunlight / intense sun exposure",
"cymophobia": "Large waves / rough seas",
"limnophobia": "Lakes and still bodies of water",
"potamophobia": "Rivers / strong currents",
"autism_themes": "Autism / neurodivergence themes",
"adhd_themes": "ADHD / executive dysfunction depictions",
"hikikomori": "Hikikomori / extreme social withdrawal",
"neet_themes": "NEET / not-in-education-or-employment themes",
"social_anxiety_themes": "Social anxiety depictions",
"social_isolation": "Social isolation / loneliness themes",
"schizophrenia_themes": "Schizophrenia / psychosis depictions",
"burnout_themes": "Burnout / chronic overwork themes",
"survivor_guilt": "Survivor guilt depictions",
"abandonment_themes": "Abandonment / abandonment trauma",
"parasocial_themes": "Parasocial relationships / unhealthy fixation",
"gaslighting_themes": "Gaslighting / psychological abuse",
"stockholm_syndrome": "Stockholm syndrome / captor bonding",
"behavioral_addiction": "Gambling / gaming addiction themes",
"existential_crisis": "Existential crisis / nihilistic themes",
"impostor_syndrome": "Impostor syndrome themes",
"midlife_crisis": "Midlife crisis themes",
"quarter_life_crisis": "Quarter-life crisis themes",
"workplace_harassment": "Workplace harassment / toxic environment",
"masculinity_pressure": "Gender-role and masculinity pressure",
"political_extremism": "Political extremism / radical ideologies",
"religious_extremism": "Religious extremism / fundamentalism",
"genocide": "Genocide / ethnic cleansing",
"holy_war": "Holy war / sectarian religious conflict",
"holocaust_themes": "Holocaust / WWII atrocity themes",
"civil_war": "Civil war / internal armed conflict",
"mass_shooting": "Mass shooting / school shooting depictions",
"colonialism": "Colonialism / imperialism themes",
"propaganda": "State propaganda / media manipulation",
"dystopian_state": "Surveillance / dystopian authoritarian state",
"conspiracy_theories": "Conspiracy theories as plot themes",
"censorship_themes": "Censorship / press suppression themes",
"ethnic_conflict": "Ethnic / racial conflict",
"refugee_crisis": "Refugee crisis / forced displacement",
"revolution_themes": "Revolution / uprising / civil unrest",
"assassination": "Political assassination",
"coup_themes": "Coup d'état / military takeover",
"inquisition": "Inquisition / religious persecution / witch hunts",
"forced_labor": "Forced labor / labor camps",
"ultranationalism": "Ultranationalism / chauvinist themes",
"hanging_depiction": "Hanging / strangulation scene",
"drowning_depiction": "Drowning scene",
"burning_alive": "Burning alive / immolation",
"asphyxiation_depiction": "Asphyxiation / suffocation scene",
"restraint_torture": "Bound or restrained victim during torture",
"public_execution": "Public execution scene",
"decapitation": "Decapitation",
"impalement": "Impalement",
"mass_casualty_event": "Mass-casualty event (attack, disaster)",
"vehicular_violence": "Vehicular violence / intentional ramming",
"overdose_depiction": "Overdose scene",
"defenestration": "Falling from height (intentional)",
"profanity_frequent": "Frequent profanity / strong language",
"sexual_innuendo": "Sexually suggestive dialogue / innuendo",
"inflammatory_speech": "Inflammatory / inciting dialogue",
"verbal_abuse": "Verbal abuse / demeaning language",
"threatening_language": "Threatening / intimidating language",
"slurs_derogatory": "Slurs / derogatory terms",
"crude_humor": "Crude / toilet humor",
"mature_humor": "Mature / adult humor",
"dark_humor": "Dark / morbid humor",
"drug_references": "Drug / alcohol references in dialogue",
"chromophobia": "Vivid color scenes (chromophobia)",
"erythrophobia": "Red / all-red scenes (erythrophobia)",
"xanthophobia": "Yellow-dominant scenes (xanthophobia)",
"leukophobia": "White / all-white spaces (leukophobia)",
"melanophobia": "Black-dominant scenes (melanophobia)",
"body_shaming": "Body shaming / appearance mockery",
"beauty_standards": "Unrealistic beauty standards",
"cyberbullying": "Cyberbullying / online harassment",
"doxxing": "Doxxing / privacy exposure",
"trolling_griefing": "Trolling / griefing",
"cancel_culture": "Cancel culture / public shaming",
"social_media_addiction": "Social media addiction",
"doomscrolling": "Doomscrolling",
"fomo": "FOMO — fear of missing out",
"fake_news": "Fake news / misinformation",
"online_scams": "Online scams / phishing",
"catfishing": "Catfishing / fake online identity",
"deepfake_themes": "Deepfakes / synthetic media",
"cyberstalking": "Cyberstalking",
"internet_challenges": "Dangerous viral challenges",
"influencer_culture": "Influencer culture / clout chasing",
"online_radicalization": "Online radicalization / echo chambers",
"loot_boxes": "Loot boxes / gacha mechanics",
"ai_themes": "AI / artificial intelligence themes",
"data_privacy": "Data privacy / mass surveillance",
"revealing_outfits": "Revealing / skimpy outfits",
"partial_nudity": "Partial nudity",
"sexualized_characters": "Sexualized character designs",
"fanservice": "Fan service / ecchi content",
"suggestive_poses": "Suggestive poses / camera angles",
"educational_purpose_only": "Educational / PSA-purpose game"
}
},
"graphics": {
@@ -408,6 +542,24 @@
"inGameSettingLabel": "In-game Setting",
"versionLabel": "Version"
},
"videoSettings": {
"styleLine": "Edited in {{era}} style using {{editor}}",
"styleLineNoEditor": "Edited in {{era}} style",
"eraOptions": {
"1980s": "1980s",
"1990s": "1990s VHS",
"2000s": "early-2000s",
"2010s": "2010s",
"2020s": "modern 2020s",
"modern": "modern",
"cinematic": "cinematic",
"retro": "retro",
"vhs": "VHS",
"film_noir": "film noir",
"anime_mv": "anime AMV",
"documentary": "documentary"
}
},
"livestream": {
"scheduledLine": "🔴 LIVE on {{time}}",
"watchLine": "Watch / replay: {{link}}"
+178 -16
View File
@@ -10,6 +10,7 @@
"history": "History",
"settings": "Settings",
"batch": "Batch",
"social": "Social",
"playlist": "Playlist",
"logs": "Logs",
"about": "About",
@@ -20,7 +21,8 @@
"collapse": "Collapse sidebar"
},
"header": {
"donate": "Donate"
"donate": "Donate",
"toggleTheme": "Toggle theme"
},
"about": {
"tagline": "YouTube title, description, and tag generator for Gameplay No Commentary channels.",
@@ -41,18 +43,6 @@
"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": {
@@ -140,6 +130,10 @@
"gpu_custom": "Custom GPU",
"ram_size": "RAM Size",
"ram_ddr": "DDR Generation",
"os_name": "OS",
"os_version": "Version",
"os_edition": "Edition",
"os_distro": "Distro",
"vnDonate": "Donate (Vietnam)",
"vnDonateHelp": "Only rendered into the description when output language is Vietnamese.",
"vnBankName": "Bank name",
@@ -256,6 +250,23 @@
"comic": "Comic",
"photorealistic": "Photorealistic"
},
"videoStyle": "Video style",
"videoStyleHelp": "Adds a one-line credit like \"Edited in 1990s VHS style using DaVinci Resolve\". Combines with the Video Editor field in My Rig.",
"videoStyleOff": "— Off —",
"videoStyleOptions": {
"1980s": "1980s",
"1990s": "1990s VHS",
"2000s": "early-2000s",
"2010s": "2010s",
"2020s": "modern 2020s",
"modern": "Modern / Clean",
"cinematic": "Cinematic",
"retro": "Retro / Vintage",
"vhs": "VHS / Analog",
"film_noir": "Film Noir",
"anime_mv": "Anime AMV",
"documentary": "Documentary"
},
"versionInfo": "Driver / Game Version",
"versionInfoPlaceholder": "e.g. GeForce 565.90 | Game v1.4",
"liveUrl": "Live URL",
@@ -312,8 +323,12 @@
"contentWarningGroups": {
"spoilers": "Spoilers",
"photosensitive": "Photosensitive / Health",
"audio": "Audio / Sensory",
"dialogue": "Dialogue / Language",
"phobias": "Phobias",
"mental_health": "Mental health",
"social_phenomena": "Social phenomena",
"internet_digital": "Internet / Digital life",
"sensitive": "Mature / Sensitive content",
"playstyle": "Playstyle disclosures",
"horror_specific": "Heavy horror",
@@ -329,7 +344,27 @@
"flashing_lights": "Flashing lights",
"motion_sickness": "Motion sickness",
"migraine_trigger": "Migraine trigger",
"lens_flare_intense": "Lens flare / sun glare",
"bloom_excessive": "Excessive bloom / overblown highlights",
"particle_effects_dense": "Dense particle effects",
"screen_overlay_flashing": "Flashing HUD / UI overlays",
"color_saturation_extreme": "Extreme color saturation",
"motion_blur_heavy": "Heavy motion blur",
"depth_of_field_aggressive": "Aggressive depth of field",
"post_processing_intense": "Intense post-processing",
"loud_noises": "Loud / sudden sounds",
"ear_piercing": "Ear-piercing / high-pitched",
"jumpscare_audio": "Audio jumpscares",
"sudden_volume_changes": "Sudden volume changes",
"distorted_audio": "Distorted / clipping audio",
"screeching_metallic": "Screeching / metallic sounds",
"persistent_high_pitch": "Persistent high-pitched tones",
"audio_glitches": "Audio glitches / artifacts",
"heavy_bass_rumble": "Heavy bass / sub-bass rumble",
"screaming_audio": "Sustained screaming",
"glass_breaking_audio": "Glass breaking / shattering",
"microphone_pops": "Mic pops / breath noise",
"white_noise_static": "White noise / static",
"jump_scares": "Jumpscares",
"acrophobia": "Heights",
"trypophobia": "Holes / clusters",
@@ -444,7 +479,110 @@
"mods_used": "Mods used",
"cheats_enabled": "Cheats / debug",
"glitch_exploits": "Glitches used",
"assisted_run": "Guide-assisted"
"assisted_run": "Guide-assisted",
"homichlophobia": "Fog / mist",
"lilapsophobia": "Tornadoes / hurricanes",
"ombrophobia": "Heavy rain / storms",
"nephophobia": "Clouds",
"ancraophobia": "Strong wind",
"cryophobia": "Extreme cold",
"heliophobia": "Sunlight / bright sun",
"cymophobia": "Large waves",
"limnophobia": "Lakes / still water",
"potamophobia": "Rivers / currents",
"autism_themes": "Autism / neurodivergence themes",
"adhd_themes": "ADHD / executive dysfunction",
"hikikomori": "Hikikomori / social withdrawal",
"neet_themes": "NEET themes",
"social_anxiety_themes": "Social anxiety themes",
"social_isolation": "Social isolation / loneliness",
"schizophrenia_themes": "Schizophrenia / psychosis",
"burnout_themes": "Burnout / overwork",
"survivor_guilt": "Survivor guilt",
"abandonment_themes": "Abandonment themes",
"parasocial_themes": "Parasocial relationships",
"gaslighting_themes": "Gaslighting",
"stockholm_syndrome": "Stockholm syndrome",
"behavioral_addiction": "Gaming / gambling addiction",
"existential_crisis": "Existential / nihilistic themes",
"impostor_syndrome": "Impostor syndrome",
"midlife_crisis": "Midlife crisis",
"quarter_life_crisis": "Quarter-life crisis",
"workplace_harassment": "Workplace harassment",
"masculinity_pressure": "Gender-role pressure",
"political_extremism": "Political extremism",
"religious_extremism": "Religious extremism / fundamentalism",
"genocide": "Genocide / ethnic cleansing",
"holy_war": "Holy war / sectarian conflict",
"holocaust_themes": "Holocaust themes",
"civil_war": "Civil war",
"mass_shooting": "Mass / school shootings",
"colonialism": "Colonialism / imperialism",
"propaganda": "State propaganda",
"dystopian_state": "Surveillance / dystopian state",
"conspiracy_theories": "Conspiracy theories",
"censorship_themes": "Censorship themes",
"ethnic_conflict": "Ethnic / racial conflict",
"refugee_crisis": "Refugee crisis / displacement",
"revolution_themes": "Revolution / uprising",
"assassination": "Political assassination",
"coup_themes": "Coup d'état",
"inquisition": "Inquisition / religious persecution",
"forced_labor": "Forced labor",
"ultranationalism": "Ultranationalism",
"hanging_depiction": "Hanging / strangulation",
"drowning_depiction": "Drowning scene",
"burning_alive": "Burning alive",
"asphyxiation_depiction": "Asphyxiation / suffocation",
"restraint_torture": "Bound / restrained victim",
"public_execution": "Public execution",
"decapitation": "Decapitation",
"impalement": "Impalement",
"mass_casualty_event": "Mass-casualty event",
"vehicular_violence": "Vehicular violence",
"overdose_depiction": "Overdose scene",
"defenestration": "Falling from height",
"profanity_frequent": "Frequent profanity",
"sexual_innuendo": "Sexual innuendo / suggestive dialogue",
"inflammatory_speech": "Inflammatory / inciting dialogue",
"verbal_abuse": "Verbal abuse",
"threatening_language": "Threats / intimidation",
"slurs_derogatory": "Slurs / derogatory terms",
"crude_humor": "Crude / toilet humor",
"mature_humor": "Mature / adult humor",
"dark_humor": "Dark / morbid humor",
"drug_references": "Drug / alcohol references",
"chromophobia": "Colors / vivid color scenes",
"erythrophobia": "Red / all-red scenes",
"xanthophobia": "Yellow color",
"leukophobia": "White / all-white spaces",
"melanophobia": "Black color",
"body_shaming": "Body shaming / appearance mockery",
"beauty_standards": "Unrealistic beauty standards",
"cyberbullying": "Cyberbullying / online harassment",
"doxxing": "Doxxing / privacy exposure",
"trolling_griefing": "Trolling / griefing",
"cancel_culture": "Cancel culture / public shaming",
"social_media_addiction": "Social media addiction",
"doomscrolling": "Doomscrolling",
"fomo": "FOMO (fear of missing out)",
"fake_news": "Fake news / misinformation",
"online_scams": "Online scams / phishing",
"catfishing": "Catfishing / fake identity",
"deepfake_themes": "Deepfakes / synthetic media",
"cyberstalking": "Cyberstalking",
"internet_challenges": "Dangerous viral challenges",
"influencer_culture": "Influencer culture / clout chasing",
"online_radicalization": "Online radicalization / echo chambers",
"loot_boxes": "Loot boxes / gacha mechanics",
"ai_themes": "AI / artificial intelligence themes",
"data_privacy": "Data privacy / mass surveillance",
"revealing_outfits": "Revealing / skimpy outfits",
"partial_nudity": "Partial nudity",
"sexualized_characters": "Sexualized character designs",
"fanservice": "Fan service / ecchi",
"suggestive_poses": "Suggestive poses / camera angles",
"educational_purpose_only": "Educational / PSA purpose"
},
"playthroughNotes": {
"title": "Playthrough notes",
@@ -678,6 +816,7 @@
"visual_novel": "Visual Novel"
},
"rig": {
"os": "Operating System",
"cpu": "CPU",
"gpu": "GPU",
"ram": "RAM",
@@ -705,7 +844,8 @@
"mastodon": "Mastodon",
"facebook": "Facebook",
"fb_page": "Facebook Page",
"fb_group": "Facebook Group"
"fb_group": "Facebook Group",
"telegram": "Telegram"
},
"resolutions": {
"720p": "720p",
@@ -778,7 +918,6 @@
"theme": "Theme",
"appLanguage": "App Language",
"defaultOutputLanguage": "Default Output Language",
"defaultGenre": "Default Genres",
"showCharCount": "Show Character Count",
"compactTagDisplay": "Compact Tag Display",
"historyLimit": "History Limit",
@@ -787,10 +926,14 @@
"hashtagCount": "Hashtag Count",
"showQualityBadge": "Show quality badge in title (e.g. [2K 60FPS])",
"showCopyright": "Append © copyright line to description",
"showGameCopyright": "Append © game studio credit (right after store links)",
"showGameCopyrightHint": "Adds a “© [publisher]. All rights reserved.” line crediting the game's developer or publisher right under the store links. Use this when the dev/publisher contractually requires attribution in the description. Reads the studio name from the “Studio / Publisher” field in Game Info — leaves the line out if that field is empty.",
"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).",
"showTranslationQuality": "Show translation-quality notice",
"showTranslationQualityHint": "Adds an AI-translation disclaimer to descriptions generated in languages other than English and Vietnamese.",
"titleFormatTitle": "Title Format",
"descriptionSettingsTitle": "Description",
"badgePosition": "Quality badge position",
@@ -815,6 +958,25 @@
"logRetentionDays": "Log retention (days)",
"logRetentionHint": "Logs older than this are deleted at app start. Range: 1–90 days."
},
"socialPost": {
"title": "Cross-Post Captions",
"single": "Single",
"bulk": "Bulk",
"copyCaption": "Copy Caption",
"emptyState": "Enter a game name in the Editor to generate captions.",
"trimmedHint": "Trimmed {{count}} optional section(s) to fit the platform limit.",
"overLimitHint": "Over the {{platform}} character limit — trim before posting.",
"exported": "Captions exported!",
"exportFailed": "Export failed",
"imported": "Captions imported",
"importFailed": "Import failed — choose a YTDescGen social export.",
"importedHeading": "Imported captions",
"platforms": {
"tiktok": "TikTok",
"instagram_reels": "Instagram Reels",
"facebook_reels": "Facebook Reels"
}
},
"batch": {
"title": "Batch Mode",
"startPart": "Start Part",
+154 -2
View File
@@ -108,6 +108,7 @@
"timestamps": "⏱ MARCAS DE TIEMPO",
"storeLinksBuy": "🎮 CONSIGUE EL JUEGO (si quieres comprarlo)",
"storeLinksDownload": "⬇️ DESCARGA EL JUEGO (si quieres jugar)",
"gameCopyright": "© {{publisher}}. Todos los derechos reservados. El juego y toda la propiedad intelectual relacionada pertenecen a {{publisher}}.",
"videoSettings": "🖥 AJUSTES DE VIDEO",
"rig": "💻 MI EQUIPO",
"modList": "🧩 LISTA DE MODS",
@@ -120,7 +121,7 @@
"playlist": "▶️ Ver la serie completa: {{link}}",
"contact": "📧 Consultas comerciales: {{email}}",
"cta": "👍 Me gusta | 🔔 Suscríbete | ↗️ Comparte",
"copyright": "© {{year}} {{channelName}}. Todos los derechos reservados.",
"copyright": "© {{year}} {{channelName}} — Solo el contenido del vídeo. El juego, los personajes, la música y toda la propiedad intelectual relacionada pertenecen a sus respectivos propietarios. Todos los derechos reservados sobre esta grabación.",
"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."
},
@@ -162,6 +163,16 @@
"custom": "Personalizada"
}
},
"translationQuality": {
"header": "▸ 🌐 SOBRE LA TRADUCCIÓN",
"intro": "Aparte del inglés y el vietnamita, las descripciones de este canal se traducen con ayuda de IA.",
"items": {
"accuracy": "La precisión no está garantizada al 100 %: algunas palabras o términos pueden ser incorrectos.",
"phrasing": "La redacción puede sonar algo literal o rígida en ciertas partes.",
"localStyle": "Es posible que no se ajuste del todo al estilo de escritura local o nativo.",
"corrections": "¿Has visto un error? Se agradece cualquier corrección en los comentarios. 🙏"
}
},
"techNotes": {
"header": "▸ 🛠 NOTAS TÉCNICAS",
"intro": "Notas de producción y estilo de juego para mayor transparencia.",
@@ -205,7 +216,27 @@
"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",
"lens_flare_intense": "Destellos de lente / efectos de brillo solar intensos",
"bloom_excessive": "Bloom excesivo / luces sobreexpuestas",
"particle_effects_dense": "Efectos de partículas densos — explosiones, hechizos, escombros",
"screen_overlay_flashing": "HUD / overlays de UI parpadeantes",
"color_saturation_extreme": "Saturación de color extrema / paleta sobresaturada",
"motion_blur_heavy": "Motion blur intenso (cámara + objetos)",
"depth_of_field_aggressive": "Profundidad de campo agresiva / efectos de focus-pull",
"post_processing_intense": "Post-procesado intenso — aberración cromática, viñeteado, grano",
"loud_noises": "Sonidos fuertes / repentinos",
"ear_piercing": "Sonidos agudos / penetrantes — frecuencias altas",
"jumpscare_audio": "Sustos sonoros — golpes de audio repentinos",
"sudden_volume_changes": "Cambios bruscos de volumen — transiciones fuerte/suave",
"distorted_audio": "Audio distorsionado / con clipping",
"screeching_metallic": "Chirridos / sonidos metálicos / uñas en pizarra",
"persistent_high_pitch": "Tonos agudos persistentes — pueden agravar el tinnitus",
"audio_glitches": "Fallos de audio — crujidos o bucles del motor",
"heavy_bass_rumble": "Graves intensos / sub-bajos — mezcla cargada de LFE",
"screaming_audio": "Gritos sostenidos de personajes",
"glass_breaking_audio": "Rotura de cristal / impactos repetidos",
"microphone_pops": "Plosivos, respiración y ruido de micro (lado creador)",
"white_noise_static": "Ruido blanco / estática sostenida",
"jump_scares": "Sustos repentinos",
"acrophobia": "Alturas",
"trypophobia": "Agujeros / patrones agrupados",
@@ -320,7 +351,110 @@
"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"
"assisted_run": "Con guía — no es partida a ciegas",
"homichlophobia": "Niebla / bruma / clima de baja visibilidad",
"lilapsophobia": "Tornados / huracanes / tormentas severas",
"ombrophobia": "Escenas de lluvia intensa",
"nephophobia": "Nubes amenazantes / cielo encapotado",
"ancraophobia": "Viento fuerte / vendavales",
"cryophobia": "Frío extremo / entornos bajo cero",
"heliophobia": "Luz solar intensa / sol directo",
"cymophobia": "Olas grandes / mar agitado",
"limnophobia": "Lagos y aguas estancadas",
"potamophobia": "Ríos / corrientes fuertes",
"autism_themes": "Temas de autismo / neurodivergencia",
"adhd_themes": "TDAH / disfunción ejecutiva",
"hikikomori": "Hikikomori / aislamiento social extremo",
"neet_themes": "NEET / fuera del sistema educativo y laboral",
"social_anxiety_themes": "Ansiedad social",
"social_isolation": "Aislamiento social / soledad",
"schizophrenia_themes": "Esquizofrenia / psicosis",
"burnout_themes": "Burnout / agotamiento crónico",
"survivor_guilt": "Culpa del superviviente",
"abandonment_themes": "Abandono / trauma de abandono",
"parasocial_themes": "Relaciones parasociales / fijación no saludable",
"gaslighting_themes": "Gaslighting / abuso psicológico",
"stockholm_syndrome": "Síndrome de Estocolmo",
"behavioral_addiction": "Adicción al juego o a las apuestas",
"existential_crisis": "Crisis existencial / nihilismo",
"impostor_syndrome": "Síndrome del impostor",
"midlife_crisis": "Crisis de la mediana edad",
"quarter_life_crisis": "Crisis del cuarto de vida",
"workplace_harassment": "Acoso laboral / entorno tóxico",
"masculinity_pressure": "Presión sobre roles de género y masculinidad",
"political_extremism": "Extremismo político / ideologías radicales",
"religious_extremism": "Extremismo religioso / fundamentalismo",
"genocide": "Genocidio / limpieza étnica",
"holy_war": "Guerra santa / conflicto religioso sectario",
"holocaust_themes": "Holocausto / atrocidades de la Segunda Guerra Mundial",
"civil_war": "Guerra civil / conflicto armado interno",
"mass_shooting": "Tiroteo masivo / escolar",
"colonialism": "Colonialismo / imperialismo",
"propaganda": "Propaganda estatal / manipulación mediática",
"dystopian_state": "Vigilancia / estado distópico autoritario",
"conspiracy_theories": "Teorías conspirativas como tema",
"censorship_themes": "Censura / represión a la prensa",
"ethnic_conflict": "Conflicto étnico / racial",
"refugee_crisis": "Crisis de refugiados / desplazamiento forzado",
"revolution_themes": "Revolución / levantamiento / disturbios civiles",
"assassination": "Asesinato político",
"coup_themes": "Golpe de estado / asalto militar",
"inquisition": "Inquisición / persecución religiosa / caza de brujas",
"forced_labor": "Trabajo forzado / campos de trabajo",
"ultranationalism": "Ultranacionalismo / chovinismo",
"hanging_depiction": "Escena de ahorcamiento / estrangulación",
"drowning_depiction": "Escena de ahogamiento",
"burning_alive": "Quemado vivo / inmolación",
"asphyxiation_depiction": "Escena de asfixia / sofocación",
"restraint_torture": "Víctima atada o sujeta durante tortura",
"public_execution": "Escena de ejecución pública",
"decapitation": "Decapitación",
"impalement": "Empalamiento",
"mass_casualty_event": "Evento de víctimas masivas (ataque, desastre)",
"vehicular_violence": "Violencia vehicular / embestida intencional",
"overdose_depiction": "Escena de sobredosis",
"defenestration": "Caída desde altura (intencional)",
"profanity_frequent": "Lenguaje soez / vulgar frecuente",
"sexual_innuendo": "Diálogos con insinuaciones sexuales",
"inflammatory_speech": "Diálogos incendiarios / provocadores",
"verbal_abuse": "Abuso verbal / lenguaje denigrante",
"threatening_language": "Lenguaje amenazante / intimidatorio",
"slurs_derogatory": "Insultos / términos despectivos",
"crude_humor": "Humor vulgar / escatológico",
"mature_humor": "Humor adulto",
"dark_humor": "Humor negro / macabro",
"drug_references": "Referencias a drogas / alcohol en diálogos",
"chromophobia": "Escenas de colores intensos (cromofobia)",
"erythrophobia": "Escenas en rojo total (eritrofobia)",
"xanthophobia": "Escenas dominadas por amarillo (xantofobia)",
"leukophobia": "Espacios en blanco total (leucofobia)",
"melanophobia": "Escenas dominadas por negro (melanofobia)",
"body_shaming": "Burlas sobre el aspecto físico (body shaming)",
"beauty_standards": "Estándares de belleza irreales",
"cyberbullying": "Ciberacoso / acoso en línea",
"doxxing": "Doxxing / exposición de datos personales",
"trolling_griefing": "Trolleo / griefing",
"cancel_culture": "Cultura de la cancelación / escarnio público",
"social_media_addiction": "Adicción a las redes sociales",
"doomscrolling": "Doomscrolling",
"fomo": "FOMO — miedo a perderse algo",
"fake_news": "Noticias falsas / desinformación",
"online_scams": "Estafas en línea / phishing",
"catfishing": "Catfishing / identidad falsa en línea",
"deepfake_themes": "Deepfakes / medios sintéticos",
"cyberstalking": "Ciberacecho",
"internet_challenges": "Retos virales peligrosos",
"influencer_culture": "Cultura influencer / búsqueda de fama",
"online_radicalization": "Radicalización en línea / cámaras de eco",
"loot_boxes": "Cajas de botín / mecánicas gacha",
"ai_themes": "Temas de IA / inteligencia artificial",
"data_privacy": "Privacidad de datos / vigilancia masiva",
"revealing_outfits": "Atuendos reveladores",
"partial_nudity": "Desnudez parcial",
"sexualized_characters": "Diseños de personajes sexualizados",
"fanservice": "Fan service / contenido ecchi",
"suggestive_poses": "Poses / ángulos de cámara sugerentes",
"educational_purpose_only": "Juego con fines educativos / divulgativos"
}
},
"graphics": {
@@ -408,6 +542,24 @@
"inGameSettingLabel": "In-game Setting",
"versionLabel": "Version"
},
"videoSettings": {
"styleLine": "Editado con estilo {{era}} usando {{editor}}",
"styleLineNoEditor": "Editado con estilo {{era}}",
"eraOptions": {
"1980s": "años 80",
"1990s": "años 90 VHS",
"2000s": "principios de los 2000",
"2010s": "años 2010",
"2020s": "moderno 2020s",
"modern": "moderno",
"cinematic": "cinematográfico",
"retro": "retro",
"vhs": "VHS",
"film_noir": "film noir",
"anime_mv": "anime AMV",
"documentary": "documental"
}
},
"livestream": {
"scheduledLine": "🔴 EN VIVO el {{time}}",
"watchLine": "Ver / repetir: {{link}}"
+178 -16
View File
@@ -10,6 +10,7 @@
"history": "Historial",
"settings": "Ajustes",
"batch": "Lote",
"social": "Redes",
"playlist": "Playlist",
"logs": "Registros",
"about": "Acerca de",
@@ -20,7 +21,8 @@
"collapse": "Colapsar barra lateral"
},
"header": {
"donate": "Donar"
"donate": "Donar",
"toggleTheme": "Cambiar tema"
},
"about": {
"tagline": "Generador de título, descripción y etiquetas de YouTube para canales de Gameplay sin comentarios.",
@@ -41,18 +43,6 @@
"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": {
@@ -140,6 +130,10 @@
"gpu_custom": "GPU personalizada",
"ram_size": "Tamaño RAM",
"ram_ddr": "Generación DDR",
"os_name": "SO",
"os_version": "Versión",
"os_edition": "Edición",
"os_distro": "Distro",
"vnDonate": "Donate (Vietnam)",
"vnDonateHelp": "Only rendered into the description when output language is Vietnamese.",
"vnBankName": "Bank name",
@@ -256,6 +250,23 @@
"comic": "Comic",
"photorealistic": "Photorealistic"
},
"videoStyle": "Estilo de video",
"videoStyleHelp": "Agrega un crédito de una línea como \"Edited in 1990s VHS style using DaVinci Resolve\". Combina con el campo Editor de Video en My Rig.",
"videoStyleOff": "— Off —",
"videoStyleOptions": {
"1980s": "Años 80",
"1990s": "Años 90 VHS",
"2000s": "Principios 2000",
"2010s": "Años 2010",
"2020s": "Moderno 2020",
"modern": "Moderno / Limpio",
"cinematic": "Cinematográfico",
"retro": "Retro / Vintage",
"vhs": "VHS / Analógico",
"film_noir": "Film Noir",
"anime_mv": "Anime AMV",
"documentary": "Documental"
},
"versionInfo": "Driver / Game Version",
"versionInfoPlaceholder": "e.g. GeForce 565.90 | Game v1.4",
"liveUrl": "Live URL",
@@ -312,8 +323,12 @@
"contentWarningGroups": {
"spoilers": "Spoilers",
"photosensitive": "Fotosensibilidad / Salud",
"audio": "Audio / Sensorial",
"dialogue": "Diálogo / Lenguaje",
"phobias": "Fobias",
"mental_health": "Salud mental",
"social_phenomena": "Fenómenos sociales",
"internet_digital": "Internet / Vida digital",
"sensitive": "Adulto / Sensible",
"playstyle": "Notas de juego",
"horror_specific": "Horror intenso",
@@ -329,7 +344,27 @@
"flashing_lights": "Luces parpadeantes",
"motion_sickness": "Mareo por movimiento",
"migraine_trigger": "Posible migraña",
"lens_flare_intense": "Destello de lente / sol",
"bloom_excessive": "Bloom excesivo / sobreexposición",
"particle_effects_dense": "Partículas densas",
"screen_overlay_flashing": "HUD / overlays parpadeantes",
"color_saturation_extreme": "Saturación extrema",
"motion_blur_heavy": "Motion blur intenso",
"depth_of_field_aggressive": "Profundidad de campo agresiva",
"post_processing_intense": "Post-procesado intenso",
"loud_noises": "Sonidos repentinos",
"ear_piercing": "Sonidos agudos / penetrantes",
"jumpscare_audio": "Sustos sonoros",
"sudden_volume_changes": "Cambios bruscos de volumen",
"distorted_audio": "Audio distorsionado",
"screeching_metallic": "Chirridos / sonidos metálicos",
"persistent_high_pitch": "Tonos agudos persistentes",
"audio_glitches": "Fallos / artefactos de audio",
"heavy_bass_rumble": "Graves intensos / sub-bajos",
"screaming_audio": "Gritos sostenidos",
"glass_breaking_audio": "Rotura de cristal / impactos",
"microphone_pops": "Plosivos / ruido de micro",
"white_noise_static": "Ruido blanco / estática",
"jump_scares": "Sustos repentinos",
"acrophobia": "Alturas",
"trypophobia": "Patrones agrupados",
@@ -444,7 +479,110 @@
"mods_used": "Mods usados",
"cheats_enabled": "Trucos / debug",
"glitch_exploits": "Glitches usados",
"assisted_run": "Con guía"
"assisted_run": "Con guía",
"homichlophobia": "Niebla / bruma",
"lilapsophobia": "Tornados / huracanes",
"ombrophobia": "Lluvia intensa / tormentas",
"nephophobia": "Nubes / cielo nublado",
"ancraophobia": "Viento fuerte",
"cryophobia": "Frío extremo",
"heliophobia": "Luz solar intensa",
"cymophobia": "Olas grandes",
"limnophobia": "Lagos / aguas estancadas",
"potamophobia": "Ríos / corrientes",
"autism_themes": "Autismo / neurodivergencia",
"adhd_themes": "TDAH / disfunción ejecutiva",
"hikikomori": "Hikikomori / aislamiento social",
"neet_themes": "NEET (ni estudia ni trabaja)",
"social_anxiety_themes": "Ansiedad social",
"social_isolation": "Aislamiento social / soledad",
"schizophrenia_themes": "Esquizofrenia / psicosis",
"burnout_themes": "Burnout / agotamiento",
"survivor_guilt": "Culpa del superviviente",
"abandonment_themes": "Abandono / trauma",
"parasocial_themes": "Relaciones parasociales",
"gaslighting_themes": "Gaslighting / manipulación",
"stockholm_syndrome": "Síndrome de Estocolmo",
"behavioral_addiction": "Adicción al juego / ludopatía",
"existential_crisis": "Crisis existencial / nihilismo",
"impostor_syndrome": "Síndrome del impostor",
"midlife_crisis": "Crisis de la mediana edad",
"quarter_life_crisis": "Crisis del cuarto de vida",
"workplace_harassment": "Acoso laboral",
"masculinity_pressure": "Presión de roles de género",
"political_extremism": "Extremismo político",
"religious_extremism": "Extremismo religioso / fundamentalismo",
"genocide": "Genocidio / limpieza étnica",
"holy_war": "Guerra santa / conflicto sectario",
"holocaust_themes": "Holocausto",
"civil_war": "Guerra civil",
"mass_shooting": "Tiroteo masivo / escolar",
"colonialism": "Colonialismo / imperialismo",
"propaganda": "Propaganda estatal",
"dystopian_state": "Estado de vigilancia / distopía",
"conspiracy_theories": "Teorías conspirativas",
"censorship_themes": "Censura / represión informativa",
"ethnic_conflict": "Conflicto étnico / racial",
"refugee_crisis": "Crisis de refugiados",
"revolution_themes": "Revolución / levantamiento",
"assassination": "Asesinato político",
"coup_themes": "Golpe de estado",
"inquisition": "Inquisición / caza de brujas",
"forced_labor": "Trabajo forzado",
"ultranationalism": "Ultranacionalismo",
"hanging_depiction": "Ahorcamiento / estrangulación",
"drowning_depiction": "Escena de ahogamiento",
"burning_alive": "Quemado vivo",
"asphyxiation_depiction": "Asfixia / sofocación",
"restraint_torture": "Víctima atada / sujeta",
"public_execution": "Ejecución pública",
"decapitation": "Decapitación",
"impalement": "Empalamiento",
"mass_casualty_event": "Víctimas masivas",
"vehicular_violence": "Violencia vehicular",
"overdose_depiction": "Escena de sobredosis",
"defenestration": "Caída desde altura",
"profanity_frequent": "Lenguaje soez frecuente",
"sexual_innuendo": "Insinuaciones sexuales en diálogos",
"inflammatory_speech": "Diálogos incendiarios",
"verbal_abuse": "Abuso verbal",
"threatening_language": "Lenguaje amenazante",
"slurs_derogatory": "Insultos / términos despectivos",
"crude_humor": "Humor vulgar",
"mature_humor": "Humor adulto",
"dark_humor": "Humor negro",
"drug_references": "Referencias a drogas / alcohol",
"chromophobia": "Colores intensos",
"erythrophobia": "Rojo / escenas en rojo",
"xanthophobia": "Color amarillo",
"leukophobia": "Blanco / espacios en blanco",
"melanophobia": "Color negro",
"body_shaming": "Burlas del aspecto físico",
"beauty_standards": "Estándares de belleza irreales",
"cyberbullying": "Ciberacoso",
"doxxing": "Doxxing / exposición de datos",
"trolling_griefing": "Trolleo / griefing",
"cancel_culture": "Cultura de la cancelación",
"social_media_addiction": "Adicción a redes sociales",
"doomscrolling": "Doomscrolling",
"fomo": "FOMO (miedo a perderse algo)",
"fake_news": "Noticias falsas / desinformación",
"online_scams": "Estafas en línea / phishing",
"catfishing": "Catfishing / identidad falsa",
"deepfake_themes": "Deepfakes / medios sintéticos",
"cyberstalking": "Ciberacecho",
"internet_challenges": "Retos virales peligrosos",
"influencer_culture": "Cultura influencer",
"online_radicalization": "Radicalización en línea",
"loot_boxes": "Cajas de botín / gacha",
"ai_themes": "Temas de IA",
"data_privacy": "Privacidad de datos / vigilancia",
"revealing_outfits": "Atuendos reveladores",
"partial_nudity": "Desnudez parcial",
"sexualized_characters": "Personajes sexualizados",
"fanservice": "Fan service / ecchi",
"suggestive_poses": "Poses / ángulos sugerentes",
"educational_purpose_only": "Fines educativos / divulgativos"
},
"playthroughNotes": {
"title": "Notas de la partida",
@@ -678,6 +816,7 @@
"visual_novel": "Novela Visual"
},
"rig": {
"os": "Sistema Operativo",
"cpu": "CPU",
"gpu": "GPU",
"ram": "RAM",
@@ -705,7 +844,8 @@
"mastodon": "Mastodon",
"facebook": "Facebook",
"fb_page": "Página de Facebook",
"fb_group": "Grupo de Facebook"
"fb_group": "Grupo de Facebook",
"telegram": "Telegram"
},
"resolutions": {
"720p": "720p",
@@ -778,7 +918,6 @@
"theme": "Tema",
"appLanguage": "Idioma de la App",
"defaultOutputLanguage": "Idioma de Salida Predeterminado",
"defaultGenre": "Géneros Predeterminados",
"showCharCount": "Mostrar Contador de Caracteres",
"compactTagDisplay": "Vista Compacta de Etiquetas",
"historyLimit": "Límite de Historial",
@@ -787,10 +926,14 @@
"hashtagCount": "Cantidad de Hashtags",
"showQualityBadge": "Mostrar insignia de calidad en el título (ej. [2K 60FPS])",
"showCopyright": "Agregar línea de © copyright a la descripción",
"showGameCopyright": "Agregar crédito © del estudio (justo bajo los enlaces de tienda)",
"showGameCopyrightHint": "Añade una línea “© [editor]. Todos los derechos reservados.” acreditando al desarrollador o editor del juego justo debajo de los enlaces de tienda. Úsalo cuando el dev/editor exige atribución contractual en la descripción. Toma el nombre del estudio del campo “Estudio / Editor” en Game Info; si está vacío, la línea no aparece.",
"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).",
"showTranslationQuality": "Mostrar aviso de calidad de traducción",
"showTranslationQualityHint": "Añade un aviso de traducción por IA a las descripciones generadas en idiomas distintos del inglés y el vietnamita.",
"titleFormatTitle": "Formato del título",
"descriptionSettingsTitle": "Descripción",
"badgePosition": "Posición de la insignia de calidad",
@@ -815,6 +958,25 @@
"logRetentionDays": "Retención de logs (días)",
"logRetentionHint": "Los logs más antiguos se eliminan al iniciar. Rango: 1–90 días."
},
"socialPost": {
"title": "Publicaciones multiplataforma",
"single": "Individual",
"bulk": "Por lote",
"copyCaption": "Copiar texto",
"emptyState": "Escribe el nombre de un juego en el Editor para generar los textos.",
"trimmedHint": "Se recortaron {{count}} sección(es) opcional(es) para ajustarse al límite.",
"overLimitHint": "Supera el límite de caracteres de {{platform}}: recórtalo antes de publicar.",
"exported": "¡Textos exportados!",
"exportFailed": "Error al exportar",
"imported": "Textos importados",
"importFailed": "Error al importar: elige una exportación Social de YTDescGen.",
"importedHeading": "Textos importados",
"platforms": {
"tiktok": "TikTok",
"instagram_reels": "Instagram Reels",
"facebook_reels": "Facebook Reels"
}
},
"batch": {
"title": "Generación por Lote",
"startPart": "Parte Inicial",
+154 -2
View File
@@ -108,6 +108,7 @@
"timestamps": "⏱ タイムスタンプ",
"storeLinksBuy": "🎮 ゲームを購入 (応援したい方へ)",
"storeLinksDownload": "⬇️ ゲームをダウンロード (遊びたい方へ)",
"gameCopyright": "© {{publisher}}. 全権利を保有。ゲームおよび関連する知的財産はすべて {{publisher}} に帰属します。",
"videoSettings": "🖥 動画設定",
"rig": "💻 PC構成",
"modList": "🧩 MODリスト",
@@ -120,7 +121,7 @@
"playlist": "▶️ シリーズ全体を見る:{{link}}",
"contact": "📧 お仕事の依頼:{{email}}",
"cta": "👍 いいね | 🔔 チャンネル登録 | ↗️ シェア",
"copyright": "© {{year}} {{channelName}}. All rights reserved.",
"copyright": "© {{year}} {{channelName}} — 動画コンテンツのみ。ゲーム、キャラクター、音楽、関連する知的財産はすべて各権利者に帰属します。本録画物の全権利は留保されます。",
"usagePolicyHeader": "📋 動画利用ポリシー",
"usagePolicy": "• 元動画のリンクとチャンネル名を必ずクレジットしてください(最低でも説明欄に)。\n• 動画全体または大部分の再アップロードは禁止です。\n• 明示的な許可なしに収益化しないでください。\n• 元の内容や制作者を歪曲するような編集は禁止です。\n• クレジットを明記すれば、コンピレーション、レビュー、解説、リアクション動画はOKです。\n不明な点があれば、説明欄のソーシャルアカウントまたはメールでご連絡ください。"
},
@@ -162,6 +163,16 @@
"custom": "カスタム"
}
},
"translationQuality": {
"header": "▸ 🌐 翻訳について",
"intro": "英語とベトナム語以外の説明は、AIの支援を受けて翻訳されています。",
"items": {
"accuracy": "正確性は100%保証されません。一部の語句や用語が誤っている場合があります。",
"phrasing": "表現が直訳的・不自然になっていることがあります。",
"localStyle": "現地の自然な表現と完全には一致しない場合があります。",
"corrections": "間違いを見つけたら、コメントで教えていただけると助かります。🙏"
}
},
"techNotes": {
"header": "▸ 🛠 技術メモ",
"intro": "制作およびプレイスタイルに関する透明性メモ。",
@@ -205,7 +216,27 @@
"flashing_lights": "光の点滅 — 光感受性のある方はご注意",
"motion_sickness": "3D酔い — カメラ / FPSの激しい動き",
"migraine_trigger": "片頭痛を誘発する可能性",
"lens_flare_intense": "強烈なレンズフレア / 太陽光のグレア",
"bloom_excessive": "過剰なブルーム / 白飛びハイライト",
"particle_effects_dense": "高密度のパーティクル — 爆発、魔法、デブリ",
"screen_overlay_flashing": "点滅するHUD / UIオーバーレイ",
"color_saturation_extreme": "極端な彩度 / 派手な配色",
"motion_blur_heavy": "強いモーションブラー(カメラ + オブジェクト)",
"depth_of_field_aggressive": "強い被写界深度 / フォーカスプル演出",
"post_processing_intense": "強いポストプロセス — 色収差、ビネット、フィルムグレイン",
"loud_noises": "大音量 / 突発的な音",
"ear_piercing": "耳に刺さる音 / 高周波音",
"jumpscare_audio": "音声ジャンプスケア — 突然の大音量",
"sudden_volume_changes": "急激な音量変化 — 大小の急な切り替え",
"distorted_audio": "音声の歪み / クリッピング箇所",
"screeching_metallic": "金切り音 / 金属の擦過音",
"persistent_high_pitch": "持続的な高音 — 耳鳴りを悪化させる可能性",
"audio_glitches": "音声グリッチ — エンジン由来のクラックル / ループ",
"heavy_bass_rumble": "重低音 / サブベース振動 — LFE中心のミックス",
"screaming_audio": "長時間の悲鳴音声",
"glass_breaking_audio": "ガラス割れ / 飛散 / 衝撃音",
"microphone_pops": "マイクのポップ、息、取り扱い音(配信者側)",
"white_noise_static": "持続的なホワイトノイズ / ラジオ静電気音",
"jump_scares": "ジャンプスケア",
"acrophobia": "高所",
"trypophobia": "集合体",
@@ -320,7 +351,110 @@
"mods_used": "Mod使用あり",
"cheats_enabled": "チート・デバッグコマンド使用",
"glitch_exploits": "意図的なバグ利用 / 順序破壊",
"assisted_run": "攻略参照あり — ブラインドではない"
"assisted_run": "攻略参照あり — ブラインドではない",
"homichlophobia": "霧 / 視界不良の天候",
"lilapsophobia": "竜巻 / ハリケーン / 激しい嵐",
"ombrophobia": "豪雨 / 土砂降りの場面",
"nephophobia": "不気味な雲 / 曇天",
"ancraophobia": "強風 / 暴風条件",
"cryophobia": "極寒 / 氷点下の環境",
"heliophobia": "強い日差し / 直射日光",
"cymophobia": "大波 / 荒れた海",
"limnophobia": "湖や静水",
"potamophobia": "川 / 急流",
"autism_themes": "自閉スペクトラム / 神経多様性をテーマに",
"adhd_themes": "ADHD / 実行機能障害の描写",
"hikikomori": "ひきこもり / 極端な社会的引きこもり",
"neet_themes": "NEET(就学・就労していない)をテーマに",
"social_anxiety_themes": "社交不安の描写",
"social_isolation": "社会的孤立 / 孤独感をテーマに",
"schizophrenia_themes": "統合失調症 / 精神病の描写",
"burnout_themes": "燃え尽き症候群 / 過労",
"survivor_guilt": "サバイバーズギルトの描写",
"abandonment_themes": "見捨てられ / 見捨てられトラウマ",
"parasocial_themes": "パラソーシャル関係 / 不健康な執着",
"gaslighting_themes": "ガスライティング / 心理的虐待",
"stockholm_syndrome": "ストックホルム症候群",
"behavioral_addiction": "ギャンブル / ゲーム依存症テーマ",
"existential_crisis": "実存的危機 / ニヒリズムのテーマ",
"impostor_syndrome": "インポスター症候群テーマ",
"midlife_crisis": "中年の危機テーマ",
"quarter_life_crisis": "クォーターライフ・クライシス",
"workplace_harassment": "職場ハラスメント / 有害環境",
"masculinity_pressure": "性役割や男性性のプレッシャー",
"political_extremism": "政治的過激主義 / 過激思想",
"religious_extremism": "宗教的過激主義 / 原理主義",
"genocide": "ジェノサイド / 民族浄化",
"holy_war": "聖戦 / 宗派的宗教紛争",
"holocaust_themes": "ホロコースト / 第二次大戦の残虐行為",
"civil_war": "内戦 / 国内武力紛争",
"mass_shooting": "銃乱射 / 学校銃撃の描写",
"colonialism": "植民地主義 / 帝国主義のテーマ",
"propaganda": "国家プロパガンダ / メディア操作",
"dystopian_state": "監視社会 / 独裁的ディストピア国家",
"conspiracy_theories": "陰謀論を物語のテーマに",
"censorship_themes": "検閲 / 報道抑圧のテーマ",
"ethnic_conflict": "民族 / 人種的紛争",
"refugee_crisis": "難民危機 / 強制避難",
"revolution_themes": "革命 / 蜂起 / 内乱",
"assassination": "政治暗殺",
"coup_themes": "クーデター / 軍事政変",
"inquisition": "異端審問 / 宗教迫害 / 魔女狩り",
"forced_labor": "強制労働 / 強制収容所",
"ultranationalism": "極端な国家主義 / ショーヴィニズム",
"hanging_depiction": "首吊り / 絞殺シーン",
"drowning_depiction": "溺死シーン",
"burning_alive": "焼殺 / 焼身",
"asphyxiation_depiction": "窒息 / 息ができないシーン",
"restraint_torture": "拘束された被害者への拷問",
"public_execution": "公開処刑シーン",
"decapitation": "斬首シーン",
"impalement": "串刺しシーン",
"mass_casualty_event": "大量死傷事件(襲撃・災害)",
"vehicular_violence": "車両による暴力 / 故意の衝突",
"overdose_depiction": "薬物過剰摂取シーン",
"defenestration": "高所からの転落(意図的)",
"profanity_frequent": "頻繁な暴言・汚い言葉遣い",
"sexual_innuendo": "性的なほのめかしを含むセリフ",
"inflammatory_speech": "扇動的・挑発的なセリフ",
"verbal_abuse": "言葉による侮辱・暴言",
"threatening_language": "脅迫的・威圧的な言葉",
"slurs_derogatory": "差別用語・蔑称",
"crude_humor": "下品なユーモア",
"mature_humor": "大人向けユーモア",
"dark_humor": "ブラックユーモア",
"drug_references": "セリフ内の薬物・飲酒への言及",
"chromophobia": "鮮やかな色彩の場面(色彩恐怖症)",
"erythrophobia": "真っ赤な場面(赤色恐怖症)",
"xanthophobia": "黄色が目立つ場面(黄色恐怖症)",
"leukophobia": "真っ白な空間(白色恐怖症)",
"melanophobia": "黒一色の場面(黒色恐怖症)",
"body_shaming": "外見への侮辱(ボディシェイミング)",
"beauty_standards": "非現実的な美の基準",
"cyberbullying": "ネットいじめ・誹謗中傷",
"doxxing": "晒し行為・個人情報の暴露",
"trolling_griefing": "荒らし・グリーフィング行為",
"cancel_culture": "キャンセルカルチャー・公開非難",
"social_media_addiction": "SNS依存",
"doomscrolling": "ドゥームスクローリング",
"fomo": "FOMO — 取り残される不安",
"fake_news": "フェイクニュース・誤情報",
"online_scams": "ネット詐欺・フィッシング",
"catfishing": "ネット上のなりすまし(キャットフィッシング)",
"deepfake_themes": "ディープフェイク・合成メディア",
"cyberstalking": "ネットストーキング",
"internet_challenges": "危険なバイラルチャレンジ",
"influencer_culture": "インフルエンサー文化・注目集め",
"online_radicalization": "ネット上の過激化・エコーチェンバー",
"loot_boxes": "ルートボックス・ガチャ要素",
"ai_themes": "AI・人工知能のテーマ",
"data_privacy": "データプライバシー・大規模監視",
"revealing_outfits": "露出度の高い衣装",
"partial_nudity": "部分的なヌード",
"sexualized_characters": "性的に強調されたキャラクターデザイン",
"fanservice": "ファンサービス・お色気要素",
"suggestive_poses": "挑発的なポーズ・カメラアングル",
"educational_purpose_only": "教育・啓発目的のゲーム"
}
},
"graphics": {
@@ -408,6 +542,24 @@
"inGameSettingLabel": "In-game Setting",
"versionLabel": "Version"
},
"videoSettings": {
"styleLine": "{{editor}}で{{era}}スタイルに編集",
"styleLineNoEditor": "{{era}}スタイルに編集",
"eraOptions": {
"1980s": "1980年代",
"1990s": "1990年代 VHS",
"2000s": "2000年代初頭",
"2010s": "2010年代",
"2020s": "現代2020年代",
"modern": "モダン",
"cinematic": "シネマティック",
"retro": "レトロ",
"vhs": "VHS",
"film_noir": "フィルム・ノワール",
"anime_mv": "アニメAMV",
"documentary": "ドキュメンタリー"
}
},
"livestream": {
"scheduledLine": "🔴 LIVE 配信日時: {{time}}",
"watchLine": "視聴・見逃し配信: {{link}}"
+178 -16
View File
@@ -10,6 +10,7 @@
"history": "履歴",
"settings": "設定",
"batch": "一括",
"social": "ソーシャル",
"playlist": "プレイリスト",
"logs": "ログ",
"about": "情報",
@@ -20,7 +21,8 @@
"collapse": "サイドバーを折りたたむ"
},
"header": {
"donate": "寄付"
"donate": "寄付",
"toggleTheme": "テーマ切り替え"
},
"about": {
"tagline": "ゲームプレイ実況なしチャンネル向けのタイトル・説明文・タグ生成ツール。",
@@ -41,18 +43,6 @@
"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": {
@@ -140,6 +130,10 @@
"gpu_custom": "カスタムGPU",
"ram_size": "RAM容量",
"ram_ddr": "DDR世代",
"os_name": "OS",
"os_version": "バージョン",
"os_edition": "エディション",
"os_distro": "ディストリ",
"vnDonate": "Donate (Vietnam)",
"vnDonateHelp": "Only rendered into the description when output language is Vietnamese.",
"vnBankName": "Bank name",
@@ -256,6 +250,23 @@
"comic": "Comic",
"photorealistic": "Photorealistic"
},
"videoStyle": "ビデオスタイル",
"videoStyleHelp": "「Edited in 1990s VHS style using DaVinci Resolve」のような1行のクレジットを追加します。My Rig の Video Editor フィールドと組み合わせます。",
"videoStyleOff": "— オフ —",
"videoStyleOptions": {
"1980s": "1980年代",
"1990s": "1990年代 VHS",
"2000s": "2000年代初頭",
"2010s": "2010年代",
"2020s": "現代 2020年代",
"modern": "モダン / クリーン",
"cinematic": "シネマティック",
"retro": "レトロ / ヴィンテージ",
"vhs": "VHS / アナログ",
"film_noir": "フィルム・ノワール",
"anime_mv": "アニメAMV",
"documentary": "ドキュメンタリー"
},
"versionInfo": "Driver / Game Version",
"versionInfoPlaceholder": "e.g. GeForce 565.90 | Game v1.4",
"liveUrl": "Live URL",
@@ -312,8 +323,12 @@
"contentWarningGroups": {
"spoilers": "ネタバレ",
"photosensitive": "光感受性 / 健康",
"audio": "音声 / 感覚",
"dialogue": "セリフ / 言葉遣い",
"phobias": "恐怖症",
"mental_health": "メンタルヘルス",
"social_phenomena": "社会・心理現象",
"internet_digital": "インターネット / デジタルライフ",
"sensitive": "成人向け / センシティブ",
"playstyle": "プレイ情報",
"horror_specific": "ヘビーホラー",
@@ -329,7 +344,27 @@
"flashing_lights": "光の点滅",
"motion_sickness": "3D酔い",
"migraine_trigger": "片頭痛トリガー",
"lens_flare_intense": "レンズフレア / 強い光彩",
"bloom_excessive": "過剰なブルーム / 白飛び",
"particle_effects_dense": "高密度のパーティクル",
"screen_overlay_flashing": "点滅するHUD / UIオーバーレイ",
"color_saturation_extreme": "極端な彩度 / 派手な配色",
"motion_blur_heavy": "強いモーションブラー",
"depth_of_field_aggressive": "強い被写界深度",
"post_processing_intense": "強いポストプロセス",
"loud_noises": "突発的な音",
"ear_piercing": "耳に刺さる / 高周波音",
"jumpscare_audio": "音声ジャンプスケア",
"sudden_volume_changes": "急激な音量変化",
"distorted_audio": "音の歪み / クリッピング",
"screeching_metallic": "金切り音 / 金属音",
"persistent_high_pitch": "持続的な高音",
"audio_glitches": "音声グリッチ / アーティファクト",
"heavy_bass_rumble": "重低音 / サブベース振動",
"screaming_audio": "長時間の悲鳴",
"glass_breaking_audio": "ガラス割れ / 衝撃音",
"microphone_pops": "マイクのポップ / 息音",
"white_noise_static": "ホワイトノイズ / 静電気音",
"jump_scares": "ジャンプスケア",
"acrophobia": "高所",
"trypophobia": "集合体",
@@ -444,7 +479,110 @@
"mods_used": "Mod使用",
"cheats_enabled": "チート使用",
"glitch_exploits": "バグ利用",
"assisted_run": "攻略参照"
"assisted_run": "攻略参照",
"homichlophobia": "霧",
"lilapsophobia": "竜巻 / ハリケーン",
"ombrophobia": "豪雨 / 嵐",
"nephophobia": "雲 / 曇天",
"ancraophobia": "強風",
"cryophobia": "極寒",
"heliophobia": "強い日差し",
"cymophobia": "大波",
"limnophobia": "湖 / 静水",
"potamophobia": "川 / 急流",
"autism_themes": "自閉スペクトラム / 神経多様性",
"adhd_themes": "ADHD / 実行機能障害",
"hikikomori": "ひきこもり",
"neet_themes": "NEET",
"social_anxiety_themes": "社交不安",
"social_isolation": "社会的孤立 / 孤独",
"schizophrenia_themes": "統合失調症 / 精神病",
"burnout_themes": "燃え尽き症候群",
"survivor_guilt": "サバイバーズギルト",
"abandonment_themes": "見捨てられトラウマ",
"parasocial_themes": "パラソーシャル関係",
"gaslighting_themes": "ガスライティング",
"stockholm_syndrome": "ストックホルム症候群",
"behavioral_addiction": "ゲーム / ギャンブル依存",
"existential_crisis": "実存的危機 / ニヒリズム",
"impostor_syndrome": "インポスター症候群",
"midlife_crisis": "中年の危機",
"quarter_life_crisis": "クォーターライフ・クライシス",
"workplace_harassment": "職場ハラスメント",
"masculinity_pressure": "性役割・男性性の圧力",
"political_extremism": "政治的過激主義",
"religious_extremism": "宗教的過激主義 / 原理主義",
"genocide": "ジェノサイド / 民族浄化",
"holy_war": "聖戦 / 宗派紛争",
"holocaust_themes": "ホロコースト",
"civil_war": "内戦",
"mass_shooting": "銃乱射 / 学校銃撃",
"colonialism": "植民地主義 / 帝国主義",
"propaganda": "国家プロパガンダ",
"dystopian_state": "監視社会 / ディストピア",
"conspiracy_theories": "陰謀論",
"censorship_themes": "検閲 / 言論統制",
"ethnic_conflict": "民族 / 人種紛争",
"refugee_crisis": "難民危機",
"revolution_themes": "革命 / 蜂起",
"assassination": "政治暗殺",
"coup_themes": "クーデター",
"inquisition": "異端審問 / 魔女狩り",
"forced_labor": "強制労働",
"ultranationalism": "極端な国家主義",
"hanging_depiction": "首吊り / 絞殺",
"drowning_depiction": "溺死シーン",
"burning_alive": "焼殺",
"asphyxiation_depiction": "窒息 / 息ができない",
"restraint_torture": "拘束された被害者",
"public_execution": "公開処刑",
"decapitation": "斬首",
"impalement": "串刺し",
"mass_casualty_event": "大量死傷事件",
"vehicular_violence": "車両による暴力",
"overdose_depiction": "薬物過剰摂取シーン",
"defenestration": "高所からの転落",
"profanity_frequent": "頻繁な暴言・汚い言葉",
"sexual_innuendo": "性的なほのめかしのセリフ",
"inflammatory_speech": "扇動的なセリフ",
"verbal_abuse": "言葉による侮辱",
"threatening_language": "脅迫的な言葉",
"slurs_derogatory": "差別用語・蔑称",
"crude_humor": "下品なユーモア",
"mature_humor": "大人向けユーモア",
"dark_humor": "ブラックユーモア",
"drug_references": "薬物・飲酒への言及",
"chromophobia": "鮮やかな色彩",
"erythrophobia": "赤色 / 真っ赤な場面",
"xanthophobia": "黄色",
"leukophobia": "白色 / 真っ白な空間",
"melanophobia": "黒色",
"body_shaming": "ボディシェイミング(外見への侮辱)",
"beauty_standards": "非現実的な美の基準",
"cyberbullying": "ネットいじめ・誹謗中傷",
"doxxing": "晒し行為(個人情報暴露)",
"trolling_griefing": "荒らし・グリーフィング",
"cancel_culture": "キャンセルカルチャー",
"social_media_addiction": "SNS依存",
"doomscrolling": "ドゥームスクローリング",
"fomo": "FOMO(取り残される不安)",
"fake_news": "フェイクニュース・誤情報",
"online_scams": "ネット詐欺・フィッシング",
"catfishing": "なりすまし(キャットフィッシング)",
"deepfake_themes": "ディープフェイク・合成メディア",
"cyberstalking": "ネットストーキング",
"internet_challenges": "危険なバイラルチャレンジ",
"influencer_culture": "インフルエンサー文化",
"online_radicalization": "ネット上の過激化・エコーチェンバー",
"loot_boxes": "ルートボックス・ガチャ要素",
"ai_themes": "AI・人工知能テーマ",
"data_privacy": "データプライバシー・大規模監視",
"revealing_outfits": "露出度の高い衣装",
"partial_nudity": "部分的なヌード",
"sexualized_characters": "性的に強調されたキャラデザイン",
"fanservice": "ファンサービス・お色気",
"suggestive_poses": "挑発的なポーズ・アングル",
"educational_purpose_only": "教育・啓発目的のゲーム"
},
"playthroughNotes": {
"title": "プレイ情報",
@@ -678,6 +816,7 @@
"visual_novel": "ビジュアルノベル"
},
"rig": {
"os": "OS",
"cpu": "CPU",
"gpu": "GPU",
"ram": "RAM",
@@ -705,7 +844,8 @@
"mastodon": "Mastodon",
"facebook": "Facebook",
"fb_page": "Facebookページ",
"fb_group": "Facebookグループ"
"fb_group": "Facebookグループ",
"telegram": "Telegram"
},
"resolutions": {
"720p": "720p",
@@ -778,7 +918,6 @@
"theme": "テーマ",
"appLanguage": "アプリの言語",
"defaultOutputLanguage": "デフォルト出力言語",
"defaultGenre": "デフォルトジャンル",
"showCharCount": "文字数を表示",
"compactTagDisplay": "コンパクトタグ表示",
"historyLimit": "履歴上限",
@@ -787,10 +926,14 @@
"hashtagCount": "ハッシュタグ数",
"showQualityBadge": "タイトルに画質バッジを表示 (例: [2K 60FPS])",
"showCopyright": "説明欄に © 著作権行を追加",
"showGameCopyright": "説明欄に © ゲームスタジオのクレジットを追加(ストアリンクの直下)",
"showGameCopyrightHint": "ストアリンクの直下に「© [パブリッシャー]. All rights reserved.」というクレジット行を追加します。デベロッパー/パブリッシャーが説明欄でのクレジット表記を契約で求めている場合に使用してください。ゲーム情報の「スタジオ/パブリッシャー」欄からスタジオ名を取得します。空欄の場合は行は表示されません。",
"showUsagePolicy": "説明欄に動画利用ポリシーを追加",
"showSponsorCredit": "説明欄にスポンサーへの感謝行を追加 (キー提供)",
"showThirdPartyAds": "説明欄にサードパーティ広告ブロックを表示",
"thirdPartyAdsHint": "広告コピーはチャンネルプロフィールに設定してください (プロフィール → 編集)。",
"showTranslationQuality": "翻訳品質の注記を表示",
"showTranslationQualityHint": "英語とベトナム語以外の言語で生成した説明にAI翻訳の注記を追加します。",
"titleFormatTitle": "タイトル書式",
"descriptionSettingsTitle": "説明欄",
"badgePosition": "品質バッジの位置",
@@ -815,6 +958,25 @@
"logRetentionDays": "ログ保持期間 (日)",
"logRetentionHint": "この日数より古いログは起動時に削除されます。範囲: 1–90 日。"
},
"socialPost": {
"title": "クロス投稿キャプション",
"single": "単一",
"bulk": "一括",
"copyCaption": "キャプションをコピー",
"emptyState": "エディターでゲーム名を入力するとキャプションを生成します。",
"trimmedHint": "プラットフォームの上限に合わせて任意セクションを{{count}}個削除しました。",
"overLimitHint": "{{platform}}の文字数上限を超えています。投稿前に短くしてください。",
"exported": "キャプションをエクスポートしました!",
"exportFailed": "エクスポートに失敗しました",
"imported": "キャプションをインポートしました",
"importFailed": "インポートに失敗しました。YTDescGenのSocialエクスポートを選択してください。",
"importedHeading": "インポートしたキャプション",
"platforms": {
"tiktok": "TikTok",
"instagram_reels": "Instagram Reels",
"facebook_reels": "Facebook Reels"
}
},
"batch": {
"title": "一括モード",
"startPart": "開始パート",
+154 -2
View File
@@ -108,6 +108,7 @@
"timestamps": "⏱ 타임스탬프",
"storeLinksBuy": "🎮 게임 구매 (구매하고 싶다면)",
"storeLinksDownload": "⬇️ 게임 다운로드 (플레이하고 싶다면)",
"gameCopyright": "© {{publisher}}. 모든 권리 보유. 게임 및 관련 지식재산권은 {{publisher}}에 귀속됩니다.",
"videoSettings": "🖥 영상 설정",
"rig": "💻 내 장비",
"modList": "🧩 모드 목록",
@@ -120,7 +121,7 @@
"playlist": "▶️ 전체 시리즈 보기: {{link}}",
"contact": "📧 비즈니스 문의: {{email}}",
"cta": "👍 좋아요 | 🔔 구독 | ↗️ 공유",
"copyright": "© {{year}} {{channelName}}. All rights reserved.",
"copyright": "© {{year}} {{channelName}} — 영상 콘텐츠에 한함. 게임, 캐릭터, 음악 및 관련 지식재산권은 각 권리자에게 귀속됩니다. 본 녹화물의 모든 권리를 보유합니다.",
"usagePolicyHeader": "📋 영상 사용 정책",
"usagePolicy": "• 원본 영상 링크와 채널을 반드시 크레딧해주세요 (최소한 설명란에).\n• 전체 영상 또는 상당 부분을 본인 콘텐츠로 재업로드하지 마세요.\n• 명시적 동의 없이 수익화하지 마세요.\n• 원본 내용이나 제작자를 왜곡하는 방식으로 편집하지 마세요.\n• 컴필레이션, 리뷰, 해설, 리액션 영상은 크레딧만 하면 OK입니다.\n불확실한 경우 설명란의 소셜 계정이나 이메일로 연락주세요."
},
@@ -162,6 +163,16 @@
"custom": "사용자 지정"
}
},
"translationQuality": {
"header": "▸ 🌐 번역 안내",
"intro": "영어와 베트남어 외의 설명은 AI의 도움을 받아 번역되었습니다.",
"items": {
"accuracy": "정확도가 100% 보장되지 않으며 일부 단어나 용어가 틀릴 수 있습니다.",
"phrasing": "표현이 다소 직역체이거나 어색할 수 있습니다.",
"localStyle": "현지의 자연스러운 문체와 완전히 일치하지 않을 수 있습니다.",
"corrections": "오류를 발견하면 댓글로 알려 주시면 감사하겠습니다. 🙏"
}
},
"techNotes": {
"header": "▸ 🛠 기술 노트",
"intro": "투명성을 위한 제작 및 플레이 스타일 노트.",
@@ -205,7 +216,27 @@
"flashing_lights": "점멸 효과 — 광과민성 시청자 주의",
"motion_sickness": "멀미 — 빠른 카메라 / FPS 움직임",
"migraine_trigger": "편두통 유발 가능",
"lens_flare_intense": "강한 렌즈 플레어 / 햇빛 글레어 효과",
"bloom_excessive": "과도한 블룸 / 하이라이트 번짐",
"particle_effects_dense": "고밀도 파티클 — 폭발, 마법, 파편",
"screen_overlay_flashing": "깜빡이는 HUD / UI 오버레이",
"color_saturation_extreme": "극단적 채도 / 과포화 팔레트",
"motion_blur_heavy": "강한 모션 블러 (카메라 + 오브젝트)",
"depth_of_field_aggressive": "강한 피사계 심도 / 포커스 풀 효과",
"post_processing_intense": "강한 포스트 프로세싱 — 색수차, 비네트, 필름 그레인",
"loud_noises": "큰 소리 / 갑작스러운 음량",
"ear_piercing": "귀를 찌르는 고주파 / 고음",
"jumpscare_audio": "사운드 점프스케어 — 갑작스러운 큰 음향",
"sudden_volume_changes": "갑작스러운 음량 변화 — 크고 작음의 급격한 전환",
"distorted_audio": "왜곡되거나 클리핑된 오디오 구간",
"screeching_metallic": "끽끽 / 금속이 긁히는 소리",
"persistent_high_pitch": "지속적인 고음 — 이명을 악화시킬 수 있음",
"audio_glitches": "오디오 글리치 — 엔진 결함으로 인한 크랙·루프",
"heavy_bass_rumble": "강한 베이스 / 서브베이스 진동 — LFE 중심 믹스",
"screaming_audio": "지속되는 캐릭터 비명",
"glass_breaking_audio": "유리 깨짐 / 산산조각 / 충돌음",
"microphone_pops": "마이크 팝, 호흡, 핸들링 잡음 (제작자 측)",
"white_noise_static": "지속적인 백색 소음 / 라디오 정전기",
"jump_scares": "점프 스케어",
"acrophobia": "고소 공포",
"trypophobia": "환공포",
@@ -320,7 +351,110 @@
"mods_used": "게임 모드 사용",
"cheats_enabled": "치트 / 디버그 명령어 사용",
"glitch_exploits": "의도적 글리치 사용 / 시퀀스 브레이크",
"assisted_run": "공략 참조 — 블라인드 아님"
"assisted_run": "공략 참조 — 블라인드 아님",
"homichlophobia": "안개 / 시야 불량 날씨",
"lilapsophobia": "토네이도 / 허리케인 / 심한 폭풍",
"ombrophobia": "폭우 / 호우 장면",
"nephophobia": "위협적인 구름 / 흐린 하늘",
"ancraophobia": "강풍 / 폭풍급 바람",
"cryophobia": "극한 추위 / 영하 환경",
"heliophobia": "강한 햇빛 / 직사광",
"cymophobia": "큰 파도 / 거친 바다",
"limnophobia": "호수와 고인 물",
"potamophobia": "강 / 강한 물살",
"autism_themes": "자폐 / 신경다양성 주제",
"adhd_themes": "ADHD / 실행 기능 장애 묘사",
"hikikomori": "히키코모리 / 극단적 사회적 은둔",
"neet_themes": "NEET / 교육·취업 비참여 주제",
"social_anxiety_themes": "사회 불안 묘사",
"social_isolation": "사회적 고립 / 외로움 주제",
"schizophrenia_themes": "조현병 / 정신증 묘사",
"burnout_themes": "번아웃 / 만성 과로",
"survivor_guilt": "생존자 죄책감 묘사",
"abandonment_themes": "유기 / 유기 트라우마",
"parasocial_themes": "파라소셜 관계 / 불건전한 집착",
"gaslighting_themes": "가스라이팅 / 심리적 학대",
"stockholm_syndrome": "스톡홀름 증후군 / 인질 유대",
"behavioral_addiction": "도박 / 게임 중독 주제",
"existential_crisis": "실존적 위기 / 허무주의 주제",
"impostor_syndrome": "사기꾼 증후군 주제",
"midlife_crisis": "중년의 위기 주제",
"quarter_life_crisis": "쿼터라이프 위기",
"workplace_harassment": "직장 내 괴롭힘 / 유해 환경",
"masculinity_pressure": "성역할 및 남성성 압박",
"political_extremism": "정치적 극단주의 / 급진 이념",
"religious_extremism": "종교 극단주의 / 근본주의",
"genocide": "제노사이드 / 인종 청소",
"holy_war": "성전 / 종파 종교 분쟁",
"holocaust_themes": "홀로코스트 / 2차 대전 잔혹사",
"civil_war": "내전 / 국내 무력 분쟁",
"mass_shooting": "총기 난사 / 학교 총격 묘사",
"colonialism": "식민주의 / 제국주의 주제",
"propaganda": "국가 선전 / 미디어 조작",
"dystopian_state": "감시 / 권위주의 디스토피아 국가",
"conspiracy_theories": "음모론을 줄거리로",
"censorship_themes": "검열 / 언론 탄압 주제",
"ethnic_conflict": "민족 / 인종 갈등",
"refugee_crisis": "난민 위기 / 강제 이주",
"revolution_themes": "혁명 / 봉기 / 시민 소요",
"assassination": "정치 암살",
"coup_themes": "쿠데타 / 군사 정변",
"inquisition": "종교 재판 / 종교 박해 / 마녀사냥",
"forced_labor": "강제 노동 / 노동 수용소",
"ultranationalism": "극단적 민족주의 / 쇼비니즘",
"hanging_depiction": "교수형 / 교살 장면",
"drowning_depiction": "익사 장면",
"burning_alive": "분신 / 화형 장면",
"asphyxiation_depiction": "질식 / 호흡 곤란 장면",
"restraint_torture": "결박된 피해자가 고문당하는 장면",
"public_execution": "공개 처형 장면",
"decapitation": "참수 장면",
"impalement": "관통 장면",
"mass_casualty_event": "대규모 인명피해 사건 (공격·재난)",
"vehicular_violence": "차량을 이용한 폭력 / 고의적 충돌",
"overdose_depiction": "약물 과다 복용 장면",
"defenestration": "고의적 추락 / 투신",
"profanity_frequent": "잦은 욕설 / 거친 언어",
"sexual_innuendo": "성적 암시가 담긴 대사",
"inflammatory_speech": "선동적 / 도발적인 대사",
"verbal_abuse": "언어폭력 / 모욕적 발언",
"threatening_language": "위협적 / 협박성 언사",
"slurs_derogatory": "비하 / 멸칭 표현",
"crude_humor": "저속한 유머",
"mature_humor": "성인 유머",
"dark_humor": "블랙 유머",
"drug_references": "대사 중 약물 / 음주 언급",
"chromophobia": "강렬한 색채 장면 (색채 공포증)",
"erythrophobia": "온통 붉은 장면 (빨간색 공포증)",
"xanthophobia": "노란색 위주 장면 (노란색 공포증)",
"leukophobia": "온통 하얀 공간 (흰색 공포증)",
"melanophobia": "온통 검은 장면 (검은색 공포증)",
"body_shaming": "외모 비하 (바디 셰이밍)",
"beauty_standards": "비현실적인 미의 기준",
"cyberbullying": "사이버 폭력 / 온라인 괴롭힘",
"doxxing": "신상 털기 / 개인정보 노출",
"trolling_griefing": "트롤링 / 고의적 방해 행위",
"cancel_culture": "캔슬 컬처 / 공개 비난",
"social_media_addiction": "SNS 중독",
"doomscrolling": "둠스크롤링",
"fomo": "FOMO — 소외에 대한 불안",
"fake_news": "가짜 뉴스 / 허위 정보",
"online_scams": "온라인 사기 / 피싱",
"catfishing": "온라인 신분 위장 (캣피싱)",
"deepfake_themes": "딥페이크 / 합성 미디어",
"cyberstalking": "사이버 스토킹",
"internet_challenges": "위험한 바이럴 챌린지",
"influencer_culture": "인플루언서 문화 / 관심 끌기",
"online_radicalization": "온라인 급진화 / 에코 체임버",
"loot_boxes": "확률형 아이템 / 가챠 요소",
"ai_themes": "AI / 인공지능 테마",
"data_privacy": "데이터 프라이버시 / 대규모 감시",
"revealing_outfits": "노출이 심한 의상",
"partial_nudity": "부분 노출",
"sexualized_characters": "성적으로 강조된 캐릭터 디자인",
"fanservice": "팬서비스 / 에치 요소",
"suggestive_poses": "선정적인 포즈 / 카메라 구도",
"educational_purpose_only": "교육 / 공익 목적 게임"
}
},
"graphics": {
@@ -408,6 +542,24 @@
"inGameSettingLabel": "In-game Setting",
"versionLabel": "Version"
},
"videoSettings": {
"styleLine": "{{editor}}로 {{era}} 스타일 편집",
"styleLineNoEditor": "{{era}} 스타일 편집",
"eraOptions": {
"1980s": "1980년대",
"1990s": "1990년대 VHS",
"2000s": "2000년대 초",
"2010s": "2010년대",
"2020s": "현대 2020년대",
"modern": "모던",
"cinematic": "시네마틱",
"retro": "레트로",
"vhs": "VHS",
"film_noir": "필름 누아르",
"anime_mv": "애니메이션 AMV",
"documentary": "다큐멘터리"
}
},
"livestream": {
"scheduledLine": "🔴 LIVE 방송 일시: {{time}}",
"watchLine": "시청 / 다시보기: {{link}}"
+178 -16
View File
@@ -10,6 +10,7 @@
"history": "기록",
"settings": "설정",
"batch": "일괄",
"social": "소셜",
"playlist": "플레이리스트",
"logs": "로그",
"about": "정보",
@@ -20,7 +21,8 @@
"collapse": "사이드바 접기"
},
"header": {
"donate": "후원"
"donate": "후원",
"toggleTheme": "테마 전환"
},
"about": {
"tagline": "게임플레이 무편집 채널을 위한 YouTube 제목, 설명, 태그 생성기.",
@@ -41,18 +43,6 @@
"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": {
@@ -140,6 +130,10 @@
"gpu_custom": "사용자 GPU",
"ram_size": "RAM 용량",
"ram_ddr": "DDR 세대",
"os_name": "OS",
"os_version": "버전",
"os_edition": "에디션",
"os_distro": "배포판",
"vnDonate": "Donate (Vietnam)",
"vnDonateHelp": "Only rendered into the description when output language is Vietnamese.",
"vnBankName": "Bank name",
@@ -256,6 +250,23 @@
"comic": "Comic",
"photorealistic": "Photorealistic"
},
"videoStyle": "비디오 스타일",
"videoStyleHelp": "\"Edited in 1990s VHS style using DaVinci Resolve\" 같은 한 줄 크레딧을 추가합니다. My Rig의 Video Editor 필드와 결합됩니다.",
"videoStyleOff": "— 끄기 —",
"videoStyleOptions": {
"1980s": "1980년대",
"1990s": "1990년대 VHS",
"2000s": "2000년대 초반",
"2010s": "2010년대",
"2020s": "현대 2020년대",
"modern": "모던 / 클린",
"cinematic": "시네마틱",
"retro": "레트로 / 빈티지",
"vhs": "VHS / 아날로그",
"film_noir": "필름 누아르",
"anime_mv": "애니메이션 AMV",
"documentary": "다큐멘터리"
},
"versionInfo": "Driver / Game Version",
"versionInfoPlaceholder": "e.g. GeForce 565.90 | Game v1.4",
"liveUrl": "Live URL",
@@ -312,8 +323,12 @@
"contentWarningGroups": {
"spoilers": "스포일러",
"photosensitive": "광과민 / 건강",
"audio": "음향 / 청각",
"dialogue": "대사 / 언어",
"phobias": "공포증",
"mental_health": "정신 건강",
"social_phenomena": "사회·심리 현상",
"internet_digital": "인터넷 / 디지털 라이프",
"sensitive": "성인 / 민감",
"playstyle": "플레이 안내",
"horror_specific": "중증 호러",
@@ -329,7 +344,27 @@
"flashing_lights": "점멸 효과",
"motion_sickness": "멀미",
"migraine_trigger": "편두통 유발",
"lens_flare_intense": "렌즈 플레어 / 햇빛 글레어",
"bloom_excessive": "과도한 블룸 / 하이라이트 번짐",
"particle_effects_dense": "고밀도 파티클",
"screen_overlay_flashing": "깜빡이는 HUD / UI 오버레이",
"color_saturation_extreme": "극단적인 채도 / 과포화 팔레트",
"motion_blur_heavy": "강한 모션 블러",
"depth_of_field_aggressive": "강한 피사계 심도",
"post_processing_intense": "강한 포스트 프로세싱",
"loud_noises": "갑작스러운 큰 소리",
"ear_piercing": "귀를 찌르는 고음",
"jumpscare_audio": "사운드 점프스케어",
"sudden_volume_changes": "갑작스러운 음량 변화",
"distorted_audio": "음향 왜곡 / 클리핑",
"screeching_metallic": "끽끽 / 금속성 소리",
"persistent_high_pitch": "지속적인 고음",
"audio_glitches": "오디오 글리치 / 아티팩트",
"heavy_bass_rumble": "강한 베이스 / 서브베이스 진동",
"screaming_audio": "지속적인 비명",
"glass_breaking_audio": "유리 깨짐 / 충돌음",
"microphone_pops": "마이크 팝 / 호흡 잡음",
"white_noise_static": "백색 소음 / 정전기 잡음",
"jump_scares": "점프 스케어",
"acrophobia": "고소 공포",
"trypophobia": "환공포",
@@ -444,7 +479,110 @@
"mods_used": "모드 사용",
"cheats_enabled": "치트 / 디버그",
"glitch_exploits": "글리치 사용",
"assisted_run": "공략 참조"
"assisted_run": "공략 참조",
"homichlophobia": "안개",
"lilapsophobia": "토네이도 / 허리케인",
"ombrophobia": "폭우 / 폭풍",
"nephophobia": "구름 / 흐린 하늘",
"ancraophobia": "강풍",
"cryophobia": "극심한 추위",
"heliophobia": "강한 햇빛",
"cymophobia": "큰 파도",
"limnophobia": "호수 / 고인 물",
"potamophobia": "강 / 급류",
"autism_themes": "자폐 / 신경다양성",
"adhd_themes": "ADHD / 실행 기능 장애",
"hikikomori": "히키코모리 / 사회적 은둔",
"neet_themes": "NEET 주제",
"social_anxiety_themes": "사회 불안",
"social_isolation": "사회적 고립 / 외로움",
"schizophrenia_themes": "조현병 / 정신증",
"burnout_themes": "번아웃",
"survivor_guilt": "생존자 죄책감",
"abandonment_themes": "유기 / 유기 트라우마",
"parasocial_themes": "파라소셜 관계",
"gaslighting_themes": "가스라이팅",
"stockholm_syndrome": "스톡홀름 증후군",
"behavioral_addiction": "게임 / 도박 중독",
"existential_crisis": "실존적 위기 / 허무주의",
"impostor_syndrome": "사기꾼 증후군",
"midlife_crisis": "중년의 위기",
"quarter_life_crisis": "쿼터라이프 위기",
"workplace_harassment": "직장 내 괴롭힘",
"masculinity_pressure": "성역할 압박",
"political_extremism": "정치적 극단주의",
"religious_extremism": "종교 극단주의 / 근본주의",
"genocide": "제노사이드 / 인종 청소",
"holy_war": "성전 / 종파 분쟁",
"holocaust_themes": "홀로코스트",
"civil_war": "내전",
"mass_shooting": "총기 난사 / 학교 총격",
"colonialism": "식민주의 / 제국주의",
"propaganda": "국가 선전",
"dystopian_state": "감시 국가 / 디스토피아",
"conspiracy_theories": "음모론",
"censorship_themes": "검열 / 언론 탄압",
"ethnic_conflict": "민족 / 인종 갈등",
"refugee_crisis": "난민 위기",
"revolution_themes": "혁명 / 봉기",
"assassination": "정치 암살",
"coup_themes": "쿠데타",
"inquisition": "종교 재판 / 마녀사냥",
"forced_labor": "강제 노동",
"ultranationalism": "극단적 민족주의",
"hanging_depiction": "교수형 / 교살",
"drowning_depiction": "익사 장면",
"burning_alive": "분신 / 화형",
"asphyxiation_depiction": "질식 / 호흡 곤란",
"restraint_torture": "결박된 피해자",
"public_execution": "공개 처형",
"decapitation": "참수",
"impalement": "관통",
"mass_casualty_event": "대규모 인명피해",
"vehicular_violence": "차량을 이용한 폭력",
"overdose_depiction": "약물 과다 복용 장면",
"defenestration": "추락 / 투신",
"profanity_frequent": "잦은 욕설 / 거친 언어",
"sexual_innuendo": "성적 암시 대사",
"inflammatory_speech": "선동적인 대사",
"verbal_abuse": "언어폭력 / 모욕",
"threatening_language": "위협적인 언사",
"slurs_derogatory": "비하 / 멸칭 표현",
"crude_humor": "저속한 유머",
"mature_humor": "성인 유머",
"dark_humor": "블랙 유머",
"drug_references": "약물 / 음주 언급",
"chromophobia": "색채 공포",
"erythrophobia": "빨간색 / 온통 붉은 장면",
"xanthophobia": "노란색",
"leukophobia": "흰색 / 온통 하얀 공간",
"melanophobia": "검은색",
"body_shaming": "외모 비하 (바디 셰이밍)",
"beauty_standards": "비현실적인 미의 기준",
"cyberbullying": "사이버 폭력 / 온라인 괴롭힘",
"doxxing": "신상 털기 (doxxing)",
"trolling_griefing": "트롤링 / 고의적 방해",
"cancel_culture": "캔슬 컬처 / 공개 비난",
"social_media_addiction": "SNS 중독",
"doomscrolling": "둠스크롤링",
"fomo": "FOMO (소외 불안)",
"fake_news": "가짜 뉴스 / 허위 정보",
"online_scams": "온라인 사기 / 피싱",
"catfishing": "신분 위장 (캣피싱)",
"deepfake_themes": "딥페이크 / 합성 미디어",
"cyberstalking": "사이버 스토킹",
"internet_challenges": "위험한 바이럴 챌린지",
"influencer_culture": "인플루언서 문화",
"online_radicalization": "온라인 급진화 / 에코 체임버",
"loot_boxes": "확률형 아이템 / 가챠",
"ai_themes": "AI / 인공지능 테마",
"data_privacy": "데이터 프라이버시 / 감시",
"revealing_outfits": "노출이 심한 의상",
"partial_nudity": "부분 노출",
"sexualized_characters": "성적으로 강조된 캐릭터 디자인",
"fanservice": "팬서비스 / 에치 요소",
"suggestive_poses": "선정적인 포즈 / 구도",
"educational_purpose_only": "교육 / 공익 목적 게임"
},
"playthroughNotes": {
"title": "플레이 노트",
@@ -678,6 +816,7 @@
"visual_novel": "비주얼 노벨"
},
"rig": {
"os": "운영체제",
"cpu": "CPU",
"gpu": "GPU",
"ram": "RAM",
@@ -705,7 +844,8 @@
"mastodon": "Mastodon",
"facebook": "Facebook",
"fb_page": "Facebook 페이지",
"fb_group": "Facebook 그룹"
"fb_group": "Facebook 그룹",
"telegram": "Telegram"
},
"resolutions": {
"720p": "720p",
@@ -778,7 +918,6 @@
"theme": "테마",
"appLanguage": "앱 언어",
"defaultOutputLanguage": "기본 출력 언어",
"defaultGenre": "기본 장르",
"showCharCount": "글자 수 표시",
"compactTagDisplay": "태그 간략 표시",
"historyLimit": "기록 제한",
@@ -787,10 +926,14 @@
"hashtagCount": "해시태그 수",
"showQualityBadge": "제목에 화질 배지 표시 (예: [2K 60FPS])",
"showCopyright": "설명란에 © 저작권 줄 추가",
"showGameCopyright": "설명란에 © 게임 스튜디오 크레딧 추가 (스토어 링크 바로 아래)",
"showGameCopyrightHint": "스토어 링크 바로 아래에 “© [퍼블리셔]. 모든 권리 보유.” 형식의 크레딧 줄을 추가합니다. 개발사/퍼블리셔가 설명란 표기를 계약상 요구하는 경우 사용하세요. 게임 정보의 “스튜디오 / 퍼블리셔” 항목에서 스튜디오 이름을 가져오며, 비어 있으면 줄은 표시되지 않습니다.",
"showUsagePolicy": "설명란에 영상 사용 정책 블록 추가",
"showSponsorCredit": "설명란에 스폰서 감사 문구 추가 (키 제공)",
"showThirdPartyAds": "설명란에 써드파티 광고 블록 표시",
"thirdPartyAdsHint": "광고 문구는 채널 프로필에 입력하세요 (프로필 → 편집).",
"showTranslationQuality": "번역 품질 안내 표시",
"showTranslationQualityHint": "영어와 베트남어 외의 언어로 생성된 설명에 AI 번역 안내를 추가합니다.",
"titleFormatTitle": "제목 형식",
"descriptionSettingsTitle": "설명",
"badgePosition": "품질 배지 위치",
@@ -815,6 +958,25 @@
"logRetentionDays": "로그 보관 기간 (일)",
"logRetentionHint": "이 일수보다 오래된 로그는 앱 시작 시 삭제됩니다. 범위: 1–90일."
},
"socialPost": {
"title": "크로스포스트 캡션",
"single": "단일",
"bulk": "일괄",
"copyCaption": "캡션 복사",
"emptyState": "에디터에서 게임 이름을 입력하면 캡션이 생성됩니다.",
"trimmedHint": "플랫폼 제한에 맞추기 위해 선택 항목 {{count}}개를 줄였습니다.",
"overLimitHint": "{{platform}} 글자 수 제한을 초과했습니다. 게시 전에 줄이세요.",
"exported": "캡션을 내보냈습니다!",
"exportFailed": "내보내기 실패",
"imported": "캡션을 가져왔습니다",
"importFailed": "가져오기 실패 — YTDescGen Social 내보내기 파일을 선택하세요.",
"importedHeading": "가져온 캡션",
"platforms": {
"tiktok": "TikTok",
"instagram_reels": "Instagram Reels",
"facebook_reels": "Facebook Reels"
}
},
"batch": {
"title": "일괄 생성",
"startPart": "시작 파트",
+158 -6
View File
@@ -108,6 +108,7 @@
"timestamps": "⏱ MỐC THỜI GIAN",
"storeLinksBuy": "🎮 MUA GAME (nếu bạn muốn ủng hộ)",
"storeLinksDownload": "⬇️ TẢI GAME (nếu bạn muốn chơi)",
"gameCopyright": "© {{publisher}}. Mọi quyền được bảo lưu. Game và toàn bộ tài sản trí tuệ liên quan thuộc về {{publisher}}.",
"videoSettings": "🖥 CÀI ĐẶT VIDEO",
"rig": "💻 CẤU HÌNH MÁY",
"modList": "🧩 DANH SÁCH MOD",
@@ -120,7 +121,7 @@
"playlist": "▶️ Xem toàn bộ series: {{link}}",
"contact": "📧 Liên hệ hợp tác: {{email}}",
"cta": "👍 Like | 🔔 Đăng ký | ↗️ Chia sẻ",
"copyright": "© {{year}} {{channelName}}. Đã đăng ký bản quyền.",
"copyright": "© {{year}} {{channelName}} — Bản quyền chỉ áp dụng cho nội dung video. Game, nhân vật, âm nhạc và mọi tài sản trí tuệ liên quan thuộc về chủ sở hữu tương ứng. Mọi quyền được bảo lưu với bản ghi này.",
"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ả."
},
@@ -162,6 +163,16 @@
"custom": "Tùy chỉnh"
}
},
"translationQuality": {
"header": "▸ 🌐 VỀ BẢN DỊCH",
"intro": "Ngoài tiếng Việt và tiếng Anh, phần mô tả ở các ngôn ngữ khác trên kênh được dịch với sự hỗ trợ của AI.",
"items": {
"accuracy": "Độ chính xác không đảm bảo 100% — một số từ ngữ hoặc thuật ngữ có thể bị sai.",
"phrasing": "Cách diễn đạt đôi khi hơi cứng hoặc bị dịch sát nghĩa.",
"localStyle": "Có thể chưa hợp với văn phong bản địa.",
"corrections": "Phát hiện lỗi? Rất mong bạn góp ý ở phần bình luận. 🙏"
}
},
"techNotes": {
"header": "▸ 🛠 GHI CHÚ KỸ THUẬT",
"intro": "Ghi chú minh bạch về sản xuất và cách chơi.",
@@ -205,7 +216,27 @@
"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",
"lens_flare_intense": "Lens flare / loé sáng cường độ cao",
"bloom_excessive": "Bloom quá mức / vùng sáng cháy",
"particle_effects_dense": "Hiệu ứng hạt dày đặc — vụ nổ, phép thuật, mảnh vỡ",
"screen_overlay_flashing": "HUD / overlay UI nhấp nháy",
"color_saturation_extreme": "Độ bão hoà màu cực cao / bảng màu loè loẹt",
"motion_blur_heavy": "Motion blur mạnh (camera + vật thể)",
"depth_of_field_aggressive": "Depth of field gắt / hiệu ứng pull focus",
"post_processing_intense": "Post-processing nặng — chromatic aberration, vignette, film grain",
"loud_noises": "Âm thanh đột ngột / tiếng động lớn",
"ear_piercing": "Âm chói tai / tần số cao gây khó chịu",
"jumpscare_audio": "Jumpscare âm thanh — âm to đột ngột không cảnh báo",
"sudden_volume_changes": "Thay đổi âm lượng đột ngột — to / nhỏ bất ngờ",
"distorted_audio": "Âm thanh méo / vỡ tiếng / clipping",
"screeching_metallic": "Tiếng ken két, kim loại va chạm, cào bảng",
"persistent_high_pitch": "Tiếng cao kéo dài — có thể kích hoạt ù tai",
"audio_glitches": "Glitch âm thanh — crackle hoặc lặp âm do lỗi engine",
"heavy_bass_rumble": "Bass nặng / sub-bass rung — bản mix nặng LFE",
"screaming_audio": "Tiếng nhân vật la hét kéo dài",
"glass_breaking_audio": "Tiếng kính vỡ / vỡ vụn / va đập lặp",
"microphone_pops": "Tạp âm mic, tiếng thở, tiếng cầm mic (phía creator)",
"white_noise_static": "Tiếng nhiễu trắng / tĩnh điện kéo dài",
"jump_scares": "Có jumpscare",
"acrophobia": "Sợ độ cao",
"trypophobia": "Sợ lỗ / cụm lỗ",
@@ -237,14 +268,14 @@
"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",
"child_harm": "Chủ đề trẻ em chịu tác động",
"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",
"war_violence": "Tác động vật lý 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",
"police_violence": "Tác động vật lý 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í",
@@ -255,7 +286,7 @@
"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",
"bullying_themes": "Chủ đề bắt nạt / tác động vật lý 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",
@@ -320,7 +351,110 @@
"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"
"assisted_run": "Có tham khảo guide — không phải blind",
"homichlophobia": "Sương mù / thời tiết tầm nhìn kém",
"lilapsophobia": "Lốc xoáy / bão / cuồng phong",
"ombrophobia": "Cảnh mưa lớn / mưa xối xả",
"nephophobia": "Mây u ám / bầu trời đe doạ",
"ancraophobia": "Gió mạnh / điều kiện gió giật",
"cryophobia": "Cực lạnh / môi trường âm độ",
"heliophobia": "Ánh nắng gay gắt / phơi nắng dữ",
"cymophobia": "Sóng lớn / biển động",
"limnophobia": "Hồ và mặt nước tĩnh",
"potamophobia": "Sông / dòng chảy mạnh",
"autism_themes": "Chủ đề về tự kỷ / thần kinh đa dạng",
"adhd_themes": "Chủ đề ADHD / rối loạn chức năng điều hành",
"hikikomori": "Hikikomori / ẩn dật xã hội nặng",
"neet_themes": "Chủ đề NEET / không học không làm",
"social_anxiety_themes": "Mô tả lo âu xã hội",
"social_isolation": "Cô lập xã hội / cô đơn",
"schizophrenia_themes": "Mô tả tâm thần phân liệt / loạn thần",
"burnout_themes": "Burnout / kiệt sức kéo dài",
"survivor_guilt": "Mô tả mặc cảm của người sống sót",
"abandonment_themes": "Bị bỏ rơi / sang chấn bị bỏ rơi",
"parasocial_themes": "Quan hệ parasocial / si mê không lành mạnh",
"gaslighting_themes": "Gaslighting / lạm dụng tâm lý",
"stockholm_syndrome": "Hội chứng Stockholm / gắn bó với kẻ bắt giữ",
"behavioral_addiction": "Chủ đề nghiện cờ bạc / nghiện game",
"existential_crisis": "Khủng hoảng hiện sinh / chủ đề hư vô",
"impostor_syndrome": "Chủ đề hội chứng kẻ mạo danh",
"midlife_crisis": "Khủng hoảng tuổi trung niên",
"quarter_life_crisis": "Khủng hoảng tuổi 1/4 cuộc đời",
"workplace_harassment": "Quấy rối nơi làm việc / môi trường độc hại",
"masculinity_pressure": "Áp lực vai trò giới và nam tính",
"political_extremism": "Cực đoan chính trị / hệ tư tưởng cực đoan",
"religious_extremism": "Cực đoan tôn giáo / cuồng tín",
"genocide": "Diệt chủng / thanh trừng sắc tộc",
"holy_war": "Thánh chiến / xung đột tôn giáo bè phái",
"holocaust_themes": "Chủ đề Holocaust / tội ác Thế chiến II",
"civil_war": "Nội chiến / xung đột vũ trang nội bộ",
"mass_shooting": "Mô tả xả súng hàng loạt / xả súng trường học",
"colonialism": "Chủ đề chủ nghĩa thực dân / đế quốc",
"propaganda": "Tuyên truyền nhà nước / thao túng truyền thông",
"dystopian_state": "Nhà nước giám sát / dystopia độc tài",
"conspiracy_theories": "Thuyết âm mưu làm chủ đề cốt truyện",
"censorship_themes": "Chủ đề kiểm duyệt / đàn áp báo chí",
"ethnic_conflict": "Xung đột sắc tộc / chủng tộc",
"refugee_crisis": "Khủng hoảng tị nạn / di tản cưỡng bức",
"revolution_themes": "Cách mạng / nổi dậy / bất ổn dân sự",
"assassination": "Ám sát chính trị",
"coup_themes": "Đảo chính / chính biến quân sự",
"inquisition": "Toà án dị giáo / đàn áp tôn giáo / săn phù thủy",
"forced_labor": "Lao động cưỡng bức / trại lao động",
"ultranationalism": "Chủ nghĩa dân tộc cực đoan / sô vanh",
"hanging_depiction": "Có cảnh treo c* / siết c*",
"drowning_depiction": "Có cảnh ch*t đuối",
"burning_alive": "Có cảnh thiêu s*ng",
"asphyxiation_depiction": "Có cảnh ngạt th* / che mũi miệng",
"restraint_torture": "Có cảnh nạn nhân bị trói / cầm tù khi bị tra tấn",
"public_execution": "Có cảnh hành quyết công khai",
"decapitation": "Có cảnh chặt đầu",
"impalement": "Có cảnh đâm xuyên cơ thể",
"mass_casualty_event": "Có sự kiện thương vong hàng loạt (tấn công, thảm họa)",
"vehicular_violence": "Tác động vật lý bằng phương tiện / lao xe có chủ đích",
"overdose_depiction": "Có cảnh sử dụng quá liều",
"defenestration": "Có cảnh ngã / nhảy từ trên cao có chủ đích",
"profanity_frequent": "Văng tục dày đặc / ngôn từ thô tục",
"sexual_innuendo": "Lời thoại ẩn ý t*nh d*c / gợi mở",
"inflammatory_speech": "Lời thoại mang tính kích động",
"verbal_abuse": "Lăng mạ / sỉ nhục bằng lời nói",
"threatening_language": "Lời lẽ đe dọa / uy hiếp",
"slurs_derogatory": "Từ ngữ miệt thị / xúc phạm",
"crude_humor": "Hài thô tục",
"mature_humor": "Hài người lớn",
"dark_humor": "Hài đen / u tối",
"drug_references": "Lời thoại nhắc đến chất kích thích / đồ uống có cồn",
"chromophobia": "Cảnh nhiều màu rực / chói (chromophobia)",
"erythrophobia": "Cảnh toàn màu đỏ (erythrophobia)",
"xanthophobia": "Cảnh nhiều màu vàng (xanthophobia)",
"leukophobia": "Không gian toàn màu trắng (leukophobia)",
"melanophobia": "Cảnh toàn màu đen (melanophobia)",
"body_shaming": "Miệt thị ngoại hình (body shaming)",
"beauty_standards": "Chuẩn mực ngoại hình phi thực tế",
"cyberbullying": "Bắt nạt / quấy rối qua mạng",
"doxxing": "Doxxing / phơi bày thông tin cá nhân",
"trolling_griefing": "Trolling / phá hoại trong game",
"cancel_culture": "Văn hóa tẩy chay / bêu rếu công khai",
"social_media_addiction": "Nghiện mạng xã hội",
"doomscrolling": "Lướt tin tiêu cực vô độ (doomscrolling)",
"fomo": "Hội chứng sợ bỏ lỡ (FOMO)",
"fake_news": "Tin giả / thông tin sai lệch",
"online_scams": "Lừa đảo trực tuyến / phishing",
"catfishing": "Giả mạo danh tính trên mạng (catfishing)",
"deepfake_themes": "Deepfake / nội dung giả mạo bằng AI",
"cyberstalking": "Theo dõi / rình rập qua mạng",
"internet_challenges": "Trào lưu / thử thách nguy hiểm trên mạng",
"influencer_culture": "Văn hóa influencer / chạy theo tương tác",
"online_radicalization": "Cực đoan hóa qua mạng / buồng vang thông tin",
"loot_boxes": "Loot box / cơ chế gacha",
"ai_themes": "Chủ đề AI / trí tuệ nhân tạo",
"data_privacy": "Riêng tư dữ liệu / giám sát diện rộng",
"revealing_outfits": "Trang phục hở hang",
"partial_nudity": "Kh*a th*n một phần",
"sexualized_characters": "Tạo hình nhân vật bị t*nh d*c hóa",
"fanservice": "Yếu tố fan service / ecchi",
"suggestive_poses": "Tư thế / góc quay gợi cảm",
"educational_purpose_only": "Game phục vụ mục đích giáo dục / tuyên truyền"
}
},
"graphics": {
@@ -408,6 +542,24 @@
"inGameSettingLabel": "In-game Setting",
"versionLabel": "Version"
},
"videoSettings": {
"styleLine": "Dựng theo phong cách {{era}} bằng {{editor}}",
"styleLineNoEditor": "Dựng theo phong cách {{era}}",
"eraOptions": {
"1980s": "thập niên 80",
"1990s": "thập niên 90 VHS",
"2000s": "đầu thập niên 2000",
"2010s": "thập niên 2010",
"2020s": "hiện đại 2020s",
"modern": "hiện đại",
"cinematic": "điện ảnh",
"retro": "retro",
"vhs": "VHS",
"film_noir": "film noir",
"anime_mv": "anime AMV",
"documentary": "phim tài liệu"
}
},
"livestream": {
"scheduledLine": "🔴 LIVE vào {{time}}",
"watchLine": "Xem / xem lại: {{link}}"
+181 -19
View File
@@ -10,6 +10,7 @@
"history": "Lịch sử",
"settings": "Cài đặt",
"batch": "Hàng loạt",
"social": "Mạng xã hội",
"playlist": "Playlist",
"logs": "Nhật ký",
"about": "Giới thiệu",
@@ -20,7 +21,8 @@
"collapse": "Thu gọn sidebar"
},
"header": {
"donate": "Ủng hộ"
"donate": "Ủng hộ",
"toggleTheme": "Đổi giao diện sáng/tối"
},
"about": {
"tagline": "Công cụ tạo title, description, tag cho kênh YouTube Gameplay No Commentary.",
@@ -41,18 +43,6 @@
"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": {
@@ -140,6 +130,10 @@
"gpu_custom": "GPU tự nhập",
"ram_size": "Dung lượng RAM",
"ram_ddr": "Thế hệ DDR",
"os_name": "Hệ điều hành",
"os_version": "Phiên bản",
"os_edition": "Bản",
"os_distro": "Distro",
"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",
@@ -256,6 +250,23 @@
"comic": "Truyện tranh",
"photorealistic": "Siêu thực"
},
"videoStyle": "Phong cách video",
"videoStyleHelp": "Thêm dòng credit kiểu \"Edited in 1990s VHS style using DaVinci Resolve\". Kết hợp với trường Video Editor trong My Rig.",
"videoStyleOff": "— Tắt —",
"videoStyleOptions": {
"1980s": "1980s",
"1990s": "1990s VHS",
"2000s": "đầu 2000s",
"2010s": "2010s",
"2020s": "2020s hiện đại",
"modern": "Modern / Clean",
"cinematic": "Điện ảnh",
"retro": "Retro / Cổ điển",
"vhs": "VHS / Analog",
"film_noir": "Film Noir",
"anime_mv": "Anime AMV",
"documentary": "Phim tài liệu"
},
"versionInfo": "Phiên bản Driver / Game",
"versionInfoPlaceholder": "vd: GeForce 565.90 | Game v1.4",
"liveUrl": "URL Livestream",
@@ -312,8 +323,12 @@
"contentWarningGroups": {
"spoilers": "Spoiler",
"photosensitive": "Sức khoẻ / nhạy sáng",
"audio": "Âm thanh / cảm âm",
"dialogue": "Lời thoại / ngôn từ",
"phobias": "Hội chứng sợ",
"mental_health": "Sức khoẻ tinh thần",
"social_phenomena": "Hiện tượng tâm lý — xã hội",
"internet_digital": "Internet / đời sống số",
"sensitive": "Nội dung nhạy cảm / 18+",
"playstyle": "Chú thích lối chơi",
"horror_specific": "Kinh dị nặng đô",
@@ -329,7 +344,27 @@
"flashing_lights": "Hiệu ứng chớp sáng",
"motion_sickness": "Say game / camera nhanh",
"migraine_trigger": "Có thể đau nửa đầu",
"lens_flare_intense": "Loé sáng / lens flare",
"bloom_excessive": "Bloom quá đà / sáng cháy",
"particle_effects_dense": "Hiệu ứng hạt dày đặc",
"screen_overlay_flashing": "HUD / overlay nhấp nháy",
"color_saturation_extreme": "Màu sắc quá rực / loè loẹt",
"motion_blur_heavy": "Motion blur nặng",
"depth_of_field_aggressive": "Depth of field gắt",
"post_processing_intense": "Post-processing đậm đặc",
"loud_noises": "Âm thanh đột ngột",
"ear_piercing": "Âm chói tai / tần số cao",
"jumpscare_audio": "Jumpscare bằng âm thanh",
"sudden_volume_changes": "Thay đổi âm lượng đột ngột",
"distorted_audio": "Âm thanh méo / vỡ",
"screeching_metallic": "Tiếng ken két / kim loại",
"persistent_high_pitch": "Tiếng cao kéo dài",
"audio_glitches": "Lỗi âm thanh / glitch",
"heavy_bass_rumble": "Bass nặng / sub-bass rung",
"screaming_audio": "Tiếng la hét kéo dài",
"glass_breaking_audio": "Tiếng kính vỡ / va đập",
"microphone_pops": "Tạp âm mic / tiếng thở",
"white_noise_static": "Tiếng nhiễu / tĩnh điện",
"jump_scares": "Có jumpscare",
"acrophobia": "Sợ độ cao",
"trypophobia": "Sợ lỗ / cụm lỗ",
@@ -361,14 +396,14 @@
"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",
"child_harm": "Trẻ em chịu tác động",
"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",
"war_violence": "Tác động vật lý chiến tranh",
"discrimination": "Phân biệt đối xử",
"police_violence": "Bạo lực chính quyền",
"police_violence": "Tác động vật lý từ 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í",
@@ -444,7 +479,110 @@
"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"
"assisted_run": "Tham khảo guide",
"homichlophobia": "Sương mù",
"lilapsophobia": "Lốc xoáy / bão",
"ombrophobia": "Mưa lớn / bão tố",
"nephophobia": "Mây / trời u ám",
"ancraophobia": "Gió mạnh",
"cryophobia": "Lạnh cực độ",
"heliophobia": "Ánh nắng gay gắt",
"cymophobia": "Sóng lớn",
"limnophobia": "Hồ / nước tĩnh",
"potamophobia": "Sông / dòng chảy mạnh",
"autism_themes": "Tự kỷ / thần kinh đa dạng",
"adhd_themes": "ADHD / rối loạn tập trung",
"hikikomori": "Hikikomori / ẩn dật xã hội",
"neet_themes": "NEET (không học, không làm)",
"social_anxiety_themes": "Lo âu xã hội",
"social_isolation": "Cô lập / cô đơn xã hội",
"schizophrenia_themes": "Tâm thần phân liệt",
"burnout_themes": "Burnout / kiệt sức",
"survivor_guilt": "Mặc cảm sống sót",
"abandonment_themes": "Bị bỏ rơi / sang chấn",
"parasocial_themes": "Quan hệ parasocial",
"gaslighting_themes": "Gaslighting / thao túng",
"stockholm_syndrome": "Hội chứng Stockholm",
"behavioral_addiction": "Nghiện game / cờ bạc",
"existential_crisis": "Khủng hoảng hiện sinh",
"impostor_syndrome": "Hội chứng kẻ mạo danh",
"midlife_crisis": "Khủng hoảng tuổi trung niên",
"quarter_life_crisis": "Khủng hoảng tuổi 1/4",
"workplace_harassment": "Quấy rối nơi làm việc",
"masculinity_pressure": "Áp lực vai trò giới",
"political_extremism": "Cực đoan chính trị",
"religious_extremism": "Cực đoan / cuồng tín tôn giáo",
"genocide": "Diệt chủng / thanh trừng sắc tộc",
"holy_war": "Thánh chiến / xung đột tôn giáo",
"holocaust_themes": "Đại nạn Holocaust",
"civil_war": "Nội chiến",
"mass_shooting": "Xả súng hàng loạt / xả súng trường học",
"colonialism": "Chủ nghĩa thực dân / đế quốc",
"propaganda": "Tuyên truyền của nhà nước",
"dystopian_state": "Nhà nước giám sát / dystopia",
"conspiracy_theories": "Thuyết âm mưu",
"censorship_themes": "Kiểm duyệt / cấm phát ngôn",
"ethnic_conflict": "Xung đột sắc tộc / chủng tộc",
"refugee_crisis": "Khủng hoảng người tị nạn",
"revolution_themes": "Cách mạng / nổi dậy",
"assassination": "Ám sát chính trị",
"coup_themes": "Đảo chính / quân sự chính biến",
"inquisition": "Toà án dị giáo / săn phù thủy",
"forced_labor": "Lao động cưỡng bức",
"ultranationalism": "Chủ nghĩa dân tộc cực đoan",
"hanging_depiction": "Treo c* / siết c*",
"drowning_depiction": "Cảnh ch*t đuối",
"burning_alive": "Cảnh thiêu s*ng",
"asphyxiation_depiction": "Cảnh ngạt th*",
"restraint_torture": "Bị trói / cầm tù tra tấn",
"public_execution": "Cảnh hành quyết công khai",
"decapitation": "Cảnh chặt đầu",
"impalement": "Cảnh đâm xuyên cơ thể",
"mass_casualty_event": "Thương vong hàng loạt",
"vehicular_violence": "Tác động vật lý bằng phương tiện",
"overdose_depiction": "Cảnh sử dụng quá liều",
"defenestration": "Ngã / nhảy từ trên cao",
"profanity_frequent": "Văng tục dày đặc",
"sexual_innuendo": "Lời thoại ẩn ý t*nh d*c",
"inflammatory_speech": "Lời thoại kích động",
"verbal_abuse": "Lăng mạ / sỉ nhục bằng lời",
"threatening_language": "Lời đe dọa / uy hiếp",
"slurs_derogatory": "Từ ngữ miệt thị / xúc phạm",
"crude_humor": "Hài thô tục",
"mature_humor": "Hài người lớn",
"dark_humor": "Hài đen / u tối",
"drug_references": "Nhắc đến chất kích thích / đồ có cồn",
"chromophobia": "Sợ màu sắc / cảnh màu chói",
"erythrophobia": "Sợ màu đỏ / cảnh toàn đỏ",
"xanthophobia": "Sợ màu vàng",
"leukophobia": "Sợ màu trắng / không gian toàn trắng",
"melanophobia": "Sợ màu đen",
"body_shaming": "Miệt thị ngoại hình (body shaming)",
"beauty_standards": "Chuẩn mực ngoại hình phi thực tế",
"cyberbullying": "Bắt nạt / quấy rối qua mạng",
"doxxing": "Doxxing / phơi bày thông tin cá nhân",
"trolling_griefing": "Trolling / phá game",
"cancel_culture": "Văn hóa tẩy chay / bêu rếu công khai",
"social_media_addiction": "Nghiện mạng xã hội",
"doomscrolling": "Lướt tin tiêu cực vô độ (doomscrolling)",
"fomo": "Hội chứng sợ bỏ lỡ (FOMO)",
"fake_news": "Tin giả / thông tin sai lệch",
"online_scams": "Lừa đảo trực tuyến / phishing",
"catfishing": "Giả mạo danh tính trên mạng (catfishing)",
"deepfake_themes": "Deepfake / nội dung giả mạo bằng AI",
"cyberstalking": "Theo dõi / rình rập qua mạng",
"internet_challenges": "Trào lưu / thử thách nguy hiểm trên mạng",
"influencer_culture": "Văn hóa influencer / câu tương tác",
"online_radicalization": "Cực đoan hóa qua mạng / buồng vang thông tin",
"loot_boxes": "Loot box / cơ chế gacha",
"ai_themes": "Chủ đề AI / trí tuệ nhân tạo",
"data_privacy": "Riêng tư dữ liệu / giám sát diện rộng",
"revealing_outfits": "Trang phục hở hang",
"partial_nudity": "Kh*a th*n một phần",
"sexualized_characters": "Tạo hình nhân vật bị t*nh d*c hóa",
"fanservice": "Yếu tố fan service",
"suggestive_poses": "Tư thế / góc quay gợi cảm",
"educational_purpose_only": "Game mục đích giáo dục / tuyên truyền"
},
"playthroughNotes": {
"title": "Ghi chú lượt chơi",
@@ -678,6 +816,7 @@
"visual_novel": "Visual Novel"
},
"rig": {
"os": "Hệ điều hành",
"cpu": "CPU",
"gpu": "GPU",
"ram": "RAM",
@@ -705,7 +844,8 @@
"mastodon": "Mastodon",
"facebook": "Facebook",
"fb_page": "Facebook Page",
"fb_group": "Facebook Group"
"fb_group": "Facebook Group",
"telegram": "Telegram"
},
"resolutions": {
"720p": "720p",
@@ -778,7 +918,6 @@
"theme": "Giao diện",
"appLanguage": "Ngôn ngữ ứng dụng",
"defaultOutputLanguage": "Ngôn ngữ đầu ra",
"defaultGenre": "Thể loại mặc định",
"showCharCount": "Hiện số ký tự",
"compactTagDisplay": "Hiển thị tags gọn",
"historyLimit": "Giới hạn lịch sử",
@@ -787,10 +926,14 @@
"hashtagCount": "Số hashtag",
"showQualityBadge": "Hiện badge chất lượng trong tiêu đề (vd: [2K 60FPS])",
"showCopyright": "Gắn dòng © copyright vào description",
"showGameCopyright": "Gắn dòng © studio game (ngay dưới link game)",
"showGameCopyrightHint": "Thêm dòng “© [nhà phát hành]. All rights reserved.” ghi nhận developer/publisher của game ngay dưới link store. Dùng khi dev/publisher yêu cầu PHẢI có credit trong phần mô tả. Lấy tên studio từ ô “Studio / Nhà phát hành” trong Game Info — nếu ô đó rỗng thì dòng này sẽ không xuất hiện.",
"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).",
"showTranslationQuality": "Hiện ghi chú chất lượng bản dịch",
"showTranslationQualityHint": "Thêm ghi chú về dịch thuật bằng AI vào mô tả ở các ngôn ngữ khác ngoài tiếng Anh và tiếng Việt.",
"titleFormatTitle": "Định dạng tiêu đề",
"descriptionSettingsTitle": "Mô tả",
"badgePosition": "Vị trí badge chất lượng",
@@ -815,6 +958,25 @@
"logRetentionDays": "Giữ log (ngày)",
"logRetentionHint": "Log cũ hơn số ngày này sẽ tự xoá khi mở app. Phạm vi: 1–90 ngày."
},
"socialPost": {
"title": "Bài đăng đa nền tảng",
"single": "Đơn lẻ",
"bulk": "Hàng loạt",
"copyCaption": "Sao chép nội dung",
"emptyState": "Nhập tên game ở trang Editor để tạo nội dung.",
"trimmedHint": "Đã lược bớt {{count}} mục tùy chọn để vừa giới hạn nền tảng.",
"overLimitHint": "Vượt giới hạn ký tự của {{platform}} — hãy rút gọn trước khi đăng.",
"exported": "Đã xuất nội dung!",
"exportFailed": "Xuất thất bại",
"imported": "Đã nhập nội dung",
"importFailed": "Nhập thất bại — hãy chọn tệp xuất Social của YTDescGen.",
"importedHeading": "Nội dung đã nhập",
"platforms": {
"tiktok": "TikTok",
"instagram_reels": "Instagram Reels",
"facebook_reels": "Facebook Reels"
}
},
"batch": {
"title": "Chế độ hàng loạt",
"startPart": "Phần bắt đầu",
+154 -2
View File
@@ -108,6 +108,7 @@
"timestamps": "⏱ 时间戳",
"storeLinksBuy": "🎮 获取游戏 (如果你想购买)",
"storeLinksDownload": "⬇️ 下载游戏 (如果你想游玩)",
"gameCopyright": "© {{publisher}}. 保留所有权利。游戏及相关知识产权归 {{publisher}} 所有。",
"videoSettings": "🖥 视频设置",
"rig": "💻 我的配置",
"modList": "🧩 MOD 列表",
@@ -120,7 +121,7 @@
"playlist": "▶️ 观看完整系列:{{link}}",
"contact": "📧 商务合作:{{email}}",
"cta": "👍 点赞 | 🔔 订阅 | ↗️ 分享",
"copyright": "© {{year}} {{channelName}}. 版权所有。",
"copyright": "© {{year}} {{channelName}} — 仅限视频内容。游戏、角色、音乐及相关知识产权归各自所有者所有。保留本录像的所有权利。",
"usagePolicyHeader": "📋 视频使用规则",
"usagePolicy": "• 请务必附上原视频链接和频道的 credit(至少在描述中)。\n• 请勿将完整视频或大部分内容作为自己的内容重新上传。\n• 未经明确同意,请勿对素材进行商业化。\n• 请勿以歪曲原内容或创作者的方式剪辑素材。\n• 合集、评测、解说、反应视频均可 — 只要标明出处。\n如有疑问,请通过描述中的社交账号或邮箱联系我。"
},
@@ -162,6 +163,16 @@
"custom": "自定义"
}
},
"translationQuality": {
"header": "▸ 🌐 关于翻译",
"intro": "除英语和越南语外,本频道的简介均由 AI 辅助翻译。",
"items": {
"accuracy": "无法保证 100% 准确,部分词语或术语可能有误。",
"phrasing": "措辞有时可能比较生硬或偏直译。",
"localStyle": "可能不完全符合当地的自然表达习惯。",
"corrections": "发现错误?欢迎在评论区指正。🙏"
}
},
"techNotes": {
"header": "▸ 🛠 技术说明",
"intro": "为保持透明度的制作和游玩说明。",
@@ -205,7 +216,27 @@
"flashing_lights": "闪光效果 — 光敏感者请注意",
"motion_sickness": "3D晕眩 — 镜头 / FPS 快速移动",
"migraine_trigger": "可能引发偏头痛",
"lens_flare_intense": "强烈的镜头光晕 / 阳光眩光",
"bloom_excessive": "过度泛光 / 高光溢出",
"particle_effects_dense": "密集粒子特效 — 爆炸、法术、碎屑",
"screen_overlay_flashing": "闪烁的 HUD / UI 覆盖层",
"color_saturation_extreme": "极端饱和度 / 配色过艳",
"motion_blur_heavy": "强动态模糊(镜头 + 物体)",
"depth_of_field_aggressive": "强景深 / 焦点拉动效果",
"post_processing_intense": "强后期处理 — 色差、暗角、胶片颗粒",
"loud_noises": "突发的大音量",
"ear_piercing": "刺耳音 / 高频音段",
"jumpscare_audio": "音效突袭 — 突如其来的大音量",
"sudden_volume_changes": "音量骤变 — 突然大小切换",
"distorted_audio": "音频失真 / 削波片段",
"screeching_metallic": "刺耳金属摩擦 / 指甲刮黑板声",
"persistent_high_pitch": "持续高音 — 可能加重耳鸣",
"audio_glitches": "音频故障 — 引擎导致的爆裂或循环噪声",
"heavy_bass_rumble": "重低音 / 次低音震动 — 低频极重的混音",
"screaming_audio": "持续的角色尖叫声",
"glass_breaking_audio": "玻璃破碎 / 碎裂 / 撞击声",
"microphone_pops": "麦克风爆破声、呼吸声、操作噪声(创作者端)",
"white_noise_static": "持续的白噪音 / 电台静电杂音",
"jump_scares": "惊吓镜头",
"acrophobia": "恐高",
"trypophobia": "密集恐惧",
@@ -320,7 +351,110 @@
"mods_used": "使用游戏 mod",
"cheats_enabled": "使用作弊 / debug 指令",
"glitch_exploits": "故意利用 bug / 跳关",
"assisted_run": "参考攻略 — 非盲玩"
"assisted_run": "参考攻略 — 非盲玩",
"homichlophobia": "雾 / 薄雾 / 低能见度天气",
"lilapsophobia": "龙卷风 / 飓风 / 强烈风暴",
"ombrophobia": "暴雨 / 倾盆大雨场景",
"nephophobia": "压抑乌云 / 阴沉天空",
"ancraophobia": "强风 / 大风条件",
"cryophobia": "极端寒冷 / 零下环境",
"heliophobia": "强烈阳光 / 强日照",
"cymophobia": "巨浪 / 海面汹涌",
"limnophobia": "湖泊与静止水域",
"potamophobia": "河流 / 强劲水流",
"autism_themes": "自闭症 / 神经多样性主题",
"adhd_themes": "ADHD / 执行功能障碍刻画",
"hikikomori": "蛰居族 / 极端社交退缩",
"neet_themes": "NEET / 不在学不在工",
"social_anxiety_themes": "社交焦虑刻画",
"social_isolation": "社交孤立 / 孤独主题",
"schizophrenia_themes": "精神分裂症 / 精神病刻画",
"burnout_themes": "倦怠 / 长期过劳",
"survivor_guilt": "幸存者内疚刻画",
"abandonment_themes": "被遗弃 / 遗弃创伤",
"parasocial_themes": "拟社会关系 / 不健康迷恋",
"gaslighting_themes": "煤气灯效应 / 心理虐待",
"stockholm_syndrome": "斯德哥尔摩综合征",
"behavioral_addiction": "赌博 / 游戏成瘾主题",
"existential_crisis": "存在危机 / 虚无主义主题",
"impostor_syndrome": "冒名顶替综合征主题",
"midlife_crisis": "中年危机主题",
"quarter_life_crisis": "四分之一人生危机",
"workplace_harassment": "职场骚扰 / 有毒环境",
"masculinity_pressure": "性别角色与男性气质压力",
"political_extremism": "政治极端主义 / 激进意识形态",
"religious_extremism": "宗教极端主义 / 原教旨主义",
"genocide": "种族灭绝 / 族群清洗",
"holy_war": "圣战 / 宗派宗教冲突",
"holocaust_themes": "大屠杀 / 二战暴行主题",
"civil_war": "内战 / 内部武装冲突",
"mass_shooting": "大规模枪击 / 校园枪击刻画",
"colonialism": "殖民主义 / 帝国主义主题",
"propaganda": "国家宣传 / 媒体操纵",
"dystopian_state": "监控 / 威权反乌托邦国家",
"conspiracy_theories": "以阴谋论为剧情主题",
"censorship_themes": "审查 / 压制新闻自由",
"ethnic_conflict": "民族 / 种族冲突",
"refugee_crisis": "难民危机 / 强制迁徙",
"revolution_themes": "革命 / 起义 / 民众动乱",
"assassination": "政治暗杀",
"coup_themes": "政变 / 军事夺权",
"inquisition": "宗教审判 / 宗教迫害 / 猎巫",
"forced_labor": "强迫劳动 / 劳改营",
"ultranationalism": "极端民族主义 / 沙文主义",
"hanging_depiction": "上吊 / 勒颈场景",
"drowning_depiction": "溺水场景",
"burning_alive": "活活烧死 / 自焚",
"asphyxiation_depiction": "窒息 / 闷死场景",
"restraint_torture": "被捆绑或控制的受害者遭受酷刑",
"public_execution": "公开处决场景",
"decapitation": "斩首场景",
"impalement": "穿刺场景",
"mass_casualty_event": "大规模伤亡事件(袭击、灾难)",
"vehicular_violence": "车辆暴力 / 蓄意撞击",
"overdose_depiction": "药物过量场景",
"defenestration": "高处坠落(蓄意)",
"profanity_frequent": "频繁脏话 / 粗俗语言",
"sexual_innuendo": "含性暗示的台词",
"inflammatory_speech": "煽动性 / 挑衅性台词",
"verbal_abuse": "言语辱骂 / 贬低",
"threatening_language": "威胁 / 恐吓性言语",
"slurs_derogatory": "侮辱性 / 歧视性用语",
"crude_humor": "低俗幽默",
"mature_humor": "成人幽默",
"dark_humor": "黑色幽默",
"drug_references": "台词中提及成瘾物质 / 酒精",
"chromophobia": "强烈色彩场景(色彩恐惧症)",
"erythrophobia": "全红场景(红色恐惧症)",
"xanthophobia": "黄色为主的场景(黄色恐惧症)",
"leukophobia": "全白空间(白色恐惧症)",
"melanophobia": "全黑场景(黑色恐惧症)",
"body_shaming": "外貌羞辱(body shaming)",
"beauty_standards": "不切实际的审美标准",
"cyberbullying": "网络霸凌 / 网络骚扰",
"doxxing": "人肉搜索 / 个人隐私曝光",
"trolling_griefing": "网络喷子 / 恶意捣乱行为",
"cancel_culture": "取消文化 / 公开羞辱",
"social_media_addiction": "社交媒体成瘾",
"doomscrolling": "无休止刷负面信息(doomscrolling)",
"fomo": "错失恐惧 — FOMO",
"fake_news": "假新闻 / 虚假信息",
"online_scams": "网络诈骗 / 钓鱼",
"catfishing": "网络身份冒充(catfishing)",
"deepfake_themes": "深度伪造 / 合成媒体",
"cyberstalking": "网络跟踪骚扰",
"internet_challenges": "危险的网络挑战",
"influencer_culture": "网红文化 / 流量至上",
"online_radicalization": "网络极端化 / 信息茧房",
"loot_boxes": "开箱 / 抽卡机制",
"ai_themes": "AI / 人工智能主题",
"data_privacy": "数据隐私 / 大规模监控",
"revealing_outfits": "暴露服装",
"partial_nudity": "部分裸露",
"sexualized_characters": "性化的角色设计",
"fanservice": "福利镜头(fan service)",
"suggestive_poses": "暗示性姿势 / 镜头角度",
"educational_purpose_only": "教育 / 公益宣传目的游戏"
}
},
"graphics": {
@@ -408,6 +542,24 @@
"inGameSettingLabel": "In-game Setting",
"versionLabel": "Version"
},
"videoSettings": {
"styleLine": "使用 {{editor}} 以 {{era}} 风格剪辑",
"styleLineNoEditor": "以 {{era}} 风格剪辑",
"eraOptions": {
"1980s": "1980年代",
"1990s": "1990年代 VHS",
"2000s": "2000年代初",
"2010s": "2010年代",
"2020s": "现代 2020s",
"modern": "现代",
"cinematic": "电影感",
"retro": "复古",
"vhs": "VHS",
"film_noir": "黑色电影",
"anime_mv": "动漫 AMV",
"documentary": "纪录片"
}
},
"livestream": {
"scheduledLine": "🔴 直播时间: {{time}}",
"watchLine": "观看 / 回放: {{link}}"
+178 -16
View File
@@ -10,6 +10,7 @@
"history": "历史",
"settings": "设置",
"batch": "批量",
"social": "社交",
"playlist": "播放列表",
"logs": "日志",
"about": "关于",
@@ -20,7 +21,8 @@
"collapse": "折叠侧边栏"
},
"header": {
"donate": "赞助"
"donate": "赞助",
"toggleTheme": "切换主题"
},
"about": {
"tagline": "为游戏实况无解说频道生成 YouTube 标题、描述和标签的工具。",
@@ -41,18 +43,6 @@
"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": {
@@ -140,6 +130,10 @@
"gpu_custom": "自定义 GPU",
"ram_size": "内存容量",
"ram_ddr": "DDR 代",
"os_name": "系统",
"os_version": "版本",
"os_edition": "版本类型",
"os_distro": "发行版",
"vnDonate": "Donate (Vietnam)",
"vnDonateHelp": "Only rendered into the description when output language is Vietnamese.",
"vnBankName": "Bank name",
@@ -256,6 +250,23 @@
"comic": "Comic",
"photorealistic": "Photorealistic"
},
"videoStyle": "视频风格",
"videoStyleHelp": "添加一行如「Edited in 1990s VHS style using DaVinci Resolve」的署名。与 My Rig 的 Video Editor 字段配合使用。",
"videoStyleOff": "— 关闭 —",
"videoStyleOptions": {
"1980s": "1980年代",
"1990s": "1990年代 VHS",
"2000s": "2000年代初",
"2010s": "2010年代",
"2020s": "现代 2020s",
"modern": "现代 / 简洁",
"cinematic": "电影感",
"retro": "复古 / 怀旧",
"vhs": "VHS / 模拟",
"film_noir": "黑色电影",
"anime_mv": "动漫 AMV",
"documentary": "纪录片"
},
"versionInfo": "Driver / Game Version",
"versionInfoPlaceholder": "e.g. GeForce 565.90 | Game v1.4",
"liveUrl": "Live URL",
@@ -312,8 +323,12 @@
"contentWarningGroups": {
"spoilers": "剧透",
"photosensitive": "光敏感 / 健康",
"audio": "音频 / 感官",
"dialogue": "台词 / 语言",
"phobias": "恐惧症",
"mental_health": "心理健康",
"social_phenomena": "社会心理现象",
"internet_digital": "互联网 / 数字生活",
"sensitive": "成人 / 敏感",
"playstyle": "游玩说明",
"horror_specific": "重度恐怖",
@@ -329,7 +344,27 @@
"flashing_lights": "闪光效果",
"motion_sickness": "3D晕眩",
"migraine_trigger": "可能引发偏头痛",
"lens_flare_intense": "镜头光晕 / 强光眩光",
"bloom_excessive": "过度泛光 / 高光溢出",
"particle_effects_dense": "密集粒子特效",
"screen_overlay_flashing": "HUD / UI 闪烁",
"color_saturation_extreme": "极高饱和度 / 配色刺眼",
"motion_blur_heavy": "强动态模糊",
"depth_of_field_aggressive": "强景深效果",
"post_processing_intense": "强后期处理",
"loud_noises": "突发音量",
"ear_piercing": "刺耳 / 高频音",
"jumpscare_audio": "音效突袭",
"sudden_volume_changes": "音量骤变",
"distorted_audio": "音频失真 / 削波",
"screeching_metallic": "刺耳 / 金属摩擦声",
"persistent_high_pitch": "持续高音",
"audio_glitches": "音频故障 / 噪点",
"heavy_bass_rumble": "重低音 / 次低音震动",
"screaming_audio": "持续尖叫",
"glass_breaking_audio": "玻璃破碎 / 撞击声",
"microphone_pops": "麦克风爆音 / 呼吸声",
"white_noise_static": "白噪音 / 静电杂音",
"jump_scares": "惊吓镜头",
"acrophobia": "恐高",
"trypophobia": "密集恐惧",
@@ -444,7 +479,110 @@
"mods_used": "使用 mod",
"cheats_enabled": "使用作弊",
"glitch_exploits": "利用 bug",
"assisted_run": "参考攻略"
"assisted_run": "参考攻略",
"homichlophobia": "雾 / 薄雾",
"lilapsophobia": "龙卷风 / 飓风",
"ombrophobia": "暴雨 / 风暴",
"nephophobia": "云 / 阴天",
"ancraophobia": "强风",
"cryophobia": "极寒",
"heliophobia": "强烈阳光",
"cymophobia": "巨浪",
"limnophobia": "湖 / 静水",
"potamophobia": "河流 / 急流",
"autism_themes": "自闭症 / 神经多样性",
"adhd_themes": "ADHD / 注意力障碍",
"hikikomori": "蛰居族 / 社交退缩",
"neet_themes": "啃老 / NEET",
"social_anxiety_themes": "社交焦虑",
"social_isolation": "社交孤立 / 孤独",
"schizophrenia_themes": "精神分裂 / 精神病",
"burnout_themes": "倦怠 / 过劳",
"survivor_guilt": "幸存者内疚",
"abandonment_themes": "被遗弃 / 创伤",
"parasocial_themes": "拟社会关系",
"gaslighting_themes": "煤气灯效应 / 心理操纵",
"stockholm_syndrome": "斯德哥尔摩综合征",
"behavioral_addiction": "游戏 / 赌博成瘾",
"existential_crisis": "存在危机 / 虚无主义",
"impostor_syndrome": "冒名顶替综合征",
"midlife_crisis": "中年危机",
"quarter_life_crisis": "四分之一人生危机",
"workplace_harassment": "职场骚扰",
"masculinity_pressure": "性别角色压力",
"political_extremism": "政治极端主义",
"religious_extremism": "宗教极端主义 / 原教旨主义",
"genocide": "种族灭绝 / 族群清洗",
"holy_war": "圣战 / 宗派冲突",
"holocaust_themes": "大屠杀 (Holocaust)",
"civil_war": "内战",
"mass_shooting": "大规模 / 校园枪击",
"colonialism": "殖民主义 / 帝国主义",
"propaganda": "国家宣传",
"dystopian_state": "监控 / 反乌托邦国家",
"conspiracy_theories": "阴谋论",
"censorship_themes": "审查 / 言论压制",
"ethnic_conflict": "民族 / 种族冲突",
"refugee_crisis": "难民危机",
"revolution_themes": "革命 / 起义",
"assassination": "政治暗杀",
"coup_themes": "政变",
"inquisition": "宗教审判 / 猎巫",
"forced_labor": "强迫劳动",
"ultranationalism": "极端民族主义",
"hanging_depiction": "上吊 / 勒颈",
"drowning_depiction": "溺水场景",
"burning_alive": "活活烧死",
"asphyxiation_depiction": "窒息 / 闷死",
"restraint_torture": "被捆绑的受害者",
"public_execution": "公开处决",
"decapitation": "斩首",
"impalement": "穿刺",
"mass_casualty_event": "大规模伤亡事件",
"vehicular_violence": "车辆暴力",
"overdose_depiction": "药物过量场景",
"defenestration": "高处坠落",
"profanity_frequent": "频繁脏话 / 粗俗语言",
"sexual_innuendo": "含性暗示的台词",
"inflammatory_speech": "煽动性台词",
"verbal_abuse": "言语辱骂",
"threatening_language": "威胁性言语",
"slurs_derogatory": "侮辱性 / 歧视性用语",
"crude_humor": "低俗幽默",
"mature_humor": "成人幽默",
"dark_humor": "黑色幽默",
"drug_references": "提及成瘾物质 / 酒精",
"chromophobia": "色彩恐惧",
"erythrophobia": "红色恐惧 / 全红场景",
"xanthophobia": "黄色恐惧",
"leukophobia": "白色恐惧 / 全白空间",
"melanophobia": "黑色恐惧",
"body_shaming": "外貌羞辱",
"beauty_standards": "不切实际的审美标准",
"cyberbullying": "网络霸凌 / 网络骚扰",
"doxxing": "人肉搜索 / 隐私曝光",
"trolling_griefing": "网络喷子 / 恶意捣乱",
"cancel_culture": "取消文化 / 公开羞辱",
"social_media_addiction": "社交媒体成瘾",
"doomscrolling": "无休止刷负面信息",
"fomo": "错失恐惧 (FOMO)",
"fake_news": "假新闻 / 虚假信息",
"online_scams": "网络诈骗 / 钓鱼",
"catfishing": "网络身份冒充",
"deepfake_themes": "深度伪造 / 合成媒体",
"cyberstalking": "网络跟踪骚扰",
"internet_challenges": "危险的网络挑战",
"influencer_culture": "网红文化 / 流量至上",
"online_radicalization": "网络极端化 / 信息茧房",
"loot_boxes": "开箱 / 抽卡机制",
"ai_themes": "AI / 人工智能主题",
"data_privacy": "数据隐私 / 大规模监控",
"revealing_outfits": "暴露服装",
"partial_nudity": "部分裸露",
"sexualized_characters": "性化的角色设计",
"fanservice": "福利镜头 (fan service)",
"suggestive_poses": "暗示性姿势 / 镜头角度",
"educational_purpose_only": "教育 / 公益宣传目的游戏"
},
"playthroughNotes": {
"title": "本期游玩说明",
@@ -678,6 +816,7 @@
"visual_novel": "视觉小说"
},
"rig": {
"os": "操作系统",
"cpu": "CPU",
"gpu": "GPU",
"ram": "内存",
@@ -705,7 +844,8 @@
"mastodon": "Mastodon",
"facebook": "Facebook",
"fb_page": "Facebook主页",
"fb_group": "Facebook群组"
"fb_group": "Facebook群组",
"telegram": "Telegram"
},
"resolutions": {
"720p": "720p",
@@ -778,7 +918,6 @@
"theme": "主题",
"appLanguage": "应用语言",
"defaultOutputLanguage": "默认输出语言",
"defaultGenre": "默认类型",
"showCharCount": "显示字数统计",
"compactTagDisplay": "紧凑标签显示",
"historyLimit": "历史记录上限",
@@ -787,10 +926,14 @@
"hashtagCount": "话题标签数量",
"showQualityBadge": "在标题中显示画质标签 (如:[2K 60FPS])",
"showCopyright": "在描述中添加 © 版权行",
"showGameCopyright": "在描述中添加 © 游戏工作室署名(位于商店链接下方)",
"showGameCopyrightHint": "在商店链接正下方添加一行 “© [发行商]. 保留所有权利。” 用于署名游戏的开发商或发行商。当开发商/发行商在合约中要求在描述中署名时使用。工作室名称取自 Game Info 中的“工作室 / 发行商”字段;若该字段为空,则不显示此行。",
"showUsagePolicy": "在描述中添加视频使用规则块",
"showSponsorCredit": "在描述中添加赞助商感谢行(提供激活码)",
"showThirdPartyAds": "在描述中显示第三方广告区块",
"thirdPartyAdsHint": "广告文案请在频道配置中设置(配置文件 → 编辑)。",
"showTranslationQuality": "显示翻译质量提示",
"showTranslationQualityHint": "为以英语和越南语以外语言生成的简介添加 AI 翻译说明。",
"titleFormatTitle": "标题格式",
"descriptionSettingsTitle": "描述",
"badgePosition": "画质徽章位置",
@@ -815,6 +958,25 @@
"logRetentionDays": "日志保留 (天)",
"logRetentionHint": "早于此天数的日志会在启动时删除。范围:1–90 天。"
},
"socialPost": {
"title": "跨平台文案",
"single": "单条",
"bulk": "批量",
"copyCaption": "复制文案",
"emptyState": "在编辑器中输入游戏名称即可生成文案。",
"trimmedHint": "已删减 {{count}} 个可选部分以符合平台限制。",
"overLimitHint": "超出 {{platform}} 字数限制——发布前请删减。",
"exported": "文案已导出!",
"exportFailed": "导出失败",
"imported": "文案已导入",
"importFailed": "导入失败——请选择 YTDescGen 的 Social 导出文件。",
"importedHeading": "已导入的文案",
"platforms": {
"tiktok": "TikTok",
"instagram_reels": "Instagram Reels",
"facebook_reels": "Facebook Reels"
}
},
"batch": {
"title": "批量生成",
"startPart": "起始分集",
+36 -7
View File
@@ -2,20 +2,49 @@ import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import App from "./App";
import { ErrorBoundary } from "./components/ErrorBoundary";
import i18n, { ensureLanguagesLoaded } from "@i18n/index";
import { useSettingsStore } from "@store/settings-store";
import { useEditorStore } from "@store/editor-store";
import "./styles/globals.css";
const root = document.getElementById("root");
if (!root) throw new Error("Root element not found");
/**
* Lazy-loaded locales (v0.26): fetch the persisted UI + output languages
* before first paint so a non-English user never sees an English flash
* (and the Output page never renders a placeholder on cold start).
* zustand persist hydrates synchronously from localStorage, so these
* reads already hold the user's values; Tauri's async settings-file
* rehydrate is bridged later by App's store subscription.
*
* `en` resolves from the eagerly-bundled resources, so English users pay
* zero extra latency. The 2 s race cap means a dead network can delay —
* but never block — first paint; the readiness hooks re-gate after render.
*/
async function preloadLocales(): Promise<void> {
const { appLanguage, defaultOutputLanguage } = useSettingsStore.getState();
const outputLanguage = useEditorStore.getState().language;
await Promise.race([
Promise.all([
i18n.changeLanguage(appLanguage),
ensureLanguagesLoaded([defaultOutputLanguage, outputLanguage]),
]),
new Promise<void>((resolve) => setTimeout(resolve, 2000)),
]).catch(() => undefined);
}
// Top-level safety net. Per-route boundaries in App.tsx catch most
// errors with route-specific labels; this outer one only fires if
// something explodes *before* the router mounts (e.g. i18n init, store
// rehydrate). Without it, a top-level crash still produces a black
// page — defeating the point of per-route boundaries.
createRoot(root).render(
<StrictMode>
<ErrorBoundary label="app">
<App />
</ErrorBoundary>
</StrictMode>,
);
void preloadLocales().finally(() => {
createRoot(root).render(
<StrictMode>
<ErrorBoundary label="app">
<App />
</ErrorBoundary>
</StrictMode>,
);
});
-47
View File
@@ -15,8 +15,6 @@ import {
Heart,
Sparkles,
DollarSign,
Cpu,
Monitor,
type LucideIcon,
} from "lucide-react";
import { ABOUT, type AboutSocialId } from "@config/about";
@@ -67,17 +65,6 @@ export function AboutPage() {
{ 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">
@@ -161,40 +148,6 @@ 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")}
+24 -3
View File
@@ -8,7 +8,7 @@ import { CopyButton } from "@components/output/CopyButton";
import { CharCounter } from "@components/output/CharCounter";
import { useEditorStore } from "@store/editor-store";
import { useSettingsStore } from "@store/settings-store";
import { SUPPORTED_LANGUAGES } from "@i18n/index";
import { SUPPORTED_LANGUAGES, ensureLanguagesLoaded } from "@i18n/index";
import { renderAll } from "@engine/template-renderer";
import { buildPinnedComment } from "@engine/pinned-comment-builder";
import { YT_LIMITS } from "@engine/types";
@@ -41,6 +41,8 @@ export function BatchPage() {
showCopyright,
showUsagePolicy,
showSponsorCredit,
showGameCopyright,
showTranslationQuality,
showPinnedCommentTemplate,
pinnedCommentIncludeAskNextGame,
titleFormat,
@@ -49,6 +51,7 @@ export function BatchPage() {
const [endPart, setEndPart] = useState("5");
const [selectedLangs, setSelectedLangs] = useState<SupportedLanguage[]>([state.language]);
const [results, setResults] = useState<BatchResult[]>([]);
const [generating, setGenerating] = useState(false);
const toggleLang = (lang: SupportedLanguage) => {
setSelectedLangs((prev) => {
@@ -59,7 +62,7 @@ export function BatchPage() {
});
};
const handleGenerate = () => {
const generate = () => {
const start = parseInt(startPart) || 1;
const end = parseInt(endPart) || start;
const outputs: BatchResult[] = [];
@@ -87,6 +90,8 @@ export function BatchPage() {
showCopyright,
showUsagePolicy,
showSponsorCredit,
showGameCopyright,
showTranslationQuality,
titleFormat,
});
const pinnedComment = showPinnedCommentTemplate
@@ -101,6 +106,19 @@ export function BatchPage() {
setResults(outputs);
};
const handleGenerate = async () => {
setGenerating(true);
try {
// Lazy-loaded locales (v0.26): batch generates across multiple
// languages in one pass — every selected bundle must be in memory
// before the loop, or getFixedT silently renders English.
await ensureLanguagesLoaded(selectedLangs);
generate();
} finally {
setGenerating(false);
}
};
const allCombined = useMemo(
() =>
results
@@ -158,7 +176,10 @@ export function BatchPage() {
value={endPart}
onChange={(e) => setEndPart(e.target.value)}
/>
<Button onClick={handleGenerate} disabled={!state.gameName}>
<Button
onClick={() => void handleGenerate()}
disabled={!state.gameName || generating}
>
{t("batch.generateBatch")}
</Button>
</div>
+7 -1
View File
@@ -10,6 +10,7 @@ import { Select } from "@components/ui/Select";
import { CopyButton } from "@components/output/CopyButton";
import { useEditorStore } from "@store/editor-store";
import { SUPPORTED_LANGUAGES } from "@i18n/index";
import { useLanguagesReady } from "@hooks/use-languages-ready";
import {
buildPlaylistTitle,
buildPlaylistDescription,
@@ -66,13 +67,18 @@ export function PlaylistPage() {
[editor.gameName, editor.channelName, status, contentType, totalVideos, editor.storeLinks, customNote],
);
// Lazy-loaded locales (v0.26): the dropdown can pick a language whose
// bundle isn't fetched yet — hold the placeholder until it is.
const ready = useLanguagesReady([language]);
const output = useMemo(() => {
if (!ready) return { title: "", description: "" };
const tFn = i18n.getFixedT(language, "templates");
return {
title: buildPlaylistTitle(playlistInput, tFn),
description: buildPlaylistDescription(playlistInput, tFn),
};
}, [playlistInput, language]);
}, [ready, playlistInput, language]);
return (
<div className="mx-auto flex max-w-5xl flex-col gap-6 p-6 lg:flex-row">
+18 -18
View File
@@ -5,10 +5,9 @@ import { Toggle } from "@components/ui/Toggle";
import { Select } from "@components/ui/Select";
import { Input } from "@components/ui/Input";
import { Button } from "@components/ui/Button";
import { ChipGroup } from "@components/ui/ChipGroup";
import { ValidatedInput } from "@components/ui/ValidatedInput";
import { SUPPORTED_LANGUAGES } from "@i18n/index";
import { GENRES, type GenreId } from "@config/genres";
import { GENRES } from "@config/genres";
import { useSettingsStore, healSettings, extractData } from "@store/settings-store";
import { validatePlaylistUrl } from "@utils/validation";
import { IS_TAURI } from "@utils/platform";
@@ -18,7 +17,6 @@ import {
} from "@utils/import-export";
import { resolveForType } from "@utils/file-schema";
import {
MAX_GENRES,
type SupportedLanguage,
type TitleBadgePosition,
type TitleSeparatorId,
@@ -173,12 +171,6 @@ export function SettingsPage() {
label: `${l.flag} ${l.nativeName}`,
}));
const genreOptions = GENRES.map((g) => ({
id: g.id,
label: t(g.labelKey),
icon: g.icon,
}));
const hashtagOptions = [
{ value: "1", label: "1" },
{ value: "2", label: "2" },
@@ -232,7 +224,7 @@ export function SettingsPage() {
/>
</section>
{/* 2. Language & Defaults — app + output language, default genres. */}
{/* 2. Language & Defaults — app + output language. */}
<section className="flex flex-col gap-3">
<h2 className="text-sm font-semibold text-text-secondary">{t("settings.defaults")}</h2>
<Select
@@ -250,14 +242,6 @@ export function SettingsPage() {
value={settings.defaultOutputLanguage}
onChange={(v) => settings.setDefaultOutputLanguage(v as SupportedLanguage)}
/>
<ChipGroup
label={t("settings.defaultGenre")}
multiple
max={MAX_GENRES}
options={genreOptions}
value={settings.defaultGenres}
onChange={(next) => settings.setDefaultGenres(next as GenreId[])}
/>
</section>
{/* 3. Editor — UI knobs that affect the editor page itself. */}
@@ -321,6 +305,14 @@ export function SettingsPage() {
checked={settings.showCopyright}
onChange={(v) => settings.setSetting("showCopyright", v)}
/>
<Toggle
label={t("settings.showGameCopyright")}
checked={settings.showGameCopyright}
onChange={(v) => settings.setSetting("showGameCopyright", v)}
/>
<p className="-mt-1 ml-14 text-xs text-text-muted">
{t("settings.showGameCopyrightHint")}
</p>
<Toggle
label={t("settings.showUsagePolicy")}
checked={settings.showUsagePolicy}
@@ -341,6 +333,14 @@ export function SettingsPage() {
{t("settings.thirdPartyAdsHint")}
</p>
)}
<Toggle
label={t("settings.showTranslationQuality")}
checked={settings.showTranslationQuality}
onChange={(v) => settings.setSetting("showTranslationQuality", v)}
/>
<p className="-mt-1 ml-14 text-xs text-text-muted">
{t("settings.showTranslationQualityHint")}
</p>
<Toggle
label={t("settings.showPinnedCommentTemplate")}
checked={settings.showPinnedCommentTemplate}
+462
View File
@@ -0,0 +1,462 @@
import { useMemo, useState } from "react";
import { useTranslation } from "react-i18next";
import i18n from "i18next";
import { Download, Upload } from "lucide-react";
import { useDocumentTitle } from "@hooks/use-document-title";
import { Button } from "@components/ui/Button";
import { Input } from "@components/ui/Input";
import { CopyButton } from "@components/output/CopyButton";
import { CharCounter } from "@components/output/CharCounter";
import { useEditorStore } from "@store/editor-store";
import { useSettingsStore } from "@store/settings-store";
import { SUPPORTED_LANGUAGES, ensureLanguagesLoaded } from "@i18n/index";
import { SOCIAL_PLATFORMS } from "@config/social-platforms";
import { useSocialPosts } from "@hooks/use-social-posts";
import {
buildAllSocialPosts,
type SocialPostOutput,
} from "@engine/social-post-builder";
import { useCurrentGeneratorInput } from "@hooks/use-current-generator-input";
import {
exportTypedToJsonFile,
importTypedFromJsonFile,
} from "@utils/import-export";
import type { SupportedLanguage } from "@engine/types";
import toast from "react-hot-toast";
import { logger } from "@utils/logger";
import clsx from "clsx";
/** One platform's caption inside an exported bundle. */
interface SocialPostExport {
platform: string;
charLimit: number;
text: string;
charCount: number;
isOver: boolean;
}
/** The JSON payload written by Export / read by Import — the generated
* captions for one source (captions are derived artifacts, so import is
* display-only; there's no store to merge into). */
interface SocialExportBundle {
gameName: string;
language: SupportedLanguage;
partNumber?: string;
posts: SocialPostExport[];
}
interface BulkRow {
partNumber: string;
language: SupportedLanguage;
posts: Record<string, SocialPostOutput>;
}
export function SocialPage() {
const { t } = useTranslation("ui");
useDocumentTitle(t("tabs.social"));
const gameName = useEditorStore((s) => s.gameName);
const language = useEditorStore((s) => s.language);
const baseInput = useCurrentGeneratorInput();
const { showCopyright, showSponsorCredit } = useSettingsStore();
const posts = useSocialPosts();
const [mode, setMode] = useState<"single" | "bulk">("single");
const [activePlatform, setActivePlatform] = useState<string>(
SOCIAL_PLATFORMS[0]?.id ?? "tiktok",
);
// Bulk state
const [startPart, setStartPart] = useState("1");
const [endPart, setEndPart] = useState("5");
const [selectedLangs, setSelectedLangs] = useState<SupportedLanguage[]>([
language,
]);
const [bulkResults, setBulkResults] = useState<BulkRow[]>([]);
const [generating, setGenerating] = useState(false);
// Import display (read-only)
const [imported, setImported] = useState<SocialExportBundle | null>(null);
const activeConfig =
SOCIAL_PLATFORMS.find((p) => p.id === activePlatform) ?? SOCIAL_PLATFORMS[0];
const activePost = posts[activePlatform];
const platformLabel = (id: string) =>
t(SOCIAL_PLATFORMS.find((p) => p.id === id)?.labelKey ?? id);
const handleExport = () => {
try {
const bundle: SocialExportBundle = {
gameName: baseInput.gameName,
language: baseInput.language,
posts: SOCIAL_PLATFORMS.map((p) => ({
platform: p.id,
charLimit: p.charLimit,
text: posts[p.id]?.text ?? "",
charCount: posts[p.id]?.charCount ?? 0,
isOver: posts[p.id]?.isOver ?? false,
})),
};
const safeName = (baseInput.gameName || "captions")
.replace(/[^\p{L}\p{N}]+/gu, "-")
.toLowerCase();
exportTypedToJsonFile("social", bundle, `ytdescgen-social-${safeName}.json`);
toast.success(t("socialPost.exported"));
} catch (e) {
toast.error(t("socialPost.exportFailed"));
logger.error("social", "Failed to export captions", String(e));
}
};
const handleImport = async () => {
const result = await importTypedFromJsonFile("social");
if (!result.ok) {
if (result.failure.kind === "cancelled") return;
toast.error(t("socialPost.importFailed"));
logger.warn("social", `Import failed: ${result.failure.kind}`);
return;
}
const data = result.data as Partial<SocialExportBundle> | null;
if (!data || !Array.isArray(data.posts)) {
toast.error(t("socialPost.importFailed"));
return;
}
setImported({
gameName: typeof data.gameName === "string" ? data.gameName : "",
language: (data.language ?? "en") as SupportedLanguage,
partNumber:
typeof data.partNumber === "string" ? data.partNumber : undefined,
posts: data.posts as SocialPostExport[],
});
toast.success(t("socialPost.imported"));
};
const toggleLang = (lang: SupportedLanguage) => {
setSelectedLangs((prev) => {
if (prev.includes(lang)) {
return prev.length <= 1 ? prev : prev.filter((l) => l !== lang);
}
return [...prev, lang];
});
};
const bulkGenerate = () => {
const start = parseInt(startPart) || 1;
const end = parseInt(endPart) || start;
const rows: BulkRow[] = [];
// Loop-invariant English translator for the bilingual content-warnings
// block — `en` is eagerly bundled, so it needs no readiness gate.
const tEn = i18n.getFixedT("en", "templates");
for (let i = start; i <= Math.min(end, start + 99); i++) {
for (const lang of selectedLangs) {
const tFn = i18n.getFixedT(lang, "templates");
const input = {
...baseInput,
videoType: "part" as const,
language: lang,
partNumber: String(i),
timestamps: "",
};
rows.push({
partNumber: String(i),
language: lang,
posts: buildAllSocialPosts(input, tFn, SOCIAL_PLATFORMS, {
showCopyright,
showSponsorCredit,
tEn,
}),
});
}
}
setBulkResults(rows);
};
const handleBulkGenerate = async () => {
setGenerating(true);
try {
// Lazy-loaded locales (v0.26): bulk generates across multiple
// languages in one pass — every selected bundle must be in memory
// before the loop, or getFixedT silently renders English.
await ensureLanguagesLoaded(selectedLangs);
bulkGenerate();
} finally {
setGenerating(false);
}
};
const bulkCombined = useMemo(
() =>
bulkResults
.map((row) =>
SOCIAL_PLATFORMS.map(
(p) =>
`[${t(p.labelKey)} · ${row.language.toUpperCase()} · ${row.partNumber}]\n${row.posts[p.id]?.text ?? ""}`,
).join("\n\n---\n\n"),
)
.join("\n\n===\n\n"),
[bulkResults, t],
);
// SOCIAL_PLATFORMS is a non-empty literal, so this never fires — it just
// narrows `activeConfig` to non-undefined for the JSX below without a `!`.
if (!activeConfig) return null;
const ActiveIcon = activeConfig.icon;
return (
<div className="mx-auto max-w-4xl p-6">
<div className="mb-4 flex flex-wrap items-center justify-between gap-3">
<h1 className="text-lg font-bold text-text-primary">
{t("socialPost.title")}
</h1>
<div className="flex gap-1 rounded-lg bg-surface-1 p-1">
{(["single", "bulk"] as const).map((m) => (
<button
key={m}
onClick={() => setMode(m)}
className={clsx(
"rounded-md px-3 py-1 text-sm font-medium transition-colors",
mode === m
? "bg-accent text-white"
: "text-text-muted hover:text-text-primary",
)}
>
{t(`socialPost.${m}`)}
</button>
))}
</div>
</div>
{mode === "single" ? (
<>
{/* Platform switcher */}
<div className="mb-4 flex flex-wrap gap-1 rounded-lg bg-surface-1 p-1">
{SOCIAL_PLATFORMS.map((p) => {
const Icon = p.icon;
return (
<button
key={p.id}
onClick={() => setActivePlatform(p.id)}
className={clsx(
"flex items-center gap-1.5 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
activePlatform === p.id
? "bg-accent text-white"
: "text-text-muted hover:text-text-primary",
)}
>
<Icon className="h-3.5 w-3.5" />
{t(p.labelKey)}
</button>
);
})}
<div className="ml-auto flex gap-2">
<Button
variant="ghost"
size="sm"
onClick={handleExport}
disabled={!gameName}
>
<Download className="h-3.5 w-3.5" />
{t("common.export")}
</Button>
<Button variant="ghost" size="sm" onClick={handleImport}>
<Upload className="h-3.5 w-3.5" />
{t("common.import")}
</Button>
</div>
</div>
{!gameName ? (
<p className="rounded-lg border border-dashed border-border py-8 text-center text-sm text-text-muted">
{t("socialPost.emptyState")}
</p>
) : (
activePost && (
<div className="rounded-lg border border-border bg-surface-1 p-4">
<div className="mb-2 flex items-center justify-between">
<div className="flex items-center gap-2">
<ActiveIcon className="h-4 w-4 text-accent" />
<span className="text-sm font-semibold text-text-primary">
{t(activeConfig.labelKey)}
</span>
</div>
<div className="flex items-center gap-2">
<CharCounter
text={activePost.text}
limit={activeConfig.charLimit}
/>
<CopyButton
text={activePost.text}
label={t("socialPost.copyCaption")}
limit={activeConfig.charLimit}
fieldLabel={t(activeConfig.labelKey)}
/>
</div>
</div>
{activePost.isOver && (
<p className="mb-2 text-xs text-danger">
{t("socialPost.overLimitHint", {
platform: t(activeConfig.labelKey),
})}
</p>
)}
{activePost.droppedBlocks.length > 0 && (
<p className="mb-2 text-xs text-warning">
{t("socialPost.trimmedHint", {
count: activePost.droppedBlocks.length,
})}
</p>
)}
<pre className="whitespace-pre-wrap break-words font-sans text-sm text-text-secondary">
{activePost.text}
</pre>
</div>
)
)}
{imported && (
<div className="mt-6 rounded-lg border border-accent/40 bg-accent/5 p-4">
<div className="mb-3 flex items-center justify-between">
<h2 className="text-sm font-semibold text-text-primary">
{t("socialPost.importedHeading")}
{imported.gameName ? ` — ${imported.gameName}` : ""}
</h2>
<Button
variant="ghost"
size="sm"
onClick={() => setImported(null)}
>
{t("common.dismiss")}
</Button>
</div>
<div className="flex flex-col gap-3">
{imported.posts.map((p) => (
<div key={p.platform} className="rounded-lg bg-surface-2 p-3">
<div className="mb-1 flex items-center justify-between">
<span className="text-xs font-medium uppercase text-text-muted">
{platformLabel(p.platform)}
</span>
<CopyButton
text={p.text}
label={t("socialPost.copyCaption")}
limit={p.charLimit}
/>
</div>
<pre className="whitespace-pre-wrap break-words font-sans text-xs text-text-secondary">
{p.text}
</pre>
</div>
))}
</div>
</div>
)}
</>
) : (
<div className="flex flex-col gap-4">
{/* Language selector */}
<div>
<span className="mb-2 block text-sm font-medium text-text-secondary">
{t("output.selectLanguages")}
</span>
<div className="flex flex-wrap gap-2">
{SUPPORTED_LANGUAGES.map((lang) => (
<button
key={lang.id}
onClick={() => toggleLang(lang.id as SupportedLanguage)}
className={clsx(
"rounded-lg px-3 py-1.5 text-sm font-medium transition-colors",
selectedLangs.includes(lang.id as SupportedLanguage)
? "bg-accent text-white"
: "bg-surface-2 text-text-muted hover:text-text-primary",
)}
>
{lang.flag} {lang.nativeName}
</button>
))}
</div>
</div>
<div className="flex items-end gap-4">
<Input
label={t("batch.startPart")}
type="number"
value={startPart}
onChange={(e) => setStartPart(e.target.value)}
/>
<Input
label={t("batch.endPart")}
type="number"
value={endPart}
onChange={(e) => setEndPart(e.target.value)}
/>
<Button
onClick={() => void handleBulkGenerate()}
disabled={!gameName || generating}
>
{t("common.generate")}
</Button>
</div>
{bulkResults.length === 0 ? (
<p className="rounded-lg border border-dashed border-border py-8 text-center text-sm text-text-muted">
{t("batch.emptyState")}
</p>
) : (
<>
<div className="flex items-center justify-between">
<span className="text-sm text-text-secondary">
{bulkResults.length} × {SOCIAL_PLATFORMS.length}
</span>
<CopyButton text={bulkCombined} label={t("output.copyAll")} />
</div>
<div className="flex flex-col gap-4">
{bulkResults.map((row) => (
<div
key={`${row.partNumber}-${row.language}`}
className="rounded-lg border border-border bg-surface-1 p-4"
>
<h3 className="mb-3 text-sm font-semibold text-text-primary">
{row.partNumber} · {row.language.toUpperCase()}
</h3>
<div className="flex flex-col gap-3">
{SOCIAL_PLATFORMS.map((p) => {
const post = row.posts[p.id];
if (!post) return null;
return (
<div
key={p.id}
className="rounded-lg bg-surface-2 p-3"
>
<div className="mb-1 flex items-center justify-between">
<span className="text-xs font-medium uppercase text-text-muted">
{t(p.labelKey)}
</span>
<div className="flex items-center gap-2">
<CharCounter
text={post.text}
limit={p.charLimit}
/>
<CopyButton
text={post.text}
label={t("socialPost.copyCaption")}
limit={p.charLimit}
/>
</div>
</div>
<pre className="max-h-24 overflow-y-auto whitespace-pre-wrap break-words font-sans text-xs text-text-secondary">
{post.text}
</pre>
</div>
);
})}
</div>
</div>
))}
</div>
</>
)}
</div>
)}
</div>
);
}
+31 -1
View File
@@ -28,6 +28,7 @@ import {
type UpscaleQuality,
type ArtStyle,
} from "@config/graphics-settings";
import { isVideoStyleEra, type VideoStyleEra } from "@config/video-styles";
import {
coerceUpscaleQuality,
coerceFrameGenMultiplier,
@@ -74,6 +75,18 @@ export interface EditorData {
frameGenMultiplier: FrameGenMultiplier;
upscaleQuality: UpscaleQuality;
artStyle: ArtStyle;
/**
* Video-style era opt-in (v0.22.0). When non-empty, the description
* renderer emits a one-line "Edited in {era} style using {video_editor}"
* credit. Empty string = off. See `@config/video-styles` for the list
* of valid eras and the {@link isVideoStyleEra} coercion helper used
* by the v13 → v14 migration.
*
* Renders independently of `skipGraphicsSettings` — creators of 2D /
* pixel-art games still edit their footage, so the style line should
* survive when the graphics block is suppressed.
*/
videoStyleEra: VideoStyleEra;
versionInfo: string;
timestamps: string;
playlistLink: string;
@@ -298,6 +311,7 @@ const initialState: EditorData = {
frameGenMultiplier: DEFAULTS.editor.frameGenMultiplier,
upscaleQuality: DEFAULTS.editor.upscaleQuality,
artStyle: DEFAULTS.editor.artStyle,
videoStyleEra: DEFAULTS.editor.videoStyleEra,
versionInfo: DEFAULTS.editor.versionInfo,
timestamps: DEFAULTS.editor.timestamps,
playlistLink: DEFAULTS.editor.playlistLink,
@@ -444,7 +458,14 @@ export const useEditorStore = create<EditorState>()(
// used by the Anniversary quest type), and `gachaVersion`
// (free-form game version like "1.2"). All additive — empty
// / null defaults round-trip cleanly.
version: 13,
// v13 → v14: v0.22.0. `videoStyleEra` joined the schema — an opt-in
// era / aesthetic descriptor that combines with
// `rig.video_editor` to emit a one-line style credit in the
// description. Additive — defaults to `""` (off); the
// migration defensively coerces unrecognised values to `""`
// so a hand-edited blob or downgrade from a future version
// can't leave the Select stuck on a missing option.
version: 14,
migrate: (persistedState, version) =>
migrateEditorState(persistedState, version),
partialize: (state) => ({
@@ -479,6 +500,7 @@ export const useEditorStore = create<EditorState>()(
frameGenMultiplier: state.frameGenMultiplier,
upscaleQuality: state.upscaleQuality,
artStyle: state.artStyle,
videoStyleEra: state.videoStyleEra,
versionInfo: state.versionInfo,
timestamps: state.timestamps,
playlistLink: state.playlistLink,
@@ -729,6 +751,14 @@ export function migrateEditorState(
const idx = typeof state.endingVideoIndex === "number" ? state.endingVideoIndex : 1;
state.endingVideoIndex = Math.max(1, Math.min(vc, Math.floor(idx)));
}
if (version < 14) {
// v0.22.0 video-style era. Coerce any unrecognised value back to ""
// so the form Select never lands on an option that doesn't exist —
// covers both pre-v0.22 drafts (no key) and hand-edited blobs.
state.videoStyleEra = isVideoStyleEra(state.videoStyleEra)
? state.videoStyleEra
: "";
}
return { ...initialState, ...state } as EditorData;
}
+16
View File
@@ -13,6 +13,22 @@ export interface GamePreset {
storeLinks: Record<string, string>;
spoilerWarning: boolean;
matureWarning: boolean;
/**
* Game's dev/publisher name. v0.21.0 lifted this from a side-label on
* the publisher store link to a first-class field so it survives across
* preset reloads — useful when a creator covers a series spanning many
* episodes and doesn't want to re-type the studio name each session.
* Optional so older presets (pre-v0.21) hydrate without breaking.
*/
pubDevName?: string;
/**
* Per-preset toggle that mirrors `settings.showGameCopyright`. v0.21.0
* added this so a preset can carry the credit obligation alongside the
* publisher name — applying the preset hydrates both fields together,
* which is the common case for games whose dev requires attribution in
* the description. Optional; missing means "don't touch the setting".
*/
showGameCopyright?: boolean;
createdAt: string;
}
+23 -7
View File
@@ -14,7 +14,6 @@ export type { TitleFormatConfig } from "@engine/types";
export interface SettingsData {
appLanguage: SupportedLanguage;
defaultOutputLanguage: SupportedLanguage;
defaultGenres: GenreId[];
theme: "dark" | "light";
showCharCount: boolean;
compactTagDisplay: boolean;
@@ -26,6 +25,15 @@ export interface SettingsData {
showCopyright: boolean;
showUsagePolicy: boolean;
showSponsorCredit: boolean;
/**
* v0.21.0 opt-in toggle. When true and the current editor has a
* non-empty `pubDevName`, the description emits a single
* `© {publisher}. All rights reserved.` line right after the Store
* Links block. Used by creators covering games whose dev/publisher
* contractually requires a copyright credit in the description.
* Default off — see the help text in `settings.showGameCopyright.help`.
*/
showGameCopyright: boolean;
/**
* When true, the description renders a "🤝 SPONSORS & PARTNERS" block
* containing the active profile's `thirdPartyAdText`. Off by default
@@ -36,6 +44,13 @@ export interface SettingsData {
* effect).
*/
showThirdPartyAds: boolean;
/**
* v0.24.0 opt-in toggle. When true, descriptions generated in a
* language outside the trusted set (English / Vietnamese, which are
* human-reviewed) get an AI-translation disclaimer block. Off by
* default so existing users don't see a new block after upgrade.
*/
showTranslationQuality: boolean;
/**
* When true, Output + Batch render a generated pinned-comment
* template alongside the user's freeform pinnedComment field. Default
@@ -98,7 +113,6 @@ function detectBrowserLanguage(): SupportedLanguage {
export const initialSettings: SettingsData = {
appLanguage: detectBrowserLanguage(),
defaultOutputLanguage: detectBrowserLanguage(),
defaultGenres: ["action"],
theme: "dark",
showCharCount: true,
compactTagDisplay: false,
@@ -110,7 +124,9 @@ export const initialSettings: SettingsData = {
showCopyright: true,
showUsagePolicy: false,
showSponsorCredit: false,
showGameCopyright: false,
showThirdPartyAds: false,
showTranslationQuality: false,
showPinnedCommentTemplate: false,
pinnedCommentIncludeAskNextGame: true,
pinnedCommentIncludeGenrePlaylist: false,
@@ -147,12 +163,12 @@ export function healSettings(raw: unknown): SettingsData {
const incoming = { ...(raw as Record<string, unknown>) };
// v1 → v2 shape upgrade: `defaultGenre: GenreId` became
// `defaultGenres: GenreId[]`.
if (typeof incoming.defaultGenre === "string" && !Array.isArray(incoming.defaultGenres)) {
incoming.defaultGenres = [incoming.defaultGenre];
}
// v0.22.0: `defaultGenre` and `defaultGenres` were both removed from
// Settings — the editor never had a way to read them. Strip both
// legacy keys so the spread on the way out doesn't leak them back
// into the store as untyped dead state.
delete incoming.defaultGenre;
delete incoming.defaultGenres;
// v2 → v3: `autoSaveDraft` removed (the draft autosaves unconditionally
// via the editor store's persist middleware, so the toggle was dead).
+2 -5
View File
@@ -1,6 +1,5 @@
import { create } from "zustand";
import { persist, createJSONStorage } from "zustand/middleware";
import type { GenreId } from "@config/genres";
import type { SupportedLanguage } from "@engine/types";
import { saveSettings, loadSettings } from "@utils/storage-adapter";
import {
@@ -17,7 +16,6 @@ interface SettingsState extends SettingsData {
setTheme: (theme: "dark" | "light") => void;
setAppLanguage: (lang: SupportedLanguage) => void;
setDefaultOutputLanguage: (lang: SupportedLanguage) => void;
setDefaultGenres: (genres: GenreId[]) => void;
setSetting: <K extends keyof SettingsData>(key: K, value: SettingsData[K]) => void;
setTitleFormat: (patch: Partial<TitleFormatConfig>) => void;
toggleEditorAccordion: (id: string) => void;
@@ -40,8 +38,6 @@ export const useSettingsStore = create<SettingsState>()(
setDefaultOutputLanguage: (lang) => set({ defaultOutputLanguage: lang }),
setDefaultGenres: (genres) => set({ defaultGenres: genres }),
setSetting: (key, value) => set({ [key]: value }),
setTitleFormat: (patch) =>
@@ -98,7 +94,6 @@ export function extractData(state: SettingsData): SettingsData {
return {
appLanguage: state.appLanguage,
defaultOutputLanguage: state.defaultOutputLanguage,
defaultGenres: state.defaultGenres,
theme: state.theme,
showCharCount: state.showCharCount,
compactTagDisplay: state.compactTagDisplay,
@@ -110,7 +105,9 @@ export function extractData(state: SettingsData): SettingsData {
showCopyright: state.showCopyright,
showUsagePolicy: state.showUsagePolicy,
showSponsorCredit: state.showSponsorCredit,
showGameCopyright: state.showGameCopyright,
showThirdPartyAds: state.showThirdPartyAds,
showTranslationQuality: state.showTranslationQuality,
showPinnedCommentTemplate: state.showPinnedCommentTemplate,
pinnedCommentIncludeAskNextGame: state.pinnedCommentIncludeAskNextGame,
pinnedCommentIncludeGenrePlaylist: state.pinnedCommentIncludeGenrePlaylist,
+5 -2
View File
@@ -33,7 +33,8 @@ export type ExportType =
| "preset"
| "template"
| "settings"
| "history";
| "history"
| "social";
/** Versioned wrapper written by every v0.15+ export. */
export interface ExportEnvelope<T = unknown> {
@@ -62,6 +63,7 @@ export const SCHEMA_VERSIONS: Record<ExportType, number> = {
template: 1, // v0.11 vendor-coercion
settings: 10, // matches settings-store persist version
history: 2, // v0.5 added `genres[]` to HistoryEntry
social: 1, // v0.24.0 cross-post caption bundle (generated captions)
};
/**
@@ -145,7 +147,8 @@ function isExportType(value: string): value is ExportType {
value === "preset" ||
value === "template" ||
value === "settings" ||
value === "history"
value === "history" ||
value === "social"
);
}
+4 -1
View File
@@ -1 +1,4 @@
export const IS_TAURI = "__TAURI_INTERNALS__" in window;
// The `typeof` guard keeps this module importable outside a browser
// context (vitest's node environment) — no `window` means no Tauri.
export const IS_TAURI =
typeof window !== "undefined" && "__TAURI_INTERNALS__" in window;
+17
View File
@@ -79,3 +79,20 @@ export function validateRamValue(raw: string): RigValidationIssue | null {
}
return null;
}
/**
* Pick the right validator for a `composite_dropdown` rig field by id.
*
* v0.24.0 bug fix: the editor previously ran {@link validateRamValue}
* for EVERY composite field, so selecting an OS (also a composite) ran
* the RAM validator — `"windows||"` parses as size=`"windows"`, ddr=`""`,
* tripping `ramMissingDdr` ("Pick a DDR generation.") on the OS field.
* Only RAM has DDR/size semantics; the OS composite has no validator, so
* it (and any future composite) returns `null` until one is added here.
*/
export function validateCompositeField(
fieldId: string,
raw: string,
): RigValidationIssue | null {
return fieldId === "ram" ? validateRamValue(raw) : null;
}
@@ -0,0 +1,36 @@
import { describe, it, expect } from "vitest";
import { CONTENT_WARNING_GROUPS } from "@config/content-warning-groups";
import { CONTENT_WARNINGS } from "@engine/types";
/**
* Parity guard between the engine's flat CONTENT_WARNINGS union and the
* editor's CONTENT_WARNING_GROUPS. TypeScript already rejects a group item
* that isn't a valid ContentWarning, but nothing else catches an id added
* to the engine list and forgotten from every group — it would silently
* never appear in the UI. No hard counts asserted on purpose: the guard
* shouldn't need touching when warnings are added correctly.
*/
describe("CONTENT_WARNING_GROUPS ↔ CONTENT_WARNINGS parity", () => {
const grouped = CONTENT_WARNING_GROUPS.flatMap((g) => g.items);
it("contains no duplicate ids across groups", () => {
const seen = new Set<string>();
const dupes = grouped.filter((id) => {
if (seen.has(id)) return true;
seen.add(id);
return false;
});
expect(dupes).toEqual([]);
});
it("covers every engine warning id exactly (none missing, none extra)", () => {
const missingFromGroups = CONTENT_WARNINGS.filter(
(id) => !grouped.includes(id),
);
const unknownInGroups = grouped.filter(
(id) => !(CONTENT_WARNINGS as readonly string[]).includes(id),
);
expect(missingFromGroups).toEqual([]);
expect(unknownInGroups).toEqual([]);
});
});
+208 -5
View File
@@ -653,7 +653,13 @@ describe("buildDescription", () => {
const t = createMockT("en");
const result = buildDescription(makeInput(), t, { showCopyright: true });
const year = new Date().getFullYear();
expect(result).toContain(`© ${year} TestChannel. All rights reserved.`);
// v0.21.0 reworded the line to disambiguate the channel's video
// copyright from the game's IP. The header still leads with the
// same `© YYYY ChannelName` and the line still contains "All rights
// reserved on this recording" so the downstream checks (lines
// 664/670/694) keep working.
expect(result).toContain(`© ${year} TestChannel — Video content only.`);
expect(result).toContain("All rights reserved on this recording.");
});
it("skips copyright when channelName is blank even if toggle is on", () => {
@@ -1204,32 +1210,126 @@ describe("buildDescription — v0.7 content fields (legacy)", () => {
expect(result).toContain("• Có jumpscare");
});
it("censors YouTube-flag-prone Vietnamese terms with asterisks (v0.11)", () => {
it("censors YouTube-flag-prone Vietnamese terms with asterisks + euphemisms (v0.11 / v0.21.0)", () => {
const t = createMockT("vi");
const tEn = createMockT("en");
const result = buildDescription(
makeInput({
language: "vi",
contentWarnings: ["sexual_assault", "self_harm", "detailed_killing", "child_harm"],
contentWarnings: [
"sexual_assault",
"self_harm",
"detailed_killing",
"child_harm",
"war_violence",
"police_violence",
],
}),
t,
{ tEn },
);
// Asterisk-masked terms ARE present
// Asterisk-masked terms ARE present (kept from v0.11 baseline)
expect(result).toContain("x*m h*i");
expect(result).toContain("t* tử");
expect(result).toContain("g*ết người");
expect(result).toContain("ng*y h*i");
// v0.21.0: `child_harm` switched from the malformed asterisk pattern
// (`b* ng*y h*i`) to an unambiguous euphemism (`chịu tác động`).
expect(result).toContain("chịu tác động");
// v0.21.0: `bạo lực` → `tác động vật lý` (euphemism) across
// `war_violence`, `police_violence`, `bullying_themes`.
expect(result).toContain("Tác động vật lý liên quan chiến tranh");
expect(result).toContain("Tác động vật lý từ cảnh sát / chính quyền");
// Uncensored terms are NOT present
expect(result).not.toContain("xâm hại");
expect(result).not.toContain("tự tử");
expect(result).not.toContain("giết người");
expect(result).not.toContain("Bạo lực liên quan chiến tranh");
expect(result).not.toContain("Bạo lực từ cảnh sát");
// EN side stays clinical (no censoring needed)
expect(result).toContain("Sexual assault references");
expect(result).toContain("Self-harm / suicide themes");
});
});
describe("buildDescription — v0.25.0 dialogue / internet / suggestive warnings", () => {
it("renders dialogue/language warnings (en)", () => {
const t = createMockT("en");
const result = buildDescription(
makeInput({ contentWarnings: ["profanity_frequent", "drug_references"] }),
t,
);
expect(result).toContain("▸ ⚠️ CONTENT WARNINGS");
expect(result).toContain("• Frequent profanity / strong language");
expect(result).toContain("• Drug / alcohol references in dialogue");
});
it("renders internet/digital-life warnings (en)", () => {
const t = createMockT("en");
const result = buildDescription(
makeInput({ contentWarnings: ["cyberbullying", "loot_boxes"] }),
t,
);
expect(result).toContain("• Cyberbullying / online harassment");
expect(result).toContain("• Loot boxes / gacha mechanics");
});
it("renders color phobias without dragging in siblings (en)", () => {
const t = createMockT("en");
const result = buildDescription(
makeInput({ contentWarnings: ["erythrophobia"] }),
t,
);
expect(result).toContain("• Red / all-red scenes (erythrophobia)");
expect(result).not.toContain("(leukophobia)");
});
it("renders bilingual EN · VI for a new suggestive-imagery warning", () => {
const t = createMockT("vi");
const tEn = createMockT("en");
const result = buildDescription(
makeInput({ language: "vi", contentWarnings: ["sexualized_characters"] }),
t,
{ tEn },
);
expect(result).toContain(
"• Sexualized character designs · Tạo hình nhân vật bị t*nh d*c hóa",
);
});
it("masks YouTube-flag-prone Vietnamese terms on the new suggestive warnings", () => {
const t = createMockT("vi");
const tEn = createMockT("en");
const result = buildDescription(
makeInput({
language: "vi",
contentWarnings: [
"sexual_innuendo",
"partial_nudity",
"sexualized_characters",
],
}),
t,
{ tEn },
);
// Masked forms present (v0.21.0 asterisk precedent)
expect(result).toContain("Lời thoại ẩn ý t*nh d*c");
expect(result).toContain("Kh*a th*n một phần");
expect(result).toContain("t*nh d*c hóa");
// Unmasked flag-prone terms absent
expect(result).not.toContain("tình dục");
expect(result).not.toContain("Khỏa thân");
});
it("renders the educational/PSA-purpose disclosure (en)", () => {
const t = createMockT("en");
const result = buildDescription(
makeInput({ contentWarnings: ["educational_purpose_only"] }),
t,
);
expect(result).toContain("• Educational / PSA-purpose game");
});
});
describe("buildDescription — gacha_quest video type (v0.9)", () => {
it("dispatches to the per-quest-type intro for main_story", () => {
const t = createMockT("en");
@@ -1295,6 +1395,109 @@ describe("buildDescription — gacha_quest video type (v0.9)", () => {
});
});
describe("video style era line (v0.22.0)", () => {
it("renders nothing when videoStyleEra is empty", () => {
const t = createMockT("en");
const result = buildDescription(makeInput(), t);
expect(result).not.toMatch(/Edited in /);
});
it("combines era + rig.video_editor into a single style line", () => {
const t = createMockT("en");
const result = buildDescription(
makeInput({
videoStyleEra: "1990s",
rig: { video_editor: "davinci_resolve_studio|19.1" },
}),
t,
);
expect(result).toContain(
"Edited in 1990s VHS style using DaVinci Resolve Studio 19.1",
);
});
it("falls back to the editor-less template when rig.video_editor is missing", () => {
const t = createMockT("en");
const result = buildDescription(
makeInput({ videoStyleEra: "cinematic" }),
t,
);
expect(result).toContain("Edited in cinematic style");
expect(result).not.toContain(" using ");
});
it("still renders the style line when skipGraphicsSettings is true", () => {
// 2D / pixel-art creators path. The whole graphics block is
// suppressed but the style credit survives as a standalone section.
const t = createMockT("en");
const result = buildDescription(
makeInput({
skipGraphicsSettings: true,
videoStyleEra: "retro",
rig: { video_editor: "capcut|" },
}),
t,
);
expect(result).toContain("VIDEO SETTINGS");
expect(result).toContain("Edited in retro style using CapCut");
// Graphics-specific lines should not appear in skip mode.
expect(result).not.toContain("Video: ");
expect(result).not.toContain("In-game Setting: ");
});
it("silently drops an unrecognised era id (defensive)", () => {
const t = createMockT("en");
const result = buildDescription(
// Force a value that's not in VIDEO_STYLE_ERAS via type-cast.
makeInput({ videoStyleEra: "bogus_era" as never }),
t,
);
expect(result).not.toMatch(/Edited in /);
});
});
describe("buildDescription — translation quality notice (v0.24.0)", () => {
it("renders the bilingual notice for a non-trusted output language when enabled", () => {
const t = createMockT("ja");
const tEn = createMockT("en");
const result = buildDescription(makeInput({ language: "ja" }), t, {
showTranslationQuality: true,
tEn,
});
expect(result).toContain("ABOUT THIS TRANSLATION"); // English header via tEn
expect(result).toContain("翻訳について"); // Japanese header
expect(result).toContain("• Accuracy isn't guaranteed 100%"); // English caveat
expect(result).toContain("正確性は100%保証されません"); // Japanese caveat
});
it("is hidden for trusted output languages (en / vi) even when enabled", () => {
const tEn = createMockT("en");
const en = buildDescription(makeInput({ language: "en" }), createMockT("en"), {
showTranslationQuality: true,
tEn,
});
expect(en).not.toContain("ABOUT THIS TRANSLATION");
const vi = buildDescription(makeInput({ language: "vi" }), createMockT("vi"), {
showTranslationQuality: true,
tEn,
});
expect(vi).not.toContain("VỀ BẢN DỊCH");
expect(vi).not.toContain("ABOUT THIS TRANSLATION");
});
it("is hidden when the toggle is off", () => {
const t = createMockT("ja");
const tEn = createMockT("en");
const result = buildDescription(makeInput({ language: "ja" }), t, {
showTranslationQuality: false,
tEn,
});
expect(result).not.toContain("ABOUT THIS TRANSLATION");
expect(result).not.toContain("翻訳について");
});
});
describe("checkDescriptionWarning", () => {
it("returns null for description under limit", () => {
expect(checkDescriptionWarning("Short description")).toBeNull();
+86
View File
@@ -92,4 +92,90 @@ describe("formatRigValue", () => {
expect(formatRigValue("ram", "32GB DDR5-6000")).toBe("32GB DDR5-6000");
});
});
describe("composite_dropdown (OS, v0.22.0)", () => {
it("formats name + version + edition", () => {
expect(formatRigValue("os", "windows|11|pro")).toBe("Windows 11 Pro");
});
it("formats name + version when edition is empty", () => {
expect(formatRigValue("os", "windows|11|")).toBe("Windows 11");
});
it("formats name + edition when version is empty", () => {
expect(formatRigValue("os", "windows||home")).toBe("Windows Home");
});
it("falls back to raw values when name is empty (v0.23.0 cascading change)", () => {
// Defensive — pre-v0.23 static OS_EDITION_OPTIONS resolved
// "enterprise" → "Enterprise" regardless of name. Post-v0.23 the
// option list cascades from name; an empty name means no option
// list applies, so the raw stored values pass through verbatim.
// A real editor session always sets name first, so this is purely
// a hand-edited / malformed-blob guard.
expect(formatRigValue("os", "|10|enterprise")).toBe("10 enterprise");
});
it("returns empty string when nothing is set", () => {
expect(formatRigValue("os", "")).toBe("");
expect(formatRigValue("os", "||")).toBe("");
});
it("includes an OS entry in RIG_FIELDS as the first field", () => {
expect(RIG_FIELDS[0]?.id).toBe("os");
expect(RIG_FIELDS[0]?.type).toBe("composite_dropdown");
});
});
describe("composite_dropdown (OS cascading, v0.23.0)", () => {
it("renders macOS version-only — third slot hidden", () => {
expect(formatRigValue("os", "macos|15 Sequoia|")).toBe("macOS 15 Sequoia");
});
it("renders macOS Tahoe (the 2025 year-aligned jump)", () => {
expect(formatRigValue("os", "macos|26 Tahoe|")).toBe("macOS 26 Tahoe");
});
it("renders Linux distro + version with three visible parts", () => {
expect(formatRigValue("os", "linux|ubuntu|22.04 LTS")).toBe("Linux Ubuntu 22.04 LTS");
});
it("renders Linux rolling distros (Arch) with the placeholder version", () => {
expect(formatRigValue("os", "linux|arch|rolling")).toBe("Linux Arch rolling");
});
it("renders Linux Fedora with a numeric version", () => {
expect(formatRigValue("os", "linux|fedora|40")).toBe("Linux Fedora 40");
});
it("renders just distro name when version slot is empty", () => {
expect(formatRigValue("os", "linux|debian|")).toBe("Linux Debian");
});
it("falls back gracefully when macOS edition slot carries stale data", () => {
// Hand-edited / future-downgrade case: macOS with a third
// segment. Engine should skip it (hiddenWhen) rather than
// surfacing "macOS 15 Sequoia pro".
expect(formatRigValue("os", "macos|15 Sequoia|pro")).toBe("macOS 15 Sequoia");
});
it("preserves v0.22.0 Windows storage shape (backward-compat guard)", () => {
// Pre-v0.23 stored values must round-trip identically — this
// case validates the editor-store v13/v14 doesn't need a
// dedicated OS migration step.
expect(formatRigValue("os", "windows|11|pro")).toBe("Windows 11 Pro");
expect(formatRigValue("os", "windows|10|enterprise")).toBe("Windows 10 Enterprise");
});
});
describe("RAM composite — regression guard for v0.23.0 type widening", () => {
it("still resolves static option arrays after CompositePart.options widened to a union", () => {
// The v0.23.0 change made CompositePart.options accept either a
// static array (RAM-style) or a function (OS cascading). RAM uses
// the static form — re-running its formatter ensures the union
// didn't break the simpler path.
expect(formatRigValue("ram", "16|DDR5")).toBe("16 GB DDR5");
expect(formatRigValue("ram", "custom:48|DDR5")).toBe("48 GB DDR5");
});
});
});
+182
View File
@@ -0,0 +1,182 @@
import { describe, it, expect } from "vitest";
import {
buildSocialPost,
buildAllSocialPosts,
} from "@engine/social-post-builder";
import { SOCIAL_PLATFORMS } from "@config/social-platforms";
import { createMockT } from "../helpers/mock-t";
import type { GeneratorInput } from "@engine/types";
function makeInput(overrides: Partial<GeneratorInput> = {}): GeneratorInput {
return {
videoType: "full",
language: "en",
genres: ["action"],
gameName: "Elden Ring",
channelName: "TestChannel",
platform: "steam",
spoilerWarning: false,
matureWarning: false,
storeLinks: {},
social: {},
rig: {},
...overrides,
};
}
const baseOpts = {
charLimit: 4000,
popularHashtags: ["#fyp", "#gaming"],
};
describe("buildSocialPost", () => {
it("includes the title and the derived + popular hashtags", () => {
const t = createMockT("en");
const { text } = buildSocialPost(makeInput(), t, baseOpts);
expect(text).toContain("Elden Ring");
expect(text).toContain("#EldenRing");
expect(text).toContain("#GameplayNoCommentary");
expect(text).toContain("#action");
expect(text).toContain("#fyp");
expect(text).toContain("#gaming");
});
it("suppresses the quality badge (short-form title)", () => {
const t = createMockT("en");
const { text } = buildSocialPost(
makeInput({ resolution: "4K", fps: "120" }),
t,
baseOpts,
);
expect(text).not.toContain("[4K");
expect(text).not.toContain("120FPS");
});
it("sanitizes hashtags for special characters and snake_case genres", () => {
const t = createMockT("en");
const { text } = buildSocialPost(
makeInput({ gameName: "S.T.A.L.K.E.R. 2", genres: ["visual_novel"] }),
t,
baseOpts,
);
expect(text).toContain("#STALKER2");
expect(text).toContain("#visualnovel");
});
it("uses only the first genre for the hashtag", () => {
const t = createMockT("en");
const { text } = buildSocialPost(
makeInput({ genres: ["hack_slash", "action"] }),
t,
baseOpts,
);
expect(text).toContain("#hackslash");
expect(text).not.toContain("#action");
});
it("dedupes a popular hashtag that matches a derived one (case-insensitive)", () => {
const t = createMockT("en");
const { text } = buildSocialPost(makeInput({ genres: ["action"] }), t, {
charLimit: 4000,
popularHashtags: ["#Action", "#gaming"],
});
const matches = text.match(/#action/gi) ?? [];
expect(matches).toHaveLength(1);
});
it("includes the MY RIG block when rig fields are set", () => {
const t = createMockT("en");
const { text } = buildSocialPost(
makeInput({ rig: { ram: "16|DDR5", cpu: "Ryzen 9 7950X" } }),
t,
baseOpts,
);
expect(text).toContain("RAM: 16 GB DDR5");
expect(text).toContain("CPU: Ryzen 9 7950X");
});
it("omits the rig block when no rig fields are set", () => {
const t = createMockT("en");
const { text } = buildSocialPost(makeInput({ rig: {} }), t, baseOpts);
expect(text).not.toContain("MY RIG");
});
it("renders content warnings bilingually (vi + tEn)", () => {
const t = createMockT("vi");
const tEn = createMockT("en");
const { text } = buildSocialPost(
makeInput({ language: "vi", contentWarnings: ["flashing_lights"] }),
t,
{ ...baseOpts, tEn },
);
// `• EN · LOCAL` bullet — English label + middot separator.
expect(text).toContain("·");
expect(text.toLowerCase()).toContain("flashing");
});
it("adds the copyright line only when enabled and channelName is set", () => {
const t = createMockT("en");
const on = buildSocialPost(makeInput(), t, {
...baseOpts,
showCopyright: true,
});
expect(on.text).toContain("TestChannel");
const off = buildSocialPost(makeInput(), t, {
...baseOpts,
showCopyright: false,
});
expect(off.text).not.toContain("TestChannel");
});
it("adds the sponsor thanks only when enabled and both fields are set", () => {
const t = createMockT("en");
const on = buildSocialPost(
makeInput({ sponsorName: "Ubisoft", sponsorPlatform: "Steam" }),
t,
{ ...baseOpts, showSponsorCredit: true },
);
expect(on.text).toContain("Ubisoft");
const partial = buildSocialPost(
makeInput({ sponsorName: "Ubisoft", sponsorPlatform: "" }),
t,
{ ...baseOpts, showSponsorCredit: true },
);
expect(partial.text).not.toContain("Thanks to Ubisoft");
});
it("drops optional blocks (warnings first) to fit a tight limit, keeping title + hashtags", () => {
const t = createMockT("en");
const tEn = createMockT("en");
const result = buildSocialPost(
makeInput({
contentWarnings: ["flashing_lights", "loud_noises"],
rig: { cpu: "Ryzen 9 7950X" },
}),
t,
{ charLimit: 120, popularHashtags: ["#fyp"], showCopyright: true, tEn },
);
expect(result.droppedBlocks[0]).toBe("warnings");
expect(result.text).toContain("Elden Ring");
expect(result.text).toContain("#EldenRing");
});
it("flags isOver when even the minimal caption exceeds the limit", () => {
const t = createMockT("en");
const { isOver } = buildSocialPost(makeInput(), t, {
charLimit: 5,
popularHashtags: [],
});
expect(isOver).toBe(true);
});
});
describe("buildAllSocialPosts", () => {
it("returns one caption per platform, each carrying the game hashtag", () => {
const t = createMockT("en");
const all = buildAllSocialPosts(makeInput(), t, SOCIAL_PLATFORMS, {});
for (const p of SOCIAL_PLATFORMS) {
expect(all[p.id]).toBeDefined();
expect(all[p.id]!.text).toContain("#EldenRing");
}
});
});
+58
View File
@@ -3,6 +3,7 @@ import {
generateTags,
formatTagString,
tagFriendlyGameName,
sanitizeForTag,
} from "@engine/tag-generator";
import type { GeneratorInput } from "@engine/types";
@@ -262,3 +263,60 @@ describe("generateTags — long game names (regression for v0.7 silent drop)", (
expect(tags.some((t) => t.startsWith("Platinum"))).toBe(true);
});
});
describe("sanitizeForTag — comma/semicolon/pipe stripping (v0.20.0)", () => {
it("strips a comma between words and collapses the resulting whitespace", () => {
expect(sanitizeForTag("Hello, World")).toBe("Hello World");
});
it("strips semicolons", () => {
expect(sanitizeForTag("Game; Title")).toBe("Game Title");
});
it("strips pipes", () => {
expect(sanitizeForTag("Game | DLC")).toBe("Game DLC");
});
it("is idempotent", () => {
const once = sanitizeForTag("Hello, World");
expect(sanitizeForTag(once)).toBe(once);
});
});
describe("generateTags — game names with tag-delimiter punctuation (v0.20.0)", () => {
it("emits the bare name with comma stripped and no comma-bearing tags", () => {
const tags = generateTags(makeInput({ gameName: "Hello, World" }));
expect(tags).toContain("Hello World");
expect(tags).not.toContain("Hello, World");
expect(tags.every((t) => !t.includes(","))).toBe(true);
});
it("emits clean composite tags for comma-bearing names", () => {
const tags = generateTags(
makeInput({ gameName: "Hello, World", genres: ["action"] }),
);
expect(tags).toContain("Hello World gameplay");
expect(tags.some((t) => t === "Hello World action")).toBe(true);
});
it("strips semicolons inside the game name path", () => {
const tags = generateTags(
makeInput({ gameName: "Crypt of the NecroDancer; Reaper Edition" }),
);
// Semicolon stripped, edition qualifier still peeled off, no semicolon in any tag.
expect(tags.every((t) => !t.includes(";"))).toBe(true);
expect(tags.some((t) => t.toLowerCase().includes("necrodancer"))).toBe(true);
});
it("strips pipes inside the game name path", () => {
const tags = generateTags(makeInput({ gameName: "Game | DLC" }));
expect(tags.every((t) => !t.includes("|"))).toBe(true);
expect(tags).toContain("Game DLC");
});
});
describe("tagFriendlyGameName — punctuation sanitization (v0.20.0)", () => {
it("strips a comma in addition to truncating", () => {
expect(tagFriendlyGameName("Hello, World", 30)).toBe("Hello World");
});
});
+47
View File
@@ -0,0 +1,47 @@
import { describe, it, expect } from "vitest";
import i18n, { ensureLanguagesLoaded } from "@i18n/index";
import viTemplates from "../../src/i18n/locales/vi/templates.json";
/**
* v0.26 lazy-loaded locales: `en` ships in the main bundle (the engine's
* bilingual `tEn` fallback must work synchronously), every other language
* is fetched on demand via dynamic import. These tests pin both halves of
* that contract against the real i18next singleton.
*
* Order matters: the "not bundled at import time" assertion must run
* before anything calls `ensureLanguagesLoaded(["vi"])`.
*/
describe("lazy locale loading", () => {
it("bundles en eagerly and synchronously", () => {
expect(i18n.isInitialized).toBe(true);
expect(i18n.hasResourceBundle("en", "ui")).toBe(true);
expect(i18n.hasResourceBundle("en", "templates")).toBe(true);
expect(i18n.getFixedT("en", "templates")("title.suffix")).toBe(
"Gameplay No Commentary",
);
});
it("does not bundle non-English languages at import time", () => {
expect(i18n.hasResourceBundle("vi", "ui")).toBe(false);
expect(i18n.hasResourceBundle("vi", "templates")).toBe(false);
});
it("loads a language on demand and serves its real strings", async () => {
await ensureLanguagesLoaded(["vi"]);
expect(i18n.hasResourceBundle("vi", "ui")).toBe(true);
expect(i18n.hasResourceBundle("vi", "templates")).toBe(true);
const t = i18n.getFixedT("vi", "templates");
// Compare against the JSON on disk, not a hardcoded copy, so locale
// edits can't silently invalidate the test.
expect(t("title.videoType.part", { partNumber: "2" })).toBe(
viTemplates.title.videoType.part.replace("{{partNumber}}", "2"),
);
});
it("is idempotent for already-loaded and bundled languages", async () => {
await expect(
ensureLanguagesLoaded(["vi", "en"]),
).resolves.toBeUndefined();
expect(i18n.hasResourceBundle("vi", "templates")).toBe(true);
});
});
+4 -10
View File
@@ -16,7 +16,6 @@ describe("healSettings", () => {
expect(healed.showQualityBadge).toBe(true);
expect(healed.showCopyright).toBe(true);
expect(healed.showUsagePolicy).toBe(false);
expect(healed.defaultGenres).toEqual(["action"]);
expect(healed.titleFormat).toEqual({
badgePosition: "middle",
separator: "emDash",
@@ -54,26 +53,19 @@ describe("healSettings", () => {
expect(healed.autoSaveDraft).toBeUndefined();
});
it("upgrades the legacy `defaultGenre: string` shape to `defaultGenres: string[]`", () => {
const healed = healSettings({ defaultGenre: "rpg" }) as Record<string, unknown>;
expect(healed.defaultGenre).toBeUndefined();
expect(healed.defaultGenres).toEqual(["rpg"]);
});
it("keeps explicit `defaultGenres` when both legacy and new keys are present", () => {
it("strips both legacy `defaultGenre` (v1) and `defaultGenres` (v2-v0.21) — both removed in v0.22.0", () => {
const healed = healSettings({
defaultGenre: "rpg",
defaultGenres: ["horror", "action"],
}) as Record<string, unknown>;
expect(healed.defaultGenre).toBeUndefined();
expect(healed.defaultGenres).toEqual(["horror", "action"]);
expect(healed.defaultGenres).toBeUndefined();
});
it("preserves all keys when given a complete payload", () => {
const complete = {
appLanguage: "vi" as const,
defaultOutputLanguage: "en" as const,
defaultGenres: ["rpg" as const],
theme: "light" as const,
showCharCount: false,
compactTagDisplay: true,
@@ -83,9 +75,11 @@ describe("healSettings", () => {
hashtagCount: 2,
showQualityBadge: false,
showCopyright: false,
showGameCopyright: false,
showUsagePolicy: true,
showSponsorCredit: true,
showThirdPartyAds: false,
showTranslationQuality: true,
titleFormat: {
badgePosition: "prefix" as const,
separator: "hyphen" as const,
+80
View File
@@ -0,0 +1,80 @@
import { describe, it, expect } from "vitest";
import {
validateRamValue,
validateGpuValue,
validateCompositeField,
} from "@utils/rig-validation";
describe("validateRamValue", () => {
it("flags a size with no DDR generation", () => {
expect(validateRamValue("32|")?.messageKey).toBe(
"editor.validation.ramMissingDdr",
);
});
it("flags a DDR generation with no size", () => {
expect(validateRamValue("|DDR5")?.messageKey).toBe(
"editor.validation.ramMissingSize",
);
});
it("flags an empty custom size", () => {
expect(validateRamValue("custom:|DDR5")?.messageKey).toBe(
"editor.validation.ramCustomEmpty",
);
});
it("passes a complete size + DDR", () => {
expect(validateRamValue("16|DDR5")).toBeNull();
});
it("passes a fully blank value (deliberate skip)", () => {
expect(validateRamValue("")).toBeNull();
});
it("passes legacy pipeless free-text", () => {
expect(validateRamValue("32GB DDR5-6000")).toBeNull();
});
});
describe("validateGpuValue", () => {
it("flags a brand with no series", () => {
expect(validateGpuValue("nvidia||")?.messageKey).toBe(
"editor.validation.gpuMissingSeries",
);
});
it("flags an empty custom GPU", () => {
expect(validateGpuValue("custom||")?.messageKey).toBe(
"editor.validation.gpuCustomEmpty",
);
});
it("passes a complete brand + series + model", () => {
expect(validateGpuValue("nvidia|rtx_40|RTX 4090")).toBeNull();
});
});
describe("validateCompositeField (v0.24.0 — per-field validator selection)", () => {
it("validates the RAM composite", () => {
expect(validateCompositeField("ram", "32|")?.messageKey).toBe(
"editor.validation.ramMissingDdr",
);
expect(validateCompositeField("ram", "16|DDR5")).toBeNull();
});
it("does NOT run the RAM validator on the OS composite (the bug)", () => {
// Regression guard: "windows||" (OS name selected, no version) parses
// as size="windows", ddr="" under the RAM parser → previously tripped
// "Pick a DDR generation." on the OS field. The OS composite has no
// validator, so every shape must return null.
expect(validateCompositeField("os", "windows||")).toBeNull();
expect(validateCompositeField("os", "macos|15 Sequoia|")).toBeNull();
expect(validateCompositeField("os", "linux|ubuntu|22.04 LTS")).toBeNull();
expect(validateCompositeField("os", "")).toBeNull();
});
it("returns null for any unknown composite id", () => {
expect(validateCompositeField("future_field", "a|b")).toBeNull();
});
});
+1 -1
View File
@@ -26,7 +26,7 @@ export default defineConfig({
manualChunks: {
react: ["react", "react-dom"],
router: ["react-router-dom"],
i18n: ["i18next", "react-i18next"],
i18n: ["i18next", "react-i18next", "i18next-resources-to-backend"],
},
},
},