Skip to content
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

docs(ru): update translations #4024

Merged
merged 4 commits into from
Jul 8, 2024
Merged
Changes from 1 commit
Commits
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
Update ru/reference/default-theme-search.md
dragomano committed Jul 7, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
commit fb650c71a0641a6484c7726a24bdaf78dce59fcc
13 changes: 10 additions & 3 deletions docs/ru/reference/default-theme-search.md
Original file line number Diff line number Diff line change
@@ -39,18 +39,25 @@ export default defineConfig({
provider: 'local',
options: {
locales: {
ru: {
ru: { // используйте ключ `root`, если хотите перевести локаль по умолчанию
translations: {
button: {
buttonText: 'Поиск',
buttonAriaLabel: 'Поиск'
},
modal: {
noResultsText: 'Нет результатов для',
displayDetails: 'Отобразить подробный список',
resetButtonTitle: 'Сбросить поиск',
backButtonTitle: 'Закрыть поиск',
noResultsText: 'Нет результатов по запросу',
footer: {
selectText: 'выбрать',
navigateText: 'перейти'
selectKeyAriaLabel: 'выбрать',
navigateText: 'перейти',
navigateUpKeyAriaLabel: 'стрелка вверх',
navigateDownKeyAriaLabel: 'стрелка вниз',
closeText: 'закрыть',
closeKeyAriaLabel: 'esc'
}
}
}