feat: configurable locales path per story, dynamic language switching from story data

This commit is contained in:
2026-06-10 12:17:52 +08:00
parent 4cf2263c78
commit 86a0aebdc8
10 changed files with 64 additions and 28 deletions

View File

@@ -0,0 +1,56 @@
{
"intro": {
"choice": {
"left_door": "左にある光るドアへ向かう",
"right_door": "右にある普通のドアへ向かう",
"search": "部屋を念入りに調べる",
"stay": "その場に留まる"
}
},
"left_door": {
"choice": {
"handshake": "見知らぬ人と握手する",
"reject": "握手を断り、警戒を続ける"
}
},
"right_door": {
"choice": {
"continue": "先へ進む",
"back": "引き返す"
}
},
"trust_ending": {
"choice": {
"journey": "信頼の旅に出るtrust >= 80 が必要)",
"leave": "ここを去る"
}
},
"investigation_site": {
"choice": {
"leave": "部屋を出る"
}
},
"desk_detail": {
"choice": {
"return": "調査現場に戻る",
"leave": "立ち去る"
}
},
"stay": {
"choice": {
"stand": "立ち上がって去る"
}
},
"qte_success": {
"choice": {
"continue": "先へ進む",
"back": "引き返す"
}
},
"qte_fail": {
"choice": {
"continue": "先へ進む",
"back": "引き返す"
}
}
}