Skip to content

Commit af8cb33

Browse files
committed
fix(weather_status): add all missing met.no symbol codes to weatherOptions
Signed-off-by: psimaker <psimaker@users.noreply.github.com>
1 parent 5acf387 commit af8cb33

1 file changed

Lines changed: 290 additions & 0 deletions

File tree

apps/weather_status/src/App.vue

Lines changed: 290 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,296 @@ const weatherOptions = {
244244
? t('weather_status', '{temperature} {unit} heavy rainfall showers later today', { temperature, unit })
245245
: t('weather_status', '{temperature} {unit} heavy rainfall showers', { temperature, unit }),
246246
},
247+
clearsky_polartwilight: {
248+
text: (temperature, unit, later = false) => later
249+
? t('weather_status', '{temperature} {unit} clear sky and polar twilight later today', { temperature, unit })
250+
: t('weather_status', '{temperature} {unit} clear sky and polar twilight', { temperature, unit }),
251+
},
252+
fair_polartwilight: {
253+
text: (temperature, unit, later = false) => later
254+
? t('weather_status', '{temperature} {unit} fair weather and polar twilight later today', { temperature, unit })
255+
: t('weather_status', '{temperature} {unit} fair weather and polar twilight', { temperature, unit }),
256+
},
257+
partlycloudy_polartwilight: {
258+
text: (temperature, unit, later = false) => later
259+
? t('weather_status', '{temperature} {unit} partly cloudy and polar twilight later today', { temperature, unit })
260+
: t('weather_status', '{temperature} {unit} partly cloudy and polar twilight', { temperature, unit }),
261+
},
262+
lightrainandthunder: {
263+
text: (temperature, unit, later = false) => later
264+
? t('weather_status', '{temperature} {unit} light rain and thunder later today', { temperature, unit })
265+
: t('weather_status', '{temperature} {unit} light rain and thunder', { temperature, unit }),
266+
},
267+
rainandthunder: {
268+
text: (temperature, unit, later = false) => later
269+
? t('weather_status', '{temperature} {unit} rain and thunder later today', { temperature, unit })
270+
: t('weather_status', '{temperature} {unit} rain and thunder', { temperature, unit }),
271+
},
272+
heavyrainandthunder: {
273+
text: (temperature, unit, later = false) => later
274+
? t('weather_status', '{temperature} {unit} heavy rain and thunder later today', { temperature, unit })
275+
: t('weather_status', '{temperature} {unit} heavy rain and thunder', { temperature, unit }),
276+
},
277+
lightrainshowersandthunder_day: {
278+
text: (temperature, unit, later = false) => later
279+
? t('weather_status', '{temperature} {unit} light rainfall showers and thunder later today', { temperature, unit })
280+
: t('weather_status', '{temperature} {unit} light rainfall showers and thunder', { temperature, unit }),
281+
},
282+
lightrainshowersandthunder_night: {
283+
text: (temperature, unit, later = false) => later
284+
? t('weather_status', '{temperature} {unit} light rainfall showers and thunder later today', { temperature, unit })
285+
: t('weather_status', '{temperature} {unit} light rainfall showers and thunder', { temperature, unit }),
286+
},
287+
lightrainshowersandthunder_polartwilight: {
288+
text: (temperature, unit, later = false) => later
289+
? t('weather_status', '{temperature} {unit} light rainfall showers, thunder and polar twilight later today', { temperature, unit })
290+
: t('weather_status', '{temperature} {unit} light rainfall showers, thunder and polar twilight', { temperature, unit }),
291+
},
292+
rainshowersandthunder_day: {
293+
text: (temperature, unit, later = false) => later
294+
? t('weather_status', '{temperature} {unit} rainfall showers and thunder later today', { temperature, unit })
295+
: t('weather_status', '{temperature} {unit} rainfall showers and thunder', { temperature, unit }),
296+
},
297+
rainshowersandthunder_night: {
298+
text: (temperature, unit, later = false) => later
299+
? t('weather_status', '{temperature} {unit} rainfall showers and thunder later today', { temperature, unit })
300+
: t('weather_status', '{temperature} {unit} rainfall showers and thunder', { temperature, unit }),
301+
},
302+
rainshowersandthunder_polartwilight: {
303+
text: (temperature, unit, later = false) => later
304+
? t('weather_status', '{temperature} {unit} rainfall showers, thunder and polar twilight later today', { temperature, unit })
305+
: t('weather_status', '{temperature} {unit} rainfall showers, thunder and polar twilight', { temperature, unit }),
306+
},
307+
heavyrainshowersandthunder_day: {
308+
text: (temperature, unit, later = false) => later
309+
? t('weather_status', '{temperature} {unit} heavy rainfall showers and thunder later today', { temperature, unit })
310+
: t('weather_status', '{temperature} {unit} heavy rainfall showers and thunder', { temperature, unit }),
311+
},
312+
heavyrainshowersandthunder_night: {
313+
text: (temperature, unit, later = false) => later
314+
? t('weather_status', '{temperature} {unit} heavy rainfall showers and thunder later today', { temperature, unit })
315+
: t('weather_status', '{temperature} {unit} heavy rainfall showers and thunder', { temperature, unit }),
316+
},
317+
heavyrainshowersandthunder_polartwilight: {
318+
text: (temperature, unit, later = false) => later
319+
? t('weather_status', '{temperature} {unit} heavy rainfall showers, thunder and polar twilight later today', { temperature, unit })
320+
: t('weather_status', '{temperature} {unit} heavy rainfall showers, thunder and polar twilight', { temperature, unit }),
321+
},
322+
lightrainshowers_polartwilight: {
323+
text: (temperature, unit, later = false) => later
324+
? t('weather_status', '{temperature} {unit} light rainfall showers and polar twilight later today', { temperature, unit })
325+
: t('weather_status', '{temperature} {unit} light rainfall showers and polar twilight', { temperature, unit }),
326+
},
327+
rainshowers_polartwilight: {
328+
text: (temperature, unit, later = false) => later
329+
? t('weather_status', '{temperature} {unit} rainfall showers and polar twilight later today', { temperature, unit })
330+
: t('weather_status', '{temperature} {unit} rainfall showers and polar twilight', { temperature, unit }),
331+
},
332+
heavyrainshowers_polartwilight: {
333+
text: (temperature, unit, later = false) => later
334+
? t('weather_status', '{temperature} {unit} heavy rainfall showers and polar twilight later today', { temperature, unit })
335+
: t('weather_status', '{temperature} {unit} heavy rainfall showers and polar twilight', { temperature, unit }),
336+
},
337+
lightsleet: {
338+
text: (temperature, unit, later = false) => later
339+
? t('weather_status', '{temperature} {unit} light sleet later today', { temperature, unit })
340+
: t('weather_status', '{temperature} {unit} light sleet', { temperature, unit }),
341+
},
342+
sleet: {
343+
text: (temperature, unit, later = false) => later
344+
? t('weather_status', '{temperature} {unit} sleet later today', { temperature, unit })
345+
: t('weather_status', '{temperature} {unit} sleet', { temperature, unit }),
346+
},
347+
heavysleet: {
348+
text: (temperature, unit, later = false) => later
349+
? t('weather_status', '{temperature} {unit} heavy sleet later today', { temperature, unit })
350+
: t('weather_status', '{temperature} {unit} heavy sleet', { temperature, unit }),
351+
},
352+
lightsleetandthunder: {
353+
text: (temperature, unit, later = false) => later
354+
? t('weather_status', '{temperature} {unit} light sleet and thunder later today', { temperature, unit })
355+
: t('weather_status', '{temperature} {unit} light sleet and thunder', { temperature, unit }),
356+
},
357+
sleetandthunder: {
358+
text: (temperature, unit, later = false) => later
359+
? t('weather_status', '{temperature} {unit} sleet and thunder later today', { temperature, unit })
360+
: t('weather_status', '{temperature} {unit} sleet and thunder', { temperature, unit }),
361+
},
362+
heavysleetandthunder: {
363+
text: (temperature, unit, later = false) => later
364+
? t('weather_status', '{temperature} {unit} heavy sleet and thunder later today', { temperature, unit })
365+
: t('weather_status', '{temperature} {unit} heavy sleet and thunder', { temperature, unit }),
366+
},
367+
lightsleetshowers_day: {
368+
text: (temperature, unit, later = false) => later
369+
? t('weather_status', '{temperature} {unit} light sleet showers later today', { temperature, unit })
370+
: t('weather_status', '{temperature} {unit} light sleet showers', { temperature, unit }),
371+
},
372+
lightsleetshowers_night: {
373+
text: (temperature, unit, later = false) => later
374+
? t('weather_status', '{temperature} {unit} light sleet showers later today', { temperature, unit })
375+
: t('weather_status', '{temperature} {unit} light sleet showers', { temperature, unit }),
376+
},
377+
lightsleetshowers_polartwilight: {
378+
text: (temperature, unit, later = false) => later
379+
? t('weather_status', '{temperature} {unit} light sleet showers and polar twilight later today', { temperature, unit })
380+
: t('weather_status', '{temperature} {unit} light sleet showers and polar twilight', { temperature, unit }),
381+
},
382+
sleetshowers_day: {
383+
text: (temperature, unit, later = false) => later
384+
? t('weather_status', '{temperature} {unit} sleet showers later today', { temperature, unit })
385+
: t('weather_status', '{temperature} {unit} sleet showers', { temperature, unit }),
386+
},
387+
sleetshowers_night: {
388+
text: (temperature, unit, later = false) => later
389+
? t('weather_status', '{temperature} {unit} sleet showers later today', { temperature, unit })
390+
: t('weather_status', '{temperature} {unit} sleet showers', { temperature, unit }),
391+
},
392+
sleetshowers_polartwilight: {
393+
text: (temperature, unit, later = false) => later
394+
? t('weather_status', '{temperature} {unit} sleet showers and polar twilight later today', { temperature, unit })
395+
: t('weather_status', '{temperature} {unit} sleet showers and polar twilight', { temperature, unit }),
396+
},
397+
heavysleetshowers_day: {
398+
text: (temperature, unit, later = false) => later
399+
? t('weather_status', '{temperature} {unit} heavy sleet showers later today', { temperature, unit })
400+
: t('weather_status', '{temperature} {unit} heavy sleet showers', { temperature, unit }),
401+
},
402+
heavysleetshowers_night: {
403+
text: (temperature, unit, later = false) => later
404+
? t('weather_status', '{temperature} {unit} heavy sleet showers later today', { temperature, unit })
405+
: t('weather_status', '{temperature} {unit} heavy sleet showers', { temperature, unit }),
406+
},
407+
heavysleetshowers_polartwilight: {
408+
text: (temperature, unit, later = false) => later
409+
? t('weather_status', '{temperature} {unit} heavy sleet showers and polar twilight later today', { temperature, unit })
410+
: t('weather_status', '{temperature} {unit} heavy sleet showers and polar twilight', { temperature, unit }),
411+
},
412+
lightssleetshowersandthunder_day: {
413+
text: (temperature, unit, later = false) => later
414+
? t('weather_status', '{temperature} {unit} light sleet showers and thunder later today', { temperature, unit })
415+
: t('weather_status', '{temperature} {unit} light sleet showers and thunder', { temperature, unit }),
416+
},
417+
lightssleetshowersandthunder_night: {
418+
text: (temperature, unit, later = false) => later
419+
? t('weather_status', '{temperature} {unit} light sleet showers and thunder later today', { temperature, unit })
420+
: t('weather_status', '{temperature} {unit} light sleet showers and thunder', { temperature, unit }),
421+
},
422+
lightssleetshowersandthunder_polartwilight: {
423+
text: (temperature, unit, later = false) => later
424+
? t('weather_status', '{temperature} {unit} light sleet showers, thunder and polar twilight later today', { temperature, unit })
425+
: t('weather_status', '{temperature} {unit} light sleet showers, thunder and polar twilight', { temperature, unit }),
426+
},
427+
sleetshowersandthunder_day: {
428+
text: (temperature, unit, later = false) => later
429+
? t('weather_status', '{temperature} {unit} sleet showers and thunder later today', { temperature, unit })
430+
: t('weather_status', '{temperature} {unit} sleet showers and thunder', { temperature, unit }),
431+
},
432+
sleetshowersandthunder_night: {
433+
text: (temperature, unit, later = false) => later
434+
? t('weather_status', '{temperature} {unit} sleet showers and thunder later today', { temperature, unit })
435+
: t('weather_status', '{temperature} {unit} sleet showers and thunder', { temperature, unit }),
436+
},
437+
sleetshowersandthunder_polartwilight: {
438+
text: (temperature, unit, later = false) => later
439+
? t('weather_status', '{temperature} {unit} sleet showers, thunder and polar twilight later today', { temperature, unit })
440+
: t('weather_status', '{temperature} {unit} sleet showers, thunder and polar twilight', { temperature, unit }),
441+
},
442+
heavysleetshowersandthunder_day: {
443+
text: (temperature, unit, later = false) => later
444+
? t('weather_status', '{temperature} {unit} heavy sleet showers and thunder later today', { temperature, unit })
445+
: t('weather_status', '{temperature} {unit} heavy sleet showers and thunder', { temperature, unit }),
446+
},
447+
heavysleetshowersandthunder_night: {
448+
text: (temperature, unit, later = false) => later
449+
? t('weather_status', '{temperature} {unit} heavy sleet showers and thunder later today', { temperature, unit })
450+
: t('weather_status', '{temperature} {unit} heavy sleet showers and thunder', { temperature, unit }),
451+
},
452+
heavysleetshowersandthunder_polartwilight: {
453+
text: (temperature, unit, later = false) => later
454+
? t('weather_status', '{temperature} {unit} heavy sleet showers, thunder and polar twilight later today', { temperature, unit })
455+
: t('weather_status', '{temperature} {unit} heavy sleet showers, thunder and polar twilight', { temperature, unit }),
456+
},
457+
lightsnow: {
458+
text: (temperature, unit, later = false) => later
459+
? t('weather_status', '{temperature} {unit} light snow later today', { temperature, unit })
460+
: t('weather_status', '{temperature} {unit} light snow', { temperature, unit }),
461+
},
462+
heavysnow: {
463+
text: (temperature, unit, later = false) => later
464+
? t('weather_status', '{temperature} {unit} heavy snow later today', { temperature, unit })
465+
: t('weather_status', '{temperature} {unit} heavy snow', { temperature, unit }),
466+
},
467+
lightsnowandthunder: {
468+
text: (temperature, unit, later = false) => later
469+
? t('weather_status', '{temperature} {unit} light snow and thunder later today', { temperature, unit })
470+
: t('weather_status', '{temperature} {unit} light snow and thunder', { temperature, unit }),
471+
},
472+
heavysnowandthunder: {
473+
text: (temperature, unit, later = false) => later
474+
? t('weather_status', '{temperature} {unit} heavy snow and thunder later today', { temperature, unit })
475+
: t('weather_status', '{temperature} {unit} heavy snow and thunder', { temperature, unit }),
476+
},
477+
lightsnowshowers_day: {
478+
text: (temperature, unit, later = false) => later
479+
? t('weather_status', '{temperature} {unit} light snow showers later today', { temperature, unit })
480+
: t('weather_status', '{temperature} {unit} light snow showers', { temperature, unit }),
481+
},
482+
lightsnowshowers_night: {
483+
text: (temperature, unit, later = false) => later
484+
? t('weather_status', '{temperature} {unit} light snow showers later today', { temperature, unit })
485+
: t('weather_status', '{temperature} {unit} light snow showers', { temperature, unit }),
486+
},
487+
lightsnowshowers_polartwilight: {
488+
text: (temperature, unit, later = false) => later
489+
? t('weather_status', '{temperature} {unit} light snow showers and polar twilight later today', { temperature, unit })
490+
: t('weather_status', '{temperature} {unit} light snow showers and polar twilight', { temperature, unit }),
491+
},
492+
heavysnowshowers_day: {
493+
text: (temperature, unit, later = false) => later
494+
? t('weather_status', '{temperature} {unit} heavy snow showers later today', { temperature, unit })
495+
: t('weather_status', '{temperature} {unit} heavy snow showers', { temperature, unit }),
496+
},
497+
heavysnowshowers_night: {
498+
text: (temperature, unit, later = false) => later
499+
? t('weather_status', '{temperature} {unit} heavy snow showers later today', { temperature, unit })
500+
: t('weather_status', '{temperature} {unit} heavy snow showers', { temperature, unit }),
501+
},
502+
heavysnowshowers_polartwilight: {
503+
text: (temperature, unit, later = false) => later
504+
? t('weather_status', '{temperature} {unit} heavy snow showers and polar twilight later today', { temperature, unit })
505+
: t('weather_status', '{temperature} {unit} heavy snow showers and polar twilight', { temperature, unit }),
506+
},
507+
lightssnowshowersandthunder_day: {
508+
text: (temperature, unit, later = false) => later
509+
? t('weather_status', '{temperature} {unit} light snow showers and thunder later today', { temperature, unit })
510+
: t('weather_status', '{temperature} {unit} light snow showers and thunder', { temperature, unit }),
511+
},
512+
lightssnowshowersandthunder_night: {
513+
text: (temperature, unit, later = false) => later
514+
? t('weather_status', '{temperature} {unit} light snow showers and thunder later today', { temperature, unit })
515+
: t('weather_status', '{temperature} {unit} light snow showers and thunder', { temperature, unit }),
516+
},
517+
lightssnowshowersandthunder_polartwilight: {
518+
text: (temperature, unit, later = false) => later
519+
? t('weather_status', '{temperature} {unit} light snow showers, thunder and polar twilight later today', { temperature, unit })
520+
: t('weather_status', '{temperature} {unit} light snow showers, thunder and polar twilight', { temperature, unit }),
521+
},
522+
heavysnowshowersandthunder_day: {
523+
text: (temperature, unit, later = false) => later
524+
? t('weather_status', '{temperature} {unit} heavy snow showers and thunder later today', { temperature, unit })
525+
: t('weather_status', '{temperature} {unit} heavy snow showers and thunder', { temperature, unit }),
526+
},
527+
heavysnowshowersandthunder_night: {
528+
text: (temperature, unit, later = false) => later
529+
? t('weather_status', '{temperature} {unit} heavy snow showers and thunder later today', { temperature, unit })
530+
: t('weather_status', '{temperature} {unit} heavy snow showers and thunder', { temperature, unit }),
531+
},
532+
heavysnowshowersandthunder_polartwilight: {
533+
text: (temperature, unit, later = false) => later
534+
? t('weather_status', '{temperature} {unit} heavy snow showers, thunder and polar twilight later today', { temperature, unit })
535+
: t('weather_status', '{temperature} {unit} heavy snow showers, thunder and polar twilight', { temperature, unit }),
536+
},
247537
}
248538
249539
export default {

0 commit comments

Comments
 (0)