Skip to content

Commit 616903c

Browse files
lex111rigor789
authored andcommitted
[WIP] Russian translation of layouts (#138)
* AbsoluteLayout: translation * DockLayout: translation * Fixes * FlexboxLayout: translation * Layouts: various fixes after review * StackLayout: translation * WrapLayout: translation * changes after review of sn0wil
1 parent 7d98205 commit 616903c

File tree

5 files changed

+76
-77
lines changed

5 files changed

+76
-77
lines changed
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
title: AbsoluteLayout
33
apiRef: https://docs.nativescript.org/api-reference/modules/_ui_layouts_absolute_layout_
4-
contributors: [rigor789]
4+
contributors: [lex111]
55
---
66

7-
The AbsoluteLayout container is the simplest layout container in NativeScript. It uses absolute top-left coordinates to position its children. The AbsoluteLayout will not enforce any layout constraints on its children and will not resize them at runtime when its size changes.
7+
Контейнер AbsoluteLayout — это самый простой контейнер макета в NativeScript. Он использует абсолютные верхние левые координаты для расположения своих дочерних элементов. AbsoluteLayout не будет применять ограничения макета на своих дочерних элементах и не будет изменять их размер во время выполнения при изменении их размеров.
88

9-
### Samples
9+
### Примеры
1010

11-
#### A grid-like layout
11+
#### Макет в виде сетки
1212

1313
```html
1414
<AbsoluteLayout backgroundColor="#3c495e">
@@ -20,7 +20,7 @@ The AbsoluteLayout container is the simplest layout container in NativeScript. I
2020
```
2121
<img class="md:w-1/2 lg:w-1/3" src="https://art.nativescript-vue.org/layouts/absolute_layout_grid.svg" />
2222

23-
#### Overlapping elements
23+
#### Перекрывающиеся элементы
2424

2525
```html
2626
<AbsoluteLayout backgroundColor="#3c495e">
@@ -31,16 +31,16 @@ The AbsoluteLayout container is the simplest layout container in NativeScript. I
3131
<img class="md:w-1/2 lg:w-1/3" src="https://art.nativescript-vue.org/layouts/absolute_layout_overlap.svg" />
3232

3333

34-
## Props
34+
## Свойства
3535

36-
AbsoluteLayout has no props.
36+
AbsoluteLayout не имеет свойств.
3737

38-
## Additional Children Props
38+
## Дополнительные свойства дочерних элементов
3939

40-
When an element is a direct child of the AbsoluteLayout, the following
41-
props get a meaning:
40+
Когда элемент — прямой дочерний элемент AbsoluteLayout, доступны следующие
41+
свойства:
4242

43-
| name | type | description |
43+
| Название | Тип | Описание |
4444
|------|------|-------------|
45-
| `top` | `Number` | A value representing the distance from the top of the parent AbsoluteLayout
46-
| `left` | `Number` | A value representing the distance from the left of the parent AbsoluteLayout
45+
| `top` | `Number` | Значение, представляющее расстояние от верхней части родительского AbsoluteLayout
46+
| `left` | `Number` | Значение, представляющее расстояние с левой части родительского AbsoluteLayout
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
title: DockLayout
33
apiRef: https://docs.nativescript.org/api-reference/modules/_ui_layouts_dock_layout_
4-
contributors: [rigor789]
4+
contributors: [lex111]
55
---
66

7-
DockLayout is a layout that provides a docking mechanism for child elements to the `left`, `right`, `top`, `bottom` or center of the layout. To define the docking side of a child element, use its `dock` property. To dock a child element to the center of the DockLayout, it must be the **last child** of the DockLayout and the `stretchLastChild` property of the DockLayout must be set to `true`.
7+
DockLayout — это макет, обеспечивающий механизм прикрепления дочерних элементов слева (`left`), справа (`right`), сверху (`top`), снизу (`bottom`) или центра макета. Для определения стороны прикрепления дочерного элемента, используйте его свойство `dock`. Для прикрепления элемента к центру DockLayout, он должен быть **последим дочерним элементом** DockLayout, а свойство `stretchLastChild` DockLayout должно быть установлено в `true`.
88

9-
### Samples
9+
### Примеры
1010

11-
#### Dock to every side without stretching last child
11+
#### Стыковка по всем сторонам без прикрепления последнего дочерного элемента
1212

1313
```html
1414
<DockLayout stretchLastChild="false" backgroundColor="#3c495e">
@@ -20,7 +20,7 @@ DockLayout is a layout that provides a docking mechanism for child elements to t
2020
```
2121
<img class="md:w-1/2 lg:w-1/3" src="https://art.nativescript-vue.org/layouts/dock_layout_no_stretch.svg" />
2222

23-
#### Dock to every side with stretching last child
23+
#### Прикрепление с обоих сторон с растяжением последнего дочернего элемента
2424

2525
```html
2626
<DockLayout stretchLastChild="true" backgroundColor="#3c495e">
@@ -32,7 +32,7 @@ DockLayout is a layout that provides a docking mechanism for child elements to t
3232
```
3333
<img class="md:w-1/2 lg:w-1/3" src="https://art.nativescript-vue.org/layouts/dock_layout_stretch.svg" />
3434

35-
#### Multiple children on the same side
35+
#### Несколько дочерних элементов на одной стороне
3636

3737
```html
3838
<DockLayout stretchLastChild="true" backgroundColor="#3c495e">
@@ -44,17 +44,17 @@ DockLayout is a layout that provides a docking mechanism for child elements to t
4444
```
4545
<img class="md:w-1/2 lg:w-1/3" src="https://art.nativescript-vue.org/layouts/dock_layout_multiple_on_same_side.svg" />
4646

47-
## Props
47+
## Свойства
4848

49-
| name | type | description |
49+
| Название | Тип | Описание |
5050
|------|------|-------------|
51-
`stretchLastChild` | `Boolean` | Enables/Disables stretching the last child to fit the remaining space.
51+
`stretchLastChild` | `Boolean` | Включает/отключает растяжение последнего дочернего элемента для заполнения оставшегося пространства.
5252

53-
## Additional Children Props
53+
## Дополнительные свойства дочерних элементов
5454

55-
When an element is a direct child of the DockLayout, the following
56-
props get a meaning:
55+
Когда элемент — прямой дочерний элемент DockLayout, доступны следующие
56+
свойства:
5757

58-
| name | type | description |
58+
| Название | Тип | Описание |
5959
|------|------|-------------|
60-
`dock` | `String` | Specifies which side to dock the element to. Values can be: `top`, `right`, `bottom`, `left`
60+
`dock` | `String` | Указывает, к какой стороне состыковать элемент. Возможные значения: `top`, `right`, `bottom`, `left`

0 commit comments

Comments
 (0)