Skip to content

Commit 11d2962

Browse files
fix: add missing translations
1 parent a249211 commit 11d2962

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

src/locales/en.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,7 @@
1616
"onboarding": {
1717
"title": "{name}, What do you want to learn today?",
1818
"description": "Below are some knowledge pathways that will help you learn how to use the Weni Platform for various purposes. Choose the one that interests you to start your learning journey with the platform 💙"
19-
}
19+
},
20+
"see_all": "See all",
21+
"paths": "Paths"
2022
}

src/locales/es.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,7 @@
1616
"onboarding": {
1717
"title": "{name}, ¿Qué quieres aprender hoy?",
1818
"description": "A continuación, se enumeran algunas rutas de conocimiento que te ayudarán a aprender a utilizar la Plataforma Weni para diversos fines. Elige la que más te interese para comenzar tu viaje de aprendizaje en la plataforma 💙"
19-
}
19+
},
20+
"see_all": "Ver todo",
21+
"paths": "Rutas"
2022
}

src/locales/pt_br.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,7 @@
1616
"onboarding": {
1717
"title": "{name}, O que você quer aprender hoje?",
1818
"description": "Abaixo estão listadas algumas trilhas de conhecimento que vão lhe ajudar a aprender a utilizar a Plataforma Weni para diversos fins. Escolha a que for de seu interesse para começar uma jornada de aprendizado da plataforma 💙"
19-
}
19+
},
20+
"see_all": "Ver tudo",
21+
"paths": "Trilhas"
2022
}

src/stores/header/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { defineStore } from 'pinia';
22
import { useModulesStore } from '@/stores/modules';
3+
import i18n from '@/plugins/i18n';
34

45
export const useHeaderStore = defineStore('header', {
56
getters: {
@@ -10,7 +11,7 @@ export const useHeaderStore = defineStore('header', {
1011

1112
if (['Home', 'ClassesListAll', 'ClassPage'].includes(routerName)) {
1213
breadcrumbs.push({
13-
name: 'Trilhas',
14+
name: i18n.global.t('paths'),
1415
path: {
1516
name: 'Onboarding',
1617
},

src/views/Home.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
params: { id_category: category.id },
4545
}"
4646
>
47-
Ver tudo
47+
{{ $t('see_all') }}
4848
</RouterLink>
4949
<UnnnicButtonIcon
5050
type="secondary"

0 commit comments

Comments
 (0)