From b585cf4f7f0bba4bcdecb77baaee2896d7c52857 Mon Sep 17 00:00:00 2001 From: morevsavva Date: Fri, 19 Jan 2024 13:06:18 +0300 Subject: [PATCH] change default value for prefix name. --- schema/div-collection-item-builder.json | 6 +++--- schema/translations.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/schema/div-collection-item-builder.json b/schema/div-collection-item-builder.json index a266c5962..15dac37ca 100644 --- a/schema/div-collection-item-builder.json +++ b/schema/div-collection-item-builder.json @@ -1,11 +1,11 @@ { "type": "object", "properties": { - "data_element_prefix": { + "data_element_name": { "type": "string", - "default_value": "it.", + "default_value": "it", "supports_expressions": false, - "$description": "translations.json#/div_collection_item_builder_prototypes_data_element_prefix" + "$description": "translations.json#/div_collection_item_builder_prototypes_data_element_name" }, "data": { "type": "array", diff --git a/schema/translations.json b/schema/translations.json index f68c35ae4..561f62031 100644 --- a/schema/translations.json +++ b/schema/translations.json @@ -399,9 +399,9 @@ "en": "Array of `div` from which the collection items will be created.", "ru": "Массив `div` из которых будут созданы элементы коллекции." }, - "div_collection_item_builder_prototypes_data_element_prefix": { - "en": "Prefix for accessing the next `data` element in the prototype.", - "ru": "Префикс для обращения к очередному элементу `data` в прототипе." + "div_collection_item_builder_prototypes_data_element_name": { + "en": "Name for accessing the next `data` element in the prototype. Working with this element is like working with DivKit dictionaries.", + "ru": "Имя для обращения к очередному элементу `data` в прототипе. Работа с этим элементом ведется как со словарями." }, "div_collection_item_builder_prototypes_div": { "en": "`Div` from which the collection items will be created. In `Div`, you can use expressions using data from `data`, to access the next `data` element, you need to use the same prefix as in `data_element_prefix`.",