Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3783c2b1a5 | ||
|
|
6796c78b7e | ||
|
|
3019be0610 | ||
|
|
6ba2acfd7e |
No files matched your search
@@ -2,6 +2,62 @@
|
||||
|
||||
All notable changes to YTDescGen ship as tagged releases on `main`.
|
||||
|
||||
## 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
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "yt-desc-gen",
|
||||
"version": "0.21.0",
|
||||
"version": "0.23.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "yt-desc-gen",
|
||||
"version": "0.21.0",
|
||||
"version": "0.23.0",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@tauri-apps/api": "^2.11.0",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "yt-desc-gen",
|
||||
"version": "0.21.0",
|
||||
"version": "0.23.0",
|
||||
"private": true,
|
||||
"license": "Apache-2.0",
|
||||
"type": "module",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "yt-desc-gen"
|
||||
version = "0.21.0"
|
||||
version = "0.23.0"
|
||||
description = "YouTube Gameplay Description Generator"
|
||||
authors = ["poli0981"]
|
||||
edition = "2021"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/tauri-apps/tauri/dev/crates/tauri-cli/schema.json",
|
||||
"productName": "YTDescGen",
|
||||
"version": "0.21.0",
|
||||
"version": "0.23.0",
|
||||
"identifier": "com.skullmute.ytdescgen",
|
||||
"build": {
|
||||
"beforeBuildCommand": "npm run build",
|
||||
|
||||
@@ -6,6 +6,8 @@ import {
|
||||
RIG_FIELDS,
|
||||
parseCascadingValue,
|
||||
parseCompositeValue,
|
||||
resolveCompositeOptions,
|
||||
resolveCompositeLabelKey,
|
||||
type RigField,
|
||||
type CompositePart,
|
||||
} from "@config/rig-fields";
|
||||
@@ -141,17 +143,64 @@ export function RigEditor() {
|
||||
(_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 +216,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 +236,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) => {
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -39,9 +39,36 @@ 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",
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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
@@ -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;
|
||||
});
|
||||
|
||||
|
||||
@@ -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)
|
||||
);
|
||||
}
|
||||
@@ -180,6 +180,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
|
||||
@@ -358,6 +390,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[] = [];
|
||||
|
||||
@@ -389,9 +429,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
|
||||
|
||||
+37
-1
@@ -265,9 +265,37 @@ 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",
|
||||
// Phobias
|
||||
"jump_scares",
|
||||
"acrophobia",
|
||||
@@ -554,6 +582,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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -9,11 +9,9 @@
|
||||
"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,10 +110,12 @@
|
||||
"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", "social_phenomena", "sensitive", "playstyle", "horror_specific", "gameplay_disclosure"],
|
||||
"editor.contentWarningGroups": ["spoilers", "photosensitive", "audio", "phobias", "mental_health", "social_phenomena", "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",
|
||||
"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",
|
||||
@@ -131,6 +132,10 @@
|
||||
"eye_horror", "body_horror", "face_horror", "cosmic_horror", "extreme_gore", "decay_rot", "mutilation", "liminal_spaces", "analog_horror", "unreality_themes", "pursuit_chase", "entity_horror",
|
||||
"mods_used", "cheats_enabled", "glitch_exploits", "assisted_run"
|
||||
],
|
||||
"editor.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",
|
||||
"event", "anniversary", "crossover", "dating_event",
|
||||
@@ -155,7 +160,7 @@
|
||||
"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"],
|
||||
"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"],
|
||||
"resolutions": ["720p", "1080p", "1440p", "4K"],
|
||||
"fpsOptions": ["30", "60", "120", "144"],
|
||||
@@ -163,7 +168,7 @@
|
||||
"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", "showGameCopyright", "showGameCopyrightHint", "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", "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"],
|
||||
"shortcuts": ["title", "generate", "copyAll", "saveDraft", "toggleSidebar", "help", "close", "searchPlaceholder", "noResults"],
|
||||
"validation": ["emailInvalid", "emailMaxExceeded", "urlInvalid", "urlPrefixMismatch", "playlistUrlInvalid"],
|
||||
@@ -200,6 +205,11 @@
|
||||
"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"],
|
||||
@@ -217,7 +227,9 @@
|
||||
"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",
|
||||
"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",
|
||||
|
||||
@@ -206,7 +206,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",
|
||||
@@ -471,6 +491,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}}"
|
||||
|
||||
+43
-13
@@ -41,18 +41,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 +128,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 +248,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,6 +321,7 @@
|
||||
"contentWarningGroups": {
|
||||
"spoilers": "Spoilers",
|
||||
"photosensitive": "Photosensitive / Health",
|
||||
"audio": "Audio / Sensory",
|
||||
"phobias": "Phobias",
|
||||
"mental_health": "Mental health",
|
||||
"social_phenomena": "Social phenomena",
|
||||
@@ -330,7 +340,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",
|
||||
@@ -741,6 +771,7 @@
|
||||
"visual_novel": "Visual Novel"
|
||||
},
|
||||
"rig": {
|
||||
"os": "Operating System",
|
||||
"cpu": "CPU",
|
||||
"gpu": "GPU",
|
||||
"ram": "RAM",
|
||||
@@ -841,7 +872,6 @@
|
||||
"theme": "Theme",
|
||||
"appLanguage": "App Language",
|
||||
"defaultOutputLanguage": "Default Output Language",
|
||||
"defaultGenre": "Default Genres",
|
||||
"showCharCount": "Show Character Count",
|
||||
"compactTagDisplay": "Compact Tag Display",
|
||||
"historyLimit": "History Limit",
|
||||
|
||||
@@ -206,7 +206,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",
|
||||
@@ -471,6 +491,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}}"
|
||||
|
||||
+43
-13
@@ -41,18 +41,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 +128,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 +248,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,6 +321,7 @@
|
||||
"contentWarningGroups": {
|
||||
"spoilers": "Spoilers",
|
||||
"photosensitive": "Fotosensibilidad / Salud",
|
||||
"audio": "Audio / Sensorial",
|
||||
"phobias": "Fobias",
|
||||
"mental_health": "Salud mental",
|
||||
"social_phenomena": "Fenómenos sociales",
|
||||
@@ -330,7 +340,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",
|
||||
@@ -741,6 +771,7 @@
|
||||
"visual_novel": "Novela Visual"
|
||||
},
|
||||
"rig": {
|
||||
"os": "Sistema Operativo",
|
||||
"cpu": "CPU",
|
||||
"gpu": "GPU",
|
||||
"ram": "RAM",
|
||||
@@ -841,7 +872,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",
|
||||
|
||||
@@ -206,7 +206,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": "集合体",
|
||||
@@ -471,6 +491,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}}"
|
||||
|
||||
+43
-13
@@ -41,18 +41,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 +128,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 +248,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,6 +321,7 @@
|
||||
"contentWarningGroups": {
|
||||
"spoilers": "ネタバレ",
|
||||
"photosensitive": "光感受性 / 健康",
|
||||
"audio": "音声 / 感覚",
|
||||
"phobias": "恐怖症",
|
||||
"mental_health": "メンタルヘルス",
|
||||
"social_phenomena": "社会・心理現象",
|
||||
@@ -330,7 +340,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": "集合体",
|
||||
@@ -741,6 +771,7 @@
|
||||
"visual_novel": "ビジュアルノベル"
|
||||
},
|
||||
"rig": {
|
||||
"os": "OS",
|
||||
"cpu": "CPU",
|
||||
"gpu": "GPU",
|
||||
"ram": "RAM",
|
||||
@@ -841,7 +872,6 @@
|
||||
"theme": "テーマ",
|
||||
"appLanguage": "アプリの言語",
|
||||
"defaultOutputLanguage": "デフォルト出力言語",
|
||||
"defaultGenre": "デフォルトジャンル",
|
||||
"showCharCount": "文字数を表示",
|
||||
"compactTagDisplay": "コンパクトタグ表示",
|
||||
"historyLimit": "履歴上限",
|
||||
|
||||
@@ -206,7 +206,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": "환공포",
|
||||
@@ -471,6 +491,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}}"
|
||||
|
||||
+43
-13
@@ -41,18 +41,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 +128,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 +248,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,6 +321,7 @@
|
||||
"contentWarningGroups": {
|
||||
"spoilers": "스포일러",
|
||||
"photosensitive": "광과민 / 건강",
|
||||
"audio": "음향 / 청각",
|
||||
"phobias": "공포증",
|
||||
"mental_health": "정신 건강",
|
||||
"social_phenomena": "사회·심리 현상",
|
||||
@@ -330,7 +340,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": "환공포",
|
||||
@@ -741,6 +771,7 @@
|
||||
"visual_novel": "비주얼 노벨"
|
||||
},
|
||||
"rig": {
|
||||
"os": "운영체제",
|
||||
"cpu": "CPU",
|
||||
"gpu": "GPU",
|
||||
"ram": "RAM",
|
||||
@@ -841,7 +872,6 @@
|
||||
"theme": "테마",
|
||||
"appLanguage": "앱 언어",
|
||||
"defaultOutputLanguage": "기본 출력 언어",
|
||||
"defaultGenre": "기본 장르",
|
||||
"showCharCount": "글자 수 표시",
|
||||
"compactTagDisplay": "태그 간략 표시",
|
||||
"historyLimit": "기록 제한",
|
||||
|
||||
@@ -206,7 +206,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ỗ",
|
||||
@@ -471,6 +491,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}}"
|
||||
|
||||
+43
-13
@@ -41,18 +41,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 +128,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 +248,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,6 +321,7 @@
|
||||
"contentWarningGroups": {
|
||||
"spoilers": "Spoiler",
|
||||
"photosensitive": "Sức khoẻ / nhạy sáng",
|
||||
"audio": "Âm thanh / cảm âm",
|
||||
"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",
|
||||
@@ -330,7 +340,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ỗ",
|
||||
@@ -741,6 +771,7 @@
|
||||
"visual_novel": "Visual Novel"
|
||||
},
|
||||
"rig": {
|
||||
"os": "Hệ điều hành",
|
||||
"cpu": "CPU",
|
||||
"gpu": "GPU",
|
||||
"ram": "RAM",
|
||||
@@ -841,7 +872,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ử",
|
||||
|
||||
@@ -206,7 +206,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": "密集恐惧",
|
||||
@@ -471,6 +491,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}}"
|
||||
|
||||
+43
-13
@@ -41,18 +41,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 +128,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 +248,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,6 +321,7 @@
|
||||
"contentWarningGroups": {
|
||||
"spoilers": "剧透",
|
||||
"photosensitive": "光敏感 / 健康",
|
||||
"audio": "音频 / 感官",
|
||||
"phobias": "恐惧症",
|
||||
"mental_health": "心理健康",
|
||||
"social_phenomena": "社会心理现象",
|
||||
@@ -330,7 +340,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": "密集恐惧",
|
||||
@@ -741,6 +771,7 @@
|
||||
"visual_novel": "视觉小说"
|
||||
},
|
||||
"rig": {
|
||||
"os": "操作系统",
|
||||
"cpu": "CPU",
|
||||
"gpu": "GPU",
|
||||
"ram": "内存",
|
||||
@@ -841,7 +872,6 @@
|
||||
"theme": "主题",
|
||||
"appLanguage": "应用语言",
|
||||
"defaultOutputLanguage": "默认输出语言",
|
||||
"defaultGenre": "默认类型",
|
||||
"showCharCount": "显示字数统计",
|
||||
"compactTagDisplay": "紧凑标签显示",
|
||||
"historyLimit": "历史记录上限",
|
||||
|
||||
@@ -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")}
|
||||
|
||||
@@ -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. */}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
@@ -107,7 +106,6 @@ function detectBrowserLanguage(): SupportedLanguage {
|
||||
export const initialSettings: SettingsData = {
|
||||
appLanguage: detectBrowserLanguage(),
|
||||
defaultOutputLanguage: detectBrowserLanguage(),
|
||||
defaultGenres: ["action"],
|
||||
theme: "dark",
|
||||
showCharCount: true,
|
||||
compactTagDisplay: false,
|
||||
@@ -157,12 +155,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).
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -1316,6 +1316,67 @@ 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("checkDescriptionWarning", () => {
|
||||
it("returns null for description under limit", () => {
|
||||
expect(checkDescriptionWarning("Short description")).toBeNull();
|
||||
|
||||
@@ -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");
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user