From 774fae8e29b1dbce6bcb4e733b0188a5778187d2 Mon Sep 17 00:00:00 2001 From: bach Date: Tue, 20 Aug 2024 22:41:34 +0200 Subject: [PATCH] some config settings files (translation, materiau CT --- ...e_promotion.commerce_promotion.changed.yml | 18 +++++++++++++ ...e_promotion.commerce_promotion.created.yml | 18 +++++++++++++ ...merce_promotion.commerce_promotion.uid.yml | 20 +++++++++++++++ ...override.commerce_store.online.changed.yml | 18 +++++++++++++ ...override.commerce_store.online.created.yml | 18 +++++++++++++ ...ent.gdpr_consent_agreement.description.yml | 18 +++++++++++++ ...dpr_consent_agreement.long_description.yml | 18 +++++++++++++ ...agreement.gdpr_consent_agreement.notes.yml | 18 +++++++++++++ ...agreement.gdpr_consent_agreement.title.yml | 18 +++++++++++++ ...reement.gdpr_consent_agreement.user_id.yml | 20 +++++++++++++++ ...ity_form_display.node.materiau.default.yml | 25 +++++++++---------- ...ent_settings.block_content.simple_text.yml | 2 ++ ...e_product.materio_product_license_type.yml | 2 ++ ...ation.materio_product_licence_variatio.yml | 2 ++ ...nsent_agreement.gdpr_consent_agreement.yml | 17 +++++++++++++ ...content_settings.gdpr_task.gdpr_remove.yml | 11 ++++++++ ...ge.content_settings.gdpr_task.gdpr_sar.yml | 11 ++++++++ ...ngs.message.consent_agreement_accepted.yml | 11 ++++++++ ...anguage.content_settings.node.materiau.yml | 2 +- config/sync/mailjet.settings.yml | 2 +- config/sync/user.role.admin.yml | 1 + 21 files changed, 255 insertions(+), 15 deletions(-) create mode 100644 config/sync/core.base_field_override.commerce_promotion.commerce_promotion.changed.yml create mode 100644 config/sync/core.base_field_override.commerce_promotion.commerce_promotion.created.yml create mode 100644 config/sync/core.base_field_override.commerce_promotion.commerce_promotion.uid.yml create mode 100644 config/sync/core.base_field_override.commerce_store.online.changed.yml create mode 100644 config/sync/core.base_field_override.commerce_store.online.created.yml create mode 100644 config/sync/core.base_field_override.gdpr_consent_agreement.gdpr_consent_agreement.description.yml create mode 100644 config/sync/core.base_field_override.gdpr_consent_agreement.gdpr_consent_agreement.long_description.yml create mode 100644 config/sync/core.base_field_override.gdpr_consent_agreement.gdpr_consent_agreement.notes.yml create mode 100644 config/sync/core.base_field_override.gdpr_consent_agreement.gdpr_consent_agreement.title.yml create mode 100644 config/sync/core.base_field_override.gdpr_consent_agreement.gdpr_consent_agreement.user_id.yml create mode 100644 config/sync/language.content_settings.gdpr_consent_agreement.gdpr_consent_agreement.yml create mode 100644 config/sync/language.content_settings.gdpr_task.gdpr_remove.yml create mode 100644 config/sync/language.content_settings.gdpr_task.gdpr_sar.yml create mode 100644 config/sync/language.content_settings.message.consent_agreement_accepted.yml diff --git a/config/sync/core.base_field_override.commerce_promotion.commerce_promotion.changed.yml b/config/sync/core.base_field_override.commerce_promotion.commerce_promotion.changed.yml new file mode 100644 index 00000000..7d1041f7 --- /dev/null +++ b/config/sync/core.base_field_override.commerce_promotion.commerce_promotion.changed.yml @@ -0,0 +1,18 @@ +uuid: ce3949f2-fff5-43d4-a75e-f7f258541ee6 +langcode: fr +status: true +dependencies: + module: + - commerce_promotion +id: commerce_promotion.commerce_promotion.changed +field_name: changed +entity_type: commerce_promotion +bundle: commerce_promotion +label: Modifié +description: 'The time when the promotion was last edited.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: changed diff --git a/config/sync/core.base_field_override.commerce_promotion.commerce_promotion.created.yml b/config/sync/core.base_field_override.commerce_promotion.commerce_promotion.created.yml new file mode 100644 index 00000000..6641d52a --- /dev/null +++ b/config/sync/core.base_field_override.commerce_promotion.commerce_promotion.created.yml @@ -0,0 +1,18 @@ +uuid: d0f5f248-bd2d-43b8-96ab-fefc234f7058 +langcode: fr +status: true +dependencies: + module: + - commerce_promotion +id: commerce_promotion.commerce_promotion.created +field_name: created +entity_type: commerce_promotion +bundle: commerce_promotion +label: Créé +description: 'The time when the promotion was created.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: created diff --git a/config/sync/core.base_field_override.commerce_promotion.commerce_promotion.uid.yml b/config/sync/core.base_field_override.commerce_promotion.commerce_promotion.uid.yml new file mode 100644 index 00000000..427c83e0 --- /dev/null +++ b/config/sync/core.base_field_override.commerce_promotion.commerce_promotion.uid.yml @@ -0,0 +1,20 @@ +uuid: 44832669-bd2c-40ac-870a-8389a22d4026 +langcode: fr +status: true +dependencies: + module: + - commerce_promotion +id: commerce_promotion.commerce_promotion.uid +field_name: uid +entity_type: commerce_promotion +bundle: commerce_promotion +label: Propriétaire +description: 'The promotion owner.' +required: false +translatable: false +default_value: { } +default_value_callback: 'Drupal\commerce_promotion\Entity\Promotion::getDefaultEntityOwner' +settings: + handler: default + handler_settings: { } +field_type: entity_reference diff --git a/config/sync/core.base_field_override.commerce_store.online.changed.yml b/config/sync/core.base_field_override.commerce_store.online.changed.yml new file mode 100644 index 00000000..4520255e --- /dev/null +++ b/config/sync/core.base_field_override.commerce_store.online.changed.yml @@ -0,0 +1,18 @@ +uuid: 9bb1766d-c1be-4c56-b05d-dee701b5b7be +langcode: fr +status: true +dependencies: + config: + - commerce_store.commerce_store_type.online +id: commerce_store.online.changed +field_name: changed +entity_type: commerce_store +bundle: online +label: Modifié +description: 'The time when the store was last edited.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: changed diff --git a/config/sync/core.base_field_override.commerce_store.online.created.yml b/config/sync/core.base_field_override.commerce_store.online.created.yml new file mode 100644 index 00000000..19167beb --- /dev/null +++ b/config/sync/core.base_field_override.commerce_store.online.created.yml @@ -0,0 +1,18 @@ +uuid: 58fb5e67-dfbd-4ac7-93ed-f6ce132bacfc +langcode: fr +status: true +dependencies: + config: + - commerce_store.commerce_store_type.online +id: commerce_store.online.created +field_name: created +entity_type: commerce_store +bundle: online +label: Créé +description: 'The time when the store was created.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: created diff --git a/config/sync/core.base_field_override.gdpr_consent_agreement.gdpr_consent_agreement.description.yml b/config/sync/core.base_field_override.gdpr_consent_agreement.gdpr_consent_agreement.description.yml new file mode 100644 index 00000000..3f0011e0 --- /dev/null +++ b/config/sync/core.base_field_override.gdpr_consent_agreement.gdpr_consent_agreement.description.yml @@ -0,0 +1,18 @@ +uuid: 4fa87b2e-7778-4c36-9894-e53aff527eda +langcode: fr +status: true +dependencies: + module: + - gdpr_consent +id: gdpr_consent_agreement.gdpr_consent_agreement.description +field_name: description +entity_type: gdpr_consent_agreement +bundle: gdpr_consent_agreement +label: Description +description: 'Text displayed to the user on the form' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/core.base_field_override.gdpr_consent_agreement.gdpr_consent_agreement.long_description.yml b/config/sync/core.base_field_override.gdpr_consent_agreement.gdpr_consent_agreement.long_description.yml new file mode 100644 index 00000000..5eddd741 --- /dev/null +++ b/config/sync/core.base_field_override.gdpr_consent_agreement.gdpr_consent_agreement.long_description.yml @@ -0,0 +1,18 @@ +uuid: 8178b56e-0b70-41a3-a5ba-791040db3598 +langcode: fr +status: true +dependencies: + module: + - gdpr_consent +id: gdpr_consent_agreement.gdpr_consent_agreement.long_description +field_name: long_description +entity_type: gdpr_consent_agreement +bundle: gdpr_consent_agreement +label: 'Description longue' +description: 'Texte affiché quand l''utilisateur clique pour obtenir plus de détails.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string_long diff --git a/config/sync/core.base_field_override.gdpr_consent_agreement.gdpr_consent_agreement.notes.yml b/config/sync/core.base_field_override.gdpr_consent_agreement.gdpr_consent_agreement.notes.yml new file mode 100644 index 00000000..8409f3a3 --- /dev/null +++ b/config/sync/core.base_field_override.gdpr_consent_agreement.gdpr_consent_agreement.notes.yml @@ -0,0 +1,18 @@ +uuid: 8af932a5-2d05-462b-ab27-4b30b9ea8df9 +langcode: fr +status: true +dependencies: + module: + - gdpr_consent +id: gdpr_consent_agreement.gdpr_consent_agreement.notes +field_name: notes +entity_type: gdpr_consent_agreement +bundle: gdpr_consent_agreement +label: Notes +description: 'This should contain the rationale behind the agreement.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string_long diff --git a/config/sync/core.base_field_override.gdpr_consent_agreement.gdpr_consent_agreement.title.yml b/config/sync/core.base_field_override.gdpr_consent_agreement.gdpr_consent_agreement.title.yml new file mode 100644 index 00000000..d9bda29f --- /dev/null +++ b/config/sync/core.base_field_override.gdpr_consent_agreement.gdpr_consent_agreement.title.yml @@ -0,0 +1,18 @@ +uuid: 4419e97e-e08f-42b4-bc3c-d21937679ec0 +langcode: fr +status: true +dependencies: + module: + - gdpr_consent +id: gdpr_consent_agreement.gdpr_consent_agreement.title +field_name: title +entity_type: gdpr_consent_agreement +bundle: gdpr_consent_agreement +label: Titre +description: 'Agreement title.' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/core.base_field_override.gdpr_consent_agreement.gdpr_consent_agreement.user_id.yml b/config/sync/core.base_field_override.gdpr_consent_agreement.gdpr_consent_agreement.user_id.yml new file mode 100644 index 00000000..49241cc5 --- /dev/null +++ b/config/sync/core.base_field_override.gdpr_consent_agreement.gdpr_consent_agreement.user_id.yml @@ -0,0 +1,20 @@ +uuid: d94662f9-ed94-4ae8-8d08-053c817712bf +langcode: fr +status: true +dependencies: + module: + - gdpr_consent +id: gdpr_consent_agreement.gdpr_consent_agreement.user_id +field_name: user_id +entity_type: gdpr_consent_agreement +bundle: gdpr_consent_agreement +label: 'Écrit par' +description: 'The user ID of author of the Consent Agreement entity.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: default + handler_settings: { } +field_type: entity_reference diff --git a/config/sync/core.entity_form_display.node.materiau.default.yml b/config/sync/core.entity_form_display.node.materiau.default.yml index 4c18415a..a2d5be17 100644 --- a/config/sync/core.entity_form_display.node.materiau.default.yml +++ b/config/sync/core.entity_form_display.node.materiau.default.yml @@ -188,7 +188,7 @@ mode: default content: body: type: text_textarea_with_summary - weight: 3 + weight: 13 region: content settings: rows: 9 @@ -198,7 +198,7 @@ content: third_party_settings: { } created: type: datetime_timestamp - weight: 23 + weight: 17 region: content settings: { } third_party_settings: { } @@ -221,7 +221,7 @@ content: third_party_settings: { } field_famille: type: options_select - weight: 17 + weight: 11 region: content settings: { } third_party_settings: { } @@ -264,7 +264,7 @@ content: third_party_settings: { } field_materiau_images: type: image_image - weight: 13 + weight: 11 region: content settings: progress_indicator: throbber @@ -272,7 +272,7 @@ content: third_party_settings: { } field_memo: type: string_textarea - weight: 20 + weight: 14 region: content settings: rows: 5 @@ -280,7 +280,7 @@ content: third_party_settings: { } field_migration: type: workflow_default - weight: 22 + weight: 16 region: content settings: { } third_party_settings: { } @@ -298,7 +298,7 @@ content: third_party_settings: { } field_short_description: type: string_textfield - weight: 2 + weight: 12 region: content settings: size: 60 @@ -323,24 +323,23 @@ content: leaves_only: false select_parents: false cascading_selection: 0 - track_list: true max_depth: 0 third_party_settings: { } field_video: type: video_embed_field_textfield - weight: 14 + weight: 12 region: content settings: { } third_party_settings: { } field_workflow: type: workflow_default - weight: 21 + weight: 15 region: content settings: { } third_party_settings: { } langcode: type: language_select - weight: 18 + weight: 12 region: content settings: include_locked: true @@ -353,14 +352,14 @@ content: third_party_settings: { } title: type: string_textfield - weight: 1 + weight: 11 region: content settings: size: 60 placeholder: '' third_party_settings: { } translation: - weight: 19 + weight: 13 region: content settings: { } third_party_settings: { } diff --git a/config/sync/language.content_settings.block_content.simple_text.yml b/config/sync/language.content_settings.block_content.simple_text.yml index 3e459d4e..c165054f 100644 --- a/config/sync/language.content_settings.block_content.simple_text.yml +++ b/config/sync/language.content_settings.block_content.simple_text.yml @@ -9,6 +9,8 @@ dependencies: third_party_settings: content_translation: enabled: true + bundle_settings: + untranslatable_fields_hide: '0' id: block_content.simple_text target_entity_type_id: block_content target_bundle: simple_text diff --git a/config/sync/language.content_settings.commerce_product.materio_product_license_type.yml b/config/sync/language.content_settings.commerce_product.materio_product_license_type.yml index e24db1fe..330d369d 100644 --- a/config/sync/language.content_settings.commerce_product.materio_product_license_type.yml +++ b/config/sync/language.content_settings.commerce_product.materio_product_license_type.yml @@ -9,6 +9,8 @@ dependencies: third_party_settings: content_translation: enabled: true + bundle_settings: + untranslatable_fields_hide: '0' id: commerce_product.materio_product_license_type target_entity_type_id: commerce_product target_bundle: materio_product_license_type diff --git a/config/sync/language.content_settings.commerce_product_variation.materio_product_licence_variatio.yml b/config/sync/language.content_settings.commerce_product_variation.materio_product_licence_variatio.yml index 60d1a620..757ea5e4 100644 --- a/config/sync/language.content_settings.commerce_product_variation.materio_product_licence_variatio.yml +++ b/config/sync/language.content_settings.commerce_product_variation.materio_product_licence_variatio.yml @@ -9,6 +9,8 @@ dependencies: third_party_settings: content_translation: enabled: true + bundle_settings: + untranslatable_fields_hide: '0' id: commerce_product_variation.materio_product_licence_variatio target_entity_type_id: commerce_product_variation target_bundle: materio_product_licence_variatio diff --git a/config/sync/language.content_settings.gdpr_consent_agreement.gdpr_consent_agreement.yml b/config/sync/language.content_settings.gdpr_consent_agreement.gdpr_consent_agreement.yml new file mode 100644 index 00000000..4262ee48 --- /dev/null +++ b/config/sync/language.content_settings.gdpr_consent_agreement.gdpr_consent_agreement.yml @@ -0,0 +1,17 @@ +uuid: bd9117ef-80cb-4c96-b44e-54bdbbba17e5 +langcode: fr +status: true +dependencies: + module: + - content_translation + - gdpr_consent +third_party_settings: + content_translation: + enabled: false + bundle_settings: + untranslatable_fields_hide: '0' +id: gdpr_consent_agreement.gdpr_consent_agreement +target_entity_type_id: gdpr_consent_agreement +target_bundle: gdpr_consent_agreement +default_langcode: site_default +language_alterable: false diff --git a/config/sync/language.content_settings.gdpr_task.gdpr_remove.yml b/config/sync/language.content_settings.gdpr_task.gdpr_remove.yml new file mode 100644 index 00000000..5b11b0cb --- /dev/null +++ b/config/sync/language.content_settings.gdpr_task.gdpr_remove.yml @@ -0,0 +1,11 @@ +uuid: 7571fee4-8ace-493c-b227-eba6938bcfa8 +langcode: fr +status: true +dependencies: + config: + - gdpr_tasks.gdpr_task_type.gdpr_remove +id: gdpr_task.gdpr_remove +target_entity_type_id: gdpr_task +target_bundle: gdpr_remove +default_langcode: site_default +language_alterable: false diff --git a/config/sync/language.content_settings.gdpr_task.gdpr_sar.yml b/config/sync/language.content_settings.gdpr_task.gdpr_sar.yml new file mode 100644 index 00000000..2a45a193 --- /dev/null +++ b/config/sync/language.content_settings.gdpr_task.gdpr_sar.yml @@ -0,0 +1,11 @@ +uuid: 67d69612-4322-4f16-999e-0c86e2b27978 +langcode: fr +status: true +dependencies: + config: + - gdpr_tasks.gdpr_task_type.gdpr_sar +id: gdpr_task.gdpr_sar +target_entity_type_id: gdpr_task +target_bundle: gdpr_sar +default_langcode: site_default +language_alterable: false diff --git a/config/sync/language.content_settings.message.consent_agreement_accepted.yml b/config/sync/language.content_settings.message.consent_agreement_accepted.yml new file mode 100644 index 00000000..feb0e616 --- /dev/null +++ b/config/sync/language.content_settings.message.consent_agreement_accepted.yml @@ -0,0 +1,11 @@ +uuid: 55a20315-d4f7-4cba-ad72-a63a2320c080 +langcode: fr +status: true +dependencies: + config: + - message.template.consent_agreement_accepted +id: message.consent_agreement_accepted +target_entity_type_id: message +target_bundle: consent_agreement_accepted +default_langcode: site_default +language_alterable: false diff --git a/config/sync/language.content_settings.node.materiau.yml b/config/sync/language.content_settings.node.materiau.yml index 666d217b..94af75a5 100644 --- a/config/sync/language.content_settings.node.materiau.yml +++ b/config/sync/language.content_settings.node.materiau.yml @@ -15,4 +15,4 @@ id: node.materiau target_entity_type_id: node target_bundle: materiau default_langcode: site_default -language_alterable: false +language_alterable: true diff --git a/config/sync/mailjet.settings.yml b/config/sync/mailjet.settings.yml index 134c4bd7..0ae1097d 100644 --- a/config/sync/mailjet.settings.yml +++ b/config/sync/mailjet.settings.yml @@ -6,6 +6,6 @@ mailjet_mail: false mailjet_active: true mail_headers_allow_html_mailjet: true mailjet_title: 'Mailjet API module' -APItoken: AC52DE717F13C80914566A876A18DDB1937AB214D2E638C3BD595A185F464A9BE18944A60703AB3D62945DA6E3BC11C0A265CBEB48CB4FE92BD31807006E08AE +APItoken: 2CA9212C81DDF1F9C43D0756F7F1B16ACD1B26843D05F9DB39A2A92E0876CE823DF00A0F0C1960D342DD6CE65A5E9515A7FDA867028FC144CBB90F606CA70187 mailjet_protocol: ssl mailjet_por: 465 diff --git a/config/sync/user.role.admin.yml b/config/sync/user.role.admin.yml index 5432ef2f..d6332644 100644 --- a/config/sync/user.role.admin.yml +++ b/config/sync/user.role.admin.yml @@ -234,6 +234,7 @@ permissions: - 'translate assisted_research taxonomy_term' - 'translate commerce_product_variation' - 'translate company taxonomy_term' + - 'translate editable entities' - 'translate frontpage node' - 'translate interface' - 'translate materiau node'