add: french subtitles
This commit is contained in:
@@ -14,7 +14,7 @@ interface SrtVoiceOption {
|
||||
const SRT_VOICES: SrtVoiceOption[] = [
|
||||
{ id: "narrateur", label: "Narrateur" },
|
||||
{ id: "fermier", label: "Fermier" },
|
||||
{ id: "leonie", label: "Leonie" },
|
||||
{ id: "electricienne", label: "Electricienne" },
|
||||
];
|
||||
const DEFAULT_SRT_VOICE: SrtVoiceOption = {
|
||||
id: "narrateur",
|
||||
|
||||
+1
-1
@@ -434,7 +434,7 @@ canvas {
|
||||
color: #86efac;
|
||||
}
|
||||
|
||||
.subtitles__speaker--leonie {
|
||||
.subtitles__speaker--electricienne {
|
||||
color: #f9a8d4;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { SubtitleLanguage } from "@/managers/stores/useSettingsStore";
|
||||
|
||||
export type DialogueVoiceId = "narrateur" | "fermier" | "leonie";
|
||||
export type DialogueSpeaker = "Narrateur" | "Fermier" | "Leonie";
|
||||
export type DialogueVoiceId = "narrateur" | "fermier" | "electricienne";
|
||||
export type DialogueSpeaker = "Narrateur" | "Fermier" | "Electricienne";
|
||||
|
||||
export interface DialogueVoice {
|
||||
id: DialogueVoiceId;
|
||||
|
||||
@@ -9,12 +9,12 @@ import type {
|
||||
const VALID_VOICE_IDS = new Set<DialogueVoiceId>([
|
||||
"narrateur",
|
||||
"fermier",
|
||||
"leonie",
|
||||
"electricienne",
|
||||
]);
|
||||
const VALID_SPEAKERS = new Set<DialogueSpeaker>([
|
||||
"Narrateur",
|
||||
"Fermier",
|
||||
"Leonie",
|
||||
"Electricienne",
|
||||
]);
|
||||
|
||||
export function parseDialogueManifest(data: unknown): DialogueManifest {
|
||||
|
||||
Reference in New Issue
Block a user