fix: the provisioning line reads as a key reference, the safe-area test follows margin-inline

lint:i18n-keys took the spread in front of t() for a member call and did not
see native.provisioning.sub; the sentence is its own constant now. The
shell chrome test asks for the logical margins and their right-to-left swap.
This commit is contained in:
Maurice
2026-11-12 14:52:42 +01:00
parent fc648bc7e4
commit 80130f7946
2 changed files with 7 additions and 7 deletions
+3 -5
View File
@@ -1554,12 +1554,10 @@ function showProvisioning(instanceUrl: string, welcome?: string): void {
stepServer,
stepReady
);
// The address set in bold inside the sentence, wherever the language puts it.
const sentence = t('native.provisioning.sub', { host: '\u0000' });
const sub = el('span', {});
sub.append(
...t('native.provisioning.sub', { host: '\u0000' })
.split('\u0000')
.flatMap((part, i) => (i ? [el('b', { dir: 'ltr' }, host), part] : [part]))
);
sub.append(...sentence.split('\u0000').flatMap((part, i) => (i ? [el('b', { dir: 'ltr' }, host), part] : [part])));
const view = stateScreen({
camera: chosenCamera,
kicker: t('native.provisioning.kicker'),