diff --git a/CHANGELOG.md b/CHANGELOG.md index 57e3537..6f35f22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## [1.9.7](https://github.com/workadventure/scripting-api-extra/compare/v1.9.6...v1.9.7) (2025-07-02) +### Bug Fixes + +- arabic and german translations ([#245](https://github.com/workadventure/scripting-api-extra/issues/245)) ([b5166c6](https://github.com/workadventure/scripting-api-extra/commit/b5166c64b111dee8d6211bb21930d888217b91b9)) + +## [1.9.7](https://github.com/workadventure/scripting-api-extra/compare/v1.9.6...v1.9.7) (2025-07-02) + ### Bug Fixes diff --git a/src/Iframes/TutorialV1/Tuto/Components/Steps/Step1.svelte b/src/Iframes/TutorialV1/Tuto/Components/Steps/Step1.svelte index a3869c4..5306481 100644 --- a/src/Iframes/TutorialV1/Tuto/Components/Steps/Step1.svelte +++ b/src/Iframes/TutorialV1/Tuto/Components/Steps/Step1.svelte @@ -13,7 +13,7 @@
Walk Walk -

{i18next.t('tuto.step1.use')} {i18next.t('tuto.step1.arowkeys')} {i18next.t('tuto.step1.or')} {i18next.t('tuto.step1.wasd')} {i18next.t('tuto.step1.aroundTheMap')}

+

{i18next.t('tuto.step1.use')} {i18next.t('tuto.step1.arrowkeys')} {i18next.t('tuto.step1.or')} {i18next.t('tuto.step1.wasd')} {i18next.t('tuto.step1.aroundTheMap')}

{i18next.t('tuto.step1.tip')} {i18next.t('tuto.step1.describeTip')}

diff --git a/src/Iframes/TutorialV1/Tuto/index.ts b/src/Iframes/TutorialV1/Tuto/index.ts index 0884b74..7b612e2 100644 --- a/src/Iframes/TutorialV1/Tuto/index.ts +++ b/src/Iframes/TutorialV1/Tuto/index.ts @@ -6,6 +6,7 @@ import * as en from "../../../translate/en-US/index"; import * as fr from "../../../translate/fr-FR/index"; import * as ar from "../../../translate/ar-SA/index"; import * as de from "../../../translate/de-DE/index"; +import * as pt from "../../../translate/pt-Br/index"; i18next.init({ debug: true, @@ -23,6 +24,7 @@ i18next.init({ de: { translation: de, }, + pt: { translation: pt }, }, }); diff --git a/src/translate/pt-Br/index.ts b/src/translate/pt-Br/index.ts new file mode 100644 index 0000000..3b01cb1 --- /dev/null +++ b/src/translate/pt-Br/index.ts @@ -0,0 +1 @@ +export { default as tuto } from "./tuto"; diff --git a/src/translate/pt-Br/tuto.ts b/src/translate/pt-Br/tuto.ts new file mode 100644 index 0000000..648c96f --- /dev/null +++ b/src/translate/pt-Br/tuto.ts @@ -0,0 +1,51 @@ +export default { + videoNotLoaded: "Vídeo não disponível no seu navegador", + next: "Próximo", + previous: "Anterior", + skipAll: "Pular tudo", + finish: "Finalizar", + skipTutorial: "Pular tutorial", + startTutorial: "Iniciar tutorial", + welcome: { + title: "Bem-vindo a bordo!", + subtitle: + "Este guia rápido leva apenas 2 minutos e vai te ajudar a se familiarizar com a plataforma em poucos passos.", + describe: + "É um mundo virtual onde equipes se encontram, conversam e colaboram naturalmente", + describe2: " — como na vida real.", + describe3: "Neste tutorial, você vai aprender a:", + bloc1: "Se movimentar", + bloc2: "Conversar com outras pessoas", + bloc3: "Descobrir objetos interativos", + }, + step1: { + title: "Explore seu mundo", + use: "Use as", + arrowkeys: " setas do teclado", + or: "ou", + wasd: "WASD para mover seu avatar", + aroundTheMap: "pelo mapa. Experimente agora!", + tip: "Dica:", + describeTip: + "Segure a tecla Shift enquanto se move para andar mais rápido — perfeito se estiver com pressa ou quiser explorar mais rápido!", + silentZone: "Você está em uma Zona Silenciosa — aqui, ninguém pode te ouvir.", + }, + step2: { + title: "Converse & colabore", + describe: "Para iniciar uma conversa, aproxime-se de alguém ", + describe2: " — o vídeo ou áudio será iniciado automaticamente.", + describe3: "Clique no ícone de cadeado para trancar a conversa e torná-la privada.", + describe4: "Clique no botão “Compartilhar Tela” durante uma conversa para mostrar sua tela", + }, + step3: { + title: "Descubra & Interaja", + interact: "Interaja com objetos ", + likeSign: "como placas, telas, documentos e portais", + sometimes: "— às vezes eles acendem ", + closer: "quando você se aproxima.", + describe3: + "Reúna pessoas em salas de reunião, promovendo discussões espontâneas e trabalho em equipe.", + describe4: + "Faça uma pausa em zonas silenciosas, o lugar perfeito para focar e trabalhar sem interrupções.", + }, +};