Skip to content

Commit

Permalink
docs: [RU] Translation (#867)
Browse files Browse the repository at this point in the history
* docs: (ru) translation start

* api.md перевод заголовков и общих фраз

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* installation.md translated

* formatting.md translated

* pluralization.md translated

* (ru) wip translation

* daterime.md translated

* number.md translated

* (ru) translation wip

* (ru) multiple linebreaks replaced

* (ru) translation wip

* api.md translation wip

* (ru) translation wip: change external docs links

* (ru) translation wip: formatting

* (ru) translation wip

* docs: (ru) translation wip

* docs: merge updates

* (ru) translation wip

* docs: (ru) translation wip

* docs: (ru) translation wip

* docs: (ru) translation wip

* docs: (ru) translation wip

* docs: (ru) translation wip

* docs: (ru) translation wip

* docs: (ru) translation wip

* docs: (ru) translation wip

* docs: (ru) translation wip

* docs: (ru) translation wip

* docs: (ru) Translation finished

* docs: (ru) hot-update.md update

* docs: (ru) translation updates

Co-authored-by: Alex Sokolov <4497128+Alex-Sokolov@users.noreply.github.com>
  • Loading branch information
Alex-Sokolov and Alex-Sokolov committed May 7, 2020
1 parent abcbad0 commit 078d774
Show file tree
Hide file tree
Showing 22 changed files with 3,723 additions and 1 deletion.
108 changes: 107 additions & 1 deletion vuepress/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ module.exports = {
title: 'Vue I18n',
description: 'Vue I18n 是 Vue.js 的国际化插件'
},
'/ru/': {
lang: 'ru-RU',
title: 'Vue I18n',
description: 'Vue I18n — плагин для интернационализации во Vue.js'
},
},
head: [
['meta', { name: 'theme-color', content: '#3eaf7c' }],
Expand Down Expand Up @@ -218,7 +223,108 @@ module.exports = {
]
}
]
}
},
'/ru/': {
label: 'Русский',
selectText: 'Переводы',
editLinkText: 'Изменить эту страницу на GitHub',
lastUpdated: 'Последнее обновление',
nav: [
{
text: 'Документация',
items: [
{
text: 'Руководство',
link: '/ru/guide/formatting',
},
{
text: 'Справочник API',
link: '/ru/api/'
}
]
},
{
text: 'Экосистема',
items: [
{
text: 'Оф. инструментарий',
items: [
{
text: 'Плагин для Vue CLI',
link: 'https://github.com/kazupon/vue-cli-plugin-i18n'
},
{
text: 'Загрузчик Webpack',
link: 'https://github.com/kazupon/vue-i18n-loader'
},
{
text: 'Плагин для ESLint',
link: 'https://intlify.github.io/eslint-plugin-vue-i18n/'
},
{
text: 'Расширения',
link: 'https://github.com/kazupon/vue-i18n-extensions'
}
]
},
{
text: 'Сторонние разработки',
items: [
{
text: 'BabelEdit',
link: 'https://www.codeandweb.com/babeledit?utm_campaign=vue-i18n-2019-01'
},
{
text: 'i18n Ally',
link: 'https://marketplace.visualstudio.com/items?itemName=antfu.i18n-ally'
}
]
}
]
},
{
text: 'Patreon',
link: 'https://www.patreon.com/kazupon'
},
{
text: 'История изменений',
link: 'https://github.com/kazupon/vue-i18n/releases'
}
],
sidebar: [
'/ru/introduction',
'/ru/started',
'/ru/installation',
{
title: 'Руководство',
collapsable: false,
children: [
'/ru/guide/formatting',
'/ru/guide/pluralization',
'/ru/guide/datetime',
'/ru/guide/number',
'/ru/guide/messages',
'/ru/guide/fallback',
'/ru/guide/component',
'/ru/guide/directive',
'/ru/guide/interpolation',
'/ru/guide/sfc',
'/ru/guide/hot-reload',
'/ru/guide/locale',
'/ru/guide/lazy-loading',
'/ru/guide/tooling'
]
},
{
title: 'Устаревшие версии',
collapsable: false,
children: [
'/ru/legacy/',
'/ru/legacy/v5'
]
}
]
},
}
}
}
Expand Down
41 changes: 41 additions & 0 deletions vuepress/ru/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
home: true
heroImage: ./../vue-i18n-logo.png
actionText: Введение →
actionLink: introduction.md
footer: MIT Licensed | Copyright © 2020 kazuya kawaguchi
---

<div class="sponsors" style="text-align:center; padding: 0 0 24px 0;">
<h4>Серебряные спонсоры</h4>
<a href="https://www.codeandweb.com/babeledit?utm_campaign=vue-i18n-2019-01" target="_blank">
<img src="/vue-i18n/patrons/babeledit.png">
</a>
</div>

<div class="github" style="text-align:center; padding: 0 0 24px 0;">
<sponsor-button />
</div>

<div class="patreon" style="padding: 0 0 24px 0;">
<p style="text-align: center;">
<a href="https://www.patreon.com/kazupon" target="_blank">
<img src="https://c5.patreon.com/external/logo/become_a_patron_button.png" alt="Become a Patreon">
</a>
</p>
</div>

<div class="features">
<div class="feature">
<h2>Простой</h2>
<p>Позволяет легко добавить интернационализацию в приложение с помощью простого API</p>
</div>
<div class="feature">
<h2>Функциональный</h2>
<p>В дополнение к переводам, поддерживает плюрализацию, локализацию для чисел, дат ... и т.д.</p>
</div>
<div class="feature">
<h2>Ориентированный на компоненты</h2>
<p>Можно управлять сообщениями локализации в однофайловых компонентах</p>
</div>
</div>

0 comments on commit 078d774

Please sign in to comment.