Skip to content

docs(ru): add Vuex 4.x translation #2205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs(ru): add ru localization to config
  • Loading branch information
Amirzhan Aliyev committed Dec 18, 2022
commit 8b470ad599ba5b900ddc84b5ca424e9dce3b500c
66 changes: 65 additions & 1 deletion docs/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ module.exports = {
lang: 'pt-BR',
title: 'Vuex',
description: 'Gerenciamento de Estado Centralizado para Vue.js'
},
'/ru/': {
lang: 'ru',
title: 'Vuex',
description: 'Централизованное управление состоянием для Vue.js'
}
},

Expand Down Expand Up @@ -275,7 +280,66 @@ module.exports = {
]
}
]
}
},

'/ru/': {
label: 'Русский',
selectText: 'Переводы',
editLinkText: 'Изменить эту страницу на GitHub',
lastUpdated: 'Последнее обновление',

nav: [
{ text: 'Руководство', link: '/ru/guide/' },
{ text: 'Справочник API', link: '/ru/api/' },
{ text: 'История изменений', link: 'https://github.com/vuejs/vuex/releases' },
{
text: 'v4.x',
items: [
{ text: 'v3.x', link: 'https://v3.vuex.vuejs.org/ru/' }
]
}
],

sidebar: [
{
text: 'Введение',
children: [
{ text: 'Что такое Vuex?', link: '/ru/' },
{ text: 'Установка', link: '/ru/installation' },
{ text: 'Введение', link: '/ru/guide/' }
]
},
{
text: 'Основные понятия',
children: [
{ text: 'Состояние', link: '/ru/guide/state' },
{ text: 'Геттеры', link: '/ru/guide/getters' },
{ text: 'Мутации', link: '/ru/guide/mutations' },
{ text: 'Действия', link: '/ru/guide/actions' },
{ text: 'Модули', link: '/ru/guide/modules' }
]
},
{
text: 'Продвинутые темы',
children: [
{ text: 'Структура приложения', link: '/ru/guide/structure' },
{ text: 'Composition API', link: '/ru/guide/composition-api' },
{ text: 'Плагины', link: '/ru/guide/plugins' },
{ text: 'Строгий режим (strict mode)', link: '/ru/guide/strict' },
{ text: 'Работа c формами', link: '/ru/guide/forms' },
{ text: 'Тестирование', link: '/ru/guide/testing' },
{ text: 'Горячая перезагрузка', link: '/ru/guide/hot-reload' },
{ text: 'Поддержка TypeScript', link: '/ru/guide/typescript-support' },
]
},
{
text: 'Руководство по миграции',
children: [
{ text: 'Миграция на 4.0 с 3.x', link: '/ru/guide/migrating-to-4-0-from-3-x' }
]
}
]
},
}
}
}