Skip to content

Commit 848d58e

Browse files
committed
docs: translate site ru
1 parent 97d4c0d commit 848d58e

File tree

1 file changed

+60
-0
lines changed
  • docs/.vitepress/locales

1 file changed

+60
-0
lines changed

docs/.vitepress/locales/ru.ts

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,65 @@ export default defineConfig({
6464
],
6565
},
6666
],
67+
68+
editLink: {
69+
pattern: 'https://github.com/hywax/mafl/edit/main/docs/:path',
70+
text: 'Редактировать страницу на GitHub',
71+
},
72+
73+
docFooter: {
74+
prev: 'Предыдущая страница',
75+
next: 'Следующая страница',
76+
},
77+
78+
outline: {
79+
label: 'На странице',
80+
},
81+
82+
lastUpdated: {
83+
text: 'Последнее обновление',
84+
formatOptions: {
85+
dateStyle: 'short',
86+
timeStyle: 'medium',
87+
},
88+
},
89+
90+
search: {
91+
provider: 'local',
92+
options: {
93+
locales: {
94+
ru: {
95+
translations: {
96+
button: {
97+
buttonText: 'Поиск',
98+
buttonAriaLabel: 'Поиск',
99+
},
100+
modal: {
101+
displayDetails: 'Показать подробный список',
102+
resetButtonTitle: 'Результаты поиска',
103+
backButtonTitle: 'Закрыть поиск',
104+
noResultsText: 'Ничего не найдено для',
105+
footer: {
106+
selectText: 'выбрать',
107+
selectKeyAriaLabel: 'enter',
108+
navigateText: 'навигация',
109+
navigateUpKeyAriaLabel: 'стрелка вверх',
110+
navigateDownKeyAriaLabel: 'стрелка вниз',
111+
closeText: 'закрыть',
112+
closeKeyAriaLabel: 'escape',
113+
},
114+
},
115+
},
116+
},
117+
},
118+
},
119+
},
120+
121+
langMenuLabel: 'Язык',
122+
returnToTopLabel: 'Вернуться к началу',
123+
sidebarMenuLabel: 'Меню',
124+
darkModeSwitchLabel: 'Тема',
125+
lightModeSwitchTitle: 'Переключить на светлую тему',
126+
darkModeSwitchTitle: 'Переключить на темную тему',
67127
},
68128
})

0 commit comments

Comments
 (0)