Initial commit

This commit is contained in:
2021-03-09 22:00:10 +01:00
commit 70c0886aa5
52 changed files with 12763 additions and 0 deletions

4
src/locales/en.json Normal file
View File

@@ -0,0 +1,4 @@
{
"hello": "Hello World",
"toggle-lang": "Toggle lang"
}

4
src/locales/fr.json Normal file
View File

@@ -0,0 +1,4 @@
{
"hello": "Bonjour le monde",
"toggle-lang": "Changer la langue"
}

9
src/locales/message.ts Normal file
View File

@@ -0,0 +1,9 @@
import en from './en.json'
import fr from './fr.json'
export const messages = {
en,
fr
}
export const locales = Object.keys(messages)