Skip to content

Commit c13dc61

Browse files
authored
Integrate spanish translation (#40)
* 🚧 WIP translating patterns readme to Spanish * translated functional components, composition and slots * Finish translating patterns to spanish * Translate half of the useful links page to spanish * translate useful links to spanish
1 parent b31e1d8 commit c13dc61

File tree

6 files changed

+1284
-0
lines changed

6 files changed

+1284
-0
lines changed

docs/.vuepress/config.js

+34
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ module.exports = {
1111
lang: 'ru',
1212
title: 'Паттерны Vue',
1313
description: 'Полезные паттерны, методы, советы и рекомендации, а также тщательно подобранный список ссылок по Vue'
14+
},
15+
'/es/': {
16+
lang: 'es',
17+
title: 'Patrones de Vue',
18+
description: 'Patrones útiles de Vue, técnicas, consejos, trucos y enlaces seleccionados.'
1419
}
1520
},
1621
serviceWorker: true,
@@ -190,6 +195,35 @@ module.exports = {
190195
['/ru/translations/', 'Переводы'],
191196
],
192197
},
198+
'/es/': {
199+
label: 'Español',
200+
selectText: 'Idiomas',
201+
lastUpdated: 'Última actualización',
202+
editLinkText: 'Modificar esta página en GitHub',
203+
nav: [
204+
{ text: 'Inicio', link: '/es/' },
205+
{ text: 'Docs', link: '/es/patterns/' },
206+
{
207+
text: 'Traducciones',
208+
items: [
209+
{
210+
text: '简体中文',
211+
link: 'https://github.com/ZYSzys/vue-patterns-cn',
212+
},
213+
{
214+
text: '繁體中文',
215+
link: 'https://github.com/yoyoys/vue-patterns-cht',
216+
},
217+
],
218+
},
219+
],
220+
sidebar: [
221+
['/es/patterns/', 'Patrones'],
222+
['/es/useful-links/', 'Enlaces útiles'],
223+
['/es/sponsors/', 'Libro Fullstack Vue'],
224+
['/es/translations/', 'Traducciones'],
225+
],
226+
},
193227
},
194228
},
195229
};

docs/es/README.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
home: true
3+
heroImage: /learn-vue-logo.png
4+
actionText: Empezar →
5+
actionLink: /es/patterns/
6+
---
7+
8+
<div class="hero">
9+
<p class="action">
10+
<GithubStarButton></GithubStarButton>
11+
</p>
12+
13+
<a href="https://gumroad.com/a/462206067" target="_blank" rel="noopener noreferrer">
14+
<img src="https://www.fullstack.io/assets/images/vue-github.png" alt="Fullstack Vue Book">
15+
</a>
16+
</div>

0 commit comments

Comments
 (0)