fix(weather): show correct wind speed and unit for imperial units
When OPENWEATHER_UNITS=imperial, OpenWeatherMap returns wind speed in
mph directly — the server was incorrectly multiplying by 3.6 (m/s→km/h)
on top of that. All locale strings also hardcoded the unit label instead
of using a {{windUnit}} placeholder, so the label always read km/h.
Resolves #79
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
"weatherRefresh": "تحديث الطقس",
|
||||
"weatherRefreshTitle": "تحديث",
|
||||
"weatherUpdated": "تم تحديث الطقس",
|
||||
"weatherFeelsLike": "الإحساس {{temp}}° · {{humidity}}% · الريح {{wind}} كم/س",
|
||||
"weatherFeelsLike": "الإحساس {{temp}}° · {{humidity}}% · الريح {{wind}} {{windUnit}}",
|
||||
"fabTaskLabel": "إضافة مهمة",
|
||||
"fabCalendarLabel": "إضافة حدث",
|
||||
"fabShoppingLabel": "إضافة تسوق",
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
"weatherRefresh": "Wetter aktualisieren",
|
||||
"weatherRefreshTitle": "Aktualisieren",
|
||||
"weatherUpdated": "Wetter aktualisiert",
|
||||
"weatherFeelsLike": "Gefühlt {{temp}}° · {{humidity}}% · Wind {{wind}} km/h",
|
||||
"weatherFeelsLike": "Gefühlt {{temp}}° · {{humidity}}% · Wind {{wind}} {{windUnit}}",
|
||||
"fabTaskLabel": "Aufgabe hinzufügen",
|
||||
"fabCalendarLabel": "Termin hinzufügen",
|
||||
"fabShoppingLabel": "Einkauf hinzufügen",
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
"weatherRefresh": "Ανανέωση καιρού",
|
||||
"weatherRefreshTitle": "Ανανέωση",
|
||||
"weatherUpdated": "Καιρός ενημερώθηκε",
|
||||
"weatherFeelsLike": "Αίσθηση {{temp}}° · {{humidity}}% · Άνεμος {{wind}} χλμ/ώ",
|
||||
"weatherFeelsLike": "Αίσθηση {{temp}}° · {{humidity}}% · Άνεμος {{wind}} {{windUnit}}",
|
||||
"fabTaskLabel": "Προσθήκη εργασίας",
|
||||
"fabCalendarLabel": "Προσθήκη εκδήλωσης",
|
||||
"fabShoppingLabel": "Προσθήκη αγοράς",
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
"weatherRefresh": "Refresh weather",
|
||||
"weatherRefreshTitle": "Refresh",
|
||||
"weatherUpdated": "Weather updated",
|
||||
"weatherFeelsLike": "Feels like {{temp}}° · {{humidity}}% · Wind {{wind}} km/h",
|
||||
"weatherFeelsLike": "Feels like {{temp}}° · {{humidity}}% · Wind {{wind}} {{windUnit}}",
|
||||
"fabTaskLabel": "Add task",
|
||||
"fabCalendarLabel": "Add event",
|
||||
"fabShoppingLabel": "Add shopping",
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
"weatherRefresh": "Actualizar tiempo",
|
||||
"weatherRefreshTitle": "Actualizar",
|
||||
"weatherUpdated": "Tiempo actualizado",
|
||||
"weatherFeelsLike": "Sensación {{temp}}° · {{humidity}}% · Viento {{wind}} km/h",
|
||||
"weatherFeelsLike": "Sensación {{temp}}° · {{humidity}}% · Viento {{wind}} {{windUnit}}",
|
||||
"fabTaskLabel": "Añadir tarea",
|
||||
"fabCalendarLabel": "Añadir evento",
|
||||
"fabShoppingLabel": "Añadir compra",
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
"weatherRefresh": "Actualiser la météo",
|
||||
"weatherRefreshTitle": "Actualiser",
|
||||
"weatherUpdated": "Météo mise à jour",
|
||||
"weatherFeelsLike": "Ressenti {{temp}}° · {{humidity}}% · Vent {{wind}} km/h",
|
||||
"weatherFeelsLike": "Ressenti {{temp}}° · {{humidity}}% · Vent {{wind}} {{windUnit}}",
|
||||
"fabTaskLabel": "Ajouter une tâche",
|
||||
"fabCalendarLabel": "Ajouter un événement",
|
||||
"fabShoppingLabel": "Ajouter une course",
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
"weatherRefresh": "मौसम अपडेट करें",
|
||||
"weatherRefreshTitle": "अपडेट",
|
||||
"weatherUpdated": "मौसम अपडेट हो गया",
|
||||
"weatherFeelsLike": "महसूस होता है {{temp}}° · {{humidity}}% · हवा {{wind}} km/h",
|
||||
"weatherFeelsLike": "महसूस होता है {{temp}}° · {{humidity}}% · हवा {{wind}} {{windUnit}}",
|
||||
"fabTaskLabel": "कार्य जोड़ें",
|
||||
"fabCalendarLabel": "कार्यक्रम जोड़ें",
|
||||
"fabShoppingLabel": "खरीदारी जोड़ें",
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
"weatherRefresh": "Aggiorna meteo",
|
||||
"weatherRefreshTitle": "Aggiorna",
|
||||
"weatherUpdated": "Meteo aggiornato",
|
||||
"weatherFeelsLike": "Percepiti {{temp}}° · {{humidity}}% · Vento {{wind}} km/h",
|
||||
"weatherFeelsLike": "Percepiti {{temp}}° · {{humidity}}% · Vento {{wind}} {{windUnit}}",
|
||||
"fabTaskLabel": "Aggiungi compito",
|
||||
"fabCalendarLabel": "Aggiungi evento",
|
||||
"fabShoppingLabel": "Aggiungi spesa",
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
"weatherRefresh": "天気を更新",
|
||||
"weatherRefreshTitle": "更新",
|
||||
"weatherUpdated": "天気を更新しました",
|
||||
"weatherFeelsLike": "体感 {{temp}}° · {{humidity}}% · 風速 {{wind}} km/h",
|
||||
"weatherFeelsLike": "体感 {{temp}}° · {{humidity}}% · 風速 {{wind}} {{windUnit}}",
|
||||
"fabTaskLabel": "タスクを追加",
|
||||
"fabCalendarLabel": "予定を追加",
|
||||
"fabShoppingLabel": "買い物を追加",
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
"weatherRefresh": "Atualizar clima",
|
||||
"weatherRefreshTitle": "Atualizar",
|
||||
"weatherUpdated": "Clima atualizado",
|
||||
"weatherFeelsLike": "Sensação {{temp}}° · {{humidity}}% · Vento {{wind}} km/h",
|
||||
"weatherFeelsLike": "Sensação {{temp}}° · {{humidity}}% · Vento {{wind}} {{windUnit}}",
|
||||
"fabTaskLabel": "Adicionar tarefa",
|
||||
"fabCalendarLabel": "Adicionar evento",
|
||||
"fabShoppingLabel": "Adicionar compra",
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
"weatherRefresh": "Обновить погоду",
|
||||
"weatherRefreshTitle": "Обновить",
|
||||
"weatherUpdated": "Погода обновлена",
|
||||
"weatherFeelsLike": "Ощущается как {{temp}}° · {{humidity}}% · Ветер {{wind}} км/ч",
|
||||
"weatherFeelsLike": "Ощущается как {{temp}}° · {{humidity}}% · Ветер {{wind}} {{windUnit}}",
|
||||
"fabTaskLabel": "Добавить задачу",
|
||||
"fabCalendarLabel": "Добавить событие",
|
||||
"fabShoppingLabel": "Добавить покупку",
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
"weatherRefresh": "Uppdatera vädret",
|
||||
"weatherRefreshTitle": "Uppdatera",
|
||||
"weatherUpdated": "Väder uppdaterat",
|
||||
"weatherFeelsLike": "Känns som {{temp}}° · {{humidity}}% · Vind {{wind}} km/h",
|
||||
"weatherFeelsLike": "Känns som {{temp}}° · {{humidity}}% · Vind {{wind}} {{windUnit}}",
|
||||
"fabTaskLabel": "Lägg till uppgift",
|
||||
"fabCalendarLabel": "Lägg till händelse",
|
||||
"fabShoppingLabel": "Lägg till shopping",
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
"weatherRefresh": "Hava durumunu yenile",
|
||||
"weatherRefreshTitle": "Yenile",
|
||||
"weatherUpdated": "Hava durumu güncellendi",
|
||||
"weatherFeelsLike": "Hissedilen {{temp}}° · {{humidity}}% · Rüzgar {{wind}} km/s",
|
||||
"weatherFeelsLike": "Hissedilen {{temp}}° · {{humidity}}% · Rüzgar {{wind}} {{windUnit}}",
|
||||
"fabTaskLabel": "Görev ekle",
|
||||
"fabCalendarLabel": "Etkinlik ekle",
|
||||
"fabShoppingLabel": "Alışveriş ekle",
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
"weatherRefresh": "Оновити погоду",
|
||||
"weatherRefreshTitle": "Оновити",
|
||||
"weatherUpdated": "Погоду оновлено",
|
||||
"weatherFeelsLike": "Відчувається як {{temp}}° · {{humidity}}% · Вітер {{wind}} км/год",
|
||||
"weatherFeelsLike": "Відчувається як {{temp}}° · {{humidity}}% · Вітер {{wind}} {{windUnit}}",
|
||||
"fabTaskLabel": "Додати завдання",
|
||||
"fabCalendarLabel": "Додати подію",
|
||||
"fabShoppingLabel": "Додати покупку",
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
"weatherRefresh": "刷新天气",
|
||||
"weatherRefreshTitle": "刷新",
|
||||
"weatherUpdated": "天气已更新",
|
||||
"weatherFeelsLike": "体感 {{temp}}° · {{humidity}}% · 风速 {{wind}} km/h",
|
||||
"weatherFeelsLike": "体感 {{temp}}° · {{humidity}}% · 风速 {{wind}} {{windUnit}}",
|
||||
"fabTaskLabel": "添加任务",
|
||||
"fabCalendarLabel": "添加日程",
|
||||
"fabShoppingLabel": "添加购物",
|
||||
|
||||
Reference in New Issue
Block a user