mirror of
https://github.com/Dasemu/vnpipe.git
synced 2026-11-27 07:46:37 +00:00
feat(translate): map a public-domain translation onto the game's speeches
Add the translate {fetch,build,status} stage: parse a Project Gutenberg
ebook into speeches and directions, align them with the game's speeches by
speaker sequence, group split or merged speeches, and accept verbatim
overrides. Output: data/translations/<code>.json.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
70a0ad577b
commit
33c8b32b69
9 files changed
+1093
-2
No files matched your search
Vendored
+39
@@ -0,0 +1,39 @@
|
||||
|
||||
[translations.en]
|
||||
language = "english"
|
||||
label = "English"
|
||||
text_url = "https://example.org/mini.txt"
|
||||
text_file = "data/raw/en.txt"
|
||||
gutenberg_id = 1
|
||||
title = "Mini"
|
||||
subtitle = "Fixture work"
|
||||
translator = "E. Translator"
|
||||
end_text = "To be continued…"
|
||||
voice_credits = ["Voices: nobody."]
|
||||
|
||||
[translations.en.speakers]
|
||||
MANAGER = "director"
|
||||
POET = "poet"
|
||||
"THE LORD" = "lord"
|
||||
VOICE = "poet_voice"
|
||||
|
||||
[[translations.en.sections]]
|
||||
scene = "lyric"
|
||||
heading = "LYRIC"
|
||||
default_speaker = "poet_voice"
|
||||
subtitle = "Lyric · Dusk"
|
||||
|
||||
[[translations.en.sections]]
|
||||
scene = "talk"
|
||||
heading = "TALK"
|
||||
title = "CONVERSATION"
|
||||
|
||||
[[translations.en.overrides]]
|
||||
scene = "talk"
|
||||
game = "talk_0010"
|
||||
source = "Exit."
|
||||
|
||||
[translations.en.names]
|
||||
director = "Manager"
|
||||
poet = "Poet"
|
||||
lord = "The Lord"
|
||||
Reference in new issue
Block a user