From dbd46066360fdcd486b2bf1007a6dd5d60d90604 Mon Sep 17 00:00:00 2001 From: Ray Estrada Date: Tue, 1 Oct 2024 08:12:11 -0700 Subject: [PATCH] VOTE-2585 add data fields for string translations (#1017) --- ...lay.block_content.email_signup.default.yml | 9 ++++++++ ...lock_content.government_banner.default.yml | 9 ++++++++ ...m_display.block_content.search.default.yml | 9 ++++++++ ...ay.paragraph.registration_tool.default.yml | 18 ++++++++++++++++ ...lay.block_content.email_signup.default.yml | 9 ++++++++ ...lock_content.government_banner.default.yml | 9 ++++++++ ...w_display.block_content.search.default.yml | 9 ++++++++ ...ay.paragraph.registration_tool.default.yml | 18 ++++++++++++++++ ....email_signup.field_section_identifier.yml | 19 +++++++++++++++++ ...rnment_banner.field_section_identifier.yml | 19 +++++++++++++++++ ...ontent.search.field_section_identifier.yml | 19 +++++++++++++++++ ...stration_tool.field_section_identifier.yml | 19 +++++++++++++++++ ...ation_tool.field_state_list_identifier.yml | 19 +++++++++++++++++ ...block_content.field_section_identifier.yml | 21 +++++++++++++++++++ ...age.paragraph.field_section_identifier.yml | 21 +++++++++++++++++++ ....paragraph.field_state_list_identifier.yml | 21 +++++++++++++++++++ 16 files changed, 248 insertions(+) create mode 100644 config/sync/field.field.block_content.email_signup.field_section_identifier.yml create mode 100644 config/sync/field.field.block_content.government_banner.field_section_identifier.yml create mode 100644 config/sync/field.field.block_content.search.field_section_identifier.yml create mode 100644 config/sync/field.field.paragraph.registration_tool.field_section_identifier.yml create mode 100644 config/sync/field.field.paragraph.registration_tool.field_state_list_identifier.yml create mode 100644 config/sync/field.storage.block_content.field_section_identifier.yml create mode 100644 config/sync/field.storage.paragraph.field_section_identifier.yml create mode 100644 config/sync/field.storage.paragraph.field_state_list_identifier.yml diff --git a/config/sync/core.entity_form_display.block_content.email_signup.default.yml b/config/sync/core.entity_form_display.block_content.email_signup.default.yml index 0503910d5..772cdbb67 100644 --- a/config/sync/core.entity_form_display.block_content.email_signup.default.yml +++ b/config/sync/core.entity_form_display.block_content.email_signup.default.yml @@ -7,6 +7,7 @@ dependencies: - field.field.block_content.email_signup.field_email_field_label - field.field.block_content.email_signup.field_heading - field.field.block_content.email_signup.field_link + - field.field.block_content.email_signup.field_section_identifier - field.field.block_content.email_signup.field_signup_button_label module: - link @@ -39,6 +40,14 @@ content: placeholder_url: '' placeholder_title: '' third_party_settings: { } + field_section_identifier: + type: string_textfield + weight: 26 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } field_signup_button_label: type: string_textfield weight: 5 diff --git a/config/sync/core.entity_form_display.block_content.government_banner.default.yml b/config/sync/core.entity_form_display.block_content.government_banner.default.yml index b6ac9bfe0..1ac8439ee 100644 --- a/config/sync/core.entity_form_display.block_content.government_banner.default.yml +++ b/config/sync/core.entity_form_display.block_content.government_banner.default.yml @@ -10,6 +10,7 @@ dependencies: - field.field.block_content.government_banner.field_gov_text - field.field.block_content.government_banner.field_https_heading - field.field.block_content.government_banner.field_https_text + - field.field.block_content.government_banner.field_section_identifier id: block_content.government_banner.default targetEntityType: block_content bundle: government_banner @@ -63,6 +64,14 @@ content: size: 60 placeholder: '' third_party_settings: { } + field_section_identifier: + type: string_textfield + weight: 26 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } info: type: string_textfield weight: 0 diff --git a/config/sync/core.entity_form_display.block_content.search.default.yml b/config/sync/core.entity_form_display.block_content.search.default.yml index 581f1b06d..5f990d948 100644 --- a/config/sync/core.entity_form_display.block_content.search.default.yml +++ b/config/sync/core.entity_form_display.block_content.search.default.yml @@ -5,6 +5,7 @@ dependencies: config: - block_content.type.search - field.field.block_content.search.field_search_placeholder + - field.field.block_content.search.field_section_identifier - field.field.block_content.search.field_translated_affiliate id: block_content.search.default targetEntityType: block_content @@ -19,6 +20,14 @@ content: size: 60 placeholder: '' third_party_settings: { } + field_section_identifier: + type: string_textfield + weight: 26 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } field_translated_affiliate: type: boolean_checkbox weight: 4 diff --git a/config/sync/core.entity_form_display.paragraph.registration_tool.default.yml b/config/sync/core.entity_form_display.paragraph.registration_tool.default.yml index 378223c05..51015f630 100644 --- a/config/sync/core.entity_form_display.paragraph.registration_tool.default.yml +++ b/config/sync/core.entity_form_display.paragraph.registration_tool.default.yml @@ -8,6 +8,8 @@ dependencies: - field.field.paragraph.registration_tool.field_heading - field.field.paragraph.registration_tool.field_no_results_message - field.field.paragraph.registration_tool.field_placeholder + - field.field.paragraph.registration_tool.field_section_identifier + - field.field.paragraph.registration_tool.field_state_list_identifier - paragraphs.paragraphs_type.registration_tool module: - text @@ -56,6 +58,22 @@ content: size: 60 placeholder: '' third_party_settings: { } + field_section_identifier: + type: string_textfield + weight: 5 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_state_list_identifier: + type: string_textfield + weight: 6 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } translation: weight: 3 region: content diff --git a/config/sync/core.entity_view_display.block_content.email_signup.default.yml b/config/sync/core.entity_view_display.block_content.email_signup.default.yml index 22ef3c80d..a9d9ca8bd 100644 --- a/config/sync/core.entity_view_display.block_content.email_signup.default.yml +++ b/config/sync/core.entity_view_display.block_content.email_signup.default.yml @@ -7,6 +7,7 @@ dependencies: - field.field.block_content.email_signup.field_email_field_label - field.field.block_content.email_signup.field_heading - field.field.block_content.email_signup.field_link + - field.field.block_content.email_signup.field_section_identifier - field.field.block_content.email_signup.field_signup_button_label module: - link @@ -43,6 +44,14 @@ content: third_party_settings: { } weight: 1 region: content + field_section_identifier: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 4 + region: content field_signup_button_label: type: string label: hidden diff --git a/config/sync/core.entity_view_display.block_content.government_banner.default.yml b/config/sync/core.entity_view_display.block_content.government_banner.default.yml index d83757c4c..79103ae8b 100644 --- a/config/sync/core.entity_view_display.block_content.government_banner.default.yml +++ b/config/sync/core.entity_view_display.block_content.government_banner.default.yml @@ -10,6 +10,7 @@ dependencies: - field.field.block_content.government_banner.field_gov_text - field.field.block_content.government_banner.field_https_heading - field.field.block_content.government_banner.field_https_text + - field.field.block_content.government_banner.field_section_identifier id: block_content.government_banner.default targetEntityType: block_content bundle: government_banner @@ -63,5 +64,13 @@ content: third_party_settings: { } weight: 5 region: content + field_section_identifier: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 4 + region: content hidden: langcode: true diff --git a/config/sync/core.entity_view_display.block_content.search.default.yml b/config/sync/core.entity_view_display.block_content.search.default.yml index e49cbee27..1a708ecbf 100644 --- a/config/sync/core.entity_view_display.block_content.search.default.yml +++ b/config/sync/core.entity_view_display.block_content.search.default.yml @@ -5,6 +5,7 @@ dependencies: config: - block_content.type.search - field.field.block_content.search.field_search_placeholder + - field.field.block_content.search.field_section_identifier - field.field.block_content.search.field_translated_affiliate id: block_content.search.default targetEntityType: block_content @@ -19,6 +20,14 @@ content: third_party_settings: { } weight: 3 region: content + field_section_identifier: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 4 + region: content field_translated_affiliate: type: boolean label: hidden diff --git a/config/sync/core.entity_view_display.paragraph.registration_tool.default.yml b/config/sync/core.entity_view_display.paragraph.registration_tool.default.yml index 090b8b1f8..59aadf24e 100644 --- a/config/sync/core.entity_view_display.paragraph.registration_tool.default.yml +++ b/config/sync/core.entity_view_display.paragraph.registration_tool.default.yml @@ -8,6 +8,8 @@ dependencies: - field.field.paragraph.registration_tool.field_heading - field.field.paragraph.registration_tool.field_no_results_message - field.field.paragraph.registration_tool.field_placeholder + - field.field.paragraph.registration_tool.field_section_identifier + - field.field.paragraph.registration_tool.field_state_list_identifier - paragraphs.paragraphs_type.registration_tool module: - text @@ -55,4 +57,20 @@ content: third_party_settings: { } weight: 2 region: content + field_section_identifier: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 4 + region: content + field_state_list_identifier: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 5 + region: content hidden: { } diff --git a/config/sync/field.field.block_content.email_signup.field_section_identifier.yml b/config/sync/field.field.block_content.email_signup.field_section_identifier.yml new file mode 100644 index 000000000..3997a343b --- /dev/null +++ b/config/sync/field.field.block_content.email_signup.field_section_identifier.yml @@ -0,0 +1,19 @@ +uuid: 119844e2-baef-4243-98ea-ddbfec4ccb87 +langcode: en +status: true +dependencies: + config: + - block_content.type.email_signup + - field.storage.block_content.field_section_identifier +id: block_content.email_signup.field_section_identifier +field_name: field_section_identifier +entity_type: block_content +bundle: email_signup +label: 'Section Identifier' +description: 'This field value is used to identify this section for screen readers.' +required: true +translatable: true +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.field.block_content.government_banner.field_section_identifier.yml b/config/sync/field.field.block_content.government_banner.field_section_identifier.yml new file mode 100644 index 000000000..e87beac52 --- /dev/null +++ b/config/sync/field.field.block_content.government_banner.field_section_identifier.yml @@ -0,0 +1,19 @@ +uuid: 67a9ff34-af92-4b14-862b-eafc123c4751 +langcode: en +status: true +dependencies: + config: + - block_content.type.government_banner + - field.storage.block_content.field_section_identifier +id: block_content.government_banner.field_section_identifier +field_name: field_section_identifier +entity_type: block_content +bundle: government_banner +label: 'Section Identifier' +description: 'This field value is used to identify this section for screen readers.' +required: true +translatable: true +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.field.block_content.search.field_section_identifier.yml b/config/sync/field.field.block_content.search.field_section_identifier.yml new file mode 100644 index 000000000..76276206e --- /dev/null +++ b/config/sync/field.field.block_content.search.field_section_identifier.yml @@ -0,0 +1,19 @@ +uuid: a017f18d-4a52-4d9f-ac5f-3eeb00d4b7db +langcode: en +status: true +dependencies: + config: + - block_content.type.search + - field.storage.block_content.field_section_identifier +id: block_content.search.field_section_identifier +field_name: field_section_identifier +entity_type: block_content +bundle: search +label: 'Section Identifier' +description: 'This field value is used to identify this section for screen readers.' +required: true +translatable: true +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.field.paragraph.registration_tool.field_section_identifier.yml b/config/sync/field.field.paragraph.registration_tool.field_section_identifier.yml new file mode 100644 index 000000000..850c3eba0 --- /dev/null +++ b/config/sync/field.field.paragraph.registration_tool.field_section_identifier.yml @@ -0,0 +1,19 @@ +uuid: a66e1bdc-8a36-40f2-b3ad-a495172a3c42 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_section_identifier + - paragraphs.paragraphs_type.registration_tool +id: paragraph.registration_tool.field_section_identifier +field_name: field_section_identifier +entity_type: paragraph +bundle: registration_tool +label: 'Section Identifier' +description: 'This field value is used to identify this section for screen readers.' +required: true +translatable: true +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.field.paragraph.registration_tool.field_state_list_identifier.yml b/config/sync/field.field.paragraph.registration_tool.field_state_list_identifier.yml new file mode 100644 index 000000000..b81095742 --- /dev/null +++ b/config/sync/field.field.paragraph.registration_tool.field_state_list_identifier.yml @@ -0,0 +1,19 @@ +uuid: 966046d6-26e5-4508-a1f7-9e179b902383 +langcode: en +status: true +dependencies: + config: + - field.storage.paragraph.field_state_list_identifier + - paragraphs.paragraphs_type.registration_tool +id: paragraph.registration_tool.field_state_list_identifier +field_name: field_state_list_identifier +entity_type: paragraph +bundle: registration_tool +label: 'State list identifier' +description: 'This field value is used to identify the state list for screen readers.' +required: true +translatable: true +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.storage.block_content.field_section_identifier.yml b/config/sync/field.storage.block_content.field_section_identifier.yml new file mode 100644 index 000000000..7896d16f3 --- /dev/null +++ b/config/sync/field.storage.block_content.field_section_identifier.yml @@ -0,0 +1,21 @@ +uuid: 6298fa5a-9a19-4db8-a2be-f3a9a57b54dd +langcode: en +status: true +dependencies: + module: + - block_content +id: block_content.field_section_identifier +field_name: field_section_identifier +entity_type: block_content +type: string +settings: + max_length: 255 + case_sensitive: false + is_ascii: false +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.paragraph.field_section_identifier.yml b/config/sync/field.storage.paragraph.field_section_identifier.yml new file mode 100644 index 000000000..3775b7bb3 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_section_identifier.yml @@ -0,0 +1,21 @@ +uuid: 72256a12-5994-4290-88e6-44af6c707fb0 +langcode: en +status: true +dependencies: + module: + - paragraphs +id: paragraph.field_section_identifier +field_name: field_section_identifier +entity_type: paragraph +type: string +settings: + max_length: 255 + case_sensitive: false + is_ascii: false +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.paragraph.field_state_list_identifier.yml b/config/sync/field.storage.paragraph.field_state_list_identifier.yml new file mode 100644 index 000000000..8b773a095 --- /dev/null +++ b/config/sync/field.storage.paragraph.field_state_list_identifier.yml @@ -0,0 +1,21 @@ +uuid: daed07e4-1060-4ad9-ae58-8ee581252c5e +langcode: en +status: true +dependencies: + module: + - paragraphs +id: paragraph.field_state_list_identifier +field_name: field_state_list_identifier +entity_type: paragraph +type: string +settings: + max_length: 255 + case_sensitive: false + is_ascii: false +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false