Skip to content

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

Merged
merged 35 commits into from
Jun 30, 2018
Merged

Conversation

lex111
Copy link
Contributor

@lex111 lex111 commented Jun 11, 2018

@lex111
Copy link
Contributor Author

lex111 commented Jun 16, 2018

Updated with the latest changes in the docs.

I look forward to @Alex-Sokolov 😜

@lex111
Copy link
Contributor Author

lex111 commented Jun 17, 2018

Ready for review

@Alex-Sokolov
Copy link
Contributor

@lex111 great work! Thanks :)


```js
import { createLocalVue, shallow } from '@vue/test-utils'
import Foo from './Foo.vue'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shallow -> shallowMount

Copy link
Contributor Author

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

@lex111
Copy link
Contributor Author

lex111 commented Jun 19, 2018

@eddyerburgh we are a little delayed 😞 , but now the documentation in Russian is relevant, look, please.

По аналогии с `stubs`, значения, переданные в `config.mocks` используются по умолчанию. Любые значения, переданные настройкам монтирования объекта `mocks`, будут иметь приоритет выше, по сравнению с объявленными в `config.mocks`.

Example:

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Example -> Пример


### `mocks`

- type: `Object`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type -> Тип

### `mocks`

- type: `Object`
- default: `{}`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default -> по умолчанию

@lex111
Copy link
Contributor Author

lex111 commented Jun 19, 2018

@38elements thanks for the review.

Заглушки, используемые в компонентах. Они перезаписываются значениями `stubs` переданными в настройках монтирования.

При передаче `stubs` в качестве массива в настройках монтирования, `config.stubs` будет преобразована в массив, и будут создаваться компоненты заглушки с базовым компонентом, который возвращает div.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


См. [опции](./options.md)

- **Usage:**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usage -> Использование

@38elements
Copy link
Contributor

#368 is not included.
IMHO, I think this needs to check well.

@lex111
Copy link
Contributor Author

lex111 commented Jun 20, 2018

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 🤕

@38elements
Copy link
Contributor

38elements commented Jun 20, 2018

#493 is not included.
If the document has many incorrect points, many problems and pull requests will be generated.
This increases maintenance cost.

@lex111
Copy link
Contributor Author

lex111 commented Jun 20, 2018

@38elements thanks, fixed it.

@38elements
Copy link
Contributor

I took a look at all the files roughly.
I could not find the other problems.
I hope other people review this pull request.

- `{Array<Component|Object>|Component} children`
- `{Object} slots`
- `{Array<Componet|Object>|Component|String} default`
- `{Array<Componet|Object>|Component|String} named`
Copy link
Contributor

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

- `{Array<Component|Object>|Component} children`
- `{Object} slots`
- `{Array<Componet|Object>|Component|String} default`
- `{Array<Componet|Object>|Component|String} named`
Copy link
Contributor

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

const renderedString = renderToString(Foo, {
slots: {
default: [Bar, FooBar],
fooBar: FooBar, // Will match <slot name="FooBar" />,
Copy link
Contributor

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)

const wrapper = render(Foo, {
slots: {
default: [Bar, FooBar],
fooBar: FooBar, // Will match <slot name="FooBar" />,
Copy link
Contributor

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)

@Alex-Sokolov
Copy link
Contributor

Also deploy on netlify failed because 7:03:08 PM: failed during stage 'deploying site': Failed to execute deploy: Upload cancelled: zh/guides/using-with-vuex.html. Maybe need to update some link inside.

- Тип: `Object`
- По умолчанию: `{}`

Вы можете настроить методы по умолчанию с помощью объекта `config`. Это может быть полезно для плагинов, которые вводят методы в компоненты, такие как [VeeValidate](https://vee-validate.logaretm.com/). Вы можете переопределить методы, установленные в `config`, передав `methods` в настройках монтирования.
Copy link
Contributor

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/

@lex111
Copy link
Contributor Author

lex111 commented Jun 29, 2018

@Alex-Sokolov thanks you for this, all edits have been made + updated the documentation in accordance with the new changes in original docs.

@lex111
Copy link
Contributor Author

lex111 commented Jun 29, 2018

@eddyerburgh please pay attention to this PR 👐

@eddyerburgh eddyerburgh merged commit 221038b into vuejs:dev Jun 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants