aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2023-03-25 13:49:18 +0100
committerDaniel Schadt <kingdread@gmx.de>2023-03-25 13:49:18 +0100
commit62fb4209102f6665584c786ef72aa16fa1ffd604 (patch)
treeac8100ee26bcd43bc63031081e63ed8580b70e0f
parent6581d947c212b46d22f0fbb17afa80394faf2521 (diff)
downloadfietsboek-62fb4209102f6665584c786ef72aa16fa1ffd604.tar.gz
fietsboek-62fb4209102f6665584c786ef72aa16fa1ffd604.tar.bz2
fietsboek-62fb4209102f6665584c786ef72aa16fa1ffd604.zip
use own i18n strings for profile page
-rw-r--r--fietsboek/templates/profile.jinja228
1 files changed, 14 insertions, 14 deletions
diff --git a/fietsboek/templates/profile.jinja2 b/fietsboek/templates/profile.jinja2
index 5170109..516cee9 100644
--- a/fietsboek/templates/profile.jinja2
+++ b/fietsboek/templates/profile.jinja2
@@ -9,32 +9,32 @@
{% endif %}
<table class="table table-hover table-sm">
- <th scope="row">{{ _("page.details.length") }}</th>
- <td id="detailsLength">{{ (total_length / 1000) | round(2) | format_decimal }} km</td>
+ <th scope="row">{{ _("page.profile.length") }}</th>
+ <td id="profileLength">{{ (total_length / 1000) | round(2) | format_decimal }} km</td>
</tr>
<tr>
- <th scope="row">{{ _("page.details.uphill") }}</th>
- <td id="detailsUphill">{{ total_uphill | round(2) | format_decimal }} m</td>
+ <th scope="row">{{ _("page.profile.uphill") }}</th>
+ <td id="profileUphill">{{ total_uphill | round(2) | format_decimal }} m</td>
</tr>
<tr>
- <th scope="row">{{ _("page.details.downhill") }}</th>
- <td id="detailsDownhill">{{ total_downhill | round(2) | format_decimal }} m</td>
+ <th scope="row">{{ _("page.profile.downhill") }}</th>
+ <td id="profileDownhill">{{ total_downhill | round(2) | format_decimal }} m</td>
</tr>
<tr>
- <th scope="row">{{ _("page.details.moving_time") }}</th>
- <td id="detailsMovingTime">{{ total_moving_time }}</td>
+ <th scope="row">{{ _("page.profile.moving_time") }}</th>
+ <td id="profileMovingTime">{{ total_moving_time }}</td>
</tr>
<tr>
- <th scope="row">{{ _("page.details.stopped_time") }}</th>
- <td id="detailsStoppedTime">{{ total_stopped_time }}</td>
+ <th scope="row">{{ _("page.profile.stopped_time") }}</th>
+ <td id="profileStoppedTime">{{ total_stopped_time }}</td>
</tr>
<tr>
- <th scope="row">{{ _("page.details.max_speed") }}</th>
- <td id="detailsMaxSpeed">{{ mps_to_kph(max_speed) | round(2) | format_decimal }} km/h</td>
+ <th scope="row">{{ _("page.profile.max_speed") }}</th>
+ <td id="profileMaxSpeed">{{ mps_to_kph(max_speed) | round(2) | format_decimal }} km/h</td>
</tr>
<tr>
- <th scope="row">{{ _("page.details.avg_speed") }}</th>
- <td id="detailsAvgSpeed">{{ mps_to_kph(avg_speed) | round(2) | format_decimal }} km/h</td>
+ <th scope="row">{{ _("page.profile.avg_speed") }}</th>
+ <td id="profileAvgSpeed">{{ mps_to_kph(avg_speed) | round(2) | format_decimal }} km/h</td>
</tr>
<tr>
<th scope="row">{{ _("page.profile.number_of_tracks") }}</th>