Adding translation for "Walk automatically to my position"
This commit is contained in:
parent
a91f022fd2
commit
62f8a131a9
@ -28,7 +28,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let canShare = navigator.canShare;
|
let canShare = navigator.share !== undefined;
|
||||||
|
|
||||||
async function shareLink() {
|
async function shareLink() {
|
||||||
const shareData = { url: getLink() };
|
const shareData = { url: getLink() };
|
||||||
@ -44,18 +44,18 @@
|
|||||||
|
|
||||||
<div class="guest-main">
|
<div class="guest-main">
|
||||||
<section class="container-overflow">
|
<section class="container-overflow">
|
||||||
{#if (!canShare) }
|
{#if !canShare}
|
||||||
<section class="share-url not-mobile">
|
<section class="share-url not-mobile">
|
||||||
<h3>{$LL.menu.invite.description()}</h3>
|
<h3>{$LL.menu.invite.description()}</h3>
|
||||||
<input type="text" readonly id="input-share-link" class="link-url" value={location.toString()} />
|
<input type="text" readonly id="input-share-link" class="link-url" value={location.toString()} />
|
||||||
<button type="button" class="nes-btn is-primary" on:click={copyLink}>{$LL.menu.invite.copy()}</button>
|
<button type="button" class="nes-btn is-primary" on:click={copyLink}>{$LL.menu.invite.copy()}</button>
|
||||||
</section>
|
</section>
|
||||||
{:else}
|
{:else}
|
||||||
<section class="is-mobile">
|
<section class="is-mobile">
|
||||||
<h3>{$LL.menu.invite.description()}</h3>
|
<h3>{$LL.menu.invite.description()}</h3>
|
||||||
<input type="hidden" readonly id="input-share-link" value={location.toString()} />
|
<input type="hidden" readonly id="input-share-link" value={location.toString()} />
|
||||||
<button type="button" class="nes-btn is-primary" on:click={shareLink}>{$LL.menu.invite.share()}</button>
|
<button type="button" class="nes-btn is-primary" on:click={shareLink}>{$LL.menu.invite.share()}</button>
|
||||||
</section>
|
</section>
|
||||||
{/if}
|
{/if}
|
||||||
<h3>Select an entry point</h3>
|
<h3>Select an entry point</h3>
|
||||||
<section class="nes-select is-dark starting-points">
|
<section class="nes-select is-dark starting-points">
|
||||||
@ -79,7 +79,7 @@
|
|||||||
updateInputFieldValue();
|
updateInputFieldValue();
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<span>Walk automatically to my position</span>
|
<span>{$LL.menu.invite.walk_automatically_to_position()}</span>
|
||||||
</label>
|
</label>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
@ -132,8 +132,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@include media-breakpoint-up(lg) {
|
@include media-breakpoint-up(lg) {
|
||||||
div.guest-main {
|
div.guest-main {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -70,6 +70,7 @@ const menu: NonNullable<Translation["menu"]> = {
|
|||||||
description: "Link zu diesem Raum teilen!",
|
description: "Link zu diesem Raum teilen!",
|
||||||
copy: "Kopieren",
|
copy: "Kopieren",
|
||||||
share: "Teilen",
|
share: "Teilen",
|
||||||
|
walk_automatically_to_position: "Walk automatically to my position",
|
||||||
},
|
},
|
||||||
globalMessage: {
|
globalMessage: {
|
||||||
text: "Text",
|
text: "Text",
|
||||||
|
@ -70,6 +70,7 @@ const menu: BaseTranslation = {
|
|||||||
description: "Share the link of the room!",
|
description: "Share the link of the room!",
|
||||||
copy: "Copy",
|
copy: "Copy",
|
||||||
share: "Share",
|
share: "Share",
|
||||||
|
walk_automatically_to_position: "Walk automatically to my position",
|
||||||
},
|
},
|
||||||
globalMessage: {
|
globalMessage: {
|
||||||
text: "Text",
|
text: "Text",
|
||||||
|
@ -70,6 +70,7 @@ const menu: NonNullable<Translation["menu"]> = {
|
|||||||
description: "Partager le lien de la salle!",
|
description: "Partager le lien de la salle!",
|
||||||
copy: "Copier",
|
copy: "Copier",
|
||||||
share: "Partager",
|
share: "Partager",
|
||||||
|
walk_automatically_to_position: "Marcher automatiquement jusqu'à ma position",
|
||||||
},
|
},
|
||||||
globalMessage: {
|
globalMessage: {
|
||||||
text: "Texte",
|
text: "Texte",
|
||||||
|
Loading…
Reference in New Issue
Block a user