mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-21 11:36:05 +00:00
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:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user