feat: QTE prompt i18n via promptKey, fallback to prompt text

This commit is contained in:
2026-06-10 16:21:23 +08:00
parent dfddd6e527
commit d057beb82d
6 changed files with 12 additions and 1 deletions

View File

@@ -17,6 +17,9 @@
"choice": {
"continue": "Keep moving forward",
"back": "Turn back"
},
"qte": {
"dodge": "Dodge the flying rocks!"
}
},
"trust_ending": {

View File

@@ -17,6 +17,9 @@
"choice": {
"continue": "先へ進む",
"back": "引き返す"
},
"qte": {
"dodge": "飛んでくる石を避けろ!"
}
},
"trust_ending": {

View File

@@ -17,6 +17,9 @@
"choice": {
"continue": "继续前进",
"back": "回头"
},
"qte": {
"dodge": "躲避飞来的石块!"
}
},
"trust_ending": {

View File

@@ -224,6 +224,7 @@
"qte": {
"triggerTime": 1.0,
"prompt": "躲避飞来的石块!",
"promptKey": "right_door.qte.dodge",
"keys": ["ArrowLeft", "ArrowRight", "a", "d"],
"timeLimit": 3.0,
"successScene": "qte_success",