Phase 6: Translate User Pages - exchange, trades, invites, profile

- Expand exchange.json with all exchange page strings (page, steps, detailsStep, bookingStep, confirmationStep, priceDisplay)
- Create trades.json translation files for es, en, ca
- Create invites.json translation files for es, en, ca
- Create profile.json translation files for es, en, ca
- Translate exchange page and all components (ExchangeDetailsStep, BookingStep, ConfirmationStep, StepIndicator, PriceDisplay)
- Translate trades page (titles, sections, buttons, status labels)
- Translate invites page (titles, sections, status badges, copy button)
- Translate profile page (form labels, hints, placeholders, messages)
- Update IntlProvider to load all new namespaces
- All frontend tests passing
This commit is contained in:
counterweight 2025-12-25 22:19:13 +01:00
parent 7dd13292a0
commit 246553c402
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
22 changed files with 559 additions and 115 deletions

View file

@ -17,11 +17,44 @@ import caExchange from "../../locales/ca/exchange.json";
import esAuth from "../../locales/es/auth.json";
import enAuth from "../../locales/en/auth.json";
import caAuth from "../../locales/ca/auth.json";
import esTrades from "../../locales/es/trades.json";
import enTrades from "../../locales/en/trades.json";
import caTrades from "../../locales/ca/trades.json";
import esInvites from "../../locales/es/invites.json";
import enInvites from "../../locales/en/invites.json";
import caInvites from "../../locales/ca/invites.json";
import esProfile from "../../locales/es/profile.json";
import enProfile from "../../locales/en/profile.json";
import caProfile from "../../locales/ca/profile.json";
const messages = {
es: { common: esCommon, navigation: esNavigation, exchange: esExchange, auth: esAuth },
en: { common: enCommon, navigation: enNavigation, exchange: enExchange, auth: enAuth },
ca: { common: caCommon, navigation: caNavigation, exchange: caExchange, auth: caAuth },
es: {
common: esCommon,
navigation: esNavigation,
exchange: esExchange,
auth: esAuth,
trades: esTrades,
invites: esInvites,
profile: esProfile,
},
en: {
common: enCommon,
navigation: enNavigation,
exchange: enExchange,
auth: enAuth,
trades: enTrades,
invites: enInvites,
profile: enProfile,
},
ca: {
common: caCommon,
navigation: caNavigation,
exchange: caExchange,
auth: caAuth,
trades: caTrades,
invites: caInvites,
profile: caProfile,
},
};
interface IntlProviderProps {