Files
homeassistant_espscreen/screen_manager/app/static/assets/fr-C0TB0UkD.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.7 KiB
JavaScript

const t={screen:{ha:{on:{t:0,b:{t:2,i:[{t:3}],s:"Activé"}},off:{t:0,b:{t:2,i:[{t:3}],s:"Désactivé"}},unavailable:{t:0,b:{t:2,i:[{t:3}],s:"Indisponible"}},climate:{off:{t:0,b:{t:2,i:[{t:3}],s:"Éteint"}},heat:{t:0,b:{t:2,i:[{t:3}],s:"Chauffage"}},cool:{t:0,b:{t:2,i:[{t:3}],s:"Climatisation"}},heat_cool:{t:0,b:{t:2,i:[{t:3}],s:"Chauffage/Climatisation"}},auto:{t:0,b:{t:2,i:[{t:3}],s:"Auto"}},dry:{t:0,b:{t:2,i:[{t:3}],s:"Déshumidification"}},fan_only:{t:0,b:{t:2,i:[{t:3}],s:"Ventilation uniquement"}}},hvac_action:{heating:{t:0,b:{t:2,i:[{t:3}],s:"Chauffe"}},cooling:{t:0,b:{t:2,i:[{t:3}],s:"Rafraîchit"}},idle:{t:0,b:{t:2,i:[{t:3}],s:"Inactif"}},off:{t:0,b:{t:2,i:[{t:3}],s:"Éteint"}},drying:{t:0,b:{t:2,i:[{t:3}],s:"Déshumidifie"}},fan:{t:0,b:{t:2,i:[{t:3}],s:"Ventile"}},preheating:{t:0,b:{t:2,i:[{t:3}],s:"Préchauffage"}},defrosting:{t:0,b:{t:2,i:[{t:3}],s:"Dégivrage"}}},cover:{open:{t:0,b:{t:2,i:[{t:3}],s:"Ouvert"}},closed:{t:0,b:{t:2,i:[{t:3}],s:"Fermé"}},opening:{t:0,b:{t:2,i:[{t:3}],s:"Ouverture"}},closing:{t:0,b:{t:2,i:[{t:3}],s:"Fermeture"}}},media:{playing:{t:0,b:{t:2,i:[{t:3}],s:"Lecture en cours"}},paused:{t:0,b:{t:2,i:[{t:3}],s:"En pause"}},idle:{t:0,b:{t:2,i:[{t:3}],s:"Inactif"}},standby:{t:0,b:{t:2,i:[{t:3}],s:"En veille"}}},person:{home:{t:0,b:{t:2,i:[{t:3}],s:"Maison"}},not_home:{t:0,b:{t:2,i:[{t:3}],s:"Absent"}}},sun:{above_horizon:{t:0,b:{t:2,i:[{t:3}],s:"Au-dessus de l'horizon"}},below_horizon:{t:0,b:{t:2,i:[{t:3}],s:"Sous l'horizon"}}},vacuum:{docked:{t:0,b:{t:2,i:[{t:3}],s:"À la station d'accueil"}},cleaning:{t:0,b:{t:2,i:[{t:3}],s:"Nettoyage"}},paused:{t:0,b:{t:2,i:[{t:3}],s:"En pause"}},returning:{t:0,b:{t:2,i:[{t:3}],s:"Retour à la station d'accueil"}},idle:{t:0,b:{t:2,i:[{t:3}],s:"Inactif"}}},weather:{sunny:{t:0,b:{t:2,i:[{t:3}],s:"Ensoleillé"}},clear_night:{t:0,b:{t:2,i:[{t:3}],s:"Nuit dégagée"}},cloudy:{t:0,b:{t:2,i:[{t:3}],s:"Nuageux"}},partlycloudy:{t:0,b:{t:2,i:[{t:3}],s:"Éclaircies"}},rainy:{t:0,b:{t:2,i:[{t:3}],s:"Pluvieux"}},pouring:{t:0,b:{t:2,i:[{t:3}],s:"Averses"}},snowy:{t:0,b:{t:2,i:[{t:3}],s:"Neigeux"}},snowy_rainy:{t:0,b:{t:2,i:[{t:3}],s:"Neigeux, pluvieux"}},fog:{t:0,b:{t:2,i:[{t:3}],s:"Brouillard"}},hail:{t:0,b:{t:2,i:[{t:3}],s:"Grêle"}},lightning:{t:0,b:{t:2,i:[{t:3}],s:"Orage"}},lightning_rainy:{t:0,b:{t:2,i:[{t:3}],s:"Orage / Pluie"}},windy:{t:0,b:{t:2,i:[{t:3}],s:"Venteux"}},exceptional:{t:0,b:{t:2,i:[{t:3}],s:"Exceptionnel"}}},binary:{battery_on:{t:0,b:{t:2,i:[{t:3}],s:"Faible"}},battery_off:{t:0,b:{t:2,i:[{t:3}],s:"Normal"}},battery_charging_on:{t:0,b:{t:2,i:[{t:3}],s:"En charge"}},battery_charging_off:{t:0,b:{t:2,i:[{t:3}],s:"Pas en charge"}},carbon_monoxide_on:{t:0,b:{t:2,i:[{t:3}],s:"Détecté"}},carbon_monoxide_off:{t:0,b:{t:2,i:[{t:3}],s:"Non détecté"}},cold_on:{t:0,b:{t:2,i:[{t:3}],s:"Froid"}},cold_off:{t:0,b:{t:2,i:[{t:3}],s:"Normal"}},connectivity_on:{t:0,b:{t:2,i:[{t:3}],s:"Connecté"}},connectivity_off:{t:0,b:{t:2,i:[{t:3}],s:"Déconnecté"}},door_on:{t:0,b:{t:2,i:[{t:3}],s:"Ouvert"}},door_off:{t:0,b:{t:2,i:[{t:3}],s:"Fermé"}},garage_door_on:{t:0,b:{t:2,i:[{t:3}],s:"Ouvert"}},garage_door_off:{t:0,b:{t:2,i:[{t:3}],s:"Fermé"}},gas_on:{t:0,b:{t:2,i:[{t:3}],s:"Détecté"}},gas_off:{t:0,b:{t:2,i:[{t:3}],s:"Non détecté"}},heat_on:{t:0,b:{t:2,i:[{t:3}],s:"Chaud"}},heat_off:{t:0,b:{t:2,i:[{t:3}],s:"Normal"}},light_on:{t:0,b:{t:2,i:[{t:3}],s:"Lumière détectée"}},light_off:{t:0,b:{t:2,i:[{t:3}],s:"Pas de lumière"}},lock_on:{t:0,b:{t:2,i:[{t:3}],s:"Déverrouillé"}},lock_off:{t:0,b:{t:2,i:[{t:3}],s:"Verrouillé"}},moisture_on:{t:0,b:{t:2,i:[{t:3}],s:"Humide"}},moisture_off:{t:0,b:{t:2,i:[{t:3}],s:"Sec"}},motion_on:{t:0,b:{t:2,i:[{t:3}],s:"Détecté"}},motion_off:{t:0,b:{t:2,i:[{t:3}],s:"Non détecté"}},moving_on:{t:0,b:{t:2,i:[{t:3}],s:"En mouvement"}},moving_off:{t:0,b:{t:2,i:[{t:3}],s:"Immobile"}},occupancy_on:{t:0,b:{t:2,i:[{t:3}],s:"Détecté"}},occupancy_off:{t:0,b:{t:2,i:[{t:3}],s:"Non détecté"}},opening_on:{t:0,b:{t:2,i:[{t:3}],s:"Ouvert"}},opening_off:{t:0,b:{t:2,i:[{t:3}],s:"Fermé"}},plug_on:{t:0,b:{t:2,i:[{t:3}],s:"Branché"}},plug_off:{t:0,b:{t:2,i:[{t:3}],s:"Débranché"}},power_on:{t:0,b:{t:2,i:[{t:3}],s:"Activé"}},power_off:{t:0,b:{t:2,i:[{t:3}],s:"Désactivé"}},presence_on:{t:0,b:{t:2,i:[{t:3}],s:"Maison"}},presence_off:{t:0,b:{t:2,i:[{t:3}],s:"Absent"}},problem_on:{t:0,b:{t:2,i:[{t:3}],s:"Problème"}},problem_off:{t:0,b:{t:2,i:[{t:3}],s:"OK"}},running_on:{t:0,b:{t:2,i:[{t:3}],s:"En cours"}},running_off:{t:0,b:{t:2,i:[{t:3}],s:"Arrêté"}},safety_on:{t:0,b:{t:2,i:[{t:3}],s:"Dangereux"}},safety_off:{t:0,b:{t:2,i:[{t:3}],s:"Sûr"}},smoke_on:{t:0,b:{t:2,i:[{t:3}],s:"Détectée"}},smoke_off:{t:0,b:{t:2,i:[{t:3}],s:"Non détectée"}},sound_on:{t:0,b:{t:2,i:[{t:3}],s:"Détecté"}},sound_off:{t:0,b:{t:2,i:[{t:3}],s:"Non détecté"}},tamper_on:{t:0,b:{t:2,i:[{t:3}],s:"Manipulation détectée"}},tamper_off:{t:0,b:{t:2,i:[{t:3}],s:"Non détectée"}},update_on:{t:0,b:{t:2,i:[{t:3}],s:"Mise à jour disponible"}},update_off:{t:0,b:{t:2,i:[{t:3}],s:"À jour"}},vibration_on:{t:0,b:{t:2,i:[{t:3}],s:"Détectée"}},vibration_off:{t:0,b:{t:2,i:[{t:3}],s:"Non détectée"}},window_on:{t:0,b:{t:2,i:[{t:3}],s:"Ouvert"}},window_off:{t:0,b:{t:2,i:[{t:3}],s:"Fermé"}}},button:{activate:{t:0,b:{t:2,i:[{t:3}],s:"Activer"}},run:{t:0,b:{t:2,i:[{t:3}],s:"Exécuter"}},press:{t:0,b:{t:2,i:[{t:3}],s:"Appuyer"}}}},time:{just_now:{t:0,b:{t:2,i:[{t:3}],s:"À l'instant"}},minutes_ago:{t:0,b:{t:2,i:[{t:3,v:"Il y a "},{t:4,k:"n"},{t:3,v:" min"}]}},hours_ago:{t:0,b:{t:1,c:[{t:2,i:[{t:3,v:"Il y a "},{t:4,k:"n"},{t:3,v:" heure"}]},{t:2,i:[{t:3,v:"Il y a "},{t:4,k:"n"},{t:3,v:" heures"}]}]}},yesterday:{t:0,b:{t:2,i:[{t:3}],s:"Hier"}},days_ago:{t:0,b:{t:1,c:[{t:2,i:[{t:3,v:"Il y a "},{t:4,k:"n"},{t:3,v:" jour"}]},{t:2,i:[{t:3,v:"Il y a "},{t:4,k:"n"},{t:3,v:" jours"}]}]}},weeks_ago:{t:0,b:{t:1,c:[{t:2,i:[{t:3,v:"Il y a "},{t:4,k:"n"},{t:3,v:" semaine"}]},{t:2,i:[{t:3,v:"Il y a "},{t:4,k:"n"},{t:3,v:" semaines"}]}]}},months_ago:{t:0,b:{t:1,c:[{t:2,i:[{t:3,v:"Il y a "},{t:4,k:"n"},{t:3,v:" mois"}]},{t:2,i:[{t:3,v:"Il y a "},{t:4,k:"n"},{t:3,v:" mois"}]}]}},years_ago:{t:0,b:{t:1,c:[{t:2,i:[{t:3,v:"Il y a "},{t:4,k:"n"},{t:3,v:" an"}]},{t:2,i:[{t:3,v:"Il y a "},{t:4,k:"n"},{t:3,v:" ans"}]}]}},in_minutes:{t:0,b:{t:2,i:[{t:3,v:"Dans "},{t:4,k:"n"},{t:3,v:" min"}]}},in_hours:{t:0,b:{t:1,c:[{t:2,i:[{t:3,v:"Dans "},{t:4,k:"n"},{t:3,v:" heure"}]},{t:2,i:[{t:3,v:"Dans "},{t:4,k:"n"},{t:3,v:" heures"}]}]}},tomorrow:{t:0,b:{t:2,i:[{t:3}],s:"Demain"}},in_days:{t:0,b:{t:1,c:[{t:2,i:[{t:3,v:"Dans "},{t:4,k:"n"},{t:3,v:" jour"}]},{t:2,i:[{t:3,v:"Dans "},{t:4,k:"n"},{t:3,v:" jours"}]}]}},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:"dimanche"}},{t:0,b:{t:2,i:[{t:3}],s:"lundi"}},{t:0,b:{t:2,i:[{t:3}],s:"mardi"}},{t:0,b:{t:2,i:[{t:3}],s:"mercredi"}},{t:0,b:{t:2,i:[{t:3}],s:"jeudi"}},{t:0,b:{t:2,i:[{t:3}],s:"vendredi"}},{t:0,b:{t:2,i:[{t:3}],s:"samedi"}}],weekdays_short:[{t:0,b:{t:2,i:[{t:3}],s:"dim."}},{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:"mer."}},{t:0,b:{t:2,i:[{t:3}],s:"jeu."}},{t:0,b:{t:2,i:[{t:3}],s:"ven."}},{t:0,b:{t:2,i:[{t:3}],s:"sam."}}],weekdays_min:[{t:0,b:{t:2,i:[{t:3}],s:"dim."}},{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:"mer."}},{t:0,b:{t:2,i:[{t:3}],s:"jeu."}},{t:0,b:{t:2,i:[{t:3}],s:"ven."}},{t:0,b:{t:2,i:[{t:3}],s:"sam."}}],months:[{t:0,b:{t:2,i:[{t:3}],s:"janvier"}},{t:0,b:{t:2,i:[{t:3}],s:"février"}},{t:0,b:{t:2,i:[{t:3}],s:"mars"}},{t:0,b:{t:2,i:[{t:3}],s:"avril"}},{t:0,b:{t:2,i:[{t:3}],s:"mai"}},{t:0,b:{t:2,i:[{t:3}],s:"juin"}},{t:0,b:{t:2,i:[{t:3}],s:"juillet"}},{t:0,b:{t:2,i:[{t:3}],s:"août"}},{t:0,b:{t:2,i:[{t:3}],s:"septembre"}},{t:0,b:{t:2,i:[{t:3}],s:"octobre"}},{t:0,b:{t:2,i:[{t:3}],s:"novembre"}},{t:0,b:{t:2,i:[{t:3}],s:"décembre"}}],months_short:[{t:0,b:{t:2,i:[{t:3}],s:"janv."}},{t:0,b:{t:2,i:[{t:3}],s:"févr."}},{t:0,b:{t:2,i:[{t:3}],s:"mars"}},{t:0,b:{t:2,i:[{t:3}],s:"avr."}},{t:0,b:{t:2,i:[{t:3}],s:"mai"}},{t:0,b:{t:2,i:[{t:3}],s:"juin"}},{t:0,b:{t:2,i:[{t:3}],s:"juil."}},{t:0,b:{t:2,i:[{t:3}],s:"août"}},{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:"déc."}}],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:"Page "},{t:4,k:"n"}]}}}}};export{t as default};