Files
homeassistant_espscreen/screen_manager/app/static/assets/de-B5ljNtf2.js
T
Max Gramser 94b320074d Draw the mockup with the screens' own words, compile every text while building, and send the language with the live updates
- The page takes the screens' words its mockup draws from their own texts: screen.ha (Home Assistant's words, filled
  from Home Assistant), screen.time, screen.date, screen.number and screen.tile.page, per language next to _meta and
  editor. The copies under editor.mockup go; the rest of `screen` and all of `addon` stay out of the build.
- Numbers in the mockup follow the screens' language (screen.number, with its minimum grouping) or the chosen style,
  as the firmware writes them.
- @intlify/unplugin-vue-i18n compiles every text at build time, so the page runs vue-i18n's runtime-only build
  without the message compiler; every language's _meta comes with the page. Empty texts stay out while building.
- The live updates carry the editor's language (api/events?language=), as an EventSource sends no headers.
- web/ needs Node 22.13 or newer: vue-i18n 11.4, Vite 7 and the unplugin ask for it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-19 14:59:02 +02:00

2 lines
8.4 KiB
JavaScript

const t={screen:{ha:{on:{t:0,b:{t:2,i:[{t:3}],s:"Ein"}},off:{t:0,b:{t:2,i:[{t:3}],s:"Aus"}},unavailable:{t:0,b:{t:2,i:[{t:3}],s:"Nicht verfügbar"}},climate:{off:{t:0,b:{t:2,i:[{t:3}],s:"Aus"}},heat:{t:0,b:{t:2,i:[{t:3}],s:"Heizbetrieb"}},cool:{t:0,b:{t:2,i:[{t:3}],s:"Kühlbetrieb"}},heat_cool:{t:0,b:{t:2,i:[{t:3}],s:"Heizen/Kühlen"}},auto:{t:0,b:{t:2,i:[{t:3}],s:"Auto"}},dry:{t:0,b:{t:2,i:[{t:3}],s:"Entfeuchtung"}},fan_only:{t:0,b:{t:2,i:[{t:3}],s:"Nur Lüftung"}}},hvac_action:{heating:{t:0,b:{t:2,i:[{t:3}],s:"Heizbetrieb"}},cooling:{t:0,b:{t:2,i:[{t:3}],s:"Kühlbetrieb"}},idle:{t:0,b:{t:2,i:[{t:3}],s:"Leerlauf"}},off:{t:0,b:{t:2,i:[{t:3}],s:"Aus"}},drying:{t:0,b:{t:2,i:[{t:3}],s:"Entfeuchtung"}},fan:{t:0,b:{t:2,i:[{t:3}],s:"Lüftung"}},preheating:{t:0,b:{t:2,i:[{t:3}],s:"Vorheizen"}},defrosting:{t:0,b:{t:2,i:[{t:3}],s:"Enteisung"}}},cover:{open:{t:0,b:{t:2,i:[{t:3}],s:"Geöffnet"}},closed:{t:0,b:{t:2,i:[{t:3}],s:"Geschlossen"}},opening:{t:0,b:{t:2,i:[{t:3}],s:"Wird geöffnet"}},closing:{t:0,b:{t:2,i:[{t:3}],s:"Wird geschlossen"}}},media:{playing:{t:0,b:{t:2,i:[{t:3}],s:"Wiedergabe"}},paused:{t:0,b:{t:2,i:[{t:3}],s:"Pausiert"}},idle:{t:0,b:{t:2,i:[{t:3}],s:"Leerlauf"}},standby:{t:0,b:{t:2,i:[{t:3}],s:"Standby"}}},person:{home:{t:0,b:{t:2,i:[{t:3}],s:"Zuhause"}},not_home:{t:0,b:{t:2,i:[{t:3}],s:"Abwesend"}}},sun:{above_horizon:{t:0,b:{t:2,i:[{t:3}],s:"Über dem Horizont"}},below_horizon:{t:0,b:{t:2,i:[{t:3}],s:"Unter dem Horizont"}}},vacuum:{docked:{t:0,b:{t:2,i:[{t:3}],s:"Angedockt"}},cleaning:{t:0,b:{t:2,i:[{t:3}],s:"Reinigt"}},paused:{t:0,b:{t:2,i:[{t:3}],s:"Pausiert"}},returning:{t:0,b:{t:2,i:[{t:3}],s:"Rückkehr zur Ladestation"}},idle:{t:0,b:{t:2,i:[{t:3}],s:"Leerlauf"}}},weather:{sunny:{t:0,b:{t:2,i:[{t:3}],s:"Sonnig"}},clear_night:{t:0,b:{t:2,i:[{t:3}],s:"Klare Nacht"}},cloudy:{t:0,b:{t:2,i:[{t:3}],s:"Bewölkt"}},partlycloudy:{t:0,b:{t:2,i:[{t:3}],s:"Teilweise bewölkt"}},rainy:{t:0,b:{t:2,i:[{t:3}],s:"Regnerisch"}},pouring:{t:0,b:{t:2,i:[{t:3}],s:"Strömender Regen"}},snowy:{t:0,b:{t:2,i:[{t:3}],s:"Schneefall"}},snowy_rainy:{t:0,b:{t:2,i:[{t:3}],s:"Schneeregen"}},fog:{t:0,b:{t:2,i:[{t:3}],s:"Nebel"}},hail:{t:0,b:{t:2,i:[{t:3}],s:"Hagel"}},lightning:{t:0,b:{t:2,i:[{t:3}],s:"Gewitter"}},lightning_rainy:{t:0,b:{t:2,i:[{t:3}],s:"Gewitter, regnerisch"}},windy:{t:0,b:{t:2,i:[{t:3}],s:"Windig"}},exceptional:{t:0,b:{t:2,i:[{t:3}],s:"Außergewöhnlich"}}},binary:{battery_on:{t:0,b:{t:2,i:[{t:3}],s:"Niedrig"}},battery_off:{t:0,b:{t:2,i:[{t:3}],s:"Normal"}},battery_charging_on:{t:0,b:{t:2,i:[{t:3}],s:"Wird geladen"}},battery_charging_off:{t:0,b:{t:2,i:[{t:3}],s:"Wird nicht geladen"}},carbon_monoxide_on:{t:0,b:{t:2,i:[{t:3}],s:"Erkannt"}},carbon_monoxide_off:{t:0,b:{t:2,i:[{t:3}],s:"Frei"}},cold_on:{t:0,b:{t:2,i:[{t:3}],s:"Kalt"}},cold_off:{t:0,b:{t:2,i:[{t:3}],s:"Normal"}},connectivity_on:{t:0,b:{t:2,i:[{t:3}],s:"Verbunden"}},connectivity_off:{t:0,b:{t:2,i:[{t:3}],s:"Getrennt"}},door_on:{t:0,b:{t:2,i:[{t:3}],s:"Geöffnet"}},door_off:{t:0,b:{t:2,i:[{t:3}],s:"Geschlossen"}},garage_door_on:{t:0,b:{t:2,i:[{t:3}],s:"Geöffnet"}},garage_door_off:{t:0,b:{t:2,i:[{t:3}],s:"Geschlossen"}},gas_on:{t:0,b:{t:2,i:[{t:3}],s:"Erkannt"}},gas_off:{t:0,b:{t:2,i:[{t:3}],s:"Frei"}},heat_on:{t:0,b:{t:2,i:[{t:3}],s:"Heiß"}},heat_off:{t:0,b:{t:2,i:[{t:3}],s:"Normal"}},light_on:{t:0,b:{t:2,i:[{t:3}],s:"Licht erkannt"}},light_off:{t:0,b:{t:2,i:[{t:3}],s:"Kein Licht"}},lock_on:{t:0,b:{t:2,i:[{t:3}],s:"Aufgeschlossen"}},lock_off:{t:0,b:{t:2,i:[{t:3}],s:"Abgeschlossen"}},moisture_on:{t:0,b:{t:2,i:[{t:3}],s:"Nass"}},moisture_off:{t:0,b:{t:2,i:[{t:3}],s:"Trocken"}},motion_on:{t:0,b:{t:2,i:[{t:3}],s:"Erkannt"}},motion_off:{t:0,b:{t:2,i:[{t:3}],s:"Frei"}},moving_on:{t:0,b:{t:2,i:[{t:3}],s:"Bewegt sich"}},moving_off:{t:0,b:{t:2,i:[{t:3}],s:"Bewegt sich nicht"}},occupancy_on:{t:0,b:{t:2,i:[{t:3}],s:"Erkannt"}},occupancy_off:{t:0,b:{t:2,i:[{t:3}],s:"Frei"}},opening_on:{t:0,b:{t:2,i:[{t:3}],s:"Geöffnet"}},opening_off:{t:0,b:{t:2,i:[{t:3}],s:"Geschlossen"}},plug_on:{t:0,b:{t:2,i:[{t:3}],s:"Eingesteckt"}},plug_off:{t:0,b:{t:2,i:[{t:3}],s:"Ausgesteckt"}},power_on:{t:0,b:{t:2,i:[{t:3}],s:"Ein"}},power_off:{t:0,b:{t:2,i:[{t:3}],s:"Aus"}},presence_on:{t:0,b:{t:2,i:[{t:3}],s:"Zuhause"}},presence_off:{t:0,b:{t:2,i:[{t:3}],s:"Abwesend"}},problem_on:{t:0,b:{t:2,i:[{t:3}],s:"Problem"}},problem_off:{t:0,b:{t:2,i:[{t:3}],s:"OK"}},running_on:{t:0,b:{t:2,i:[{t:3}],s:"In Betrieb"}},running_off:{t:0,b:{t:2,i:[{t:3}],s:"Außer Betrieb"}},safety_on:{t:0,b:{t:2,i:[{t:3}],s:"Unsicher"}},safety_off:{t:0,b:{t:2,i:[{t:3}],s:"Sicher"}},smoke_on:{t:0,b:{t:2,i:[{t:3}],s:"Erkannt"}},smoke_off:{t:0,b:{t:2,i:[{t:3}],s:"Frei"}},sound_on:{t:0,b:{t:2,i:[{t:3}],s:"Erkannt"}},sound_off:{t:0,b:{t:2,i:[{t:3}],s:"Frei"}},tamper_on:{t:0,b:{t:2,i:[{t:3}],s:"Manipulation erkannt"}},tamper_off:{t:0,b:{t:2,i:[{t:3}],s:"Frei"}},update_on:{t:0,b:{t:2,i:[{t:3}],s:"Update verfügbar"}},update_off:{t:0,b:{t:2,i:[{t:3}],s:"Aktuell"}},vibration_on:{t:0,b:{t:2,i:[{t:3}],s:"Erkannt"}},vibration_off:{t:0,b:{t:2,i:[{t:3}],s:"Frei"}},window_on:{t:0,b:{t:2,i:[{t:3}],s:"Geöffnet"}},window_off:{t:0,b:{t:2,i:[{t:3}],s:"Geschlossen"}}},button:{activate:{t:0,b:{t:2,i:[{t:3}],s:"Aktivieren"}},run:{t:0,b:{t:2,i:[{t:3}],s:"Ausführen"}},press:{t:0,b:{t:2,i:[{t:3}],s:"Drücken"}}}},time:{just_now:{t:0,b:{t:2,i:[{t:3}],s:"Gerade eben"}},minutes_ago:{t:0,b:{t:2,i:[{t:3,v:"Vor "},{t:4,k:"n"},{t:3,v:" Min."}]}},hours_ago:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Vor 1 Stunde"},{t:2,i:[{t:3,v:"Vor "},{t:4,k:"n"},{t:3,v:" Stunden"}]}]}},yesterday:{t:0,b:{t:2,i:[{t:3}],s:"Gestern"}},days_ago:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Vor 1 Tag"},{t:2,i:[{t:3,v:"Vor "},{t:4,k:"n"},{t:3,v:" Tagen"}]}]}},weeks_ago:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Vor 1 Woche"},{t:2,i:[{t:3,v:"Vor "},{t:4,k:"n"},{t:3,v:" Wochen"}]}]}},months_ago:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Vor 1 Monat"},{t:2,i:[{t:3,v:"Vor "},{t:4,k:"n"},{t:3,v:" Monaten"}]}]}},years_ago:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Vor 1 Jahr"},{t:2,i:[{t:3,v:"Vor "},{t:4,k:"n"},{t:3,v:" Jahren"}]}]}},in_minutes:{t:0,b:{t:2,i:[{t:3,v:"In "},{t:4,k:"n"},{t:3,v:" Min."}]}},in_hours:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"In 1 Stunde"},{t:2,i:[{t:3,v:"In "},{t:4,k:"n"},{t:3,v:" Stunden"}]}]}},tomorrow:{t:0,b:{t:2,i:[{t:3}],s:"Morgen"}},in_days:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"In 1 Tag"},{t:2,i:[{t:3,v:"In "},{t:4,k:"n"},{t:3,v:" Tagen"}]}]}},am:{t:0,b:{t:2,i:[{t:3}],s:"AM"}},pm:{t:0,b:{t:2,i:[{t:3}],s:"PM"}}},date:{weekdays:[{t:0,b:{t:2,i:[{t:3}],s:"Sonntag"}},{t:0,b:{t:2,i:[{t:3}],s:"Montag"}},{t:0,b:{t:2,i:[{t:3}],s:"Dienstag"}},{t:0,b:{t:2,i:[{t:3}],s:"Mittwoch"}},{t:0,b:{t:2,i:[{t:3}],s:"Donnerstag"}},{t:0,b:{t:2,i:[{t:3}],s:"Freitag"}},{t:0,b:{t:2,i:[{t:3}],s:"Samstag"}}],weekdays_short:[{t:0,b:{t:2,i:[{t:3}],s:"So"}},{t:0,b:{t:2,i:[{t:3}],s:"Mo"}},{t:0,b:{t:2,i:[{t:3}],s:"Di"}},{t:0,b:{t:2,i:[{t:3}],s:"Mi"}},{t:0,b:{t:2,i:[{t:3}],s:"Do"}},{t:0,b:{t:2,i:[{t:3}],s:"Fr"}},{t:0,b:{t:2,i:[{t:3}],s:"Sa"}}],weekdays_min:[{t:0,b:{t:2,i:[{t:3}],s:"So"}},{t:0,b:{t:2,i:[{t:3}],s:"Mo"}},{t:0,b:{t:2,i:[{t:3}],s:"Di"}},{t:0,b:{t:2,i:[{t:3}],s:"Mi"}},{t:0,b:{t:2,i:[{t:3}],s:"Do"}},{t:0,b:{t:2,i:[{t:3}],s:"Fr"}},{t:0,b:{t:2,i:[{t:3}],s:"Sa"}}],months:[{t:0,b:{t:2,i:[{t:3}],s:"Januar"}},{t:0,b:{t:2,i:[{t:3}],s:"Februar"}},{t:0,b:{t:2,i:[{t:3}],s:"März"}},{t:0,b:{t:2,i:[{t:3}],s:"April"}},{t:0,b:{t:2,i:[{t:3}],s:"Mai"}},{t:0,b:{t:2,i:[{t:3}],s:"Juni"}},{t:0,b:{t:2,i:[{t:3}],s:"Juli"}},{t:0,b:{t:2,i:[{t:3}],s:"August"}},{t:0,b:{t:2,i:[{t:3}],s:"September"}},{t:0,b:{t:2,i:[{t:3}],s:"Oktober"}},{t:0,b:{t:2,i:[{t:3}],s:"November"}},{t:0,b:{t:2,i:[{t:3}],s:"Dezember"}}],months_short:[{t:0,b:{t:2,i:[{t:3}],s:"Jan."}},{t:0,b:{t:2,i:[{t:3}],s:"Feb."}},{t:0,b:{t:2,i:[{t:3}],s:"März"}},{t:0,b:{t:2,i:[{t:3}],s:"Apr."}},{t:0,b:{t:2,i:[{t:3}],s:"Mai"}},{t:0,b:{t:2,i:[{t:3}],s:"Juni"}},{t:0,b:{t:2,i:[{t:3}],s:"Juli"}},{t:0,b:{t:2,i:[{t:3}],s:"Aug."}},{t:0,b:{t:2,i:[{t:3}],s:"Sept."}},{t:0,b:{t:2,i:[{t:3}],s:"Okt."}},{t:0,b:{t:2,i:[{t:3}],s:"Nov."}},{t:0,b:{t:2,i:[{t:3}],s:"Dez."}}],top_bar:{t:0,b:{t:2,i:[{t:4,k:"weekday"},{t:3,v:", "},{t:4,k:"day"},{t:3,v:". "},{t:4,k:"month"}]}},full:{t:0,b:{t:2,i:[{t:4,k:"weekday"},{t:3,v:", "},{t:4,k:"day"},{t:3,v:". "},{t:4,k:"month"}]}},day_month:{t:0,b:{t:2,i:[{t:4,k:"day"},{t:3,v:". "},{t:4,k:"month"}]}},weekday_time:{t:0,b:{t:2,i:[{t:4,k:"weekday"},{t:3,v:", "},{t:4,k:"time"}]}}},number:{decimal:{t:0,b:{t:2,i:[{t:3}],s:","}},group:{t:0,b:{t:2,i:[{t:3}],s:"."}},group_min:{t:0,b:{t:2,i:[{t:3}],s:"1"}}},tile:{page:{t:0,b:{t:2,i:[{t:3,v:"Seite "},{t:4,k:"n"}]}}}}};export{t as default};