156 lines
5.4 KiB
TypeScript
156 lines
5.4 KiB
TypeScript
/**
|
|
* `weatherUi.*` — English + Castellano labels for the Open-Meteo weather blocks.
|
|
*
|
|
* The English source strings live next to the data in `src/lib/weather.ts`
|
|
* (`weatherCodes`, `getAQIInfo`, `calculateSkateability`) and are carried on the
|
|
* objects as `descriptionKey` / `labelKey` / `reasonKeys` so the UI can render
|
|
* `t(key)` (see `SpotDetailPage` and `SpotMap`). Those English `*Key` values are
|
|
* `weatherUi.*` and MUST match the keys here.
|
|
*
|
|
* The plain English strings stay on the data objects for non-UI consumers (the
|
|
* Sasquatch tool-result JSON), which is deliberately kept in English.
|
|
*/
|
|
const weatherUi = {
|
|
en: {
|
|
condition: {
|
|
clearSky: 'Clear sky',
|
|
mainlyClear: 'Mainly clear',
|
|
partlyCloudy: 'Partly cloudy',
|
|
overcast: 'Overcast',
|
|
foggy: 'Foggy',
|
|
depositingRimeFog: 'Depositing rime fog',
|
|
lightDrizzle: 'Light drizzle',
|
|
moderateDrizzle: 'Moderate drizzle',
|
|
denseDrizzle: 'Dense drizzle',
|
|
lightFreezingDrizzle: 'Light freezing drizzle',
|
|
denseFreezingDrizzle: 'Dense freezing drizzle',
|
|
slightRain: 'Slight rain',
|
|
moderateRain: 'Moderate rain',
|
|
heavyRain: 'Heavy rain',
|
|
lightFreezingRain: 'Light freezing rain',
|
|
heavyFreezingRain: 'Heavy freezing rain',
|
|
slightSnow: 'Slight snow',
|
|
moderateSnow: 'Moderate snow',
|
|
heavySnow: 'Heavy snow',
|
|
snowGrains: 'Snow grains',
|
|
slightRainShowers: 'Slight rain showers',
|
|
moderateRainShowers: 'Moderate rain showers',
|
|
violentRainShowers: 'Violent rain showers',
|
|
slightSnowShowers: 'Slight snow showers',
|
|
heavySnowShowers: 'Heavy snow showers',
|
|
thunderstorm: 'Thunderstorm',
|
|
thunderstormSlightHail: 'Thunderstorm with slight hail',
|
|
thunderstormHeavyHail: 'Thunderstorm with heavy hail',
|
|
unknown: 'Unknown',
|
|
},
|
|
aqi: {
|
|
good: 'Good',
|
|
moderate: 'Moderate',
|
|
unhealthySensitive: 'Unhealthy for Sensitive Groups',
|
|
unhealthy: 'Unhealthy',
|
|
veryUnhealthy: 'Very Unhealthy',
|
|
hazardous: 'Hazardous',
|
|
},
|
|
skateability: {
|
|
perfect: 'Perfect',
|
|
good: 'Good',
|
|
okay: 'Okay',
|
|
poor: 'Poor',
|
|
bad: 'Bad',
|
|
unrideable: 'Unrideable',
|
|
},
|
|
reason: {
|
|
currentlyRaining: 'Currently raining',
|
|
raining: 'Raining',
|
|
snowing: 'Snowing',
|
|
thunderstorm: 'Thunderstorm',
|
|
freezingTemperature: 'Freezing temperature',
|
|
veryCold: 'Very cold',
|
|
extremelyHot: 'Extremely hot',
|
|
veryHot: 'Very hot',
|
|
veryStrongWind: 'Very strong wind',
|
|
strongWind: 'Strong wind',
|
|
moderateWind: 'Moderate wind',
|
|
veryUnhealthyAir: 'Very unhealthy air',
|
|
unhealthyAir: 'Unhealthy air',
|
|
moderateAirQuality: 'Moderate air quality',
|
|
veryHumid: 'Very humid',
|
|
humid: 'Humid',
|
|
extremeUv: 'Extreme UV - wear sunscreen',
|
|
highUv: 'High UV - sun protection recommended',
|
|
perfectConditions: 'Perfect skating conditions',
|
|
},
|
|
},
|
|
es: {
|
|
condition: {
|
|
clearSky: 'Cielo despejado',
|
|
mainlyClear: 'Mayormente despejado',
|
|
partlyCloudy: 'Parcialmente nublado',
|
|
overcast: 'Cubierto',
|
|
foggy: 'Niebla',
|
|
depositingRimeFog: 'Niebla con escarcha',
|
|
lightDrizzle: 'Llovizna ligera',
|
|
moderateDrizzle: 'Llovizna moderada',
|
|
denseDrizzle: 'Llovizna intensa',
|
|
lightFreezingDrizzle: 'Llovizna helada ligera',
|
|
denseFreezingDrizzle: 'Llovizna helada intensa',
|
|
slightRain: 'Lluvia ligera',
|
|
moderateRain: 'Lluvia moderada',
|
|
heavyRain: 'Lluvia fuerte',
|
|
lightFreezingRain: 'Lluvia helada ligera',
|
|
heavyFreezingRain: 'Lluvia helada fuerte',
|
|
slightSnow: 'Nieve ligera',
|
|
moderateSnow: 'Nieve moderada',
|
|
heavySnow: 'Nieve fuerte',
|
|
snowGrains: 'Granos de nieve',
|
|
slightRainShowers: 'Chubascos ligeros',
|
|
moderateRainShowers: 'Chubascos moderados',
|
|
violentRainShowers: 'Chubascos violentos',
|
|
slightSnowShowers: 'Chubascos de nieve ligeros',
|
|
heavySnowShowers: 'Chubascos de nieve fuertes',
|
|
thunderstorm: 'Tormenta eléctrica',
|
|
thunderstormSlightHail: 'Tormenta eléctrica con granizo ligero',
|
|
thunderstormHeavyHail: 'Tormenta eléctrica con granizo fuerte',
|
|
unknown: 'Desconocido',
|
|
},
|
|
aqi: {
|
|
good: 'Bueno',
|
|
moderate: 'Moderado',
|
|
unhealthySensitive: 'Perjudicial para grupos sensibles',
|
|
unhealthy: 'Perjudicial',
|
|
veryUnhealthy: 'Muy perjudicial',
|
|
hazardous: 'Peligroso',
|
|
},
|
|
skateability: {
|
|
perfect: 'Perfecto',
|
|
good: 'Bueno',
|
|
okay: 'Aceptable',
|
|
poor: 'Deficiente',
|
|
bad: 'Malo',
|
|
unrideable: 'No patinable',
|
|
},
|
|
reason: {
|
|
currentlyRaining: 'Está lloviendo ahora',
|
|
raining: 'Lloviendo',
|
|
snowing: 'Nevando',
|
|
thunderstorm: 'Tormenta eléctrica',
|
|
freezingTemperature: 'Temperatura bajo cero',
|
|
veryCold: 'Mucho frío',
|
|
extremelyHot: 'Calor extremo',
|
|
veryHot: 'Mucho calor',
|
|
veryStrongWind: 'Viento muy fuerte',
|
|
strongWind: 'Viento fuerte',
|
|
moderateWind: 'Viento moderado',
|
|
veryUnhealthyAir: 'Aire muy perjudicial',
|
|
unhealthyAir: 'Aire perjudicial',
|
|
moderateAirQuality: 'Calidad del aire moderada',
|
|
veryHumid: 'Muy húmedo',
|
|
humid: 'Húmedo',
|
|
extremeUv: 'UV extremo: usa protector solar',
|
|
highUv: 'UV alto: se recomienda protección solar',
|
|
perfectConditions: 'Condiciones perfectas para patinar',
|
|
},
|
|
},
|
|
};
|
|
|
|
export default weatherUi;
|