From 951dde53348f33e62b6db5b76806c00131501313 Mon Sep 17 00:00:00 2001 From: Joshua Taillon Date: Mon, 7 Nov 2022 01:10:01 -0700 Subject: [PATCH] Add icons and label translations for VC weather statuses --- .../public/img/weather/vc-clear-day.svg | 1 + .../public/img/weather/vc-clear-night.svg | 21 ++++++ .../public/img/weather/vc-cloudy.svg | 1 + .../public/img/weather/vc-fog.svg | 15 ++++ .../public/img/weather/vc-hail.svg | 1 + .../img/weather/vc-partly-cloudy-day.svg | 1 + .../img/weather/vc-partly-cloudy-night.svg | 40 +++++++++++ .../img/weather/vc-rain-snow-showers-day.svg | 1 + .../weather/vc-rain-snow-showers-night.svg | 52 ++++++++++++++ .../public/img/weather/vc-rain-snow.svg | 1 + .../public/img/weather/vc-rain.svg | 1 + .../public/img/weather/vc-showers-day.svg | 1 + .../public/img/weather/vc-showers-night.svg | 44 ++++++++++++ .../public/img/weather/vc-sleet.svg | 1 + .../img/weather/vc-snow-showers-day.svg | 1 + .../img/weather/vc-snow-showers-night.svg | 72 +++++++++++++++++++ .../public/img/weather/vc-snow.svg | 1 + .../public/img/weather/vc-thunder-rain.svg | 1 + .../img/weather/vc-thunder-showers-day.svg | 1 + .../img/weather/vc-thunder-showers-night.svg | 51 +++++++++++++ .../public/img/weather/vc-thunder.svg | 1 + .../public/img/weather/vc-wind.svg | 1 + .../src/locales/de/workouts.json | 24 ++++++- .../src/locales/en/workouts.json | 26 ++++++- .../src/locales/fr/workouts.json | 24 ++++++- 25 files changed, 380 insertions(+), 4 deletions(-) create mode 100644 fittrackee_client/public/img/weather/vc-clear-day.svg create mode 100644 fittrackee_client/public/img/weather/vc-clear-night.svg create mode 100644 fittrackee_client/public/img/weather/vc-cloudy.svg create mode 100644 fittrackee_client/public/img/weather/vc-fog.svg create mode 100644 fittrackee_client/public/img/weather/vc-hail.svg create mode 100644 fittrackee_client/public/img/weather/vc-partly-cloudy-day.svg create mode 100644 fittrackee_client/public/img/weather/vc-partly-cloudy-night.svg create mode 100644 fittrackee_client/public/img/weather/vc-rain-snow-showers-day.svg create mode 100644 fittrackee_client/public/img/weather/vc-rain-snow-showers-night.svg create mode 100644 fittrackee_client/public/img/weather/vc-rain-snow.svg create mode 100644 fittrackee_client/public/img/weather/vc-rain.svg create mode 100644 fittrackee_client/public/img/weather/vc-showers-day.svg create mode 100644 fittrackee_client/public/img/weather/vc-showers-night.svg create mode 100644 fittrackee_client/public/img/weather/vc-sleet.svg create mode 100644 fittrackee_client/public/img/weather/vc-snow-showers-day.svg create mode 100644 fittrackee_client/public/img/weather/vc-snow-showers-night.svg create mode 100644 fittrackee_client/public/img/weather/vc-snow.svg create mode 100644 fittrackee_client/public/img/weather/vc-thunder-rain.svg create mode 100644 fittrackee_client/public/img/weather/vc-thunder-showers-day.svg create mode 100644 fittrackee_client/public/img/weather/vc-thunder-showers-night.svg create mode 100644 fittrackee_client/public/img/weather/vc-thunder.svg create mode 100644 fittrackee_client/public/img/weather/vc-wind.svg diff --git a/fittrackee_client/public/img/weather/vc-clear-day.svg b/fittrackee_client/public/img/weather/vc-clear-day.svg new file mode 100644 index 00000000..adbdd620 --- /dev/null +++ b/fittrackee_client/public/img/weather/vc-clear-day.svg @@ -0,0 +1 @@ +clear-dayAsset 157colored \ No newline at end of file diff --git a/fittrackee_client/public/img/weather/vc-clear-night.svg b/fittrackee_client/public/img/weather/vc-clear-night.svg new file mode 100644 index 00000000..e6c5c8ac --- /dev/null +++ b/fittrackee_client/public/img/weather/vc-clear-night.svg @@ -0,0 +1,21 @@ + + + + +clear-nightAsset 158colored + + + + + + diff --git a/fittrackee_client/public/img/weather/vc-cloudy.svg b/fittrackee_client/public/img/weather/vc-cloudy.svg new file mode 100644 index 00000000..7509b673 --- /dev/null +++ b/fittrackee_client/public/img/weather/vc-cloudy.svg @@ -0,0 +1 @@ +cloudyAsset 161colored \ No newline at end of file diff --git a/fittrackee_client/public/img/weather/vc-fog.svg b/fittrackee_client/public/img/weather/vc-fog.svg new file mode 100644 index 00000000..ff330c90 --- /dev/null +++ b/fittrackee_client/public/img/weather/vc-fog.svg @@ -0,0 +1,15 @@ + + + + +3Asset 227FOG + + + + + + + diff --git a/fittrackee_client/public/img/weather/vc-hail.svg b/fittrackee_client/public/img/weather/vc-hail.svg new file mode 100644 index 00000000..a695f5a0 --- /dev/null +++ b/fittrackee_client/public/img/weather/vc-hail.svg @@ -0,0 +1 @@ +hailAsset 175colored \ No newline at end of file diff --git a/fittrackee_client/public/img/weather/vc-partly-cloudy-day.svg b/fittrackee_client/public/img/weather/vc-partly-cloudy-day.svg new file mode 100644 index 00000000..b10340b7 --- /dev/null +++ b/fittrackee_client/public/img/weather/vc-partly-cloudy-day.svg @@ -0,0 +1 @@ +partly-cloudy-dayAsset 159colored \ No newline at end of file diff --git a/fittrackee_client/public/img/weather/vc-partly-cloudy-night.svg b/fittrackee_client/public/img/weather/vc-partly-cloudy-night.svg new file mode 100644 index 00000000..61fd0473 --- /dev/null +++ b/fittrackee_client/public/img/weather/vc-partly-cloudy-night.svg @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/fittrackee_client/public/img/weather/vc-rain-snow-showers-day.svg b/fittrackee_client/public/img/weather/vc-rain-snow-showers-day.svg new file mode 100644 index 00000000..ab28ae2f --- /dev/null +++ b/fittrackee_client/public/img/weather/vc-rain-snow-showers-day.svg @@ -0,0 +1 @@ +rain-snow-showers-dayAsset 167colored \ No newline at end of file diff --git a/fittrackee_client/public/img/weather/vc-rain-snow-showers-night.svg b/fittrackee_client/public/img/weather/vc-rain-snow-showers-night.svg new file mode 100644 index 00000000..32c3c1dd --- /dev/null +++ b/fittrackee_client/public/img/weather/vc-rain-snow-showers-night.svg @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fittrackee_client/public/img/weather/vc-rain-snow.svg b/fittrackee_client/public/img/weather/vc-rain-snow.svg new file mode 100644 index 00000000..f1495444 --- /dev/null +++ b/fittrackee_client/public/img/weather/vc-rain-snow.svg @@ -0,0 +1 @@ +rain-snowAsset 166colored \ No newline at end of file diff --git a/fittrackee_client/public/img/weather/vc-rain.svg b/fittrackee_client/public/img/weather/vc-rain.svg new file mode 100644 index 00000000..6ac4b477 --- /dev/null +++ b/fittrackee_client/public/img/weather/vc-rain.svg @@ -0,0 +1 @@ +rainAsset 162colored \ No newline at end of file diff --git a/fittrackee_client/public/img/weather/vc-showers-day.svg b/fittrackee_client/public/img/weather/vc-showers-day.svg new file mode 100644 index 00000000..1eefb933 --- /dev/null +++ b/fittrackee_client/public/img/weather/vc-showers-day.svg @@ -0,0 +1 @@ +showers-dayAsset 163colored \ No newline at end of file diff --git a/fittrackee_client/public/img/weather/vc-showers-night.svg b/fittrackee_client/public/img/weather/vc-showers-night.svg new file mode 100644 index 00000000..4b464abf --- /dev/null +++ b/fittrackee_client/public/img/weather/vc-showers-night.svg @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fittrackee_client/public/img/weather/vc-sleet.svg b/fittrackee_client/public/img/weather/vc-sleet.svg new file mode 100644 index 00000000..989925c2 --- /dev/null +++ b/fittrackee_client/public/img/weather/vc-sleet.svg @@ -0,0 +1 @@ +sleetAsset 165colored \ No newline at end of file diff --git a/fittrackee_client/public/img/weather/vc-snow-showers-day.svg b/fittrackee_client/public/img/weather/vc-snow-showers-day.svg new file mode 100644 index 00000000..5a0f50df --- /dev/null +++ b/fittrackee_client/public/img/weather/vc-snow-showers-day.svg @@ -0,0 +1 @@ +snow-showers-dayAsset 177colored \ No newline at end of file diff --git a/fittrackee_client/public/img/weather/vc-snow-showers-night.svg b/fittrackee_client/public/img/weather/vc-snow-showers-night.svg new file mode 100644 index 00000000..d4fe91df --- /dev/null +++ b/fittrackee_client/public/img/weather/vc-snow-showers-night.svg @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fittrackee_client/public/img/weather/vc-snow.svg b/fittrackee_client/public/img/weather/vc-snow.svg new file mode 100644 index 00000000..ebcdcd94 --- /dev/null +++ b/fittrackee_client/public/img/weather/vc-snow.svg @@ -0,0 +1 @@ +snowAsset 176colored \ No newline at end of file diff --git a/fittrackee_client/public/img/weather/vc-thunder-rain.svg b/fittrackee_client/public/img/weather/vc-thunder-rain.svg new file mode 100644 index 00000000..f3c58c88 --- /dev/null +++ b/fittrackee_client/public/img/weather/vc-thunder-rain.svg @@ -0,0 +1 @@ +thunder-rainAsset 172colored \ No newline at end of file diff --git a/fittrackee_client/public/img/weather/vc-thunder-showers-day.svg b/fittrackee_client/public/img/weather/vc-thunder-showers-day.svg new file mode 100644 index 00000000..145dff1a --- /dev/null +++ b/fittrackee_client/public/img/weather/vc-thunder-showers-day.svg @@ -0,0 +1 @@ +thunder-showers-dayAsset 173colored \ No newline at end of file diff --git a/fittrackee_client/public/img/weather/vc-thunder-showers-night.svg b/fittrackee_client/public/img/weather/vc-thunder-showers-night.svg new file mode 100644 index 00000000..6dabbe2d --- /dev/null +++ b/fittrackee_client/public/img/weather/vc-thunder-showers-night.svg @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fittrackee_client/public/img/weather/vc-thunder.svg b/fittrackee_client/public/img/weather/vc-thunder.svg new file mode 100644 index 00000000..68a6f8b7 --- /dev/null +++ b/fittrackee_client/public/img/weather/vc-thunder.svg @@ -0,0 +1 @@ +thunderAsset 171colored \ No newline at end of file diff --git a/fittrackee_client/public/img/weather/vc-wind.svg b/fittrackee_client/public/img/weather/vc-wind.svg new file mode 100644 index 00000000..c09c2804 --- /dev/null +++ b/fittrackee_client/public/img/weather/vc-wind.svg @@ -0,0 +1 @@ +windAsset 169colored \ No newline at end of file diff --git a/fittrackee_client/src/locales/de/workouts.json b/fittrackee_client/src/locales/de/workouts.json index d52bed56..4c1ba98e 100644 --- a/fittrackee_client/src/locales/de/workouts.json +++ b/fittrackee_client/src/locales/de/workouts.json @@ -89,7 +89,29 @@ "rain": "Regen", "sleet": "Schneeregen", "snow": "Schnee", - "wind": "Wind" + "wind": "Wind", + "vc-clear-day": "klarer Tag", + "vc-clear-night": "klare Nacht", + "vc-cloudy": "wolkig", + "vc-fog": "Nebel", + "vc-partly-cloudy-day": "teilweise bewölkter Tag", + "vc-partly-cloudy-night": "teilweise bewölkte Nacht", + "vc-rain": "Regen", + "vc-sleet": "Schneeregen", + "vc-snow": "Schnee", + "vc-wind": "Wind", + "vc-hail": "Hagel", + "vc-rain-snow-showers-day": "Tag der Regen- und Schneeschauer", + "vc-rain-snow-showers-night": "Regen- und Schneeschauernacht", + "vc-rain-snow": "Regen und Schnee", + "vc-showers-day": "Regenschauer Tag", + "vc-showers-night": "Regenschauer Nacht", + "vc-snow-showers-day": "Tag der Schneeschauer", + "vc-snow-showers-night": "Schneeschauer Nacht", + "vc-thunder-rain": "Gewitter", + "vc-thunder-showers-day": "möglicher Gewittertag", + "vc-thunder-showers-night": "mögliche Gewitternacht", + "vc-thunder": "Gewitter" } }, "WITH_GPX": "mit .gpx Datei", diff --git a/fittrackee_client/src/locales/en/workouts.json b/fittrackee_client/src/locales/en/workouts.json index 50c9d31a..2bc83d91 100644 --- a/fittrackee_client/src/locales/en/workouts.json +++ b/fittrackee_client/src/locales/en/workouts.json @@ -89,8 +89,30 @@ "rain": "rain", "sleet": "sleet", "snow": "snow", - "wind": "wind" - } + "wind": "wind", + "vc-clear-day": "clear day", + "vc-clear-night": "clear night", + "vc-cloudy": "cloudy", + "vc-fog": "fog", + "vc-partly-cloudy-day": "partly cloudy day", + "vc-partly-cloudy-night": "partly cloudy night", + "vc-rain": "rain", + "vc-sleet": "sleet", + "vc-snow": "snow", + "vc-wind": "wind", + "vc-hail": "hail", + "vc-rain-snow-showers-day": "rain and snow showers day", + "vc-rain-snow-showers-night": "rain and snow showers night", + "vc-rain-snow": "rain and snow", + "vc-showers-day": "rain showers day", + "vc-showers-night": "rain showers night", + "vc-snow-showers-day": "snow showers day", + "vc-snow-showers-night": "snow showers night", + "vc-thunder-rain": "thunderstorms", + "vc-thunder-showers-day": "possible thunderstorms day", + "vc-thunder-showers-night": "possible thunderstorms night", + "vc-thunder": "thunderstorms" + } }, "WITH_GPX": "with .gpx file", "WITHOUT_GPX": "without .gpx file", diff --git a/fittrackee_client/src/locales/fr/workouts.json b/fittrackee_client/src/locales/fr/workouts.json index 572171ab..42bb87e9 100644 --- a/fittrackee_client/src/locales/fr/workouts.json +++ b/fittrackee_client/src/locales/fr/workouts.json @@ -89,7 +89,29 @@ "rain": "pluie", "sleet": "neige fondue", "snow": "neige", - "wind": "venteux" + "wind": "venteux", + "vc-clear-day": "ensoleillé", + "vc-clear-night": "nuit claire", + "vc-cloudy": "nuageux", + "vc-fog": "brouillard", + "vc-partly-cloudy-day": "partiellement nuageux", + "vc-partly-cloudy-night": "nuit partiellement nuageuse", + "vc-rain": "pluie", + "vc-sleet": "neige fondue", + "vc-snow": "neige", + "vc-wind": "venteux", + "vc-hail": "grêle", + "vc-rain-snow-showers-day": "averses de pluie et de neige pendant la journée", + "vc-rain-snow-showers-night": "averses de pluie et de neige pendant la nuit", + "vc-rain-snow": "pluie et neige", + "vc-showers-day": "averses de pluie pendant la journée", + "vc-showers-night": "averses de pluie pendant la nuit", + "vc-snow-showers-day": "averses de neige pendant la journée", + "vc-snow-showers-night": "averses de neige pendant la nuit", + "vc-thunder-rain": "orages", + "vc-thunder-showers-day": "possible jour d'orage", + "vc-thunder-showers-night": "possibilité d'orages nocturnes", + "vc-thunder": "orages" } }, "WITH_GPX": "avec un fichier .gpx",