Phase 5: Translate Auth Pages - login and signup
- Create auth.json translation files for es, en, ca - Translate login page: title, subtitle, form labels, buttons, footer - Translate signup page: invite code step and account creation step - Translate signup/[code] redirect page - Update IntlProvider to load auth namespace - Update test expectations to match Spanish translations (default language) - All frontend and e2e tests passing
This commit is contained in:
parent
a5a1a2c1ad
commit
7dd13292a0
9 changed files with 188 additions and 47 deletions
|
|
@ -14,11 +14,14 @@ import caNavigation from "../../locales/ca/navigation.json";
|
|||
import esExchange from "../../locales/es/exchange.json";
|
||||
import enExchange from "../../locales/en/exchange.json";
|
||||
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";
|
||||
|
||||
const messages = {
|
||||
es: { common: esCommon, navigation: esNavigation, exchange: esExchange },
|
||||
en: { common: enCommon, navigation: enNavigation, exchange: enExchange },
|
||||
ca: { common: caCommon, navigation: caNavigation, exchange: caExchange },
|
||||
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 },
|
||||
};
|
||||
|
||||
interface IntlProviderProps {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue