From 879501ccb5501028ae9c6f2f1b67b8d9a4135047 Mon Sep 17 00:00:00 2001 From: cocos02 Date: Wed, 10 Jun 2026 16:41:08 +0800 Subject: [PATCH] fix: add missing textKey to 9 choices for i18n completeness --- public/scenes/demo.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/public/scenes/demo.json b/public/scenes/demo.json index a1ddf5f..d967a7d 100644 --- a/public/scenes/demo.json +++ b/public/scenes/demo.json @@ -218,6 +218,7 @@ }, { "text": "拒绝握手,保持警惕", + "textKey": "left_door.choice.reject", "targetScene": "alone_ending" } ] @@ -253,10 +254,12 @@ "choices": [ { "text": "继续前进", + "textKey": "qte_success.choice.continue", "targetScene": "continue_ending" }, { "text": "回头", + "textKey": "qte_success.choice.back", "targetScene": "intro" } ] @@ -267,10 +270,12 @@ "choices": [ { "text": "继续前进", + "textKey": "qte_fail.choice.continue", "targetScene": "continue_ending" }, { "text": "回头", + "textKey": "qte_fail.choice.back", "targetScene": "intro" } ] @@ -281,10 +286,12 @@ "choices": [ { "text": "返回调查现场", + "textKey": "desk_detail.choice.return", "targetScene": "investigation_site" }, { "text": "离开", + "textKey": "desk_detail.choice.leave", "targetScene": "corridor" } ] @@ -304,7 +311,7 @@ "loopStart": 3.0, "loopEnd": 6.0, "choices": [ - { "text": "站起来离开", "targetScene": "alone_ending" } + { "text": "站起来离开", "textKey": "stay.choice.stand", "targetScene": "alone_ending" } ] }, "trust_ending": { @@ -322,6 +329,7 @@ }, { "text": "离开这里", + "textKey": "trust_ending.choice.leave", "targetScene": "alone_ending" } ]