fix: update getIntl.js

This commit is contained in:
Nolan Lawson 2022-12-10 15:23:57 -08:00
parent 77eec62e73
commit 7975002fab
1 changed files with 3 additions and 1 deletions

View File

@ -4,12 +4,14 @@ import { DEFAULT_LOCALE, LOCALE } from '../src/routes/_static/intl.js'
import enUS from '../src/intl/en-US.js'
import fr from '../src/intl/fr.js'
import de from '../src/intl/de.js'
import es from '../src/intl/es.js'
// TODO: make it so we don't have to explicitly list these out
const locales = {
'en-US': enUS,
fr,
de
de,
es
}
const intl = locales[LOCALE]