Files
homeassistant_espscreen/screen_manager/app/static/assets/nl-DV7drWRf.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.3 KiB
JavaScript

const t={screen:{ha:{on:{t:0,b:{t:2,i:[{t:3}],s:"Aan"}},off:{t:0,b:{t:2,i:[{t:3}],s:"Uit"}},climate:{off:{t:0,b:{t:2,i:[{t:3}],s:"Uit"}},heat:{t:0,b:{t:2,i:[{t:3}],s:"Verwarmen"}},cool:{t:0,b:{t:2,i:[{t:3}],s:"Koelen"}},heat_cool:{t:0,b:{t:2,i:[{t:3}],s:"Verwarmen/koelen"}},auto:{t:0,b:{t:2,i:[{t:3}],s:"Automatisch"}},dry:{t:0,b:{t:2,i:[{t:3}],s:"Droog"}},fan_only:{t:0,b:{t:2,i:[{t:3}],s:"Alleen ventilator"}}},hvac_action:{heating:{t:0,b:{t:2,i:[{t:3}],s:"Verwarmen"}},cooling:{t:0,b:{t:2,i:[{t:3}],s:"Koelen"}},idle:{t:0,b:{t:2,i:[{t:3}],s:"Inactief"}},off:{t:0,b:{t:2,i:[{t:3}],s:"Uit"}},drying:{t:0,b:{t:2,i:[{t:3}],s:"Drogen"}},fan:{t:0,b:{t:2,i:[{t:3}],s:"Ventilator"}},preheating:{t:0,b:{t:2,i:[{t:3}],s:"Voorverwarmen"}},defrosting:{t:0,b:{t:2,i:[{t:3}],s:"Ontdooien"}}},cover:{open:{t:0,b:{t:2,i:[{t:3}],s:"Open"}},closed:{t:0,b:{t:2,i:[{t:3}],s:"Dicht"}},opening:{t:0,b:{t:2,i:[{t:3}],s:"Openen"}},closing:{t:0,b:{t:2,i:[{t:3}],s:"Sluiten"}}},media:{playing:{t:0,b:{t:2,i:[{t:3}],s:"Speelt"}},paused:{t:0,b:{t:2,i:[{t:3}],s:"Gepauzeerd"}},idle:{t:0,b:{t:2,i:[{t:3}],s:"Inactief"}},standby:{t:0,b:{t:2,i:[{t:3}],s:"Stand-by"}}},person:{home:{t:0,b:{t:2,i:[{t:3}],s:"Thuis"}},not_home:{t:0,b:{t:2,i:[{t:3}],s:"Afwezig"}}},sun:{above_horizon:{t:0,b:{t:2,i:[{t:3}],s:"Boven de horizon"}},below_horizon:{t:0,b:{t:2,i:[{t:3}],s:"Onder de horizon"}}},vacuum:{docked:{t:0,b:{t:2,i:[{t:3}],s:"Gedockt"}},cleaning:{t:0,b:{t:2,i:[{t:3}],s:"Schoonmaken"}},paused:{t:0,b:{t:2,i:[{t:3}],s:"Gepauzeerd"}},returning:{t:0,b:{t:2,i:[{t:3}],s:"Terugkeren naar dock"}},idle:{t:0,b:{t:2,i:[{t:3}],s:"Inactief"}}},weather:{sunny:{t:0,b:{t:2,i:[{t:3}],s:"Zonnig"}},clear_night:{t:0,b:{t:2,i:[{t:3}],s:"Helder, nacht"}},cloudy:{t:0,b:{t:2,i:[{t:3}],s:"Bewolkt"}},partlycloudy:{t:0,b:{t:2,i:[{t:3}],s:"Half bewolkt"}},rainy:{t:0,b:{t:2,i:[{t:3}],s:"Regenachtig"}},pouring:{t:0,b:{t:2,i:[{t:3}],s:"Regen"}},snowy:{t:0,b:{t:2,i:[{t:3}],s:"Sneeuwachtig"}},snowy_rainy:{t:0,b:{t:2,i:[{t:3}],s:"Sneeuw-, regenachtig"}},fog:{t:0,b:{t:2,i:[{t:3}],s:"Mist"}},hail:{t:0,b:{t:2,i:[{t:3}],s:"Hagel"}},lightning:{t:0,b:{t:2,i:[{t:3}],s:"Bliksem"}},lightning_rainy:{t:0,b:{t:2,i:[{t:3}],s:"Bliksem, regenachtig"}},windy:{t:0,b:{t:2,i:[{t:3}],s:"Winderig"}},exceptional:{t:0,b:{t:2,i:[{t:3}],s:"Uitzonderlijk"}}},binary:{battery_on:{t:0,b:{t:2,i:[{t:3}],s:"Laag"}},battery_off:{t:0,b:{t:2,i:[{t:3}],s:"Normaal"}},battery_charging_on:{t:0,b:{t:2,i:[{t:3}],s:"Opladen"}},battery_charging_off:{t:0,b:{t:2,i:[{t:3}],s:"Niet aan het opladen"}},carbon_monoxide_on:{t:0,b:{t:2,i:[{t:3}],s:"Gedetecteerd"}},carbon_monoxide_off:{t:0,b:{t:2,i:[{t:3}],s:"Niet gedetecteerd"}},cold_on:{t:0,b:{t:2,i:[{t:3}],s:"Koud"}},cold_off:{t:0,b:{t:2,i:[{t:3}],s:"Normal"}},connectivity_on:{t:0,b:{t:2,i:[{t:3}],s:"Verbonden"}},connectivity_off:{t:0,b:{t:2,i:[{t:3}],s:"Verbroken"}},door_on:{t:0,b:{t:2,i:[{t:3}],s:"Open"}},door_off:{t:0,b:{t:2,i:[{t:3}],s:"Dicht"}},garage_door_on:{t:0,b:{t:2,i:[{t:3}],s:"Open"}},garage_door_off:{t:0,b:{t:2,i:[{t:3}],s:"Dicht"}},gas_on:{t:0,b:{t:2,i:[{t:3}],s:"Gedetecteerd"}},gas_off:{t:0,b:{t:2,i:[{t:3}],s:"Niet gedetecteerd"}},heat_on:{t:0,b:{t:2,i:[{t:3}],s:"Heet"}},heat_off:{t:0,b:{t:2,i:[{t:3}],s:"Normal"}},light_on:{t:0,b:{t:2,i:[{t:3}],s:"Licht gedetecteerd"}},light_off:{t:0,b:{t:2,i:[{t:3}],s:"Geen licht"}},lock_on:{t:0,b:{t:2,i:[{t:3}],s:"Ontgrendeld"}},lock_off:{t:0,b:{t:2,i:[{t:3}],s:"Vergrendeld"}},moisture_on:{t:0,b:{t:2,i:[{t:3}],s:"Nat"}},moisture_off:{t:0,b:{t:2,i:[{t:3}],s:"Droog"}},motion_on:{t:0,b:{t:2,i:[{t:3}],s:"Gedetecteerd"}},motion_off:{t:0,b:{t:2,i:[{t:3}],s:"Niet gedetecteerd"}},moving_on:{t:0,b:{t:2,i:[{t:3}],s:"Beweging"}},moving_off:{t:0,b:{t:2,i:[{t:3}],s:"Geen beweging"}},occupancy_on:{t:0,b:{t:2,i:[{t:3}],s:"Gedetecteerd"}},occupancy_off:{t:0,b:{t:2,i:[{t:3}],s:"Niet gedetecteerd"}},opening_on:{t:0,b:{t:2,i:[{t:3}],s:"Open"}},opening_off:{t:0,b:{t:2,i:[{t:3}],s:"Dicht"}},plug_on:{t:0,b:{t:2,i:[{t:3}],s:"Ingeplugd"}},plug_off:{t:0,b:{t:2,i:[{t:3}],s:"Losgekoppeld"}},power_on:{t:0,b:{t:2,i:[{t:3}],s:"Aan"}},power_off:{t:0,b:{t:2,i:[{t:3}],s:"Uit"}},presence_on:{t:0,b:{t:2,i:[{t:3}],s:"Thuis"}},presence_off:{t:0,b:{t:2,i:[{t:3}],s:"Afwezig"}},problem_on:{t:0,b:{t:2,i:[{t:3}],s:"Probleem"}},problem_off:{t:0,b:{t:2,i:[{t:3}],s:"OK"}},running_on:{t:0,b:{t:2,i:[{t:3}],s:"Actief"}},running_off:{t:0,b:{t:2,i:[{t:3}],s:"Niet actief"}},safety_on:{t:0,b:{t:2,i:[{t:3}],s:"Onveilig"}},safety_off:{t:0,b:{t:2,i:[{t:3}],s:"Veilig"}},smoke_on:{t:0,b:{t:2,i:[{t:3}],s:"Gedetecteerd"}},smoke_off:{t:0,b:{t:2,i:[{t:3}],s:"Niet gedetecteerd"}},sound_on:{t:0,b:{t:2,i:[{t:3}],s:"Gedetecteerd"}},sound_off:{t:0,b:{t:2,i:[{t:3}],s:"Niet gedetecteerd"}},tamper_on:{t:0,b:{t:2,i:[{t:3}],s:"Sabotage ontdekt"}},tamper_off:{t:0,b:{t:2,i:[{t:3}],s:"Niet gedetecteerd"}},update_on:{t:0,b:{t:2,i:[{t:3}],s:"Update beschikbaar"}},update_off:{t:0,b:{t:2,i:[{t:3}],s:"Up-to-date"}},vibration_on:{t:0,b:{t:2,i:[{t:3}],s:"Gedetecteerd"}},vibration_off:{t:0,b:{t:2,i:[{t:3}],s:"Niet gedetecteerd"}},window_on:{t:0,b:{t:2,i:[{t:3}],s:"Open"}},window_off:{t:0,b:{t:2,i:[{t:3}],s:"Dicht"}}},unavailable:{t:0,b:{t:2,i:[{t:3}],s:"Niet beschikbaar"}},button:{activate:{t:0,b:{t:2,i:[{t:3}],s:"Inschakelen"}},run:{t:0,b:{t:2,i:[{t:3}],s:"Uitvoeren"}},press:{t:0,b:{t:2,i:[{t:3}],s:"Klik"}}}},time:{just_now:{t:0,b:{t:2,i:[{t:3}],s:"Zojuist"}},minutes_ago:{t:0,b:{t:2,i:[{t:4,k:"n"},{t:3,v:" min geleden"}]}},hours_ago:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"1 uur geleden"},{t:2,i:[{t:4,k:"n"},{t:3,v:" uur geleden"}]}]}},yesterday:{t:0,b:{t:2,i:[{t:3}],s:"Gisteren"}},days_ago:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"1 dag geleden"},{t:2,i:[{t:4,k:"n"},{t:3,v:" dagen geleden"}]}]}},weeks_ago:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"1 week geleden"},{t:2,i:[{t:4,k:"n"},{t:3,v:" weken geleden"}]}]}},months_ago:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"1 maand geleden"},{t:2,i:[{t:4,k:"n"},{t:3,v:" maanden geleden"}]}]}},years_ago:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"1 jaar geleden"},{t:2,i:[{t:4,k:"n"},{t:3,v:" jaar geleden"}]}]}},in_minutes:{t:0,b:{t:2,i:[{t:3,v:"Over "},{t:4,k:"n"},{t:3,v:" min"}]}},in_hours:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Over 1 uur"},{t:2,i:[{t:3,v:"Over "},{t:4,k:"n"},{t:3,v:" uur"}]}]}},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:"Over 1 dag"},{t:2,i:[{t:3,v:"Over "},{t:4,k:"n"},{t:3,v:" dagen"}]}]}},am:{t:0,b:{t:2,i:[{t:3}],s:"a.m."}},pm:{t:0,b:{t:2,i:[{t:3}],s:"p.m."}}},date:{weekdays:[{t:0,b:{t:2,i:[{t:3}],s:"zondag"}},{t:0,b:{t:2,i:[{t:3}],s:"maandag"}},{t:0,b:{t:2,i:[{t:3}],s:"dinsdag"}},{t:0,b:{t:2,i:[{t:3}],s:"woensdag"}},{t:0,b:{t:2,i:[{t:3}],s:"donderdag"}},{t:0,b:{t:2,i:[{t:3}],s:"vrijdag"}},{t:0,b:{t:2,i:[{t:3}],s:"zaterdag"}}],weekdays_short:[{t:0,b:{t:2,i:[{t:3}],s:"zo"}},{t:0,b:{t:2,i:[{t:3}],s:"ma"}},{t:0,b:{t:2,i:[{t:3}],s:"di"}},{t:0,b:{t:2,i:[{t:3}],s:"wo"}},{t:0,b:{t:2,i:[{t:3}],s:"do"}},{t:0,b:{t:2,i:[{t:3}],s:"vr"}},{t:0,b:{t:2,i:[{t:3}],s:"za"}}],weekdays_min:[{t:0,b:{t:2,i:[{t:3}],s:"zo"}},{t:0,b:{t:2,i:[{t:3}],s:"ma"}},{t:0,b:{t:2,i:[{t:3}],s:"di"}},{t:0,b:{t:2,i:[{t:3}],s:"wo"}},{t:0,b:{t:2,i:[{t:3}],s:"do"}},{t:0,b:{t:2,i:[{t:3}],s:"vr"}},{t:0,b:{t:2,i:[{t:3}],s:"za"}}],months:[{t:0,b:{t:2,i:[{t:3}],s:"januari"}},{t:0,b:{t:2,i:[{t:3}],s:"februari"}},{t:0,b:{t:2,i:[{t:3}],s:"maart"}},{t:0,b:{t:2,i:[{t:3}],s:"april"}},{t:0,b:{t:2,i:[{t:3}],s:"mei"}},{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:"augustus"}},{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:"december"}}],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:"mrt"}},{t:0,b:{t:2,i:[{t:3}],s:"apr"}},{t:0,b:{t:2,i:[{t:3}],s:"mei"}},{t:0,b:{t:2,i:[{t:3}],s:"jun"}},{t:0,b:{t:2,i:[{t:3}],s:"jul"}},{t:0,b:{t:2,i:[{t:3}],s:"aug"}},{t:0,b:{t:2,i:[{t:3}],s:"sep"}},{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:"dec"}}],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:"Pagina "},{t:4,k:"n"}]}}}}};export{t as default};