Client - add missing labels
This commit is contained in:
parent
3f672b5e90
commit
d7a9aae45e
@ -1,6 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="dropdown-wrapper">
|
<div class="dropdown-wrapper">
|
||||||
<button
|
<button
|
||||||
|
:aria-label="buttonLabel"
|
||||||
:aria-expanded="isOpen"
|
:aria-expanded="isOpen"
|
||||||
class="dropdown-selector transparent"
|
class="dropdown-selector transparent"
|
||||||
@click="toggleDropdown"
|
@click="toggleDropdown"
|
||||||
@ -32,6 +33,7 @@
|
|||||||
interface Props {
|
interface Props {
|
||||||
options: TDropdownOptions
|
options: TDropdownOptions
|
||||||
selected: string
|
selected: string
|
||||||
|
buttonLabel: string
|
||||||
}
|
}
|
||||||
const props = defineProps<Props>()
|
const props = defineProps<Props>()
|
||||||
|
|
||||||
|
@ -82,6 +82,7 @@
|
|||||||
:options="availableLanguages"
|
:options="availableLanguages"
|
||||||
:selected="language"
|
:selected="language"
|
||||||
@selected="updateLanguage"
|
@selected="updateLanguage"
|
||||||
|
:buttonLabel="$t('user.REGISTER')"
|
||||||
>
|
>
|
||||||
<i class="fa fa-language"></i>
|
<i class="fa fa-language"></i>
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
params: { workoutId: workoutObject.workoutId },
|
params: { workoutId: workoutObject.workoutId },
|
||||||
})
|
})
|
||||||
"
|
"
|
||||||
|
:aria-label="$t(`workouts.EDIT_WORKOUT`)"
|
||||||
>
|
>
|
||||||
<i class="fa fa-edit" aria-hidden="true" />
|
<i class="fa fa-edit" aria-hidden="true" />
|
||||||
</button>
|
</button>
|
||||||
@ -37,6 +38,7 @@
|
|||||||
v-if="workoutObject.with_gpx"
|
v-if="workoutObject.with_gpx"
|
||||||
class="transparent icon-button"
|
class="transparent icon-button"
|
||||||
@click.prevent="downloadGpx(workoutObject.workoutId)"
|
@click.prevent="downloadGpx(workoutObject.workoutId)"
|
||||||
|
:aria-label="$t(`workouts.DOWNLOAD_WORKOUT`)"
|
||||||
>
|
>
|
||||||
<i class="fa fa-download" aria-hidden="true" />
|
<i class="fa fa-download" aria-hidden="true" />
|
||||||
</button>
|
</button>
|
||||||
@ -44,6 +46,7 @@
|
|||||||
id="delete-workout-button"
|
id="delete-workout-button"
|
||||||
class="transparent icon-button"
|
class="transparent icon-button"
|
||||||
@click="displayDeleteModal"
|
@click="displayDeleteModal"
|
||||||
|
:aria-label="$t(`workouts.DELETE_WORKOUT`)"
|
||||||
>
|
>
|
||||||
<i class="fa fa-trash" aria-hidden="true" />
|
<i class="fa fa-trash" aria-hidden="true" />
|
||||||
</button>
|
</button>
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
class="map-control"
|
class="map-control"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
role="button"
|
role="button"
|
||||||
|
:aria-label="$t('workouts.RESET_ZOOM')"
|
||||||
@click="resetZoom"
|
@click="resetZoom"
|
||||||
>
|
>
|
||||||
<i class="fa fa-refresh" aria-hidden="true" />
|
<i class="fa fa-refresh" aria-hidden="true" />
|
||||||
@ -32,6 +33,9 @@
|
|||||||
class="map-control"
|
class="map-control"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
role="button"
|
role="button"
|
||||||
|
:aria-label="
|
||||||
|
$t(`workouts.${isFullscreen ? 'EXIT' : 'VIEW'}}_FULLSCREEN`)
|
||||||
|
"
|
||||||
@click="toggleFullscreen"
|
@click="toggleFullscreen"
|
||||||
>
|
>
|
||||||
<i
|
<i
|
||||||
|
@ -6,13 +6,16 @@
|
|||||||
"AVE_SPEED": "ave. speed",
|
"AVE_SPEED": "ave. speed",
|
||||||
"BACK_TO_WORKOUT": "back to workout",
|
"BACK_TO_WORKOUT": "back to workout",
|
||||||
"DATE": "date",
|
"DATE": "date",
|
||||||
|
"DELETE_WORKOUT": "Delete the workout",
|
||||||
"DESCENT": "descent",
|
"DESCENT": "descent",
|
||||||
"DISPLAY_FILTERS": "display filters",
|
"DISPLAY_FILTERS": "display filters",
|
||||||
"DISTANCE": "distance",
|
"DISTANCE": "distance",
|
||||||
|
"DOWNLOAD_WORKOUT": "Download the workout",
|
||||||
"DURATION": "duration",
|
"DURATION": "duration",
|
||||||
"EDIT_WORKOUT": "Edit the workout",
|
"EDIT_WORKOUT": "Edit the workout",
|
||||||
"ELEVATION": "elevation",
|
"ELEVATION": "elevation",
|
||||||
"END": "end",
|
"END": "end",
|
||||||
|
"EXIT_FULLSCREEN": "Exit Fullscreen",
|
||||||
"FROM": "from",
|
"FROM": "from",
|
||||||
"GPX_FILE": ".gpx file",
|
"GPX_FILE": ".gpx file",
|
||||||
"HIDE_FILTERS": "hide filters",
|
"HIDE_FILTERS": "hide filters",
|
||||||
@ -50,6 +53,7 @@
|
|||||||
"RECORD_LD": "Longest duration",
|
"RECORD_LD": "Longest duration",
|
||||||
"RECORD_MS": "Max. speed",
|
"RECORD_MS": "Max. speed",
|
||||||
"REMAINING_CHARS": "remaining characters",
|
"REMAINING_CHARS": "remaining characters",
|
||||||
|
"RESET_ZOOM": "Reset zoom",
|
||||||
"SEGMENT": "segment | segments",
|
"SEGMENT": "segment | segments",
|
||||||
"SPEED": "speed",
|
"SPEED": "speed",
|
||||||
"SPORT": "sport | sports",
|
"SPORT": "sport | sports",
|
||||||
@ -60,6 +64,7 @@
|
|||||||
"TO": "to",
|
"TO": "to",
|
||||||
"TOTAL_DURATION": "total duration",
|
"TOTAL_DURATION": "total duration",
|
||||||
"UPLOAD_FIRST_WORKOUT": "Upload one!",
|
"UPLOAD_FIRST_WORKOUT": "Upload one!",
|
||||||
|
"VIEW_FULLSCREEN": "View Fullscreen",
|
||||||
"WEATHER": {
|
"WEATHER": {
|
||||||
"DARK_SKY": {
|
"DARK_SKY": {
|
||||||
"clear-day": "clear day",
|
"clear-day": "clear day",
|
||||||
|
@ -6,13 +6,16 @@
|
|||||||
"AVE_SPEED": "vitesse moy.",
|
"AVE_SPEED": "vitesse moy.",
|
||||||
"BACK_TO_WORKOUT": "revenir à la séance",
|
"BACK_TO_WORKOUT": "revenir à la séance",
|
||||||
"DATE": "date",
|
"DATE": "date",
|
||||||
|
"DELETE_WORKOUT": "Supprimer la séance",
|
||||||
"DESCENT": "dénivelé négatif",
|
"DESCENT": "dénivelé négatif",
|
||||||
"DISPLAY_FILTERS": "afficher les filtres",
|
"DISPLAY_FILTERS": "afficher les filtres",
|
||||||
"DISTANCE": "distance",
|
"DISTANCE": "distance",
|
||||||
|
"DOWNLOAD_WORKOUT": "Télécharger la séance",
|
||||||
"DURATION": "durée",
|
"DURATION": "durée",
|
||||||
"EDIT_WORKOUT": "Modifier la séance",
|
"EDIT_WORKOUT": "Modifier la séance",
|
||||||
"ELEVATION": "altitude",
|
"ELEVATION": "altitude",
|
||||||
"END": "fin",
|
"END": "fin",
|
||||||
|
"EXIT_FULLSCREEN": "Sortir du plein-écran",
|
||||||
"FROM": "à partir de",
|
"FROM": "à partir de",
|
||||||
"GPX_FILE": "fichier .gpx",
|
"GPX_FILE": "fichier .gpx",
|
||||||
"HIDE_FILTERS": "masquer les filtres",
|
"HIDE_FILTERS": "masquer les filtres",
|
||||||
@ -50,6 +53,7 @@
|
|||||||
"RECORD_LD": "Durée la + longue",
|
"RECORD_LD": "Durée la + longue",
|
||||||
"RECORD_MS": "Vitesse max.",
|
"RECORD_MS": "Vitesse max.",
|
||||||
"REMAINING_CHARS": "nombre de caractères restants ",
|
"REMAINING_CHARS": "nombre de caractères restants ",
|
||||||
|
"RESET_ZOOM": "Réinitialiser le zoom",
|
||||||
"SEGMENT": "segment | segments",
|
"SEGMENT": "segment | segments",
|
||||||
"SPEED": "vitesse",
|
"SPEED": "vitesse",
|
||||||
"SPORT": "sport | sports",
|
"SPORT": "sport | sports",
|
||||||
@ -60,6 +64,7 @@
|
|||||||
"TO": "jusqu'au",
|
"TO": "jusqu'au",
|
||||||
"TOTAL_DURATION": "durée totale",
|
"TOTAL_DURATION": "durée totale",
|
||||||
"UPLOAD_FIRST_WORKOUT": "Ajoutez votre première séance !",
|
"UPLOAD_FIRST_WORKOUT": "Ajoutez votre première séance !",
|
||||||
|
"VIEW_FULLSCREEN": "Afficher en plein-écran",
|
||||||
"WEATHER": {
|
"WEATHER": {
|
||||||
"DARK_SKY": {
|
"DARK_SKY": {
|
||||||
"clear-day": "ensoleillé",
|
"clear-day": "ensoleillé",
|
||||||
|
Loading…
Reference in New Issue
Block a user