Feat/env-manager #1
@@ -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.
|
||||
|
||||
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
|
||||
|
||||
|
||||
+1
-1
@@ -119,7 +119,7 @@ The validation checks:
|
||||
- French SRT files
|
||||
- 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
|
||||
|
||||
|
||||
@@ -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
@@ -361,7 +361,9 @@ async function validateDialogueAssets(): Promise<DialogueValidationResult> {
|
||||
if (enSubtitlePath) {
|
||||
const resolvedEnPath = resolvePublicPath(enSubtitlePath);
|
||||
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`,
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user