Files
infiplot-web/public/home/firstact-portrait-en/m19.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
6.1 KiB
JSON

{"sessionId":"s_1780757293440_9y3wz4","scene":{"id":"scene_1780757337954_9sfk","scenePrompt":"A dimly lit graphic design studio at 3 AM, cold blue-white glow from a computer monitor illuminating the cluttered desk, scattered papers with typeface samples, a keyboard with fingers hovering above keys, on the screen a hexadecimal editor displaying rows of bank codes and a red countdown '71:59:59', a smartphone on the desk vibrating with an incoming message, the room in near darkness with only the screen light casting sharp shadows, Swiss typography poster style, vertical composition, minimalist high-contrast silhouettes, deep red accents on the screen text, black and white color blocks, atmosphere of tension and urgency.","beats":[{"id":"b1","narration":"3:00 AM. The only light in the studio is the cold glow of the screen. You stare at that line of bright red characters—'Arial? No. You are the bomb.'—your fingers hovering over the keyboard, your heart drumming against your ribs.","next":{"type":"continue","nextBeatId":"b2"}},{"id":"b2","narration":"You copy the text and paste it into a hex editor. The decoded result hits you like a bucket of ice water: the SWIFT codes of 48 central banks worldwide, neatly arranged in a spreadsheet.","next":{"type":"continue","nextBeatId":"b3"}},{"id":"b3","narration":"At the very bottom of the sheet—your name, ID number, and bank account. And a ticking countdown: 71:59:59.","next":{"type":"continue","nextBeatId":"b4"}},{"id":"b4","narration":"Your phone vibrates. A text from an unknown number: 'Don't call them. The police are already your enemy.' You stare at the screen, a chill running down your spine.","next":{"type":"choice","choices":[{"id":"c1","label":"Call the police for help","effect":{"kind":"change-scene","nextSceneSeed":"In the police interrogation room, you sit on a cold bench. Across from you is Lin Zhi, holding your ID card."}},{"id":"c2","label":"Investigate on your own","effect":{"kind":"change-scene","nextSceneSeed":"You open the font file's source code and discover a hidden IP address pointing to a warehouse on the outskirts of the city."}}]}}],"entryBeatId":"b1","sceneKey":"apartment-studio-night","imageUuid":"800efc5d-c865-462f-a87a-bb0664dbe396","imageUrl":"/home/firstscene-portrait/m19.webp","orientation":"portrait"},"imageUrl":"/home/firstscene-portrait/m19.webp","characters":[],"storyState":{"logline":"When a font you designed suddenly reveals attack commands targeting the global financial system—with your name listed as the mastermind—you have only 72 hours to find the real culprit. Otherwise, global finance collapses, and you'll take the fall forever.","genreTags":"Suspense/Crime/High-IQ Twists/Male-oriented Thriller","protagonist":"You are a 26-year-old font designer. Born into an ordinary family but exceptionally gifted, you've just won an international award for a revolutionary font. Right now, you're staring at the screen—a hidden line of hex code flashes between the lines of text. Decoded, it's a virus plan capable of destroying global finance, and your name is written right at the top of the mastermind list. A chill runs down your spine: someone is using your font as a weapon and framing you for it. You want to survive, you want to clear your name, but all you have is a keyboard and a ticking clock.","castNotes":"Lu Ming: Your college roommate and colleague. On the surface, he's an honest, nerdy tech guy, but out of jealousy of your talent, he has secretly collected your design drafts. You share an apartment; he's always eager to help you, but his eyes occasionally dart away.\nLin Zhi: Chief analyst at a cybersecurity firm. A cool, capable woman with short hair. While she appears strictly professional, she actually lost her mentor to a financial fraud case and has an obsessive drive to track down the font virus case. She is the first outsider you turn to for help, but her background is shrouded in mystery.\nLao Gao: The owner of the print shop you frequent. A quiet, forty-year-old military veteran who seems at peace with the world, yet somehow always manages to get his hands on rare font samples. Hidden under his counter is another phone, its call logs filled with scrambled code.","synopsis":"At 3:00 AM, during a font test, you discover a line of hex code. Decoded, it reveals a list of SWIFT codes for 48 central banks worldwide, complete with your personal information and a 71-hour countdown. An anonymous text warns you not to call the police. You are thrown into a dilemma: trust the police, or investigate on your own?","openThreads":["Who is actually behind the virus plan hidden in the font?","Why is your name on the mastermind list?","Who sent the anonymous text—a friend, or is it a trap?"],"nextHook":"You must make a choice: calling the police might expose you, while investigating alone leaves you with very little time. The next scene will unfold along completely different investigative paths based on your decision."},"cardName":"m19","cardTitle":"Font Conspiracy","cardGender":"Male-oriented","worldSetting":"This is an AI interactive story game geared towards a 【Male-oriented】 audience, featuring intense dramatic conflicts and rapid twists in the style of popular short-form web dramas.\nStory Style: Multi-branching twists. Pacing: Fast-paced and thrilling.\nOpening setup for the featured story 'Font Conspiracy': A font designer discovers that a specific combination of characters in a font he designed reveals hidden command lines. Upon decryption, it turns out to be a 'font virus' attack plan targeting the global financial system—and his name is right there on the mastermind list.\nPlease jump straight into this opening to give the player a strong sense of immersion and instant gratification; subsequent branches should maintain the high twist density of short dramas, ensuring every choice the player makes has an immediate impact.","styleGuide":"Swiss typography poster style, vertical composition. A minimalist high-contrast silhouette of an attractive male face integrated with abstract architectural grids. Deep red, black, and white color blocks, clean geometric poster layout.","imageUrlRemote":"https://im.runware.ai/image/os/a05d22/ws/3/ii/800efc5d-c865-462f-a87a-bb0664dbe396.png"}