diff --git a/openpilot/starpilot/galaxy/web/js/starport.js b/openpilot/starpilot/galaxy/web/js/starport.js index 956573e2af..0afbac9db6 100644 --- a/openpilot/starpilot/galaxy/web/js/starport.js +++ b/openpilot/starpilot/galaxy/web/js/starport.js @@ -108,8 +108,8 @@ const PAIR_UI = `
{{ selected.name }}Used for Android Auto
-Pairing canceled. Start again when your car is ready.
-The pairing window ended without choosing a car. Try again when your car’s pairing screen is open.
+Pairing canceled. Start again when your {{ deviceWord }} is ready.
+The pairing window ended without choosing a {{ deviceWord }}. Try again when your {{ adapterSetup ? 'adapter is in pairing mode' : 'car’s pairing screen is open' }}.
{{ pairing.discovering ? "Searching for nearby cars and adapters…" : "Choose your car or wireless adapter below." }}
+{{ pairing.discovering ? "Searching for your " + deviceWord + "…" : "Choose your " + deviceWord + " below." }}
Approved {{ pairing.receiver?.name }}. Finishing Bluetooth pairing…
Pairing with {{ pairing.receiver?.name || 'the selected device' }}…
Connecting to {{ pairing.receiver?.name || 'the selected device' }}…
{{ pairing.receiver?.name || 'Device' }} {{ pairing.state === 'connected' ? 'connected' : 'paired' }}.
{{ pairing.prompt.kind === 'confirmation' ? 'Check that this code matches your car, then confirm.' : - pairing.prompt.kind === 'pin' ? 'Enter the PIN shown by your car.' : - pairing.prompt.kind === 'passkey' ? 'Enter your car’s passkey.' : - pairing.prompt.kind === 'authorization' ? 'Allow this car to pair?' : 'Enter this code in your car.' }}
+{{ pairing.prompt.kind === 'confirmation' ? 'Check that this code matches your ' + deviceWord + ', then confirm.' : + pairing.prompt.kind === 'pin' ? 'Enter the PIN shown by your ' + deviceWord + '.' : + pairing.prompt.kind === 'passkey' ? 'Enter your ' + deviceWord + '’s passkey.' : + pairing.prompt.kind === 'authorization' ? 'Allow this ' + deviceWord + ' to pair?' : 'Enter this code in your ' + deviceWord + '.' }}
{{ pairing.prompt.value }} + :inputmode="pairing.prompt.kind === 'passkey' ? 'numeric' : 'text'" :aria-label="pairing.prompt.kind === 'pin' ? (adapterSetup ? 'Adapter' : 'Car') + ' PIN' : (adapterSetup ? 'Adapter' : 'Car') + ' passkey'" v-model="pairValue" />