From 28c4b059f1c23f35d33105e7c703b57d52c64f9d Mon Sep 17 00:00:00 2001 From: Gennady Koshkin Date: Mon, 20 Jan 2020 22:46:54 +0500 Subject: [PATCH] docs(i18n): Add Russian to the website language dropdown (#856) --- docs/.vuepress/config.js | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 40bab14b5..471dc2f9e 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -94,7 +94,26 @@ module.exports = { ["/zh-TW/config/", "設定"], ["/zh-TW/advanced-config/", "進階設定"] ] - } + }, + "/ru-RU/": { + // text for the language dropdown + selectText: "Языки", + // label for this locale in the language dropdown + label: "Русский", + // Custom text for edit link. Defaults to "Edit this page" + editLinkText: "Редактировать эту страницу на GitHub", + // Custom navbar values + nav: [{ text: "Настройка", link: "/ru-RU/config/" }], + // Custom sidebar values + sidebar: [ + "/", + ["/guide/", "Руководство"], + ["/config/", "Настройка"], + ["/advanced-config/", "Расширенная Настройка"], + ["/faq/", "Часто Задаваемые Вопросы"], + ["/presets/", "Предустановки"] + ] + }, } }, plugins: [