(() => { const isSpanish = /^es(?:-|_|$)/i.test(document.documentElement.lang) || /^\/es(?:\/|$)/i.test(window.location.pathname); const spanish = { "Space": "Espacio", "Cuisine": "Cocina", "Included": "Incluye", "Power, water & trash included": "Electricidad, agua y recolección de basura incluidas", "Your Truck Here": "Tu Food Truck Aquí", "Menu & More": "Menú y Más", "Join Us": "Únete", "Salvadoran & Mexican": "Salvadoreña y mexicana", "Venezuelan": "Venezolana", "Mexican Street Food": "Antojitos mexicanos", "Hibachi & Teppanyaki": "Hibachi y teppanyaki", "Mon–Tue: 5–10PM\nWed: Closed\nThu–Fri: 5–10PM\nSat–Sun: 12–10PM": "Lun–Mar: 5–10 p. m.\nMié: Cerrado\nJue–Vie: 5–10 p. m.\nSáb–Dom: 12–10 p. m.", "Mon–Thu: 6–11PM\nFri–Sat: 6PM–12AM\nSun: 6–11PM": "Lun–Jue: 6–11 p. m.\nVie–Sáb: 6 p. m.–12 a. m.\nDom: 6–11 p. m.", "Daily: 6PM–2AM": "Todos los días: 6 p. m.–2 a. m.", "Daily: 7PM–3AM": "Todos los días: 7 p. m.–3 a. m.", "Temporarily Closed": "Cerrado temporalmente", "On Patrol": "De patrulla", "Spotted on Westheimer": "Visto en Westheimer", "Police patrol — tap for a caption": "Patrulla de policía — toca para ver un comentario", "Car passing through — tap for a caption": "Auto de paso — toca para ver un comentario", "Patrol car passing through — tap for a caption": "Patrulla de paso — toca para ver un comentario", "Police radio conversation in progress": "Conversación por radio de la policía en curso", "Police radio conversation": "Conversación por radio de la policía", "Patrol Car": "Patrulla", "Dispatch": "Central", "Dispatch, can I get a plate check on “BALLER”?": "Central, ¿puede verificar la placa “BALLER”?", "That’s Michael Roa. You can’t pull him over.": "Es Michael Roa. No puedes detenerlo.", "Why not?": "¿Por qué no?", "He literally owns the road.": "Literalmente es dueño de la calle.", "Play traffic": "Reproducir tráfico", "Pause traffic": "Pausar tráfico", "Hover an open-space tag to bring the road to life.": "Pasa el cursor sobre un espacio disponible para animar el tráfico.", "Hover open-space tags for traffic & leasing details.": "Pasa el cursor sobre los espacios disponibles para ver el tráfico y los detalles de renta.", "Play Michael’s Theme": "Reproducir el tema de Michael", "Pause Michael’s Theme": "Pausar el tema de Michael", "Scroll map left": "Desplazar el mapa a la izquierda", "Scroll map right": "Desplazar el mapa a la derecha", "You've Spotted Michael Roa! — open details": "¡Encontraste a Michael Roa! — abrir detalles", "Truck Stop 77077 — Where 77077 Comes to Eat. Illustrated banner of five food trucks lined up beneath the Houston skyline.": "Truck Stop 77077 — Donde el 77077 viene a comer. Ilustración de cinco food trucks frente al horizonte de Houston.", "Angled evening illustration of Truck Stop 77077, with food trucks, picnic seating, parking, and the shopping center": "Vista ilustrada al atardecer de Truck Stop 77077, con food trucks, mesas de picnic, estacionamiento y el centro comercial", "Official Truck Stop 77077 site plan": "Plano oficial de Truck Stop 77077", "Truck Stop 77077 picnic seating area under string lights at night": "Área de mesas de picnic de Truck Stop 77077 bajo guirnaldas de luces por la noche", "Picnic table inside the new fenced seating area": "Mesa de picnic dentro de la nueva área cercada", "New outdoor seating enclosure illuminated at night": "Nueva área cercada de mesas al aire libre iluminada por la noche", "Their GPS is secretly sponsored by Truck Stop 77077.": "Su GPS está patrocinado en secreto por Truck Stop 77077.", "They’re taking their check-engine light out for a nice dinner at the Truck Stop 77077.": "Sacaron a cenar a la luz de «revisar motor» en Truck Stop 77077.", "They missed the entrance to the Truck Stop 77077 and are completing Westheimer’s mandatory six-mile apology lap.": "Se pasaron la entrada de Truck Stop 77077 y están dando la vuelta obligatoria de seis millas para pedirle perdón a Westheimer.", "Their dog is navigating, and he’s made several compelling points about the smell of brisket at the Truck Stop 77077.": "Su perro va de copiloto y ha presentado varios argumentos convincentes sobre el olor a brisket de Truck Stop 77077.", "They’re in a high-speed chase. It’s Westheimer, so they’re doing 11.": "Van en una persecución a toda velocidad. Es Westheimer, así que van a 11 millas por hora.", "They heard Danger makes things disappear and brought their car marriage license.": "Oyeron que Danger hace desaparecer cosas y trajeron su acta de matrimonio.", "His wife is cheating, so he's headed out to grab a taco at the Truck Stop 77077 then kill them both.": "Su esposa lo está engañando, así que va por un taco a Truck Stop 77077 antes de matarlos a los dos.", "He’s on his way to bail his buddy out. Tacos first—the guy in jail already got fed.": "Va a pagar la fianza de su amigo. Primero los tacos: al de la cárcel ya le dieron de comer.", "She’s returning her ex’s belongings in a trash bag. The nice bags are for her takeout from the Truck Stop 77077.": "Va a devolverle a su ex sus cosas en una bolsa de basura. Las bolsas buenas son para la comida para llevar de Truck Stop 77077.", "He called in sick and spotted his boss in line at Truck Stop 77077. They’ve agreed neither of them was here.": "Fingió estar enfermo y vio a su jefe en la fila de Truck Stop 77077. Acordaron que ninguno estuvo aquí.", "He’s meeting someone from Facebook Marketplace to buy back the TV his girlfriend sold while he was at work.": "Va a encontrarse con alguien de Facebook Marketplace para recomprar la tele que su novia vendió mientras él trabajaba.", "His wife and his girlfriend both asked where he is. For once, “getting tacos at the Truck Stop 77077” is the truth.": "Su esposa y su novia le preguntaron dónde está. Por una vez, «comiendo tacos en Truck Stop 77077» es la verdad.", "She’s on a date with a guy who described himself as an entrepreneur. Apparently, that means she’s buying dinner. So she's taking them to the Truck Stop 77077.": "Está en una cita con un tipo que se describió como emprendedor. Al parecer, eso significa que ella paga la cena. Así que los lleva a Truck Stop 77077.", "He came to repossess a truck, but the owner bought him lunch. Negotiations have entered their second taco at the Truck Stop 77077.": "Vino a embargar un truck, pero el dueño le invitó a comer. Las negociaciones ya van por el segundo taco en Truck Stop 77077.", "He’s late for a custody exchange. It’s a French bulldog, and somehow the dog has the better lawyer.": "Va tarde al intercambio de custodia. Es un bulldog francés y, de algún modo, el perro tiene al mejor abogado.", "He’s an Uber driver whose passenger asked for a “quick food stop at the Truck Stop 77077.” It’s been forty minutes, and the passenger is now wearing an apron.": "Es conductor de Uber y su pasajero pidió «una paradita rápida para comer en Truck Stop 77077». Han pasado cuarenta minutos y el pasajero ya trae delantal.", "His wife said she hopes he ends up dead in a ditch. He’s getting tacos at the Truck Stop 77077 because that sounds like a long evening.": "Su esposa le dijo que ojalá acabara muerto en una zanja. Está comprando tacos en Truck Stop 77077 porque eso suena a una noche larga.", "His parole officer thinks he’s at work. His boss thinks he’s in jail. He’s at Truck Stop 77077.": "Su oficial de libertad condicional cree que está trabajando. Su jefe cree que está en la cárcel. Está en Truck Stop 77077.", "He faked his death to escape his marriage, but his favorite food truck just posted a special. He’s risking it.": "Fingió su muerte para escapar de su matrimonio, pero su food truck favorito acaba de publicar una promoción. Se va a arriesgar.", "He’s headed to his mother-in-law’s funeral. His wife said to bring something appropriate, so he’s hiding the tacos under a black napkin.": "Va al funeral de su suegra. Su esposa le pidió que llevara algo apropiado, así que esconde los tacos bajo una servilleta negra.", "He’s fleeing the scene, but his passenger keeps saying, “Seriously, you HAVE to try the Truck Stop 77077.”": "Está huyendo de la escena, pero su pasajero no deja de decir: «En serio, TIENES que probar Truck Stop 77077».", "His mistress texted “We need to talk.” His wife texted “I know.” He’s putting his phone on airplane mode and ordering dinner at the Truck Stop 77077.": "Su amante le escribió «Tenemos que hablar». Su esposa le escribió «Ya sé». Él pone el teléfono en modo avión y pide la cena en Truck Stop 77077.", "He’s taking his mother-in-law’s ashes to the beach while he enjoys Hibachi from the Truck Stop 77077. After all these years she’s finally going to sit quietly while he eats.": "Lleva las cenizas de su suegra a la playa mientras disfruta un hibachi de Truck Stop 77077. Después de tantos años, por fin se va a quedar callada mientras él come.", "He’s meeting the guy blackmailing him. Apparently “come alone and bring the money” now includes “and two tacos, no onions from the Truck Stop 77077.”": "Va a reunirse con el tipo que lo chantajea. Al parecer, «ven solo y trae el dinero» ahora incluye «y dos tacos sin cebolla de Truck Stop 77077».", "His wife hired a private investigator to follow him. They’re on their third dinner together, and honestly, he feels more supported.": "Su esposa contrató a un investigador privado para seguirlo. Ya van por su tercera cena juntos y, la verdad, él se siente más apoyado.", "“He said the tacos were an emergency. The officer is investigating.”": "«Dijo que los tacos eran una emergencia. El oficial está investigando».", "“That’s not a pursuit. They’re both trying to get to the Truck Stop 77077.”": "«No es una persecución. Los dos están tratando de llegar a Truck Stop 77077».", "“The suspect is carrying a burrito from the Truck Stop 77077 and should be considered extremely hungry.”": "«El sospechoso lleva un burrito de Truck Stop 77077 y debe considerarse extremadamente hambriento».", "“He used his turn signal on Westheimer. Naturally, the officer found that suspicious.”": "«Usó la direccional en Westheimer. Naturalmente, al oficial le pareció sospechoso».", "“We’re providing a police escort to the Truck Stop 77077.”": "«Estamos dando una escolta policial hasta Truck Stop 77077».", "“The officer asked if he knew why he was being followed. He said, ‘You smelled the fries?’”": "«El oficial le preguntó si sabía por qué lo seguían. Respondió: “¿Le llegó el olor de las papas fritas?”».", "“They’re cruising on past because Truck Stop 77077 doesn’t have donuts.”": "«Siguen de largo porque Truck Stop 77077 no tiene donas».", "“Dispatch, we’re attempting to pull over one Michael Roa, but he refuses to cooperate. Says he literally owns the road and we should move along.”": "«Central, intentamos detener a un tal Michael Roa, pero se niega a cooperar. Dice que literalmente es dueño de la calle y que sigamos nuestro camino»." }; const text = value => isSpanish && typeof value === 'string' ? (spanish[value] || value) : value; const path = value => isSpanish && /^\/(?!\/|es(?:\/|$))/.test(value) ? '/es' + value : value; window.TruckStopLanguage = {isSpanish, text, path}; function translateAccessibleLabels() { if (!isSpanish) return; document.querySelectorAll('#ts77077 [alt], #ts77077 [aria-label], #ts77077 [title]').forEach(el => { ['alt','aria-label','title'].forEach(attr => { const value = el.getAttribute(attr); if (value && spanish[value]) el.setAttribute(attr,text(value)); }); }); // Dynamic values are translated by their owning scripts, not a later network response. ['#park-popover-space','#park-popover-title','#park-popover-fact-label','#park-popover-fact','#park-popover-hours','#park-popover-action','#joke-popover-eyebrow','#joke-popover-text','.roa-theme-label'].forEach(selector => { const el=document.querySelector(selector); if(el){el.textContent=text(el.textContent);el.setAttribute('data-no-translation','');} }); } if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',translateAccessibleLabels,{once:true}); else translateAccessibleLabels(); })();