Files
homeassistant_espscreen/screen_manager/app/static/assets/es-DUs4hvEG.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:"Encendido"}},off:{t:0,b:{t:2,i:[{t:3}],s:"Apagado"}},unavailable:{t:0,b:{t:2,i:[{t:3}],s:"No disponible"}},climate:{off:{t:0,b:{t:2,i:[{t:3}],s:"Apagado"}},heat:{t:0,b:{t:2,i:[{t:3}],s:"Calor"}},cool:{t:0,b:{t:2,i:[{t:3}],s:"Frío"}},heat_cool:{t:0,b:{t:2,i:[{t:3}],s:"Calor/Frío"}},auto:{t:0,b:{t:2,i:[{t:3}],s:"Auto"}},dry:{t:0,b:{t:2,i:[{t:3}],s:"Seco"}},fan_only:{t:0,b:{t:2,i:[{t:3}],s:"Solo ventilador"}}},hvac_action:{heating:{t:0,b:{t:2,i:[{t:3}],s:"Calefacción"}},cooling:{t:0,b:{t:2,i:[{t:3}],s:"Refrigeración"}},idle:{t:0,b:{t:2,i:[{t:3}],s:"Inactivo"}},off:{t:0,b:{t:2,i:[{t:3}],s:"Apagado"}},drying:{t:0,b:{t:2,i:[{t:3}],s:"Secando"}},fan:{t:0,b:{t:2,i:[{t:3}],s:"Ventilador"}},preheating:{t:0,b:{t:2,i:[{t:3}],s:"Precalentamiento"}},defrosting:{t:0,b:{t:2,i:[{t:3}],s:"Antihielo"}}},cover:{open:{t:0,b:{t:2,i:[{t:3}],s:"Abierto"}},closed:{t:0,b:{t:2,i:[{t:3}],s:"Cerrado"}},opening:{t:0,b:{t:2,i:[{t:3}],s:"Abriendo"}},closing:{t:0,b:{t:2,i:[{t:3}],s:"Cerrando"}}},media:{playing:{t:0,b:{t:2,i:[{t:3}],s:"Reproduciendo"}},paused:{t:0,b:{t:2,i:[{t:3}],s:"En pausa"}},idle:{t:0,b:{t:2,i:[{t:3}],s:"Inactivo"}},standby:{t:0,b:{t:2,i:[{t:3}],s:"En espera"}}},person:{home:{t:0,b:{t:2,i:[{t:3}],s:"En casa"}},not_home:{t:0,b:{t:2,i:[{t:3}],s:"Fuera"}}},sun:{above_horizon:{t:0,b:{t:2,i:[{t:3}],s:"Sobre el horizonte"}},below_horizon:{t:0,b:{t:2,i:[{t:3}],s:"Bajo el horizonte"}}},vacuum:{docked:{t:0,b:{t:2,i:[{t:3}],s:"En la base"}},cleaning:{t:0,b:{t:2,i:[{t:3}],s:"Limpiando"}},paused:{t:0,b:{t:2,i:[{t:3}],s:"En pausa"}},returning:{t:0,b:{t:2,i:[{t:3}],s:"Volviendo a la base"}},idle:{t:0,b:{t:2,i:[{t:3}],s:"Inactivo"}}},weather:{sunny:{t:0,b:{t:2,i:[{t:3}],s:"Soleado"}},clear_night:{t:0,b:{t:2,i:[{t:3}],s:"Despejado, de noche"}},cloudy:{t:0,b:{t:2,i:[{t:3}],s:"Nublado"}},partlycloudy:{t:0,b:{t:2,i:[{t:3}],s:"Parcialmente nublado"}},rainy:{t:0,b:{t:2,i:[{t:3}],s:"Lluvioso"}},pouring:{t:0,b:{t:2,i:[{t:3}],s:"Lluvia torrencial"}},snowy:{t:0,b:{t:2,i:[{t:3}],s:"Nevado"}},snowy_rainy:{t:0,b:{t:2,i:[{t:3}],s:"Nevado, lluvioso"}},fog:{t:0,b:{t:2,i:[{t:3}],s:"Niebla"}},hail:{t:0,b:{t:2,i:[{t:3}],s:"Granizo"}},lightning:{t:0,b:{t:2,i:[{t:3}],s:"Relámpagos"}},lightning_rainy:{t:0,b:{t:2,i:[{t:3}],s:"Relámpagos, lluvioso"}},windy:{t:0,b:{t:2,i:[{t:3}],s:"Ventoso"}},exceptional:{t:0,b:{t:2,i:[{t:3}],s:"Excepcional"}}},binary:{battery_on:{t:0,b:{t:2,i:[{t:3}],s:"Bajo"}},battery_off:{t:0,b:{t:2,i:[{t:3}],s:"Normal"}},battery_charging_on:{t:0,b:{t:2,i:[{t:3}],s:"Cargando"}},battery_charging_off:{t:0,b:{t:2,i:[{t:3}],s:"No está cargando"}},carbon_monoxide_on:{t:0,b:{t:2,i:[{t:3}],s:"Detectado"}},carbon_monoxide_off:{t:0,b:{t:2,i:[{t:3}],s:"No detectado"}},cold_on:{t:0,b:{t:2,i:[{t:3}],s:"Frío"}},cold_off:{t:0,b:{t:2,i:[{t:3}],s:"Normal"}},connectivity_on:{t:0,b:{t:2,i:[{t:3}],s:"Conectado"}},connectivity_off:{t:0,b:{t:2,i:[{t:3}],s:"Desconectado"}},door_on:{t:0,b:{t:2,i:[{t:3}],s:"Abierto"}},door_off:{t:0,b:{t:2,i:[{t:3}],s:"Cerrado"}},garage_door_on:{t:0,b:{t:2,i:[{t:3}],s:"Abierto"}},garage_door_off:{t:0,b:{t:2,i:[{t:3}],s:"Cerrado"}},gas_on:{t:0,b:{t:2,i:[{t:3}],s:"Detectado"}},gas_off:{t:0,b:{t:2,i:[{t:3}],s:"No detectado"}},heat_on:{t:0,b:{t:2,i:[{t:3}],s:"Caliente"}},heat_off:{t:0,b:{t:2,i:[{t:3}],s:"Normal"}},light_on:{t:0,b:{t:2,i:[{t:3}],s:"Luz detectada"}},light_off:{t:0,b:{t:2,i:[{t:3}],s:"Sin luz"}},lock_on:{t:0,b:{t:2,i:[{t:3}],s:"Desbloqueado"}},lock_off:{t:0,b:{t:2,i:[{t:3}],s:"Bloqueado"}},moisture_on:{t:0,b:{t:2,i:[{t:3}],s:"Húmedo"}},moisture_off:{t:0,b:{t:2,i:[{t:3}],s:"Seco"}},motion_on:{t:0,b:{t:2,i:[{t:3}],s:"Detectado"}},motion_off:{t:0,b:{t:2,i:[{t:3}],s:"No detectado"}},moving_on:{t:0,b:{t:2,i:[{t:3}],s:"En movimiento"}},moving_off:{t:0,b:{t:2,i:[{t:3}],s:"No se mueve"}},occupancy_on:{t:0,b:{t:2,i:[{t:3}],s:"Detectado"}},occupancy_off:{t:0,b:{t:2,i:[{t:3}],s:"No detectado"}},opening_on:{t:0,b:{t:2,i:[{t:3}],s:"Abierto"}},opening_off:{t:0,b:{t:2,i:[{t:3}],s:"Cerrado"}},plug_on:{t:0,b:{t:2,i:[{t:3}],s:"Enchufado"}},plug_off:{t:0,b:{t:2,i:[{t:3}],s:"Desenchufado"}},power_on:{t:0,b:{t:2,i:[{t:3}],s:"Encendido"}},power_off:{t:0,b:{t:2,i:[{t:3}],s:"Apagado"}},presence_on:{t:0,b:{t:2,i:[{t:3}],s:"En casa"}},presence_off:{t:0,b:{t:2,i:[{t:3}],s:"Fuera"}},problem_on:{t:0,b:{t:2,i:[{t:3}],s:"Problema"}},problem_off:{t:0,b:{t:2,i:[{t:3}],s:"OK"}},running_on:{t:0,b:{t:2,i:[{t:3}],s:"Ejecutando"}},running_off:{t:0,b:{t:2,i:[{t:3}],s:"No se está ejecutando"}},safety_on:{t:0,b:{t:2,i:[{t:3}],s:"Inseguro"}},safety_off:{t:0,b:{t:2,i:[{t:3}],s:"Seguro"}},smoke_on:{t:0,b:{t:2,i:[{t:3}],s:"Detectado"}},smoke_off:{t:0,b:{t:2,i:[{t:3}],s:"No detectado"}},sound_on:{t:0,b:{t:2,i:[{t:3}],s:"Detectado"}},sound_off:{t:0,b:{t:2,i:[{t:3}],s:"No detectado"}},tamper_on:{t:0,b:{t:2,i:[{t:3}],s:"Manipulación detectada"}},tamper_off:{t:0,b:{t:2,i:[{t:3}],s:"No detectado"}},update_on:{t:0,b:{t:2,i:[{t:3}],s:"Actualización disponible"}},update_off:{t:0,b:{t:2,i:[{t:3}],s:"Actualizado"}},vibration_on:{t:0,b:{t:2,i:[{t:3}],s:"Detectado"}},vibration_off:{t:0,b:{t:2,i:[{t:3}],s:"No detectado"}},window_on:{t:0,b:{t:2,i:[{t:3}],s:"Abierto"}},window_off:{t:0,b:{t:2,i:[{t:3}],s:"Cerrado"}}},button:{activate:{t:0,b:{t:2,i:[{t:3}],s:"Activar"}},run:{t:0,b:{t:2,i:[{t:3}],s:"Ejecutar"}},press:{t:0,b:{t:2,i:[{t:3}],s:"Pulsa"}}}},time:{just_now:{t:0,b:{t:2,i:[{t:3}],s:"Justo ahora"}},minutes_ago:{t:0,b:{t:2,i:[{t:3,v:"Hace "},{t:4,k:"n"},{t:3,v:" min"}]}},hours_ago:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Hace 1 hora"},{t:2,i:[{t:3,v:"Hace "},{t:4,k:"n"},{t:3,v:" horas"}]}]}},yesterday:{t:0,b:{t:2,i:[{t:3}],s:"Ayer"}},days_ago:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Hace 1 día"},{t:2,i:[{t:3,v:"Hace "},{t:4,k:"n"},{t:3,v:" días"}]}]}},weeks_ago:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Hace 1 semana"},{t:2,i:[{t:3,v:"Hace "},{t:4,k:"n"},{t:3,v:" semanas"}]}]}},months_ago:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Hace 1 mes"},{t:2,i:[{t:3,v:"Hace "},{t:4,k:"n"},{t:3,v:" meses"}]}]}},years_ago:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Hace 1 año"},{t:2,i:[{t:3,v:"Hace "},{t:4,k:"n"},{t:3,v:" años"}]}]}},in_minutes:{t:0,b:{t:2,i:[{t:3,v:"En "},{t:4,k:"n"},{t:3,v:" min"}]}},in_hours:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"En 1 hora"},{t:2,i:[{t:3,v:"En "},{t:4,k:"n"},{t:3,v:" horas"}]}]}},tomorrow:{t:0,b:{t:2,i:[{t:3}],s:"Mañana"}},in_days:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"En 1 día"},{t:2,i:[{t:3,v:"En "},{t:4,k:"n"},{t:3,v:" días"}]}]}},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:"domingo"}},{t:0,b:{t:2,i:[{t:3}],s:"lunes"}},{t:0,b:{t:2,i:[{t:3}],s:"martes"}},{t:0,b:{t:2,i:[{t:3}],s:"miércoles"}},{t:0,b:{t:2,i:[{t:3}],s:"jueves"}},{t:0,b:{t:2,i:[{t:3}],s:"viernes"}},{t:0,b:{t:2,i:[{t:3}],s:"sábado"}}],weekdays_short:[{t:0,b:{t:2,i:[{t:3}],s:"dom"}},{t:0,b:{t:2,i:[{t:3}],s:"lun"}},{t:0,b:{t:2,i:[{t:3}],s:"mar"}},{t:0,b:{t:2,i:[{t:3}],s:"mié"}},{t:0,b:{t:2,i:[{t:3}],s:"jue"}},{t:0,b:{t:2,i:[{t:3}],s:"vie"}},{t:0,b:{t:2,i:[{t:3}],s:"sáb"}}],weekdays_min:[{t:0,b:{t:2,i:[{t:3}],s:"dom"}},{t:0,b:{t:2,i:[{t:3}],s:"lun"}},{t:0,b:{t:2,i:[{t:3}],s:"mar"}},{t:0,b:{t:2,i:[{t:3}],s:"mié"}},{t:0,b:{t:2,i:[{t:3}],s:"jue"}},{t:0,b:{t:2,i:[{t:3}],s:"vie"}},{t:0,b:{t:2,i:[{t:3}],s:"sáb"}}],months:[{t:0,b:{t:2,i:[{t:3}],s:"enero"}},{t:0,b:{t:2,i:[{t:3}],s:"febrero"}},{t:0,b:{t:2,i:[{t:3}],s:"marzo"}},{t:0,b:{t:2,i:[{t:3}],s:"abril"}},{t:0,b:{t:2,i:[{t:3}],s:"mayo"}},{t:0,b:{t:2,i:[{t:3}],s:"junio"}},{t:0,b:{t:2,i:[{t:3}],s:"julio"}},{t:0,b:{t:2,i:[{t:3}],s:"agosto"}},{t:0,b:{t:2,i:[{t:3}],s:"septiembre"}},{t:0,b:{t:2,i:[{t:3}],s:"octubre"}},{t:0,b:{t:2,i:[{t:3}],s:"noviembre"}},{t:0,b:{t:2,i:[{t:3}],s:"diciembre"}}],months_short:[{t:0,b:{t:2,i:[{t:3}],s:"ene"}},{t:0,b:{t:2,i:[{t:3}],s:"feb"}},{t:0,b:{t:2,i:[{t:3}],s:"mar"}},{t:0,b:{t:2,i:[{t:3}],s:"abr"}},{t:0,b:{t:2,i:[{t:3}],s:"may"}},{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:"ago"}},{t:0,b:{t:2,i:[{t:3}],s:"sept"}},{t:0,b:{t:2,i:[{t:3}],s:"oct"}},{t:0,b:{t:2,i:[{t:3}],s:"nov"}},{t:0,b:{t:2,i:[{t:3}],s:"dic"}}],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:" de "},{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:"2"}}},tile:{page:{t:0,b:{t:2,i:[{t:3,v:"Página "},{t:4,k:"n"}]}}}}};export{t as default};