diff --git a/band-lineup-display/renderer.js b/band-lineup-display/renderer.js index dd91c5d..7c13058 100644 --- a/band-lineup-display/renderer.js +++ b/band-lineup-display/renderer.js @@ -1571,11 +1571,11 @@ function renderDisplay() { } if (!state?.enabled) { - setDisplayStatus('Off — screens around the building can’t see this yet.'); + setDisplayStatus('Off \\u2014 screens around the building can\\u2019t see this yet.'); } else if (state.lastError) { setDisplayStatus(state.lastError, true); } else if (!state.listening) { - setDisplayStatus('Starting…'); + setDisplayStatus('Starting\\u2026'); } else if (state.mdnsConflict) { setDisplayStatus( `Another computer is already publishing that name (${state.mdnsConflict}). Use one of the numeric addresses below.`, @@ -1587,19 +1587,19 @@ function renderDisplay() { // when two machines are open is just wrong. const screens = state.devices || state.viewers; const extra = state.viewers > screens ? ` (${state.viewers} connections)` : ''; - setDisplayStatus(`On — ${screens} screen${screens === 1 ? '' : 's'} watching${extra}.`); + setDisplayStatus(`On \\u2014 ${screens} screen${screens === 1 ? '' : 's'} watching${extra}.`); } else if (state.everHadViewer) { - setDisplayStatus('On — no screens open right now.'); + setDisplayStatus('On \\u2014 no screens open right now.'); } else if (displayOnSince && Date.now() - displayOnSince > DISPLAY_FIREWALL_GRACE_MS) { // On Windows the firewall prompt fires when the server starts listening, not when a // studio first connects — so localhost looks fine here while every other screen times // out. A viewer count stuck at zero is the only hint we get; say it plainly. setDisplayStatus( - `On, but no screen has connected yet. If a studio can’t load the page, Windows Firewall on this computer is probably blocking Band Lineup — it needs to allow TCP port ${state.port} for Private networks.`, + `On, but no screen has connected yet. If a studio can\\u2019t load the page, Windows Firewall on this computer is probably blocking Band Lineup \\u2014 it needs to allow TCP port ${state.port} for Private networks.`, true, ); } else { - setDisplayStatus('On — open one of these on any screen in the building.'); + setDisplayStatus('On \\u2014 open one of these on any screen in the building.'); } renderDisplayUrls(); @@ -1626,7 +1626,7 @@ function scheduleDisplayRefresh() { async function toggleDisplayHosting() { const next = !displayState?.enabled; btnDisplayToggle.disabled = true; - setDisplayStatus(next ? 'Starting…' : 'Stopping…'); + setDisplayStatus(next ? 'Starting\\u2026' : 'Stopping\\u2026'); try { displayState = await window.lineup.display.setEnabled(next); displayOnSince = next ? Date.now() : 0;