Files
infiplot-web/public/home/firstact-en/f7.json
T
yuanzonghao 0a7076d5b9 fix(i18n): overhaul i18n with [locale] routing, SSR translations, and hreflang SEO
Rewrites the i18n system introduced in PR #94 to use Next.js App Router
[locale] dynamic segments with SSR-rendered translations and proper
middleware locale routing.

- Add middleware locale detection: / rewrites to /zh-CN/ internally,
  /en and /ja pass through, /zh-CN/... redirects to bare path
- Move all 7 pages under app/[locale]/ with SSR translation injection
- Fix server→client serialization: pre-evaluate function-valued
  translations (makeSerializable) to eliminate hydration flash
- Fix language switch key flash: use hard navigation with localStorage-
  only persistence, avoiding React state update before page reload
- Add <link rel="alternate" hreflang> tags for multilingual SEO
- Fix Supabase setAll overwriting locale rewrite response
- Trim locales from 22 to 3 (zh-CN/en/ja), delete 19 incomplete files
- LLM-translate 240 firstact game preset JSONs (en + ja, landscape +
  portrait) and story titles via gemini-3.5-flash
- Delete 11 one-off migration scripts and outdated i18n docs
- Add useLocalePath hook and navigation utilities

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-18 23:16:17 +08:00

1 line
7.7 KiB
JSON

{"sessionId":"s_1780422906487_0ahfzv","scene":{"id":"scene_1780422940778_xl6r","scenePrompt":"Wide establishing shot, a polluted, withered forest center at dusk, dying trees with skeletal branches, a faint, eerie wind stirring loose leaves, the sky a gradient of muted orange and purple with the last light of day casting long, melancholic shadows, a sense of profound stillness and decay, environmental storytelling of nature's sorrow, atmospheric mood, Ghibli hand-painted watercolor style, vertical composition, soft washes, nostalgic and warm dusk tones despite the desolation.","beats":[{"id":"b1","narration":"The wind chime-like sound fades away. You kneel on the rotting roots of the ancient tree, feeling the cold, rough bark beneath your palms. Something is being pulled from your body as the covenant is completed.","next":{"type":"continue","nextBeatId":"b2"}},{"id":"b2","narration":"Suddenly, an unprecedented perception explodes—you can hear the entire forest. Not the sound of the wind, but voices, whimpers, tens of thousands of withered leaves groaning in unison. The ancient tree wails beneath your palms, the shrubs shriek, and even the earth beneath your feet trembles in accusation. A massive, sorrowful torrent rushes into your mind.","next":{"type":"continue","nextBeatId":"b3"}},{"id":"b3","narration":"Is this... the power of the Wind Covenant? You gasp in shock, your heart pounding wildly. A wave of immense joy and responsibility grips you. You must tell Tsukasa Tsukishima! He must still be waiting for you somewhere in the forest, waiting for this good news—","next":{"type":"continue","nextBeatId":"b4"}},{"id":"b4","narration":"In a panic, you fumble for your phone, your fingertips freezing. You scroll down the contacts to 'T'... no Tsukasa Tsukishima. You freeze, your fingers mindlessly scrolling back up. T, S, R... nothing. Not a single name. Tsukasa Tsukishima. The name rolls off your tongue, carrying a strange unfamiliarity, as if you are hearing it for the very first time.","next":{"type":"continue","nextBeatId":"b5"}},{"id":"b5","narration":"You stumble to your feet, dry branches snapping beneath you. You have to make sure. You stumble to a puddle remaining in the woods that reflects your image. The water reflects your pale face—and then you see it. A single tear is sliding down from the corner of your eye.","next":{"type":"choice","choices":[{"id":"c1","label":"Wipe away the tear and look for clues","effect":{"kind":"advance-beat","targetBeatId":"b6"}},{"id":"c2","label":"Call out his name to the puddle","effect":{"kind":"advance-beat","targetBeatId":"b7"}},{"id":"c3","label":"Listen to the forest's weeping and question the covenant","effect":{"kind":"change-scene","nextSceneSeed":"You close your eyes and follow the clearest weeping deep into the forest, Rinne's figure faintly visible among the dead trees"}}]}},{"id":"b6","narration":"You wipe away that inexplicable tear, leaving a cold, damp sensation on the back of your hand. He isn't in your contacts, and only the outline of a name remains in your memory. No, don't panic. You take a deep breath and force yourself to look around—who else was there besides you where the covenant was just made? Did they... leave anything behind?","next":{"type":"continue","nextBeatId":"b7"}},{"id":"b7","narration":"Staring at the rippling water, your throat tightens as you softly utter the name: 'Tsukasa Tsukishima?' The reflection in the water only wavers blurrily. No response. But strangely, repeating the name once between your lips makes it feel a fraction clearer, as if resisting some invisible erasure.","next":{"type":"choice","choices":[{"id":"b7__exit","label":"Continue","effect":{"kind":"change-scene","nextSceneSeed":"The story progresses"}}]}}],"entryBeatId":"b1","sceneKey":"withered-forest-center","imageUuid":"67cc3fb1-ea32-4ae5-af75-5df0868e366c","imageUrl":"/home/firstscene/f7.webp"},"imageUrl":"/home/firstscene/f7.webp","characters":[],"storyState":{"logline":"To save the polluted forest, you make a covenant with the spirits to become a shrine maiden, only to begin forgetting everything—yet you discover that all the forgotten memories point to a man you must protect.","genreTags":"Fantasy / Female-oriented / Redemption / Forgetting & Protecting / Short-drama-style Twists","protagonist":"You are the last shrine maiden of the Wind Valley, having just made the 'Wind Covenant' with the forest spirits. Right now, you stand at the edge of the polluted forest, the power to hear the voices of all things surging within you. However, the price is that every time you use it, you lose a human memory. You want to protect this forest and the man you are willing to forget everything to remember, yet you are rapidly losing all clues about him.","castNotes":"Rinne: The messenger of the forest spirits, a mysterious silver-haired, red-eyed youth. On the surface, he guides you in using your power, but in truth, he seems to know the full reality of the covenant. He keeps his distance from you, his words always tinged with pity and testing.\nTsukasa Tsukishima: Your childhood friend and lover, who suddenly vanished after you made the covenant. His is the only name that grows clearer in your increasingly blurred memory. Everyone says he left the valley long ago, but you firmly believe he is still here.","synopsis":"The Wind Covenant is complete, granting you the ability to hear the voice of the forest. Yet, you immediately find that all memories of 'Tsukasa Tsukishima' are blurry and unfamiliar, and there is no trace of him in your phone. An inexplicable tear falls from your face, while you remain completely unaware of the covenant's true price.","openThreads":["Where exactly does Tsukasa Tsukishima exist? Why has he vanished from all records and memories?","What is the true price of the Wind Covenant? What determines the order and depth of the forgetting?","Where did that tear come from? Is it a lingering physical memory or a premonition of the covenant?","Why did the forest spirits choose you? What exactly do they mean by 'the last wind'?"],"relationships":["Tsukasa Tsukishima: Only the outline of a name remains, memories are being rapidly erased, and his whereabouts are a mystery","Rinne: Has not appeared yet, but is the guide of the covenant and the one who knows the truth"],"nextHook":"Rinne is about to appear. He might know the truth behind Tsukasa Tsukishima's 'disappearance,' or he might bring even harsher terms of the covenant. You need to find your first answer from him: What exactly did I forget?"},"cardName":"f7","cardTitle":"Promise of Wind Valley","cardGender":"Female-oriented","worldSetting":"This is an AI interactive story game oriented towards a 【Female-oriented】 audience, featuring strong dramatic conflicts and rapid twists in the style of short videos.\nStory Style: Multi-line twists. Pace: Tight and exhilarating.\nOpening setup for the featured story 'Promise of Wind Valley': To save the polluted forest, she makes a 'Wind Covenant' with the forest spirits, becoming a shrine maiden who can hear the voices of all things. The price is that every time she uses her power, she forgets a human memory. She gradually forgets everything, yet remembers only to protect him.\nPlease dive straight into this opening to give the player a strong sense of immersion and gratification; subsequent branches should maintain the twist density of short dramas, allowing players to see immediate consequences for every choice.","styleGuide":"Ghibli hand-painted watercolor style, vertical composition. A charming, highly expressive young heroine with large, bright, attractive eyes and wind-blown hair, running up a wildflower meadow hill toward a fantastical airship in the sky. Natural daylight, soft washes, nostalgic and warm mood.","imageUrlRemote":"https://im.runware.ai/image/os/a08dlim3/ws/3/ii/67cc3fb1-ea32-4ae5-af75-5df0868e366c.png"}