Adding translation for "Walk automatically to my position"

This commit is contained in:
David Négrier 2022-02-11 15:52:24 +01:00
parent a91f022fd2
commit 62f8a131a9
4 changed files with 19 additions and 16 deletions

View file

@ -28,7 +28,7 @@
}
}
let canShare = navigator.canShare;
let canShare = navigator.share !== undefined;
async function shareLink() {
const shareData = { url: getLink() };
@ -44,7 +44,7 @@
<div class="guest-main">
<section class="container-overflow">
{#if (!canShare) }
{#if !canShare}
<section class="share-url not-mobile">
<h3>{$LL.menu.invite.description()}</h3>
<input type="text" readonly id="input-share-link" class="link-url" value={location.toString()} />
@ -79,7 +79,7 @@
updateInputFieldValue();
}}
/>
<span>Walk automatically to my position</span>
<span>{$LL.menu.invite.walk_automatically_to_position()}</span>
</label>
</section>
</div>

View file

@ -70,6 +70,7 @@ const menu: NonNullable<Translation["menu"]> = {
description: "Link zu diesem Raum teilen!",
copy: "Kopieren",
share: "Teilen",
walk_automatically_to_position: "Walk automatically to my position",
},
globalMessage: {
text: "Text",

View file

@ -70,6 +70,7 @@ const menu: BaseTranslation = {
description: "Share the link of the room!",
copy: "Copy",
share: "Share",
walk_automatically_to_position: "Walk automatically to my position",
},
globalMessage: {
text: "Text",

View file

@ -70,6 +70,7 @@ const menu: NonNullable<Translation["menu"]> = {
description: "Partager le lien de la salle!",
copy: "Copier",
share: "Partager",
walk_automatically_to_position: "Marcher automatiquement jusqu'à ma position",
},
globalMessage: {
text: "Texte",