diff --git a/api_generator/api_generator/generators/documentation/translations.py b/api_generator/api_generator/generators/documentation/translations.py index cb1b86628..dfb2da522 100644 --- a/api_generator/api_generator/generators/documentation/translations.py +++ b/api_generator/api_generator/generators/documentation/translations.py @@ -83,7 +83,7 @@ __full_translations: Dict[str, Dict[str, str]] = { "ru": "Обязательный параметр." }, "div_generator_required_properties": { - "en": "Required properties: `{}`.", + "en": "Required parameters: `{}`.", "ru": "Обязательные параметры: `{}`." }, "div_generator_schemes": { diff --git a/api_generator/tests/references/divan/WithArray.kt b/api_generator/tests/references/divan/WithArray.kt index e1926a4de..3390ab8e4 100644 --- a/api_generator/tests/references/divan/WithArray.kt +++ b/api_generator/tests/references/divan/WithArray.kt @@ -24,7 +24,7 @@ import kotlin.collections.Map /** * Can be created using the method [withArray]. * - * Required properties: `type, array`. + * Required parameters: `type, array`. */ @Generated class WithArray internal constructor( diff --git a/api_generator/tests/references/divan/WithArrayOfEnums.kt b/api_generator/tests/references/divan/WithArrayOfEnums.kt index a17ab6a17..8b834cfa9 100644 --- a/api_generator/tests/references/divan/WithArrayOfEnums.kt +++ b/api_generator/tests/references/divan/WithArrayOfEnums.kt @@ -24,7 +24,7 @@ import kotlin.collections.Map /** * Can be created using the method [withArrayOfEnums]. * - * Required properties: `type, items`. + * Required parameters: `type, items`. */ @Generated class WithArrayOfEnums internal constructor( diff --git a/api_generator/tests/references/divan/WithArrayOfExpressions.kt b/api_generator/tests/references/divan/WithArrayOfExpressions.kt index dd4df0f7b..c5e95d36c 100644 --- a/api_generator/tests/references/divan/WithArrayOfExpressions.kt +++ b/api_generator/tests/references/divan/WithArrayOfExpressions.kt @@ -24,7 +24,7 @@ import kotlin.collections.Map /** * Can be created using the method [withArrayOfExpressions]. * - * Required properties: `type, items`. + * Required parameters: `type, items`. */ @Generated class WithArrayOfExpressions internal constructor( diff --git a/api_generator/tests/references/divan/WithArrayOfNestedItems.kt b/api_generator/tests/references/divan/WithArrayOfNestedItems.kt index 3c8f6b907..c2d5a7962 100644 --- a/api_generator/tests/references/divan/WithArrayOfNestedItems.kt +++ b/api_generator/tests/references/divan/WithArrayOfNestedItems.kt @@ -24,7 +24,7 @@ import kotlin.collections.Map /** * Can be created using the method [withArrayOfNestedItems]. * - * Required properties: `type, items`. + * Required parameters: `type, items`. */ @Generated class WithArrayOfNestedItems internal constructor( @@ -56,7 +56,7 @@ class WithArrayOfNestedItems internal constructor( /** * Can be created using the method [withArrayOfNestedItemsItem]. * - * Required properties: `property, entity`. + * Required parameters: `property, entity`. */ @Generated class Item internal constructor( diff --git a/api_generator/tests/references/divan/WithArrayWithTransform.kt b/api_generator/tests/references/divan/WithArrayWithTransform.kt index 5da3005df..5d8e9b94c 100644 --- a/api_generator/tests/references/divan/WithArrayWithTransform.kt +++ b/api_generator/tests/references/divan/WithArrayWithTransform.kt @@ -24,7 +24,7 @@ import kotlin.collections.Map /** * Can be created using the method [withArrayWithTransform]. * - * Required properties: `type, array`. + * Required parameters: `type, array`. */ @Generated class WithArrayWithTransform internal constructor( diff --git a/api_generator/tests/references/divan/WithComplexProperty.kt b/api_generator/tests/references/divan/WithComplexProperty.kt index 7ce43f1a9..347771712 100644 --- a/api_generator/tests/references/divan/WithComplexProperty.kt +++ b/api_generator/tests/references/divan/WithComplexProperty.kt @@ -24,7 +24,7 @@ import kotlin.collections.Map /** * Can be created using the method [withComplexProperty]. * - * Required properties: `type, property`. + * Required parameters: `type, property`. */ @Generated class WithComplexProperty internal constructor( @@ -56,7 +56,7 @@ class WithComplexProperty internal constructor( /** * Can be created using the method [withComplexPropertyProperty]. * - * Required properties: `value`. + * Required parameters: `value`. */ @Generated class Property internal constructor( diff --git a/api_generator/tests/references/divan/WithComplexPropertyWithDefaultValue.kt b/api_generator/tests/references/divan/WithComplexPropertyWithDefaultValue.kt index a3abac127..016151ba8 100644 --- a/api_generator/tests/references/divan/WithComplexPropertyWithDefaultValue.kt +++ b/api_generator/tests/references/divan/WithComplexPropertyWithDefaultValue.kt @@ -24,7 +24,7 @@ import kotlin.collections.Map /** * Can be created using the method [withComplexPropertyWithDefaultValue]. * - * Required properties: `type`. + * Required parameters: `type`. */ @Generated class WithComplexPropertyWithDefaultValue internal constructor( @@ -59,7 +59,7 @@ class WithComplexPropertyWithDefaultValue internal constructor( /** * Can be created using the method [withComplexPropertyWithDefaultValueProperty]. * - * Required properties: `value`. + * Required parameters: `value`. */ @Generated class Property internal constructor( diff --git a/api_generator/tests/references/divan/WithEntityProperty.kt b/api_generator/tests/references/divan/WithEntityProperty.kt index e72a012fc..86911e324 100644 --- a/api_generator/tests/references/divan/WithEntityProperty.kt +++ b/api_generator/tests/references/divan/WithEntityProperty.kt @@ -24,7 +24,7 @@ import kotlin.collections.Map /** * Can be created using the method [withEntityProperty]. * - * Required properties: `type`. + * Required parameters: `type`. */ @Generated class WithEntityProperty internal constructor( diff --git a/api_generator/tests/references/divan/WithOptionalComplexProperty.kt b/api_generator/tests/references/divan/WithOptionalComplexProperty.kt index 8408c13ff..68cc7340a 100644 --- a/api_generator/tests/references/divan/WithOptionalComplexProperty.kt +++ b/api_generator/tests/references/divan/WithOptionalComplexProperty.kt @@ -24,7 +24,7 @@ import kotlin.collections.Map /** * Can be created using the method [withOptionalComplexProperty]. * - * Required properties: `type`. + * Required parameters: `type`. */ @Generated class WithOptionalComplexProperty internal constructor( @@ -56,7 +56,7 @@ class WithOptionalComplexProperty internal constructor( /** * Can be created using the method [withOptionalComplexPropertyProperty]. * - * Required properties: `value`. + * Required parameters: `value`. */ @Generated class Property internal constructor( diff --git a/api_generator/tests/references/divan/WithOptionalProperty.kt b/api_generator/tests/references/divan/WithOptionalProperty.kt index bd62f1720..46f0605a4 100644 --- a/api_generator/tests/references/divan/WithOptionalProperty.kt +++ b/api_generator/tests/references/divan/WithOptionalProperty.kt @@ -24,7 +24,7 @@ import kotlin.collections.Map /** * Can be created using the method [withOptionalProperty]. * - * Required properties: `type`. + * Required parameters: `type`. */ @Generated class WithOptionalProperty internal constructor( diff --git a/api_generator/tests/references/divan/WithOptionalStringEnumProperty.kt b/api_generator/tests/references/divan/WithOptionalStringEnumProperty.kt index 72ed24e19..f4069b04c 100644 --- a/api_generator/tests/references/divan/WithOptionalStringEnumProperty.kt +++ b/api_generator/tests/references/divan/WithOptionalStringEnumProperty.kt @@ -24,7 +24,7 @@ import kotlin.collections.Map /** * Can be created using the method [withOptionalStringEnumProperty]. * - * Required properties: `type`. + * Required parameters: `type`. */ @Generated class WithOptionalStringEnumProperty internal constructor( diff --git a/api_generator/tests/references/divan/WithPropertyWithDefaultValue.kt b/api_generator/tests/references/divan/WithPropertyWithDefaultValue.kt index 044372d42..ddaa9e879 100644 --- a/api_generator/tests/references/divan/WithPropertyWithDefaultValue.kt +++ b/api_generator/tests/references/divan/WithPropertyWithDefaultValue.kt @@ -24,7 +24,7 @@ import kotlin.collections.Map /** * Can be created using the method [withPropertyWithDefaultValue]. * - * Required properties: `type`. + * Required parameters: `type`. */ @Generated class WithPropertyWithDefaultValue internal constructor( @@ -73,7 +73,7 @@ class WithPropertyWithDefaultValue internal constructor( * * Can be created using the method [withPropertyWithDefaultValueNested]. * - * Required properties: `non_optional`. + * Required parameters: `non_optional`. */ @Generated class Nested internal constructor( diff --git a/api_generator/tests/references/divan/WithRequiredProperty.kt b/api_generator/tests/references/divan/WithRequiredProperty.kt index bf06c69b2..0653acb68 100644 --- a/api_generator/tests/references/divan/WithRequiredProperty.kt +++ b/api_generator/tests/references/divan/WithRequiredProperty.kt @@ -24,7 +24,7 @@ import kotlin.collections.Map /** * Can be created using the method [withRequiredProperty]. * - * Required properties: `type, property`. + * Required parameters: `type, property`. */ @Generated class WithRequiredProperty internal constructor( diff --git a/api_generator/tests/references/divan/WithSimpleProperties.kt b/api_generator/tests/references/divan/WithSimpleProperties.kt index 0d938ddf0..852f2f05e 100644 --- a/api_generator/tests/references/divan/WithSimpleProperties.kt +++ b/api_generator/tests/references/divan/WithSimpleProperties.kt @@ -26,7 +26,7 @@ import kotlin.collections.Map * * Can be created using the method [withSimpleProperties]. * - * Required properties: `type`. + * Required parameters: `type`. */ @Generated class WithSimpleProperties internal constructor( diff --git a/api_generator/tests/references/divan/WithStrictArray.kt b/api_generator/tests/references/divan/WithStrictArray.kt index 585b7d9bd..7d5ebf0be 100644 --- a/api_generator/tests/references/divan/WithStrictArray.kt +++ b/api_generator/tests/references/divan/WithStrictArray.kt @@ -24,7 +24,7 @@ import kotlin.collections.Map /** * Can be created using the method [withStrictArray]. * - * Required properties: `type, array`. + * Required parameters: `type, array`. */ @Generated class WithStrictArray internal constructor( diff --git a/api_generator/tests/references/divan/WithStringArrayProperty.kt b/api_generator/tests/references/divan/WithStringArrayProperty.kt index 9952e59eb..eb2df8a9c 100644 --- a/api_generator/tests/references/divan/WithStringArrayProperty.kt +++ b/api_generator/tests/references/divan/WithStringArrayProperty.kt @@ -24,7 +24,7 @@ import kotlin.collections.Map /** * Can be created using the method [withStringArrayProperty]. * - * Required properties: `type, array`. + * Required parameters: `type, array`. */ @Generated class WithStringArrayProperty internal constructor( diff --git a/api_generator/tests/references/divan/WithStringEnumProperty.kt b/api_generator/tests/references/divan/WithStringEnumProperty.kt index 14b0d8c9d..4c6626bd4 100644 --- a/api_generator/tests/references/divan/WithStringEnumProperty.kt +++ b/api_generator/tests/references/divan/WithStringEnumProperty.kt @@ -24,7 +24,7 @@ import kotlin.collections.Map /** * Can be created using the method [withStringEnumProperty]. * - * Required properties: `type, property`. + * Required parameters: `type, property`. */ @Generated class WithStringEnumProperty internal constructor( diff --git a/api_generator/tests/references/divan/WithStringEnumPropertyWithDefaultValue.kt b/api_generator/tests/references/divan/WithStringEnumPropertyWithDefaultValue.kt index 08420ff30..8e7cc9eda 100644 --- a/api_generator/tests/references/divan/WithStringEnumPropertyWithDefaultValue.kt +++ b/api_generator/tests/references/divan/WithStringEnumPropertyWithDefaultValue.kt @@ -24,7 +24,7 @@ import kotlin.collections.Map /** * Can be created using the method [withStringEnumPropertyWithDefaultValue]. * - * Required properties: `type`. + * Required parameters: `type`. */ @Generated class WithStringEnumPropertyWithDefaultValue internal constructor( diff --git a/api_generator/tests/references/divan/WithoutProperties.kt b/api_generator/tests/references/divan/WithoutProperties.kt index e7a6053a0..8cca1ecfa 100644 --- a/api_generator/tests/references/divan/WithoutProperties.kt +++ b/api_generator/tests/references/divan/WithoutProperties.kt @@ -24,7 +24,7 @@ import kotlin.collections.Map /** * Can be created using the method [withoutProperties]. * - * Required properties: `type`. + * Required parameters: `type`. */ @Generated object WithoutProperties : Entity { diff --git a/schema/translations.json b/schema/translations.json index d8d0d2955..2b3671582 100644 --- a/schema/translations.json +++ b/schema/translations.json @@ -84,8 +84,8 @@ "ru": "Одно действие при нажатии на элемент. Не используется, если задан параметр `actions`." }, "div_actionable_action_animation": { - "en": "Click animation. The web only supports the following values: `fade`, `scale`, and `set`.", - "ru": "Анимация нажатия. В вебе поддерживаются только значения `fade`, `scale` и `set`." + "en": "Click animation. The web only supports the following values: `fade`, `scale`, `native`, `no_animation` and `set`.", + "ru": "Анимация нажатия. В вебе поддерживаются только значения `fade`, `scale`, `native`, `no_animation` и `set`." }, "div_actionable_actions": { "en": "Multiple actions when clicking on an element.", @@ -167,10 +167,6 @@ "en": "Transition with slide animation.", "ru": "Переход с анимацией перемещения." }, - "div_container_aspect": { - "en": "Size with a fixed aspect ratio. It counts height from width and ignores `height` value. The web requires the `aspect-ratio` css property for work.", - "ru": "Фиксированное соотношение размеров элемента. Высота элемента вычисляется исходя из ширины, значение параметра `height` игнорируется. В вебе требуется поддержка свойства `aspect-ratio` в css для работы." - }, "div_aspect": { "en": "Fixed aspect ratio. The element's height is calculated based on the width, ignoring the `height` value.", "ru": "Фиксированное соотношение размеров элемента. Высота элемента вычисляется исходя из ширины, значение параметра `height` игнорируется." @@ -363,6 +359,10 @@ "en": "Container. It contains other elements and is responsible for their location. It is used to arrange elements vertically, horizontally, and with an overlay in a certain order, simulating the third dimension.", "ru": "Контейнер. Содержит в себе другие элементы и отвечает за их расположение. Позволяет располагать элементы по вертикали, горизонтали и с наложением в определенном порядке, имитируя третье измерение." }, + "div_container_aspect": { + "en": "Size with a fixed aspect ratio. It counts height from width and ignores `height` value. The web requires the `aspect-ratio` css property for work.", + "ru": "Фиксированное соотношение размеров элемента. Высота элемента вычисляется исходя из ширины, значение параметра `height` игнорируется. В вебе требуется поддержка свойства `aspect-ratio` в css для работы." + }, "div_container_content_alignment_horizontal": { "en": "Horizontal element alignment. For child elements, it can be redefined using the `alignment_horizontal` property.", "ru": "Горизонтальное выравнивание элементов. Для дочерних элементов может быть переопределено через свойство `alignment_horizontal`." @@ -959,6 +959,10 @@ "en": "Maximum number of lines to be displayed in the input field.", "ru": "Максимальное количество строк, которое будет видно в поле ввода." }, + "div_input_method": { + "en": "Data entry method. If nothing is specified, the value will be taken from keyboard_type.", + "ru": "Способ ввода данных. Если ничего не указывать, то значение возьмется из keyboard_type." + }, "div_input_native_interface": { "en": "Text input line used in the native interface.", "ru": "Нативный внешний вид - линия ввода текста." @@ -979,10 +983,6 @@ "en": "Name of text storage variable.", "ru": "Название переменной для хранения текста." }, - "div_input_method": { - "en": "Data entry method. If nothing is specified, the value will be taken from keyboard_type.", - "ru": "Способ ввода данных. Если ничего не указывать, то значение возьмется из keyboard_type." - }, "div_keyboard_input": { "en": "Keyboard input method.", "ru": "Способ ввода с клавиатуры." @@ -1195,14 +1195,14 @@ "en": "Selection item from the menu.", "ru": "Элемент выбора из списка." }, - "div_selection_input_item_value": { - "en": "Value of the item that is displayed in the selection menu.", - "ru": "Значение элемента, которое отображается в меню выбора." - }, "div_selection_input_item_text": { "en": "The text that is displayed in the input. If the value is missing, the text from div_selection_input_item_value will appear in the input.", "ru": "Текст, который отображается в div_input. Если значение отсутствует, то в div_input покажется текст из div_selection_input_item_value" }, + "div_selection_input_item_value": { + "en": "Value of the item that is displayed in the selection menu.", + "ru": "Значение элемента, которое отображается в меню выбора." + }, "div_separator": { "en": "A separating line between elements.", "ru": "Разделительная линия между элементами."