Files
infiplot-web/public/home/firstact-en/m16.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.1 KiB
JSON

{"sessionId":"s_1780421923804_63cuvq","scene":{"id":"scene_1780421956974_8hug","scenePrompt":"Wide establishing shot of a deserted library after hours, deep night. Rows of dark wooden bookshelves recede into shadow. A single, harsh fluorescent light fixture on the ceiling emits a cold, buzzing glow, casting long, stark shadows. On a wooden circulation desk in the foreground center, a stark manila envelope sits, opened. Beside it lies a glossy photograph and a sheet of paper with vivid red writing. The atmosphere is one of profound silence and sudden, heavy tension. The composition emphasizes the isolation and the ominous discovery in the empty space.","beats":[{"id":"b1","narration":"As the final note of the closing music fades, the library falls into a silence broken only by the low-frequency hum of the fluorescent lights. You lock the last row of bookshelves and turn around—the front desk is empty, save for a manila envelope lying quietly on your open borrowing log.","next":{"type":"continue","nextBeatId":"b2"}},{"id":"b2","narration":"Your heart skips a beat. No postmark, no signature. You tear open the seal, and a photograph slides out.","speaker":"You","line":"...What?","next":{"type":"continue","nextBeatId":"b3"}},{"id":"b3","narration":"The photo is of you. On the rooftop of the old factory last night, your profile as you took off your mask is perfectly superimposed over the rainy night cityscape illuminated by lightning behind you—a double exposure. On the back of the photo, a line of handwriting stands out in glaring, blood-red ink.","next":{"type":"continue","nextBeatId":"b4"}},{"id":"b4","speaker":"You","line":"...'The game begins, Night Falcon.'","next":{"type":"continue","nextBeatId":"b5"}},{"id":"b5","narration":"Your knuckles turn white as you grip the photo. Just then, the backup phone in your pocket—the one you never leave behind—suddenly vibrates with an unfamiliar frequency. On the screen, a flashing red signal icon catches your eye: a maximum-level emergency call from the vigilante network.","next":{"type":"choice","choices":[{"id":"c1","label":"Respond to the emergency call immediately","effect":{"kind":"change-scene","nextSceneSeed":"At the South Port warehouse, faint sounds of gunfire and flames echo. You need to complete one last mission before you are exposed."}},{"id":"c2","label":"Investigate the source of the envelope first","effect":{"kind":"advance-beat","targetBeatId":"b6"}}]}},{"id":"b6","narration":"You force yourself to calm down and examine the envelope inside and out. Ordinary manila paper, no fingerprints. But on the inside of the flap, written in extremely faint pencil, is an almost invisible symbol—a stylized owl eye.","next":{"type":"choice","choices":[{"id":"b6__exit","label":"Continue","effect":{"kind":"change-scene","nextSceneSeed":"The story continues"}}]}}],"entryBeatId":"b1","sceneKey":"library-night","imageUuid":"f830635a-5fae-4a14-af0f-30b71ef1b8e1","imageUrl":"/home/firstscene/m16.webp"},"imageUrl":"/home/firstscene/m16.webp","characters":[],"storyState":{"logline":"Your double life is torn open by a single crack—when images of you as a masked vigilante are accidentally exposed, you must find the mysterious photographer while being hunted by both the police and the criminal underworld, or the peaceful life you've meticulously maintained will completely collapse.","genreTags":"Suspense / Comeback / Urban Shadow War / High Concept","protagonist":"You are Lin Mo. By day, you are a quiet librarian at the municipal library; by night, you are 'Night Falcon', a masked vigilante walking the edge of the law to harvest evil. Now, your peaceful life has been shattered: a double-exposure photo of the moment you took off your mask is being quietly circulated by an unknown organization. The police, the mob, and mysterious forces are all looking for you. You must find the person who uncovered your secret before they do, and decide—whether to keep fighting in the shadows, or bury your alter ego once and for all.","castNotes":"Fang Zhe: Deputy Captain of the Criminal Investigation Detachment. Swift and decisive on the surface, he harbors a strange obsession with you, the 'ordinary librarian.' He is currently leading the investigation into the vigilante case, making him the closest threat to your daytime identity.\nShen Qing: A new work-study student at the library. With a bright smile, he always seems to appear when you least expect it. Yet, deep in his eyes lies a cold, calculating gaze unbefitting of his age. Is that fatal photograph truly unrelated to him?","synopsis":"As the library closes late at night, Lin Mo finds a mysterious envelope at the front desk containing a double-exposure photo of himself removing his mask, along with the provocative message: 'The game begins, Night Falcon.' Almost simultaneously, a vigilante emergency signal goes off, bringing both the threat of exposure and a new crime scene at once.","openThreads":["Who sent the photo? Is their goal pure blackmail, or do they have other motives?","What kind of crime does the vigilante network's emergency call point to? Is it connected to the photo incident?","What organization or individual does the owl eye symbol inside the envelope represent?","How far has Fang Zhe's investigation progressed?"],"relationships":["Fang Zhe: The police investigation net is tightening, but he has not yet made direct contact with Lin Mo.","Shen Qing: The new work-study student. He has not yet appeared directly in this scene, but his very existence constitutes a potential variable."],"nextHook":"Next Scene: You must make an immediate choice—will you respond to the vigilante emergency call to handle a potential crime (which may increase your risk of exposure), or prioritize tracking down the fatal threat that has already closed in on your daytime identity? Your double life is being pushed toward the abyss by an unseen hand."},"cardName":"m16","cardTitle":"Double Life","cardGender":"Male-oriented","worldSetting":"This is an AI interactive story game targeted at a 【Male-oriented】 audience, featuring intense dramatic conflicts and rapid plot twists in the style of popular short-form videos.\nGenre Style: Multi-line twists. Pacing: Fast-paced and thrilling.\nOpening setup for the featured story 'Double Life': By day, he is a law-abiding librarian; by night, he is a masked vigilante harvesting evil in the dark. During an operation, a double-exposure image of him was accidentally captured by a mysterious organization. Now, both the law and the underworld, reality and the shadows, are hunting him down.\nPlease dive straight into this opening to give the player a strong sense of immersion and excitement. Subsequent branches should maintain the high frequency of twists typical of short dramas, allowing players to see the immediate consequences of every choice.","styleGuide":"Digital double exposure portrait, vertical composition. A sharp profile silhouette of a handsome detective, merged seamlessly with tall pine trees and a stormy, rain-slicked city street with flashing yellow lights. High contrast black and white with subtle neon accents.","imageUrlRemote":"https://im.runware.ai/image/os/a03d21/ws/3/ii/f830635a-5fae-4a14-af0f-30b71ef1b8e1.png"}