From d7b5b81b5d6ec55d0847b5171c3800a8f7b5c001 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Tue, 7 Oct 2025 17:25:43 -0700 Subject: feat: add i18n translation (initial JP and EN) --- site/src/components/GameNotes.tsx | 142 +++++++++++++++----------------------- 1 file changed, 57 insertions(+), 85 deletions(-) (limited to 'site/src/components/GameNotes.tsx') diff --git a/site/src/components/GameNotes.tsx b/site/src/components/GameNotes.tsx index b9ab8c6..999bf7b 100644 --- a/site/src/components/GameNotes.tsx +++ b/site/src/components/GameNotes.tsx @@ -5,17 +5,16 @@ import { AimeIntlMaintenanceInfo, AllnetPrivateServerWarning, } from "./NoteModals"; +import i18next from 'i18next'; export const GameNotes = (isMoe: boolean): Record => ({ sdvx: ( <>
@@ -23,20 +22,16 @@ export const GameNotes = (isMoe: boolean): Record => ({

- Official e-amusement service in NA available only at Round1 USA + {i18next.t('gamenotes.common.na_service_note')}
- Online Cabinets in non-supported regions (CAN/EU/AUS) are on private - networks which run older data + {i18next.t('gamenotes.common.private_network_note')}

), iidx: ( <>
    -
  • - • [USA] Certain e-amusement features such as video upload - unavailable{" "} -
  • +
  • {i18next.t('gamenotes.iidx.features')}
@@ -44,10 +39,9 @@ export const GameNotes = (isMoe: boolean): Record => ({

- Official e-amusement service in NA available only at Round1 USA + {i18next.t('gamenotes.common.na_service_note')}
- Online Cabinets in non-supported regions (CAN/EU/AUS) are on private - networks which run older data + {i18next.t('gamenotes.common.private_network_note')}

), @@ -59,10 +53,9 @@ export const GameNotes = (isMoe: boolean): Record => ({

- Official e-amusement service in NA available only at Round1 USA + {i18next.t('gamenotes.common.na_service_note')}
- Online Cabinets in non-supported regions (CAN/EU/AUS) are on private - networks which run older data + {i18next.t('gamenotes.common.private_network_note')}

), @@ -74,10 +67,9 @@ export const GameNotes = (isMoe: boolean): Record => ({

- Official e-amusement service in NA available only at Round1 USA + {i18next.t('gamenotes.common.na_service_note')}
- Online Cabinets in non-supported regions (CAN/EU/AUS) are on private - networks which run older data + {i18next.t('gamenotes.common.private_network_note')}

), @@ -89,10 +81,9 @@ export const GameNotes = (isMoe: boolean): Record => ({

- Official e-amusement service in NA available only at Round1 USA + {i18next.t('gamenotes.common.na_service_note')}
- Online Cabinets in non-supported regions (CAN/EU/AUS) are on private - networks which run older data + {i18next.t('gamenotes.common.private_network_note')}

), @@ -104,7 +95,7 @@ export const GameNotes = (isMoe: boolean): Record => ({

- Official e-amusement service only in Japan. + {i18next.t('gamenotes.polaris_chord.online_note')}

), @@ -116,12 +107,11 @@ export const GameNotes = (isMoe: boolean): Record => ({

- Official e-amusement service in NA available only at Round1 USA + {i18next.t('gamenotes.common.na_service_note')}
- Online Cabinets in non-supported regions (CAN/EU/AUS) are on private - networks which run older data + {i18next.t('gamenotes.common.private_network_note')}
- Note that USA GOLD cabinets follow Japanese daily maintenance schedule. + {i18next.t('gamenotes.ddr.maintenance_note')}

), @@ -130,14 +120,12 @@ export const GameNotes = (isMoe: boolean): Record => ({

- Online only in Japan and Asia regions. No online service in the US (only - old versions running offline-kit) + {i18next.t('gamenotes.jubeat.online_note')}

- Online Cabinets in non-supported regions (CAN/EU/AUS) are on private - networks which run older data + {i18next.t('gamenotes.common.private_network_note')}

), @@ -146,14 +134,12 @@ export const GameNotes = (isMoe: boolean): Record => ({

- Online only in Japan and Asia regions. Japan and Asia only. No online - service in the US (only old versions running offline-kit) + {i18next.t('gamenotes.popn_music.online_note')}

- Online Cabinets in non-supported regions (CAN/EU/AUS) are on private - networks which run older data + {i18next.t('gamenotes.common.private_network_note')}

), @@ -162,14 +148,12 @@ export const GameNotes = (isMoe: boolean): Record => ({

- Online only in Japan and Asia regions. Japan and Asia only. No online - service in the US + {i18next.t('gamenotes.nostalgia.online_note')}

- Online Cabinets in non-supported regions (CAN/EU/AUS) are on private - networks which run older data + {i18next.t('gamenotes.common.private_network_note')}

), @@ -178,12 +162,12 @@ export const GameNotes = (isMoe: boolean): Record => ({

- This version of the game is only available in Japan + {i18next.t('gamenotes.common.japan_only_note')}

- You may be on the International version if you are outside of Japan + {i18next.t('gamenotes.common.international_note')}

), @@ -192,12 +176,12 @@ export const GameNotes = (isMoe: boolean): Record => ({

- This version of the game is only available in Japan + {i18next.t('gamenotes.common.japan_only_note')}

- You may be on the International version if you are outside of Japan + {i18next.t('gamenotes.common.international_note')}

), @@ -206,12 +190,12 @@ export const GameNotes = (isMoe: boolean): Record => ({

- Official service only in Japan. No International Version + {i18next.t('gamenotes.ongeki_jp.japan_only')}

- You are on a private network if the cabinet is not in Japan + {i18next.t('gamenotes.ongeki_jp.private_network')}

@@ -223,32 +207,29 @@ export const GameNotes = (isMoe: boolean): Record => ({

- Official service only in Japan. No International Version + {i18next.t('gamenotes.idac.japan_only')}

- You are on a private network if the cabinet is not in Japan + {i18next.t('gamenotes.idac.private_network')}

), chunithm_intl: ( <>
    -
  • - • Updates behind JP version. International and JP are completely - seperated -
  • +
  • {i18next.t('gamenotes.chunithm_intl.updates')}

- No official service in NA or EU.{" "} + {i18next.t('gamenotes.chunithm_intl.no_service')}{" "} - See supported regions here + {i18next.t('gamenotes.chunithm_intl.regions_link')}

@@ -262,29 +243,24 @@ export const GameNotes = (isMoe: boolean): Record => ({
    -
  • - • Updates behind JP version. International and JP are completely - seperated -
  • -
  • - • Certain charts are removed from USA region -
  • +
  • {i18next.t('gamenotes.maimaidx_intl.updates')}
  • +
  • {i18next.t('gamenotes.maimaidx_intl.charts')}

- Official service in USA/CAN/ASIA{" "} + {i18next.t('gamenotes.maimaidx_intl.service')}{" "} - See supported regions here + {i18next.t('gamenotes.maimaidx_intl.regions_link')}

- (No official service in EU) + {i18next.t('gamenotes.maimaidx_intl.no_eu')}

@@ -299,7 +275,7 @@ export const GameNotes = (isMoe: boolean): Record => ({

- Online service available only at Round1 Japan and Round1 USA locations + {i18next.t('gamenotes.music_diver.online_service')}

), @@ -311,7 +287,7 @@ export const GameNotes = (isMoe: boolean): Record => ({

- Online service in USA only at Round1 locations + {i18next.t('gamenotes.street_fighter.online_service')}

), @@ -320,14 +296,12 @@ export const GameNotes = (isMoe: boolean): Record => ({

- WACCA PLUS is a community continuation of WACCA REVERSE after online - services ended in 2022 + {i18next.t('gamenotes.wacca_plus.community')}

- Runs on Mythos networked cabs. Not all cabinets have WACCA PLUS as these - updates are opt-in by operators. + {i18next.t('gamenotes.wacca_plus.note')}

), @@ -336,19 +310,18 @@ export const GameNotes = (isMoe: boolean): Record => ({

- MÚSECA PLUS is a fan continuation project for MÚSECA 1+1/2. + {i18next.t('gamenotes.museca_plus.community')}

- Runs on various e-amusement private networks. Not all cabinets have - MÚSECA PLUS as it is opt-in. + {i18next.t('gamenotes.museca_plus.note')}

- You can also download it as a data_mod + {i18next.t('gamenotes.museca_plus.download')}

@@ -358,19 +331,17 @@ export const GameNotes = (isMoe: boolean): Record => ({

- A continuation of the abandoned iOS version of REFLEC BEAT (REFLEC BEAT - plus) + {i18next.t('gamenotes.rb_deluxe_plus.community')}

- Needs to be sideloaded once you get a hold of the IPA. Network features - supported. iOS ONLY + {i18next.t('gamenotes.rb_deluxe_plus.note')}

- *Not in main feed as date data is unavailable from this source + {i18next.t('gamenotes.rb_deluxe_plus.feed_note')}

), @@ -379,12 +350,13 @@ export const GameNotes = (isMoe: boolean): Record => ({

- Information below only applies to the latest version of the game (LCD + Banapassport Reader) + {i18next.t('gamenotes.taiko.version_note')}

- Maintenance time is 1am - 7am JST (i think?)
Applies to USA cabs as well (9am - 3pm PST) + {i18next.t('gamenotes.taiko.maintenance')}
+ {i18next.t('gamenotes.taiko.usa_note')}

), @@ -393,12 +365,12 @@ export const GameNotes = (isMoe: boolean): Record => ({

- Singular news feed for NA, ASIA/OCE, and JPN + {i18next.t('gamenotes.wmmt.feed')}

- All regions run different versions of the game + {i18next.t('gamenotes.wmmt.version')}

), -- cgit v1.2.3