diff --git a/translations/messages.json b/translations/messages.json index fa0d5123..b3922f1d 100644 --- a/translations/messages.json +++ b/translations/messages.json @@ -5,6 +5,8 @@ "Create a new account": "Create a new account", "Dashboard": "Dashboard", "Dashboard for %s": "Dashboard for %s", + "Distance": "Distance", + "Duration": "Duration", "Logout": "Logout", "Manage": "Manage", "Max speed": "Max speed", @@ -22,8 +24,8 @@ "Username (email)": "Username (email)", "Welcome!": "Welcome!", "Workouts": "Workouts", + "Your progress the past year": "Your progress the past year", "distance": "distance", "duration": "duration", - "up": "up", - "workouts ": "workouts " + "up": "up" } diff --git a/translations/nl.json b/translations/nl.json index 561386ca..ec3e4703 100644 --- a/translations/nl.json +++ b/translations/nl.json @@ -5,6 +5,8 @@ "Create a new account": "Maak een nieuwe account", "Dashboard": "Dashboard", "Dashboard for %s": "Dashboard voor %s", + "Distance": "Afstand", + "Duration": "Duur", "Logout": "Afmelden", "Manage": "Beheer", "Max speed": "Maximale snelheid", @@ -22,8 +24,8 @@ "Username (email)": "Gebruikersnaam (e-mailadres)", "Welcome!": "Welkom!", "Workouts": "Workouts", + "Your progress the past year": "Jouw vooruitgang afgelopen jaar", "distance": "afstand", "duration": "duur", - "up": "omhoog", - "workouts ": "workouts " + "up": "omhoog" } diff --git a/views/partials/stats_records_totals.html b/views/partials/stats_records_totals.html index 1eb4aacd..94311d60 100644 --- a/views/partials/stats_records_totals.html +++ b/views/partials/stats_records_totals.html @@ -1,6 +1,6 @@ {{ define "stats_records_total" }}
- {{ $di := i18n "distance" }} {{ $w := i18n "workouts "}} {{ $u := i18n "up" }} + {{ $di := i18n "distance" }} {{ $w := i18n "workouts"}} {{ $u := i18n "up" }} {{ $du := i18n "duration" }} {{ template "statistic_tile" (BuildDecoratedAttribute "workout" $w .Workouts) }} {{ template "statistic_tile" (BuildDecoratedAttribute "distance" $di (.Distance | diff --git a/views/user/user_statistics.html b/views/user/user_statistics.html index 0780d9e3..8a0ed71a 100644 --- a/views/user/user_statistics.html +++ b/views/user/user_statistics.html @@ -8,41 +8,45 @@ {{ template "header" . }}
-

Your progress the past year

+

+ {{ i18n "Your progress the past year" }} +

-

Workouts

+

{{ i18n "Workouts" }}

-

Duration

+

{{ i18n "Duration" }}

-

Distance

+

{{ i18n "Distance" }}

-

Average speed

+

{{ i18n "Average speed" }}

-

Average speed (no pause)

+

+ {{ i18n "Average speed (no pause)" }} +

-

Max speed

+

{{ i18n "Max speed" }}