-
Notifications
You must be signed in to change notification settings - Fork 668
docs: Russian translation moved to VuePress #703
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
Conversation
Updated with the latest changes in the docs. I look forward to @Alex-Sokolov 😜 |
Ready for review |
@lex111 great work! Thanks :) |
docs/ru/api/createLocalVue.md
Outdated
|
||
```js | ||
import { createLocalVue, shallow } from '@vue/test-utils' | ||
import Foo from './Foo.vue' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shallow -> shallowMount
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@38elements thank you! I have not everywhere before made a replacement, now thanks to you, I replaced everywhere with shallow
on shallowMount
@eddyerburgh we are a little delayed 😞 , but now the documentation in Russian is relevant, look, please. |
docs/ru/api/config.md
Outdated
По аналогии с `stubs`, значения, переданные в `config.mocks` используются по умолчанию. Любые значения, переданные настройкам монтирования объекта `mocks`, будут иметь приоритет выше, по сравнению с объявленными в `config.mocks`. | ||
|
||
Example: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Example -> Пример
docs/ru/api/config.md
Outdated
|
||
### `mocks` | ||
|
||
- type: `Object` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type -> Тип
docs/ru/api/config.md
Outdated
### `mocks` | ||
|
||
- type: `Object` | ||
- default: `{}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default -> по умолчанию
@38elements thanks for the review. |
docs/ru/api/config.md
Outdated
Заглушки, используемые в компонентах. Они перезаписываются значениями `stubs` переданными в настройках монтирования. | ||
|
||
При передаче `stubs` в качестве массива в настройках монтирования, `config.stubs` будет преобразована в массив, и будут создаваться компоненты заглушки с базовым компонентом, который возвращает div. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
div -> <${component name}-stub>
https://vue-test-utils.vuejs.org/api/config.html#stubs
docs/ru/api/renderToString.md
Outdated
|
||
См. [опции](./options.md) | ||
|
||
- **Usage:** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Usage -> Использование
#368 is not included. |
Sorry for the large number of inconsistencies, now I carefully checked everything and corrected the errors. I also updated the Russian translation in accordance with the new changes (silentWarnings to silent and others) Special thanks to @38elements for reporting discrepancies! @Alex-Sokolov can you please check again? Next time we will update this translation together with community Translation Gang, now I acted alone, so it took a long time 🤕 |
#493 is not included. |
@38elements thanks, fixed it. |
I took a look at all the files roughly. |
docs/ru/api/renderToString.md
Outdated
- `{Array<Component|Object>|Component} children` | ||
- `{Object} slots` | ||
- `{Array<Componet|Object>|Component|String} default` | ||
- `{Array<Componet|Object>|Component|String} named` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Component — here and line above
docs/ru/api/render.md
Outdated
- `{Array<Component|Object>|Component} children` | ||
- `{Object} slots` | ||
- `{Array<Componet|Object>|Component|String} default` | ||
- `{Array<Componet|Object>|Component|String} named` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Component — here and line above
docs/ru/api/renderToString.md
Outdated
const renderedString = renderToString(Foo, { | ||
slots: { | ||
default: [Bar, FooBar], | ||
fooBar: FooBar, // Will match <slot name="FooBar" />, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not translated yet ("будет соответствовать" in other places)
docs/ru/api/render.md
Outdated
const wrapper = render(Foo, { | ||
slots: { | ||
default: [Bar, FooBar], | ||
fooBar: FooBar, // Will match <slot name="FooBar" />, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not translated yet ("будет соответствовать" in other places)
Also deploy on netlify failed because |
docs/ru/api/config.md
Outdated
- Тип: `Object` | ||
- По умолчанию: `{}` | ||
|
||
Вы можете настроить методы по умолчанию с помощью объекта `config`. Это может быть полезно для плагинов, которые вводят методы в компоненты, такие как [VeeValidate](https://vee-validate.logaretm.com/). Вы можете переопределить методы, установленные в `config`, передав `methods` в настройках монтирования. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also need change link to https://baianat.github.io/vee-validate/
@Alex-Sokolov thanks you for this, all edits have been made + updated the documentation in accordance with the new changes in original docs. |
@eddyerburgh please pay attention to this PR 👐 |
cc @Alex-Sokolov