Browse Source

enabled thematique translation, article title translation, misc

bach 3 years ago
parent
commit
c767654dc6
36 changed files with 469 additions and 35 deletions
  1. 3 1
      config/devel/devel.settings.yml
  2. 20 0
      config/sync/core.base_field_override.commerce_promotion.commerce_promotion.description.yml
  3. 18 0
      config/sync/core.base_field_override.commerce_promotion.commerce_promotion.display_name.yml
  4. 18 0
      config/sync/core.base_field_override.commerce_promotion.commerce_promotion.name.yml
  5. 20 0
      config/sync/core.base_field_override.commerce_store.online.uid.yml
  6. 20 0
      config/sync/core.base_field_override.flag_list_item.flag_list_item.user_id.yml
  7. 20 0
      config/sync/core.base_field_override.flagging_collection.flagging_collection_type_1.relatedflag.yml
  8. 20 0
      config/sync/core.base_field_override.flagging_collection.flagging_collection_type_1.templateflag.yml
  9. 20 0
      config/sync/core.base_field_override.flagging_collection.flagging_collection_type_1.user_id.yml
  10. 1 1
      config/sync/core.base_field_override.node.article.title.yml
  11. 18 0
      config/sync/core.base_field_override.node.note.changed.yml
  12. 18 0
      config/sync/core.base_field_override.node.note.created.yml
  13. 20 0
      config/sync/core.base_field_override.node.note.menu_link.yml
  14. 20 0
      config/sync/core.base_field_override.node.note.path.yml
  15. 1 1
      config/sync/core.base_field_override.node.note.promote.yml
  16. 22 0
      config/sync/core.base_field_override.node.note.status.yml
  17. 22 0
      config/sync/core.base_field_override.node.note.sticky.yml
  18. 18 0
      config/sync/core.base_field_override.node.note.title.yml
  19. 20 0
      config/sync/core.base_field_override.node.note.uid.yml
  20. 1 1
      config/sync/core.base_field_override.node.thematique.title.yml
  21. 17 13
      config/sync/core.entity_form_display.node.thematique.default.yml
  22. 49 1
      config/sync/core.menu.static_menu_link_overrides.yml
  23. 1 1
      config/sync/field.field.node.thematique.body.yml
  24. 1 1
      config/sync/field.field.node.thematique.field_linked_articles.yml
  25. 1 1
      config/sync/field.field.node.thematique.field_memo.yml
  26. 1 8
      config/sync/field.field.node.thematique.field_visuel.yml
  27. 6 0
      config/sync/language.content_settings.commerce_promotion.commerce_promotion.yml
  28. 17 0
      config/sync/language.content_settings.flag_list_item.flag_list_item.yml
  29. 18 0
      config/sync/language.content_settings.flagging_collection.flagging_collection_type_1.yml
  30. 7 0
      config/sync/language.content_settings.node.note.yml
  31. 2 2
      config/sync/language.content_settings.node.thematique.yml
  32. 11 0
      config/sync/language.content_settings.workflow_scheduled_transition.migration.yml
  33. 11 0
      config/sync/language.content_settings.workflow_scheduled_transition.workflow.yml
  34. 1 1
      config/sync/node.type.thematique.yml
  35. 3 0
      config/sync/user.role.admin.yml
  36. 3 3
      config/sync/views.view.admin_nodes.yml

+ 3 - 1
config/devel/devel.settings.yml

@@ -5,4 +5,6 @@ error_handlers:
 rebuild_theme: false
 debug_mail_file_format: '%to-%subject-%datetime.mail.txt'
 debug_mail_directory: 'temporary://devel-mails'
-devel_dumper: default
+devel_dumper: kint
+debug_logfile: 'temporary://drupal_debug.txt'
+debug_pre: false

+ 20 - 0
config/sync/core.base_field_override.commerce_promotion.commerce_promotion.description.yml

@@ -0,0 +1,20 @@
+uuid: 4c4d32da-e167-4429-a6a8-e64919f1fd4d
+langcode: fr
+status: true
+dependencies:
+  module:
+    - commerce_promotion
+id: commerce_promotion.commerce_promotion.description
+field_name: description
+entity_type: commerce_promotion
+bundle: commerce_promotion
+label: Description
+description: 'Additional information about the promotion to show to the customer'
+required: false
+translatable: false
+default_value:
+  -
+    value: ''
+default_value_callback: ''
+settings: {  }
+field_type: string_long

+ 18 - 0
config/sync/core.base_field_override.commerce_promotion.commerce_promotion.display_name.yml

@@ -0,0 +1,18 @@
+uuid: 12d95ee0-8fd9-4dd7-8646-4bd9b9e7f3ec
+langcode: fr
+status: true
+dependencies:
+  module:
+    - commerce_promotion
+id: commerce_promotion.commerce_promotion.display_name
+field_name: display_name
+entity_type: commerce_promotion
+bundle: commerce_promotion
+label: 'Nom de l''affichage'
+description: 'If provided, shown on the order instead of "Discount".'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: string

+ 18 - 0
config/sync/core.base_field_override.commerce_promotion.commerce_promotion.name.yml

@@ -0,0 +1,18 @@
+uuid: 4ff81977-7ace-494e-8561-8780f3621fac
+langcode: fr
+status: true
+dependencies:
+  module:
+    - commerce_promotion
+id: commerce_promotion.commerce_promotion.name
+field_name: name
+entity_type: commerce_promotion
+bundle: commerce_promotion
+label: Nom
+description: 'The promotion name.'
+required: true
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: string

+ 20 - 0
config/sync/core.base_field_override.commerce_store.online.uid.yml

@@ -0,0 +1,20 @@
+uuid: ac9a43ee-8971-4ee3-9c49-77b678bad732
+langcode: fr
+status: true
+dependencies:
+  config:
+    - commerce_store.commerce_store_type.online
+id: commerce_store.online.uid
+field_name: uid
+entity_type: commerce_store
+bundle: online
+label: Propriétaire
+description: 'The store owner.'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: 'Drupal\commerce_store\Entity\Store::getDefaultEntityOwner'
+settings:
+  handler: default
+  handler_settings: {  }
+field_type: entity_reference

+ 20 - 0
config/sync/core.base_field_override.flag_list_item.flag_list_item.user_id.yml

@@ -0,0 +1,20 @@
+uuid: 707b2946-6937-4a85-8b0f-396f57489133
+langcode: fr
+status: true
+dependencies:
+  module:
+    - flag_lists
+id: flag_list_item.flag_list_item.user_id
+field_name: user_id
+entity_type: flag_list_item
+bundle: flag_list_item
+label: 'Écrit par'
+description: 'The user ID of author of the Flag list item entity.'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  handler: default
+  handler_settings: {  }
+field_type: entity_reference

+ 20 - 0
config/sync/core.base_field_override.flagging_collection.flagging_collection_type_1.relatedflag.yml

@@ -0,0 +1,20 @@
+uuid: 836a8431-ec09-4de1-9cd4-817f7f3a3300
+langcode: fr
+status: true
+dependencies:
+  config:
+    - flag_lists.flagging_collection_type.flagging_collection_type_1
+id: flagging_collection.flagging_collection_type_1.relatedflag
+field_name: relatedflag
+entity_type: flagging_collection
+bundle: flagging_collection_type_1
+label: 'Related flag'
+description: 'The related flag used for for this list'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  handler: default
+  handler_settings: {  }
+field_type: entity_reference

+ 20 - 0
config/sync/core.base_field_override.flagging_collection.flagging_collection_type_1.templateflag.yml

@@ -0,0 +1,20 @@
+uuid: 3609dd9c-85eb-4dc4-b4da-e48836e465a5
+langcode: fr
+status: true
+dependencies:
+  config:
+    - flag_lists.flagging_collection_type.flagging_collection_type_1
+id: flagging_collection.flagging_collection_type_1.templateflag
+field_name: templateflag
+entity_type: flagging_collection
+bundle: flagging_collection_type_1
+label: 'Base flag'
+description: 'The flag list used as base'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  handler: default
+  handler_settings: {  }
+field_type: entity_reference

+ 20 - 0
config/sync/core.base_field_override.flagging_collection.flagging_collection_type_1.user_id.yml

@@ -0,0 +1,20 @@
+uuid: aa598ce7-ab62-4640-9873-67b0fe7c8053
+langcode: fr
+status: true
+dependencies:
+  config:
+    - flag_lists.flagging_collection_type.flagging_collection_type_1
+id: flagging_collection.flagging_collection_type_1.user_id
+field_name: user_id
+entity_type: flagging_collection
+bundle: flagging_collection_type_1
+label: 'Écrit par'
+description: 'The user ID of author of the Flagging collection entity.'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  handler: default
+  handler_settings: {  }
+field_type: entity_reference

+ 1 - 1
config/sync/core.base_field_override.node.article.title.yml

@@ -11,7 +11,7 @@ bundle: article
 label: Title
 description: ''
 required: true
-translatable: false
+translatable: true
 default_value: {  }
 default_value_callback: ''
 settings: {  }

+ 18 - 0
config/sync/core.base_field_override.node.note.changed.yml

@@ -0,0 +1,18 @@
+uuid: 3b80477e-49b4-4a1d-9165-d85ad36cda6e
+langcode: fr
+status: true
+dependencies:
+  config:
+    - node.type.note
+id: node.note.changed
+field_name: changed
+entity_type: node
+bundle: note
+label: Modifié
+description: 'Le moment auquel le nœud a été modifié pour la dernière fois.'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: changed

+ 18 - 0
config/sync/core.base_field_override.node.note.created.yml

@@ -0,0 +1,18 @@
+uuid: f4eed5e6-7ec6-4991-92be-092087488907
+langcode: fr
+status: true
+dependencies:
+  config:
+    - node.type.note
+id: node.note.created
+field_name: created
+entity_type: node
+bundle: note
+label: 'Écrit le'
+description: 'L''heure à laquelle le nœud a été créé.'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: created

+ 20 - 0
config/sync/core.base_field_override.node.note.menu_link.yml

@@ -0,0 +1,20 @@
+uuid: e5a701d1-82a0-4c3b-8a5f-70e6fe74f236
+langcode: fr
+status: true
+dependencies:
+  config:
+    - node.type.note
+id: node.note.menu_link
+field_name: menu_link
+entity_type: node
+bundle: note
+label: 'Lien du menu'
+description: 'Lien de menu calculé pour le nœud (disponible uniquement pendant l''enregistrement du nœud).'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  handler: default
+  handler_settings: {  }
+field_type: entity_reference

+ 20 - 0
config/sync/core.base_field_override.node.note.path.yml

@@ -0,0 +1,20 @@
+uuid: 70429bd7-83c2-4142-9afd-7038d65737e4
+langcode: fr
+status: true
+dependencies:
+  config:
+    - node.type.note
+  module:
+    - path
+id: node.note.path
+field_name: path
+entity_type: node
+bundle: note
+label: 'Alias d''URL'
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: path

+ 1 - 1
config/sync/core.base_field_override.node.note.promote.yml

@@ -11,7 +11,7 @@ bundle: note
 label: 'Promu en page d''accueil'
 description: ''
 required: false
-translatable: true
+translatable: false
 default_value:
   -
     value: 0

+ 22 - 0
config/sync/core.base_field_override.node.note.status.yml

@@ -0,0 +1,22 @@
+uuid: e0ae92d3-b724-419e-a7ba-d1c4fbe4fdb3
+langcode: fr
+status: true
+dependencies:
+  config:
+    - node.type.note
+id: node.note.status
+field_name: status
+entity_type: node
+bundle: note
+label: Publié
+description: ''
+required: false
+translatable: false
+default_value:
+  -
+    value: 1
+default_value_callback: ''
+settings:
+  on_label: Activé
+  off_label: Désactivé
+field_type: boolean

+ 22 - 0
config/sync/core.base_field_override.node.note.sticky.yml

@@ -0,0 +1,22 @@
+uuid: 19fa2240-8974-4c93-91d6-76391f11fb43
+langcode: fr
+status: true
+dependencies:
+  config:
+    - node.type.note
+id: node.note.sticky
+field_name: sticky
+entity_type: node
+bundle: note
+label: 'Epinglé en haut des listes'
+description: ''
+required: false
+translatable: false
+default_value:
+  -
+    value: 0
+default_value_callback: ''
+settings:
+  on_label: Activé
+  off_label: Désactivé
+field_type: boolean

+ 18 - 0
config/sync/core.base_field_override.node.note.title.yml

@@ -0,0 +1,18 @@
+uuid: ed044201-dbd5-4b0f-a092-65eb12e699fc
+langcode: fr
+status: true
+dependencies:
+  config:
+    - node.type.note
+id: node.note.title
+field_name: title
+entity_type: node
+bundle: note
+label: Titre
+description: ''
+required: true
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: string

+ 20 - 0
config/sync/core.base_field_override.node.note.uid.yml

@@ -0,0 +1,20 @@
+uuid: c4e1fa5b-1fcc-4a06-bc89-df7f3c5b6257
+langcode: fr
+status: true
+dependencies:
+  config:
+    - node.type.note
+id: node.note.uid
+field_name: uid
+entity_type: node
+bundle: note
+label: 'Écrit par'
+description: 'Le nom d''utilisateur de l''auteur du contenu.'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: 'Drupal\node\Entity\Node::getDefaultEntityOwner'
+settings:
+  handler: default
+  handler_settings: {  }
+field_type: entity_reference

+ 1 - 1
config/sync/core.base_field_override.node.thematique.title.yml

@@ -11,7 +11,7 @@ bundle: thematique
 label: Title
 description: ''
 required: true
-translatable: false
+translatable: true
 default_value: {  }
 default_value_callback: ''
 settings: {  }

+ 17 - 13
config/sync/core.entity_form_display.node.thematique.default.yml

@@ -23,7 +23,6 @@ third_party_settings:
       children:
         - group_content
         - group_media
-        - group_internal
         - group_taxonomy
         - group_links
       parent_name: ''
@@ -93,29 +92,29 @@ third_party_settings:
         formatter: closed
         required_fields: true
       label: Links
-    group_internal:
+    group_sidebar:
       children:
+        - field_memo
         - uid
         - status
         - langcode
         - created
-        - flag
         - promote
         - sticky
         - path
         - url_redirects
-        - field_memo
-      parent_name: group_htabs
-      weight: 21
-      format_type: tab
+      parent_name: ''
+      weight: 20
+      format_type: details_sidebar
       region: hidden
       format_settings:
-        id: ''
-        classes: ''
         description: ''
-        formatter: closed
+        open: true
+        weight: 0
         required_fields: true
-      label: Internal
+        id: ''
+        classes: ''
+      label: internal
 id: node.thematique.default
 targetEntityType: node
 bundle: thematique
@@ -198,10 +197,10 @@ content:
     third_party_settings: {  }
   langcode:
     type: language_select
-    weight: 22
+    weight: 0
     region: content
     settings:
-      include_locked: true
+      include_locked: false
     third_party_settings: {  }
   path:
     type: path
@@ -238,6 +237,11 @@ content:
       size: 60
       placeholder: ''
     third_party_settings: {  }
+  translation:
+    weight: 10
+    region: content
+    settings: {  }
+    third_party_settings: {  }
   uid:
     type: entity_reference_autocomplete
     weight: 20

+ 49 - 1
config/sync/core.menu.static_menu_link_overrides.yml

@@ -1,3 +1,51 @@
-definitions: {  }
+definitions:
+  editors_menus__materials:
+    weight: -50
+    menu_name: editors
+    parent: editors_menus.contents
+    enabled: true
+    expanded: false
+  editors_menus__articles:
+    weight: -48
+    menu_name: editors
+    parent: editors_menus.contents
+    expanded: false
+    enabled: true
+  editors_menus__thesaurus:
+    weight: -47
+    menu_name: editors
+    parent: editors_menus.contents
+    expanded: false
+    enabled: true
+  editors_menus__tags:
+    weight: -46
+    menu_name: editors
+    parent: editors_menus.contents
+    expanded: false
+    enabled: true
+  editors_menus__assisted_research:
+    weight: -45
+    menu_name: editors
+    parent: editors_menus.contents
+    expanded: false
+    enabled: true
+  editors_menus__companies:
+    weight: -44
+    menu_name: editors
+    parent: editors_menus.contents
+    expanded: false
+    enabled: true
+  editors_menus__showrooms:
+    weight: -43
+    menu_name: editors
+    parent: editors_menus.contents
+    expanded: false
+    enabled: true
+  editors_menus__newsletters:
+    weight: -42
+    menu_name: editors
+    parent: editors_menus.contents
+    expanded: false
+    enabled: true
 _core:
   default_config_hash: jdY7AU0tU-QsjmiOw3W8vwpYMb-By--_MSFgbqKUTYM

+ 1 - 1
config/sync/field.field.node.thematique.body.yml

@@ -14,7 +14,7 @@ bundle: thematique
 label: Body
 description: ''
 required: false
-translatable: false
+translatable: true
 default_value: {  }
 default_value_callback: ''
 settings:

+ 1 - 1
config/sync/field.field.node.thematique.field_linked_articles.yml

@@ -13,7 +13,7 @@ bundle: thematique
 label: 'Linked Articles'
 description: ''
 required: false
-translatable: true
+translatable: false
 default_value: {  }
 default_value_callback: ''
 settings:

+ 1 - 1
config/sync/field.field.node.thematique.field_memo.yml

@@ -12,7 +12,7 @@ bundle: thematique
 label: Memo
 description: ''
 required: false
-translatable: true
+translatable: false
 default_value: {  }
 default_value_callback: ''
 settings: {  }

+ 1 - 8
config/sync/field.field.node.thematique.field_visuel.yml

@@ -6,14 +6,7 @@ dependencies:
     - field.storage.node.field_visuel
     - node.type.thematique
   module:
-    - content_translation
     - image
-third_party_settings:
-  content_translation:
-    translation_sync:
-      alt: alt
-      title: title
-      file: '0'
 id: node.thematique.field_visuel
 field_name: field_visuel
 entity_type: node
@@ -21,7 +14,7 @@ bundle: thematique
 label: Visuel
 description: ''
 required: false
-translatable: true
+translatable: false
 default_value: {  }
 default_value_callback: ''
 settings:

+ 6 - 0
config/sync/language.content_settings.commerce_promotion.commerce_promotion.yml

@@ -4,6 +4,12 @@ status: true
 dependencies:
   module:
     - commerce_promotion
+    - content_translation
+third_party_settings:
+  content_translation:
+    enabled: false
+    bundle_settings:
+      untranslatable_fields_hide: '0'
 id: commerce_promotion.commerce_promotion
 target_entity_type_id: commerce_promotion
 target_bundle: commerce_promotion

+ 17 - 0
config/sync/language.content_settings.flag_list_item.flag_list_item.yml

@@ -0,0 +1,17 @@
+uuid: 151dd62d-d9cb-4d11-b2d8-ad179a9d22e2
+langcode: fr
+status: true
+dependencies:
+  module:
+    - content_translation
+    - flag_lists
+third_party_settings:
+  content_translation:
+    enabled: false
+    bundle_settings:
+      untranslatable_fields_hide: '0'
+id: flag_list_item.flag_list_item
+target_entity_type_id: flag_list_item
+target_bundle: flag_list_item
+default_langcode: site_default
+language_alterable: false

+ 18 - 0
config/sync/language.content_settings.flagging_collection.flagging_collection_type_1.yml

@@ -0,0 +1,18 @@
+uuid: f4fc9d57-b60e-4b9f-9656-40d6eefa00a9
+langcode: fr
+status: true
+dependencies:
+  config:
+    - flag_lists.flagging_collection_type.flagging_collection_type_1
+  module:
+    - content_translation
+third_party_settings:
+  content_translation:
+    enabled: false
+    bundle_settings:
+      untranslatable_fields_hide: '0'
+id: flagging_collection.flagging_collection_type_1
+target_entity_type_id: flagging_collection
+target_bundle: flagging_collection_type_1
+default_langcode: site_default
+language_alterable: false

+ 7 - 0
config/sync/language.content_settings.node.note.yml

@@ -4,6 +4,13 @@ status: true
 dependencies:
   config:
     - node.type.note
+  module:
+    - content_translation
+third_party_settings:
+  content_translation:
+    enabled: false
+    bundle_settings:
+      untranslatable_fields_hide: '0'
 id: node.note
 target_entity_type_id: node
 target_bundle: note

+ 2 - 2
config/sync/language.content_settings.node.thematique.yml

@@ -8,11 +8,11 @@ dependencies:
     - content_translation
 third_party_settings:
   content_translation:
-    enabled: false
+    enabled: true
     bundle_settings:
       untranslatable_fields_hide: '0'
 id: node.thematique
 target_entity_type_id: node
 target_bundle: thematique
 default_langcode: site_default
-language_alterable: false
+language_alterable: true

+ 11 - 0
config/sync/language.content_settings.workflow_scheduled_transition.migration.yml

@@ -0,0 +1,11 @@
+uuid: 49f2849f-c35b-47df-9413-1186158a7662
+langcode: fr
+status: true
+dependencies:
+  config:
+    - workflow.workflow.migration
+id: workflow_scheduled_transition.migration
+target_entity_type_id: workflow_scheduled_transition
+target_bundle: migration
+default_langcode: site_default
+language_alterable: false

+ 11 - 0
config/sync/language.content_settings.workflow_scheduled_transition.workflow.yml

@@ -0,0 +1,11 @@
+uuid: bd6c1288-c092-42bb-beff-ea48ad36446f
+langcode: fr
+status: true
+dependencies:
+  config:
+    - workflow.workflow.workflow
+id: workflow_scheduled_transition.workflow
+target_entity_type_id: workflow_scheduled_transition
+target_bundle: workflow
+default_langcode: site_default
+language_alterable: false

+ 1 - 1
config/sync/node.type.thematique.yml

@@ -13,5 +13,5 @@ type: thematique
 description: ''
 help: ''
 new_revision: true
-preview_mode: 1
+preview_mode: 0
 display_submitted: false

+ 3 - 0
config/sync/user.role.admin.yml

@@ -87,6 +87,7 @@ permissions:
   - 'edit own enregistrement content'
   - 'edit own flag lists'
   - 'edit own note content'
+  - 'edit own thematique content'
   - 'edit terms in assisted_research'
   - 'edit terms in collectionneurs'
   - 'edit terms in company'
@@ -129,6 +130,7 @@ permissions:
   - 'schedule corpus_documents workflow_transition'
   - 'schedule generique workflow_transition'
   - 'send newsletter'
+  - 'translate article node'
   - 'translate company taxonomy_term'
   - 'translate enregistrement node'
   - 'translate entrees taxonomy_term'
@@ -142,6 +144,7 @@ permissions:
   - 'translate showroom taxonomy_term'
   - 'translate static node'
   - 'translate tags taxonomy_term'
+  - 'translate thematique node'
   - 'translate thesaurus taxonomy_term'
   - 'unflag dossier other items'
   - 'update any commerce_license'

+ 3 - 3
config/sync/views.view.admin_nodes.yml

@@ -2316,7 +2316,7 @@ display:
         description: ''
         expanded: false
         parent: editors_menus.contents
-        weight: 0
+        weight: -2
         context: '0'
         menu_name: editors
       display_description: ''
@@ -6138,9 +6138,9 @@ display:
         type: tab
         title: Thématiques
         description: ''
-        expanded: false
+        expanded: true
         parent: editors_menus.contents
-        weight: 0
+        weight: -1
         context: '0'
         menu_name: editors
       display_description: ''