refactor: separate story locales (public/) from UI locales (src/), async fetch for story messages

This commit is contained in:
2026-06-10 12:10:03 +08:00
parent 0071a34acf
commit 4cf2263c78
7 changed files with 219 additions and 186 deletions

View File

@@ -19,61 +19,5 @@
"speed": "Speed",
"noAutoSave": "No auto save yet",
"autoSaveHint": "Game auto-saves to slot 0 at each scene change"
},
"scene": {
"intro": {
"choice": {
"left_door": "Walk toward the glowing door on the left",
"right_door": "Walk toward the ordinary door on the right",
"search": "Search the room carefully",
"stay": "Stay where you are, do nothing"
}
},
"left_door": {
"choice": {
"handshake": "Shake hands with the stranger",
"reject": "Refuse to shake, stay alert"
}
},
"right_door": {
"choice": {
"continue": "Keep moving forward",
"back": "Turn back"
}
},
"trust_ending": {
"choice": {
"journey": "Embark on a journey of trust (requires trust >= 80)",
"leave": "Leave this place"
}
},
"investigation_site": {
"choice": {
"leave": "Leave the room"
}
},
"desk_detail": {
"choice": {
"return": "Return to the crime scene",
"leave": "Leave"
}
},
"stay": {
"choice": {
"stand": "Stand up and leave"
}
},
"qte_success": {
"choice": {
"continue": "Keep moving forward",
"back": "Turn back"
}
},
"qte_fail": {
"choice": {
"continue": "Keep moving forward",
"back": "Turn back"
}
}
}
}
}

View File

@@ -19,61 +19,5 @@
"speed": "倍速",
"noAutoSave": "オートセーブがありません",
"autoSaveHint": "シーン切替時にスロット0に自動保存されます"
},
"scene": {
"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": "引き返す"
}
}
}
}
}

View File

@@ -19,61 +19,5 @@
"speed": "倍速",
"noAutoSave": "暂无自动存档",
"autoSaveHint": "游戏会在每次场景切换时自动保存到槽位 0"
},
"scene": {
"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": "回头"
}
}
}
}
}