From 1af688c4894ad710776a48ee7c122f7e15032b8c Mon Sep 17 00:00:00 2001 From: David Ralph Date: Fri, 30 Apr 2021 18:44:03 +0100 Subject: [PATCH] fix: add setting for cloudiness and fix strings --- manifest/chrome.json | 2 +- manifest/firefox.json | 2 +- src/components/modals/main/settings/sections/Weather.jsx | 3 +++ src/translations/de_DE.json | 5 +++-- src/translations/en_GB.json | 5 +++-- src/translations/en_US.json | 4 +++- src/translations/es.json | 3 ++- src/translations/fr.json | 3 ++- src/translations/nl.json | 5 +++-- src/translations/no.json | 5 +++-- src/translations/ru.json | 5 +++-- src/translations/zh_CN.json | 5 +++-- 12 files changed, 30 insertions(+), 17 deletions(-) diff --git a/manifest/chrome.json b/manifest/chrome.json index 77020989..8fb1b840 100644 --- a/manifest/chrome.json +++ b/manifest/chrome.json @@ -1,5 +1,5 @@ { - "manifest_version": 2, + "manifest_version": 3, "offline_enabled": true, "name": "Mue", "description": "Fast, open and free-to-use new tab page for modern browsers.", diff --git a/manifest/firefox.json b/manifest/firefox.json index cc2c5a5d..b18aa544 100644 --- a/manifest/firefox.json +++ b/manifest/firefox.json @@ -1,5 +1,5 @@ { - "manifest_version": 2, + "manifest_version": 3, "name": "Mue", "description": "Fast, open and free-to-use new tab page for modern browsers.", "version": "5.0.1", diff --git a/src/components/modals/main/settings/sections/Weather.jsx b/src/components/modals/main/settings/sections/Weather.jsx index 31003df8..eedc371c 100644 --- a/src/components/modals/main/settings/sections/Weather.jsx +++ b/src/components/modals/main/settings/sections/Weather.jsx @@ -32,6 +32,8 @@ export default class TimeSettings extends React.PureComponent { this.setState({ location: data[0].name }); + }, { + enableHighAccuracy: true }); document.querySelector('.reminder-info').style.display = 'block'; @@ -69,6 +71,7 @@ export default class TimeSettings extends React.PureComponent {

{language.extra_info.title}

+ diff --git a/src/translations/de_DE.json b/src/translations/de_DE.json index a964b166..0354b2c6 100644 --- a/src/translations/de_DE.json +++ b/src/translations/de_DE.json @@ -177,9 +177,10 @@ "kelvin": "Kelvin" }, "extra_info": { - "title": "Zusätzliche Informationen", + "title": "Zusätzliche informationen", "show_location": "Standort anzeigen", - "show_text": "Show Text", + "show_text": "Show text", + "cloudiness": "Cloudiness", "humidity": "Luftfeuchtigkeit", "wind_speed": "Windgeschwindigkeit", "wind_direction": "Wind direction", diff --git a/src/translations/en_GB.json b/src/translations/en_GB.json index 9d07ea2a..23b25a27 100644 --- a/src/translations/en_GB.json +++ b/src/translations/en_GB.json @@ -178,8 +178,9 @@ }, "extra_info": { "title": "Extra information", - "show_location": "Show Location", - "show_text": "Show Text", + "show_location": "Show location", + "show_text": "Show text", + "cloudiness": "Cloudiness", "humidity": "Humidity", "wind_speed": "Wind speed", "wind_direction": "Wind direction", diff --git a/src/translations/en_US.json b/src/translations/en_US.json index 53d5d5d0..5980b728 100644 --- a/src/translations/en_US.json +++ b/src/translations/en_US.json @@ -178,7 +178,9 @@ }, "extra_info": { "title": "Extra information", - "show_location": "Show Location", + "show_location": "Show location", + "show_text": "Show text", + "cloudiness": "Cloudiness", "humidity": "Humidity", "wind_speed": "Wind speed", "wind_direction": "Wind direction", diff --git a/src/translations/es.json b/src/translations/es.json index 9846e95c..5f27e8b3 100644 --- a/src/translations/es.json +++ b/src/translations/es.json @@ -179,7 +179,8 @@ "extra_info": { "title": "Información extra", "show_location": "Mostrar ubicación", - "show_text": "Show Text", + "show_text": "Show text", + "cloudiness": "Cloudiness", "humidity": "Humedad", "wind_speed": "Velocidad del viento", "wind_direction": "Wind direction", diff --git a/src/translations/fr.json b/src/translations/fr.json index 818f3559..6a2a2c5d 100644 --- a/src/translations/fr.json +++ b/src/translations/fr.json @@ -179,7 +179,8 @@ "extra_info": { "title": "Informations supplémentaires", "show_location": "Afficher l'emplacement", - "show_text": "Show Text", + "show_text": "Show text", + "cloudiness": "Cloudiness", "humidity": "Humidité", "wind_speed": "Vitesse du vent", "wind_direction": "Wind direction", diff --git a/src/translations/nl.json b/src/translations/nl.json index d6f55e9c..c06a9d3b 100644 --- a/src/translations/nl.json +++ b/src/translations/nl.json @@ -178,8 +178,9 @@ }, "extra_info": { "title": "Extra information", - "show_location": "Show Location", - "show_text": "Show Text", + "show_location": "Show location", + "show_text": "Show text", + "cloudiness": "Cloudiness", "humidity": "Humidity", "wind_speed": "Wind speed", "wind_direction": "Wind direction", diff --git a/src/translations/no.json b/src/translations/no.json index ac998e42..5cf66b04 100644 --- a/src/translations/no.json +++ b/src/translations/no.json @@ -178,8 +178,9 @@ }, "extra_info": { "title": "Extra information", - "show_location": "Show Location", - "show_text": "Show Text", + "show_location": "Show location", + "show_text": "Show text", + "cloudiness": "Cloudiness", "humidity": "Humidity", "wind_speed": "Wind speed", "wind_direction": "Wind direction", diff --git a/src/translations/ru.json b/src/translations/ru.json index 0513ab88..9a149437 100644 --- a/src/translations/ru.json +++ b/src/translations/ru.json @@ -178,8 +178,9 @@ }, "extra_info": { "title": "Extra information", - "show_location": "Show Location", - "show_text": "Show Text", + "show_location": "Show location", + "show_text": "Show text", + "cloudiness": "Cloudiness", "humidity": "Humidity", "wind_speed": "Wind speed", "wind_direction": "Wind direction", diff --git a/src/translations/zh_CN.json b/src/translations/zh_CN.json index 605c5715..be47c830 100644 --- a/src/translations/zh_CN.json +++ b/src/translations/zh_CN.json @@ -178,8 +178,9 @@ }, "extra_info": { "title": "Extra information", - "show_location": "Show Location", - "show_text": "Show Text", + "show_location": "Show location", + "show_text": "Show text", + "cloudiness": "Cloudiness", "humidity": "Humidity", "wind_speed": "Wind speed", "wind_direction": "Wind direction",