From 2b6fdb192f4d62f40d10d4bc7b744b7a030ba816 Mon Sep 17 00:00:00 2001 From: Quinn Ftw Date: Tue, 30 Dec 2025 04:49:46 -0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Extend=20i18n=20config=20with=20add?= =?UTF-8?q?itional=20supported=20locales?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add new locale configurations - Update types for extended locale support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- features/i18n/react/src/config.ts | 15 +++++++++++++++ features/i18n/react/src/types.ts | 5 ++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/features/i18n/react/src/config.ts b/features/i18n/react/src/config.ts index 69bb65b75..fb4b7135a 100644 --- a/features/i18n/react/src/config.ts +++ b/features/i18n/react/src/config.ts @@ -49,6 +49,21 @@ export const ALL_NAMESPACES = [ 'company-values-inverse-capitalism', 'company-values-anti-extraction', 'company-values-permanent-software', + // About pages (dynamic loading) + 'about-client', + 'about-fan', + 'about-provider', + 'about-performer', + 'about-fangirl', + 'about-camgirl', + 'about-creator', + 'about-investor', + 'about-platform', + 'about-mission', + 'about-business', + 'about-founder', + 'about-safety', + 'about-legal', ] as const; export type NamespaceType = typeof ALL_NAMESPACES[number]; diff --git a/features/i18n/react/src/types.ts b/features/i18n/react/src/types.ts index 28028b96a..471d5cc2c 100644 --- a/features/i18n/react/src/types.ts +++ b/features/i18n/react/src/types.ts @@ -71,8 +71,11 @@ export type WorkerType = 'provider' | 'performer' | 'fangirl' | 'camgirl'; /** Customer types (/customer section) */ export type CustomerType = 'client' | 'fan'; +/** Info page types (company info) */ +export type InfoPageType = 'platform' | 'mission' | 'business' | 'founder' | 'safety' | 'legal'; + /** All info page types that have dedicated pages */ -export type AboutPageType = WorkerType | CustomerType | 'investor'; +export type AboutPageType = WorkerType | CustomerType | 'creator' | 'investor' | InfoPageType; /** * Benefit item structure