Client - add missing translations on chart + message when no workouts
This commit is contained in:
@ -4,6 +4,7 @@ import ButtonsTranslations from './buttons.json'
|
||||
import CommonTranslations from './common.json'
|
||||
import DashboardTranslations from './dashboard.json'
|
||||
import ErrorTranslations from './error.json'
|
||||
import SportsTranslations from './sports.json'
|
||||
import StatisticsTranslations from './statistics.json'
|
||||
import UserTranslations from './user.json'
|
||||
import WorkoutsTranslations from './workouts.json'
|
||||
@ -15,6 +16,7 @@ export default {
|
||||
common: CommonTranslations,
|
||||
dashboard: DashboardTranslations,
|
||||
error: ErrorTranslations,
|
||||
sports: SportsTranslations,
|
||||
statistics: StatisticsTranslations,
|
||||
user: UserTranslations,
|
||||
workouts: WorkoutsTranslations,
|
||||
|
20
fittrackee_client/src/locales/en/sports.json
Normal file
20
fittrackee_client/src/locales/en/sports.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"Cycling (Sport)": {
|
||||
"LABEL": "Cycling (Sport)"
|
||||
},
|
||||
"Cycling (Transport)": {
|
||||
"LABEL": "Cycling (Transport)"
|
||||
},
|
||||
"Hiking": {
|
||||
"LABEL": "Hiking"
|
||||
},
|
||||
"Mountain Biking": {
|
||||
"LABEL": "Mountain Biking"
|
||||
},
|
||||
"Running": {
|
||||
"LABEL": "Running"
|
||||
},
|
||||
"Walking": {
|
||||
"LABEL": "Walking"
|
||||
}
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
{
|
||||
"STATISTICS": "Statistics"
|
||||
"STATISTICS": "Statistics",
|
||||
"TOTAL": "Total"
|
||||
}
|
||||
|
@ -3,6 +3,7 @@
|
||||
"DISTANCE": "distance",
|
||||
"DURATION": "duration",
|
||||
"KM": "km",
|
||||
"NO_WORKOUTS": "No workouts.",
|
||||
"RECORD_AS": "Ave. speed",
|
||||
"RECORD_FD": "Farest distance",
|
||||
"RECORD_LD": "Longest duration",
|
||||
|
@ -4,6 +4,7 @@ import ButtonsTranslations from './buttons.json'
|
||||
import CommonTranslations from './common.json'
|
||||
import DashboardTranslations from './dashboard.json'
|
||||
import ErrorTranslations from './error.json'
|
||||
import SportsTranslations from './sports.json'
|
||||
import StatisticsTranslations from './statistics.json'
|
||||
import UserTranslations from './user.json'
|
||||
import WorkoutsTranslations from './workouts.json'
|
||||
@ -15,6 +16,7 @@ export default {
|
||||
common: CommonTranslations,
|
||||
dashboard: DashboardTranslations,
|
||||
error: ErrorTranslations,
|
||||
sports: SportsTranslations,
|
||||
statistics: StatisticsTranslations,
|
||||
user: UserTranslations,
|
||||
workouts: WorkoutsTranslations,
|
||||
|
20
fittrackee_client/src/locales/fr/sports.json
Normal file
20
fittrackee_client/src/locales/fr/sports.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"Cycling (Sport)": {
|
||||
"LABEL": "Vélo (Sport)"
|
||||
},
|
||||
"Cycling (Transport)": {
|
||||
"LABEL": "Vélo (Transport)"
|
||||
},
|
||||
"Hiking": {
|
||||
"LABEL": "Randonnée"
|
||||
},
|
||||
"Mountain Biking": {
|
||||
"LABEL": "VTT"
|
||||
},
|
||||
"Running": {
|
||||
"LABEL": "Course"
|
||||
},
|
||||
"Walking": {
|
||||
"LABEL": "Marche"
|
||||
}
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
{
|
||||
"STATISTICS": "Statistiques"
|
||||
"STATISTICS": "Statistiques",
|
||||
"TOTAL": "Total"
|
||||
}
|
||||
|
@ -3,6 +3,7 @@
|
||||
"DISTANCE": "distance",
|
||||
"DURATION": "durée",
|
||||
"KM": "km",
|
||||
"NO_WORKOUTS": "Pas de séances.",
|
||||
"RECORD_AS": "Vitesse moy.",
|
||||
"RECORD_FD": "Distance la + longue",
|
||||
"RECORD_LD": "Durée la + longue",
|
||||
|
Reference in New Issue
Block a user