Client - init locales files ('en' and 'fr')

This commit is contained in:
Sam
2021-08-04 09:53:17 +02:00
parent 04f64b750c
commit 1e77fa68b6
17 changed files with 78 additions and 48 deletions

View File

@ -1,3 +0,0 @@
{
"message": "hello i18n !!"
}

View File

@ -0,0 +1,3 @@
{
"ADMIN": "Admin"
}

View File

@ -0,0 +1,3 @@
{
"DASHBOARD": "Dashboard"
}

View File

@ -0,0 +1,13 @@
import AdministrationTranslations from './administration.json'
import DashboardTranslations from './dashboard.json'
import StatisticsTranslations from './statistics.json'
import UserTranslations from './user.json'
import WorkoutsTranslations from './workouts.json'
export default {
administration: AdministrationTranslations,
dashboard: DashboardTranslations,
statistics: StatisticsTranslations,
user: UserTranslations,
workouts: WorkoutsTranslations,
}

View File

@ -0,0 +1,3 @@
{
"STATISTICS": "Statistics"
}

View File

@ -0,0 +1,5 @@
{
"LOGIN": "Login",
"LOGOUT": "Logout",
"REGISTER": "Register"
}

View File

@ -0,0 +1,4 @@
{
"ADD_WORKOUT": "Add workout",
"WORKOUTS": "Workouts"
}

View File

@ -0,0 +1,3 @@
{
"ADMIN": "Admin"
}

View File

@ -0,0 +1,3 @@
{
"DASHBOARD": "Tableau de Bord"
}

View File

@ -0,0 +1,13 @@
import AdministrationTranslations from './administration.json'
import DashboardTranslations from './dashboard.json'
import StatisticsTranslations from './statistics.json'
import UserTranslations from './user.json'
import WorkoutsTranslations from './workouts.json'
export default {
administration: AdministrationTranslations,
dashboard: DashboardTranslations,
statistics: StatisticsTranslations,
user: UserTranslations,
workouts: WorkoutsTranslations,
}

View File

@ -0,0 +1,3 @@
{
"STATISTICS": "Statistiques"
}

View File

@ -0,0 +1,5 @@
{
"LOGIN": "Se connecter",
"LOGOUT": "Se déconnecter",
"REGISTER": "S'inscrire"
}

View File

@ -0,0 +1,4 @@
{
"ADD_WORKOUT": "Ajouter une séance",
"WORKOUTS": "Séances"
}