Skip to content

Commit

Permalink
fix: missing locales in compare models
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed Feb 10, 2025
1 parent 2b8fa5f commit 811355b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions app/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,11 @@
"main_chart_show_wind": "show wind speed in main view hourly chart",
"map": "Map",
"map_settings": "map settings",
"max_temperature": "Max Temperature",
"medium": "Moderate",
"meteogram": "meteogram",
"metric_temp_decimal": "use decimal for temperature",
"min_temperature": "Min Temperature",
"min_uv_index": "UV index below won't be shown",
"missing_location_perm": "Location permission missing",
"missing_storage_perm_settings": "storage permission is needed to export settings",
Expand Down Expand Up @@ -334,6 +336,7 @@
"weather_map": "Weather map",
"weather_map_colors": "weather map color scheme",
"wind": "Wind",
"wind_bearing": "wind_bearing",
"wind_beaufort": "beaufort wind scale",
"wind_gust": "wind gust",
"wind_speed": "wind speed"
Expand Down
8 changes: 6 additions & 2 deletions app/services/weatherData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,13 +224,17 @@ const WEATHER_DATA_TITLES = {
[WeatherProps.iso]: lt('freezing_level'),
[WeatherProps.precipAccumulation]: lt('precipitation'),
[WeatherProps.snowfall]: lt('snow_precipitation'),
[WeatherProps.rainPrecipitation]: lt('rain_precipitation'),
[WeatherProps.apparentTemperature]: lt('feels_like'),
[WeatherProps.aqi]: lt('aqi'),
[WeatherProps.sealevelPressure]: lt('sealevel_pressure'),
[WeatherProps.dewpoint]: lt('dewpoint'),
[WeatherProps.relativeHumidity]: lt('relative_humidity'),
[WeatherProps.snowDepth]: lt('snow_depth')
[WeatherProps.snowDepth]: lt('snow_depth'),
[WeatherProps.temperature]: lt('temperature'),
[WeatherProps.temperatureMin]: lt('min_temperature'),
[WeatherProps.temperatureMax]: lt('max_temperature'),
[WeatherProps.rainPrecipitation]: lt('precipitation'),
[WeatherProps.windBearing]: lt('wind_bearing')
};
const WEATHER_DATA_COLORS = {
[WeatherProps.moon]: '#845987',
Expand Down

0 comments on commit 811355b

Please sign in to comment.