mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-13 01:24:46 -07:00
Webatrice: i18n (#4562)
* implement i18n capability * reset package.lock file * remove custom fallback * fix relative path for i18n files * check for language support before fetch request * add LanguageDropdown component, es translation file to prove functionality * remove boilerplate * bundle default english translation with app * add missing file * rollup component-level i18n files * cleanup Co-authored-by: Jeremy Letto <jeremy.letto@datasite.com>
This commit is contained in:
parent
217dc09c0f
commit
9577ada171
22 changed files with 365 additions and 111 deletions
|
|
@ -1,12 +1,15 @@
|
|||
import { ThemeProvider } from '@material-ui/styles';
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import './index.css';
|
||||
|
||||
import { materialTheme } from './material-theme';
|
||||
|
||||
import { AppShell } from 'containers';
|
||||
|
||||
import { materialTheme } from './material-theme';
|
||||
import './i18n';
|
||||
|
||||
import './index.css';
|
||||
|
||||
const appWithMaterialTheme = () => (
|
||||
<ThemeProvider theme={materialTheme}>
|
||||
<AppShell />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue