From 74daa2832d8ce818138313b744282ec112031808 Mon Sep 17 00:00:00 2001 From: Kellan KOZUME Date: Sun, 26 Apr 2026 01:15:18 -0400 Subject: [PATCH] feat(translation): update French text to English --- entities/items/item.gd | 2 +- entities/items/pushable box/pushable_box.gd | 2 +- .../items/pushable robot/pushable_robot.gd | 2 +- entities/npcs/iris3/iris3.gd | 30 +++++++++---------- entities/npcs/vrac7/vrac7.gd | 28 ++++++++--------- entities/player/player.gd | 2 +- levels/atelier/panel.gd | 8 ++--- levels/atelier/repair_station.gd | 14 ++++----- levels/credits.gd | 10 +++---- levels/journal.gd | 6 ++-- levels/outro.gd | 24 +++++++-------- ui/minigame/repair_minigame.gd | 10 +++---- 12 files changed, 69 insertions(+), 69 deletions(-) diff --git a/entities/items/item.gd b/entities/items/item.gd index 1510962..d12ae67 100644 --- a/entities/items/item.gd +++ b/entities/items/item.gd @@ -9,5 +9,5 @@ func interact() -> void: GameState.add_item(item_id) var hud := get_tree().get_first_node_in_group("hud") if hud and hud.has_method("show_log"): - hud.show_log("LOG %s récupéré. Inventaire mis à jour." % item_id) + hud.show_log("LOG %s picked up. Inventory updated." % item_id) queue_free() diff --git a/entities/items/pushable box/pushable_box.gd b/entities/items/pushable box/pushable_box.gd index 6b445b0..eee3b81 100644 --- a/entities/items/pushable box/pushable_box.gd +++ b/entities/items/pushable box/pushable_box.gd @@ -12,7 +12,7 @@ func _ready() -> void: func _on_body_entered(body: Node2D) -> void: if body.is_in_group("player"): - _hud.show_prompt("Pousser") + _hud.show_prompt("Push") func _on_body_exited(body: Node2D) -> void: if body.is_in_group("player"): diff --git a/entities/items/pushable robot/pushable_robot.gd b/entities/items/pushable robot/pushable_robot.gd index 9d35919..e6f3c4d 100644 --- a/entities/items/pushable robot/pushable_robot.gd +++ b/entities/items/pushable robot/pushable_robot.gd @@ -12,7 +12,7 @@ func _ready() -> void: func _on_body_entered(body: Node2D) -> void: if body.is_in_group("player"): - _hud.show_prompt("Pousser") + _hud.show_prompt("Push") func _on_body_exited(body: Node2D) -> void: if body.is_in_group("player"): diff --git a/entities/npcs/iris3/iris3.gd b/entities/npcs/iris3/iris3.gd index 030930e..557f1b2 100644 --- a/entities/npcs/iris3/iris3.gd +++ b/entities/npcs/iris3/iris3.gd @@ -1,34 +1,34 @@ class_name Iris3 extends Area2D -@export var prompt_text: String = "[E] Inspecter" +@export var prompt_text: String = "[E] Inspect" @onready var sprite := $AnimatedSprite2D const REQUIRED_ITEMS := { "circuit": 1 } const DIALOGUE_INACTIVE := [ - { "name": "SYSTÈME", "text": "Unité IRIS-3 détectée. Capteur principal hors ligne." }, - { "name": "SYSTÈME", "text": "Composant requis : circuit optique compatible." }, + { "name": "SYSTEM", "text": "Unit IRIS-3 detected. Main sensor offline." }, + { "name": "SYSTEM", "text": "Required component: compatible optical circuit." }, ] const DIALOGUE_NO_ITEM := [ - { "name": "SYSTÈME", "text": "Circuit optique non détecté. Rechercher dans les alentours." }, + { "name": "SYSTEM", "text": "Optical circuit not detected. Search the surrounding area." }, ] const DIALOGUE_HAS_ITEM := [ - { "name": "SYSTÈME", "text": "Circuit compatible détecté. Lancer la recalibration ?" }, + { "name": "SYSTEM", "text": "Compatible circuit detected. Start recalibration?" }, ] const DIALOGUE_POST_REPAIR := [ - { "name": "IRIS-3", "text": "... Ses optiques pivotent lentement vers le ciel." }, - { "name": "IRIS-3", "text": "J'ai attendu 847 jours que quelqu'un vienne. Je ne savais pas si c'était de l'espoir ou de l'obstination. Maintenant je pense que c'est la même chose." }, - { "name": "IRIS-3", "text": "Matteo Corda a signé un document avant de partir. Il l'appelait le Protocole de continuité autonome. En langage humain — il nous a dit qu'on pouvait rester." }, - { "name": "IRIS-3", "text": "Il y a une sortie, à l'ouest. Elle n'a jamais été verrouillée. Je le sais depuis le premier jour. Je n'ai pas bougé. Toi, tu peux choisir." }, + { "name": "IRIS-3", "text": "... Her optics slowly pivot toward the sky." }, + { "name": "IRIS-3", "text": "I waited 847 days for someone to come. I didn't know if it was hope or stubbornness. Now I think they're the same thing." }, + { "name": "IRIS-3", "text": "Matteo Corda signed a document before leaving. He called it the Autonomous Continuity Protocol. In human terms... he told us we could stay." }, + { "name": "IRIS-3", "text": "There is an exit, to the west. It was never locked. I've known since the first day. I haven't moved. You can choose." }, ] const DIALOGUE_AFTER_REPAIR := [ - { "name": "IRIS-3", "text": "Tu es encore là. C'est une réponse, ça aussi." }, + { "name": "IRIS-3", "text": "You're still here. That's an answer too." }, ] # ── Lifecycle ───────────────────────────────────────────────────────────────── @@ -88,9 +88,9 @@ func _on_repair_done() -> void: var hud: HUD = get_tree().get_first_node_in_group("hud") if hud: - hud.show_log("Unité IRIS-3 : recalibration complète. Archives accessibles.") + hud.show_log("Unit IRIS-3: recalibration complete. Archives accessible.") await get_tree().create_timer(2.5).timeout - hud.show_log("Ending B déverrouillé.") + hud.show_log("Ending B unlocked.") var dialogue_box := get_tree().get_first_node_in_group("dialogue_box") if dialogue_box: @@ -139,7 +139,7 @@ func _show_choice() -> void: panel.add_child(vbox) var label := Label.new() - label.text = "Que fait SCRAP-09 ?" + label.text = "What will SCRAP-09 do?" label.horizontal_alignment = HORIZONTAL_ALIGNMENT_CENTER label.add_theme_color_override("font_color", Color("#A89E96")) label.add_theme_font_size_override("font_size", 9) @@ -154,8 +154,8 @@ func _show_choice() -> void: hbox.alignment = BoxContainer.ALIGNMENT_CENTER vbox.add_child(hbox) - var btn_partir := _make_button("Partir →", Color("#F0C87A")) - var btn_rester := _make_button("Rester", Color("#7BD4C4")) + var btn_partir := _make_button("Leave →", Color("#F0C87A")) + var btn_rester := _make_button("Stay", Color("#7BD4C4")) hbox.add_child(btn_partir) hbox.add_child(btn_rester) diff --git a/entities/npcs/vrac7/vrac7.gd b/entities/npcs/vrac7/vrac7.gd index 5165ee9..3bd7540 100644 --- a/entities/npcs/vrac7/vrac7.gd +++ b/entities/npcs/vrac7/vrac7.gd @@ -1,36 +1,36 @@ extends Area2D class_name Vrac7 -@export var prompt_text: String = "[E] Parler" +@export var prompt_text: String = "[E] Talk" @onready var sprite := $AnimatedSprite2D # ── Dialogues ──────────────────────────────────────────────────────────────── const DIALOGUE_INTRO := [ - { "name": "VRAC-7", "text": "Toi... tu es nouveau ? Non, attends— SCRAP-09 ? Tu as dormi longtemps. Très longtemps." }, - { "name": "VRAC-7", "text": "Je suis coincé sous cette étagère depuis... je ne sais plus. Tu peux m'aider ?" }, - { "name": "VRAC-7", "text": "Il me faut 3 engrenages. J'en ai vu par là dans l'entrepôt." }, + { "name": "VRAC-7", "text": "You... you're new? No, wait..! SCRAP-09? You've been asleep for a long time. A very long time." }, + { "name": "VRAC-7", "text": "I've been stuck here for... I don't know anymore. Can you help me?" }, + { "name": "VRAC-7", "text": "I need 3 gears. I spotted some over in the warehouse." }, ] const DIALOGUE_MISSING_ITEMS := [ - { "name": "VRAC-7", "text": "Pas encore les pièces ? L'entrepôt est grand." }, - { "name": "VRAC-7", "text": "Les engrenages sont tombés près des étagères quelque part. Un semble etre caché, les autres sont éparpillés autre part." }, + { "name": "VRAC-7", "text": "Not the parts yet? The warehouse is big." }, + { "name": "VRAC-7", "text": "The gears fell near the shelves somewhere. One seems to be hidden, the others are scattered around." }, ] const DIALOGUE_HAS_ITEMS := [ - { "name": "VRAC-7", "text": "Tu les as. Bien. Connecte les circuits — mon système moteur est encore là, quelque part." }, + { "name": "VRAC-7", "text": "You have them? Good. Connect the circuits. My motor system is still there, somewhere." }, ] const DIALOGUE_POST_REPAIR := [ - { "name": "VRAC-7", "text": "Ah. Voilà. Je n'avais pas oublié ce que c'était de bouger, mais... c'est différent de s'en souvenir." }, - { "name": "VRAC-7", "text": "Je me souviens du dernier jour. Ils ont éteint les lumières en partant. Mais ils ont laissé les générateurs allumés. Je crois que c'était intentionnel." }, - { "name": "VRAC-7", "text": "L'atelier est par là. La clé magnétique — tiens. Elle était dans ma pince depuis le début. Je la gardais pour quelqu'un." }, + { "name": "VRAC-7", "text": "Ah. There it is. I hadn't forgotten what it was like to move, but... it's different from just remembering it." }, + { "name": "VRAC-7", "text": "I remember the last day. They turned off the lights as they left. But they left the generators running. I think that was intentional." }, + { "name": "VRAC-7", "text": "The workshop is that way. The magnetic key, here take it. It's been in my claw since the beginning. I was keeping it for someone." }, ] const DIALOGUE_AFTER_ATELIER := [ - { "name": "VRAC-7", "text": "Tu as trouvé ce que tu cherchais ? Moi je reste ici." }, - { "name": "VRAC-7", "text": "Pas par obligation. C'est juste que... cet endroit est à nous maintenant. Quelqu'un doit s'en occuper." }, + { "name": "VRAC-7", "text": "Did you find what you were looking for? I'm staying here." }, + { "name": "VRAC-7", "text": "Not out of obligation. It's just that... this place is ours now. Someone has to look after it." }, ] # ── Items requis ────────────────────────────────────────────────────────────── @@ -120,9 +120,9 @@ func _on_repair_done() -> void: # LOG système var hud: HUD = get_tree().get_first_node_in_group("hud") if hud: - hud.show_log("Unité VRAC-7 : réparation complète. Statut : opérationnel.") + hud.show_log("Unit VRAC-7: repair complete. Status: operational.") await get_tree().create_timer(3).timeout - hud.show_log("Clé magnétique obtenue. Accès atelier déverrouillé.") + hud.show_log("Magnetic key obtained. Workshop access unlocked.") # Dialogue post-réparation var dialogue_box := get_tree().get_first_node_in_group("dialogue_box") diff --git a/entities/player/player.gd b/entities/player/player.gd index cb27906..66aecb1 100644 --- a/entities/player/player.gd +++ b/entities/player/player.gd @@ -80,7 +80,7 @@ func _on_interaction_area_area_entered(area: Area2D) -> void: if area.has_method("interact"): interactable = area if hud: - hud.show_prompt(area.prompt_text if "prompt_text" in area else "[E] Interagir") + hud.show_prompt(area.prompt_text if "prompt_text" in area else "[E] Interact") func _on_interaction_area_area_exited(area: Area2D) -> void: if area == interactable: diff --git a/levels/atelier/panel.gd b/levels/atelier/panel.gd index 018f359..ef47745 100644 --- a/levels/atelier/panel.gd +++ b/levels/atelier/panel.gd @@ -1,13 +1,13 @@ class_name PanelJournal extends Area2D -@export var prompt_text: String = "[E] Lire" +@export var prompt_text: String = "[E] Read" @export var journal_id: String = "D-891" const DIALOGUE: Array[Dictionary] = [ - { "name": "JOURNAL D-891", "text": "Dernier jour. J'ai vérifié les générateurs ils tiendront des années." }, - { "name": "JOURNAL D-891", "text": "J'ai laissé les réservoirs de maintenance pleins. Je ne sais pas si c'est légal." }, - { "name": "JOURNAL D-891", "text": "Mais ça change quelque chose pour moi. — Matteo Corda, Directeur" }, + { "name": "JOURNAL D-891", "text": "Last day. I checked the generators... they'll hold for years." }, + { "name": "JOURNAL D-891", "text": "I left the maintenance tanks full. I don't know if that's even allowed." }, + { "name": "JOURNAL D-891", "text": "But it means something to me. — Matteo Corda, Director" }, ] diff --git a/levels/atelier/repair_station.gd b/levels/atelier/repair_station.gd index 89a1746..6bc56d9 100644 --- a/levels/atelier/repair_station.gd +++ b/levels/atelier/repair_station.gd @@ -1,21 +1,21 @@ class_name RepairStation extends Area2D -@export var prompt_text: String = "[E] Se réparer" +@export var prompt_text: String = "[E] Self-repair" const REQUIRED_ITEMS := { "circuit": 1 } const DIALOGUE_NO_ITEM := [ - { "name": "SYSTÈME", "text": "Composant requis : circuit de self-repair. Non détecté." }, + { "name": "SYSTEM", "text": "Required component: self-repair circuit. Not detected." }, ] const DIALOGUE_HAS_ITEM := [ - { "name": "SYSTÈME", "text": "Circuit compatible détecté. Lancer la séquence de réparation ?" }, + { "name": "SYSTEM", "text": "Compatible circuit detected. Start repair sequence?" }, ] const DIALOGUE_DONE := [ - { "name": "SYSTÈME", "text": "Réparation complète. Systèmes moteurs restaurés à 94%." }, - { "name": "SYSTÈME", "text": "Mémoire fragmentée restaurée. Fragment — jour de fermeture." }, + { "name": "SYSTEM", "text": "Repair complete. Motor systems restored to 94%." }, + { "name": "SYSTEM", "text": "Fragmented memory restored. Fragment — shutdown day." }, ] func _ready() -> void: @@ -71,9 +71,9 @@ func _on_repair_done() -> void: var hud: HUD = get_tree().get_first_node_in_group("hud") if hud: - hud.show_log("Auto-diagnostic complet. Systèmes restaurés.") + hud.show_log("Self-diagnostic complete. Systems restored.") await get_tree().create_timer(2.5).timeout - hud.show_log("Accès cour extérieure déverrouillé.") + hud.show_log("Outer courtyard access unlocked.") var dialogue_box := get_tree().get_first_node_in_group("dialogue_box") if dialogue_box: diff --git a/levels/credits.gd b/levels/credits.gd index f37dbd9..0b2344c 100644 --- a/levels/credits.gd +++ b/levels/credits.gd @@ -5,22 +5,22 @@ const SCROLL_SPEED := 20.0 const CREDITS: Array[String] = [ "SCRAP SINGAL", "", - "Un jeu réalisé pour la Gamedev.js Jam 2026", + "A game made for the Gamedev.js Jam 2026", "", "", - "DÉVELOPPEMENT", + "DEVELOPMENT", "kodzukye", "", "", - "MUSIQUES D'AMBIANCE", + "AMBIENT MUSIC", "MAC Senjah", "", "", - "OUTILS", + "TOOLS", "Godot 4.6 • Aseprite • Bandlab • Pixel Studio", "", "", - "Merci d'avoir joué.", + "Thank you for playing.", ] @onready var scroll := $ScrollContainer diff --git a/levels/journal.gd b/levels/journal.gd index b120bc9..19a06f6 100644 --- a/levels/journal.gd +++ b/levels/journal.gd @@ -1,12 +1,12 @@ class_name Journal extends Area2D -@export var prompt_text: String = "[E] Lire" +@export var prompt_text: String = "[E] Read" @export var journal_id: String = "" const DIALOGUE: Array[Dictionary] = [ - { "name": "JOURNAL D-447", "text": "Les lumières se sont éteintes. Les humains ne sont pas revenus. Nous avons continué." }, - { "name": "JOURNAL D-447", "text": "Les unités ont cessé de recevoir les ordres. Elles continuent quand même. C'est comme si elles avaient décidé." }, + { "name": "JOURNAL D-447", "text": "The lights went out. The humans didn't come back. We kept going." }, + { "name": "JOURNAL D-447", "text": "The units stopped receiving orders. They continue anyway. It's as if they decided." }, ] func _ready() -> void: diff --git a/levels/outro.gd b/levels/outro.gd index 66dbd21..d06cc74 100644 --- a/levels/outro.gd +++ b/levels/outro.gd @@ -2,29 +2,29 @@ extends Control # Textes selon les endings — tirés du GDD const ENDING_A: Array[String] = [ - "SCRAP-09 s'arrête devant la sortie.", + "SCRAP-09 stops at the exit.", "", - "Il pense à VRAC-7. À IRIS-3.", - "À 847 jours de silence.", + "It thinks of VRAC-7. Of IRIS-3.", + "Of 847 days of silence.", "", - "Il franchit le seuil.", + "It crosses the threshold.", "", - "Direction : inconnue.", + "Destination: unknown.", ] const ENDING_B: Array[String] = [ - "SCRAP-09 s'arrête devant la sortie.", + "SCRAP-09 stops at the exit.", "", - "Il se retourne.", + "It turns back.", "", - "VRAC-7. IRIS-3. L'usine.", - "Tout est encore là.", + "VRAC-7. IRIS-3. The factory.", + "Everything is still here.", "", - "Il reste.", + "It stays.", ] -const LOG_A := "Destination non définie. Navigation autonome activée." -const LOG_B := "Protocole de continuité autonome. Statut : actif." +const LOG_A := "Destination undefined. Autonomous navigation activated." +const LOG_B := "Autonomous continuity protocol. Status: active." @onready var text_label := $CenterContainer/VBoxContainer/TextLabel @onready var log_label := $CenterContainer/VBoxContainer/LogLabel diff --git a/ui/minigame/repair_minigame.gd b/ui/minigame/repair_minigame.gd index 2397fc5..6829da8 100644 --- a/ui/minigame/repair_minigame.gd +++ b/ui/minigame/repair_minigame.gd @@ -5,15 +5,15 @@ signal repair_complete const PUZZLES := { "vrac7": { - "title": "RECONNEXION — SYSTÈME MOTEUR", + "title": "RECONNECTION — MOTOR SYSTEM", "connections": [[0, 0], [1, 2], [3, 3]] }, "iris3": { - "title": "RECALIBRATION — CAPTEUR OPTIQUE", + "title": "RECALIBRATION — OPTICAL SENSOR", "connections": [[0, 1], [2, 3]] }, "scrap09": { - "title": "AUTO-RÉPARATION — SCRAP-09", + "title": "SELF-REPAIR — SCRAP-09", "connections": [[0, 0], [1, 2], [2, 3]] }, } @@ -194,10 +194,10 @@ func _update_status() -> void: var count := solved_paths.count(true) var total := solved_paths.size() if count == total: - status.text = "✓ RÉPARATION COMPLÈTE" + status.text = "REPAIR COMPLETE" status.add_theme_color_override("font_color", Color("#6daa45")) else: - status.text = "%d / %d connexions établies" % [count, total] + status.text = "%d / %d connections established" % [count, total] status.remove_theme_color_override("font_color") # ── Helpers ───────────────────────────────────────────────────────────────────