Skip to content

Commit f37137b

Browse files
psimakerbackportbot[bot]
authored andcommitted
fix(weather_status): add all missing met.no symbol codes to weatherOptions
Signed-off-by: psimaker <psimaker@users.noreply.github.com>
1 parent b96f954 commit f37137b

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

0 commit comments

Comments
 (0)