Change distance travelled label to title

See https://github.com/owntracks/frontend/issues/22#issuecomment-583698919
This commit is contained in:
Linus Groh
2020-02-08 11:50:48 +00:00
parent a2109a5802
commit f4262efaa4
3 changed files with 5 additions and 8 deletions

View File

@@ -99,14 +99,11 @@
</nav>
<nav class="nav-shrink">
<div
class="nav-item"
v-if="$config.showDistanceTravelled && distanceTravelled"
class="nav-item"
:title="$t('Distance travelled')"
>
{{
$t("Distance travelled: {distance}", {
distance: humanReadableDistance(distanceTravelled),
})
}}
{{ humanReadableDistance(distanceTravelled) }}
</div>
<div class="nav-item">
<button

View File

@@ -10,7 +10,7 @@
"Select user": "Benutzer auswählen",
"Show all": "Alle anzeigen",
"Select device": "Gerät auswählen",
"Distance travelled: {distance}": "Gereiste Entfernung: {distance}",
"Distance travelled": "Gereiste Entfernung",
"Download raw data": "Rohdaten herunterladen",
"Information": "Information",
"Show last known locations": "Zeige letzte bekannte Standorte",

View File

@@ -10,7 +10,7 @@
"Select user": "Select user",
"Show all": "Show all",
"Select device": "Select device",
"Distance travelled: {distance}": "Distance travelled: {distance}",
"Distance travelled": "Distance travelled",
"Download raw data": "Download raw data",
"Information": "Information",
"Show last known locations": "Show last known locations",