Skip to content
This repository was archived by the owner on Nov 16, 2022. It is now read-only.

Commit 5496b83

Browse files
committed
[Locales] Added RU locale for Material Docs.
[package] Updated @material-docs/core version.
1 parent 651605a commit 5496b83

File tree

3 files changed

+32
-5
lines changed

3 files changed

+32
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"license": "MIT",
3131
"dependencies": {
3232
"@craco/craco": "^5.6.4",
33-
"@material-docs/core": "^0.4.6",
33+
"@material-docs/core": "^0.4.7",
3434
"@material-docs/react-components-docs-extension": "^0.2.0",
3535
"@material-ui/core": "^4.11.0",
3636
"@material-ui/icons": "^4.9.1",

src/locale/RU.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,6 +1202,33 @@
12021202
"ComponentNameHeader": "Имя компонента",
12031203
"ref": "Объект ```ref``` передан в корневой элемент."
12041204
}
1205+
},
1206+
"MaterialDocs": {
1207+
"navigationList": {
1208+
"content": "Содержание"
1209+
},
1210+
"tooltips": {
1211+
"selectLanguage": "Выбрать язык",
1212+
"switchTheme": "Переключить светлую/тёмную тему"
1213+
},
1214+
"copyright": "Созданно с помощью MaterialDocs. Все права защищены.",
1215+
"SearchField": {
1216+
"label": "Поиск..."
1217+
},
1218+
"notices": {
1219+
"codeCopied": "Кол скопирован в буфер обмена",
1220+
"codeNotCopied": "Не удалось скопировать код в буфер обмена"
1221+
},
1222+
"ExpansionCode": {
1223+
"copyToClipboard": "Скопировать код в буфер обмена",
1224+
"expand": "Развернуть/свернуть код",
1225+
"moreActions": "Больше действий"
1226+
},
1227+
"DemoWithCode": {
1228+
"copyToClipboard": "Скопировать код в буфер обмена",
1229+
"expand": "Развернуть/свернуть код",
1230+
"moreActions": "Больше действий"
1231+
}
12051232
}
12061233
}
12071234
}

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,10 +1310,10 @@
13101310
"@types/yargs" "^15.0.0"
13111311
chalk "^4.0.0"
13121312

1313-
"@material-docs/core@^0.4.6":
1314-
version "0.4.6"
1315-
resolved "https://registry.yarnpkg.com/@material-docs/core/-/core-0.4.6.tgz#e4525e61f5af2d6d4403d6b626bba400a9b089d5"
1316-
integrity sha512-nwSRDkGQpuIWtQ2FDLSKldhWqKJz6HGpoLZyFywEIk59lv156bVo2LrtE13q/vBitdgkPE5RrOlFMYNCgerOPw==
1313+
"@material-docs/core@^0.4.7":
1314+
version "0.4.7"
1315+
resolved "https://registry.yarnpkg.com/@material-docs/core/-/core-0.4.7.tgz#ef202edc1afa4a9fe8ddada02ecf1bad7809a825"
1316+
integrity sha512-si8gP5MnImDoFcmOtZC56Skoz9E7Y3gWodN53oWWfImMQbdUeiM0wHyHnW6/gkmo272HcQaJEraey5ebUBZ9Aw==
13171317
dependencies:
13181318
"@material-ui/core" "^4.11.0"
13191319
"@material-ui/icons" "^4.9.1"

0 commit comments

Comments
 (0)