update: doc

This commit is contained in:
Tom Boullay
2026-05-11 13:14:08 +02:00
parent c81bacc208
commit 841f96f3fd
4 changed files with 16 additions and 3 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ The current model is one SRT file per voice and language. A dialogue entry refer
SRT timecodes are relative to the dialogue audio file being previewed, not to the global game timeline. SRT timecodes are relative to the dialogue audio file being previewed, not to the global game timeline.
Missing English SRT files are warnings because runtime loading falls back to French subtitles when the selected language is not available. Missing English SRT files are warnings, not errors, because runtime loading falls back to French subtitles when the selected language is not available. Keep this behavior until the English translation workflow is ready.
## Dialogue Manifest Editing ## Dialogue Manifest Editing
+1 -1
View File
@@ -119,7 +119,7 @@ The validation checks:
- French SRT files - French SRT files
- subtitle cue indexes referenced by the manifest - subtitle cue indexes referenced by the manifest
Missing English SRT files are warnings because the runtime falls back to French subtitles. Missing English SRT files are warnings, not errors, because the runtime falls back to French subtitles. This is intentional until the English translation workflow is ready.
## Editing Cinematics ## Editing Cinematics
@@ -0,0 +1,11 @@
# English Subtitle Fallback
English SRT files are intentionally optional for now.
The dialogue runtime first tries the selected subtitle language, then falls back to French. Missing English files should therefore remain validation warnings, not blocking errors, until the English translation workflow is ready.
Expected future files:
- `narrateur.srt`
- `fermier.srt`
- `electricienne.srt`
+3 -1
View File
@@ -361,7 +361,9 @@ async function validateDialogueAssets(): Promise<DialogueValidationResult> {
if (enSubtitlePath) { if (enSubtitlePath) {
const resolvedEnPath = resolvePublicPath(enSubtitlePath); const resolvedEnPath = resolvePublicPath(enSubtitlePath);
if (!resolvedEnPath || !fs.existsSync(resolvedEnPath)) { if (!resolvedEnPath || !fs.existsSync(resolvedEnPath)) {
warnings.push(`English subtitle file missing for voice ${voice.id}`); warnings.push(
`English subtitle file missing for voice ${voice.id}; runtime will fall back to French`,
);
} }
} }
} }