Separate formatting from translations

This commit is contained in:
Henrik Fehlauer 2019-05-30 23:52:59 +02:00
parent aeb93e33b6
commit 3ee90b5cd9
2 changed files with 24 additions and 18 deletions

View file

@ -952,11 +952,14 @@
</p>
</li>
<li hidden>
<div
class="text-muted small hidden-sm-down"
data-i18n="footer.total-energy"
>
Total Energy | Energy per 100 km
<div class="text-muted small hidden-sm-down">
<span data-i18n="footer.total-energy"
>Total Energy</span
>
|
<span data-i18n="footer.energy-per-100km"
>Energy per 100 km</span
>
</div>
<p class="stats-label">
<span id="totalenergy">-</span>
@ -974,11 +977,11 @@
</p>
</li>
<li>
<div
class="text-muted small hidden-sm-down"
data-i18n="footer.ascend"
>
Ascend | Plain ascend
<div class="text-muted small hidden-sm-down">
<span data-i18n="footer.ascend">Ascend</span> |
<span data-i18n="footer.plain-ascend"
>Plain ascend</span
>
</div>
<p class="stats-label">
<span id="ascend">-</span>
@ -996,11 +999,11 @@
</p>
</li>
<li>
<div
class="text-muted small hidden-sm-down"
data-i18n="footer.cost"
>
Cost | Mean cost factor
<div class="text-muted small hidden-sm-down">
<span data-i18n="footer.cost">Cost</span> |
<span data-i18n="footer.mean-cost-factor"
>Mean cost factor</span
>
</div>
<p class="stats-label">
<span id="cost">-</span> |

View file

@ -33,8 +33,10 @@
"trackname": "Name"
},
"footer": {
"ascend": "Ascend | Plain ascend",
"cost": "Cost | Mean cost factor",
"ascend": "Ascend",
"plain-ascend": "Plain ascend",
"cost": "Cost",
"mean-cost-factor": "Mean cost factor",
"distance": "Distance",
"kilometer": "kilometers",
"kilometer-abbrev": "km",
@ -44,7 +46,8 @@
"meter-abbrev": "m",
"minutes": "minutes",
"minutes-abbrev": "min",
"total-energy": "Total Energy | Energy per 100 km",
"total-energy": "Total Energy",
"energy-per-100km": "Energy per 100 km",
"travel-time": "Travel time"
},
"layers": {